The geoJSON sandcastle examples runs perfectly with me, but when I use my own geoJSON file as a data source nothing appear. Please help:
Below is my geoJSON data source:
{ "type": "Feature", "properties": { "OBJECTID": 20, "ENGID": "40RBN5319301351"}, "geometry": { "type": "Polygon", "coordinates": [ [ [ 54.566124539478878, 24.406021338476325 ], [ 54.566148107752099, 24.406028017955055 ], [ 54.566115732828465, 24.406123836089698 ], [ 54.566235456768659, 24.406157760188982 ], [ 54.566255574031182, 24.406098193520144 ], [ 54.566281975778445, 24.406105667739457 ], [ 54.566279060022957, 24.406114304250391 ], [ 54.566329951512451, 24.406128725476261 ], [ 54.566371950924683, 24.406004421274567 ], [ 54.566292775469798, 24.405981990105861 ], [ 54.566286944486251, 24.405999236057994 ], [ 54.566270925041493, 24.405994699916651 ], [ 54.566268584486721, 24.406001612608108 ], [ 54.566239349486047, 24.405993334604545 ], [ 54.566241680361216, 24.405986412731547 ], [ 54.566182308651392, 24.405969589467993 ], [ 54.566175004474289, 24.405991180502262 ], [ 54.566138240189531, 24.405980768499898 ], [ 54.566124539478878, 24.406021338476325 ] ] ] } }
and below is the source code:
//Create the viewer
var viewer = new Cesium.Viewer('cesiumContainer');
Cesium.viewerEntityMixin(viewer);
var dataSource = new Cesium.GeoJsonDataSource();
viewer.dataSources.add(dataSource);
dataSource.loadUrl('../../SampleData/bldgs.geojson');