You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on adding polygons with holes support to the DataSource layer so that GeoJSON, CZML, KML, and others can use it. As a test case, I created this simple geojson file click to view. Hit raw for the text.
Either I'm misunderstanding something or this behavior seems to be incompatible with how we define holes in Cesium. I created this Sandcastle example that uses the same data to try and reproduce the visual, but it's not what I expect. (The geometry is in Sumatra). I'm not sure if this is a bug in our geometry computation or something I'm doing wrong.
Any suggestions? I think the GeoJSON spec does a poor job of defining what is supposed to happen with data like this, but I think it's important we be able to render GeoJSON files the same as Leaflet does; since that's pretty much become the defacto GeoJSON viewer.
Leaflet:
Cesium:
The text was updated successfully, but these errors were encountered:
I'm working on adding polygons with holes support to the DataSource layer so that GeoJSON, CZML, KML, and others can use it. As a test case, I created this simple geojson file click to view. Hit raw for the text.
Either I'm misunderstanding something or this behavior seems to be incompatible with how we define holes in Cesium. I created this Sandcastle example that uses the same data to try and reproduce the visual, but it's not what I expect. (The geometry is in
Sumatra
). I'm not sure if this is a bug in our geometry computation or something I'm doing wrong.Any suggestions? I think the GeoJSON spec does a poor job of defining what is supposed to happen with data like this, but I think it's important we be able to render GeoJSON files the same as Leaflet does; since that's pretty much become the defacto GeoJSON viewer.
Leaflet:

Cesium:

The text was updated successfully, but these errors were encountered: