Thanks for your help, i’ve been trying to apply this example on my geojson file but the points were not added to the globe. I also tried to use the “Cesium.GeoJsonDataSource.load” method but here i got markers.
I am using the same example you mentioned, the only difference is the file format (Geojson ). Is the Geojson format valid fot this method or not ? I am not sure.
here is my code
var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
url: ‘test.goejson’, // my file
}));
console.log(tileset);
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset, new Cesium.HeadingPitchRange(0.0, -1.0, 50.0));
You can try the following which works ok, but recognize that the point is not in exactly the correct location because I’ve just hidden the “flag” portion of the marker.
var viewer = new Cesium.Viewer(‘cesiumContainer’, {