Polygon entities are classifying 3D Tiles by default
See original GitHub issueAny polygon created with the entity API is classifying 3D Tiles by default, but it should instead appear underneath.
@bagnell could you take a look at this?
Reported on the forum: https://groups.google.com/forum/#!topic/cesium-dev/leIJUfQ37ro
var viewer = new Cesium.Viewer('cesiumContainer');
Cesium.CesiumIon.create3DTileset(1458, { accessToken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxYmJiNTAxOC1lOTg5LTQzN2EtODg1OC0zMWJjM2IxNGNlYmMiLCJpZCI6NDQsImFzc2V0cyI6WzE0NThdLCJpYXQiOjE0OTkyNjM4MjB9.1WKijRa-ILkmG6utrhDWX6rDgasjD7dZv-G5ZyCmkKg' })
.then(function(tileset) {
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);
});
viewer.entities.add({
polygon : {
hierarchy : new Cesium.PolygonHierarchy(Cesium.Cartesian3.fromRadiansArray([-1.3194369277314022, 0.6988062530900625, -1.3193955980204217, 0.6988091578771254, -1.3193931220959367, 0.698743632490865, -1.3194358224045408, 0.6987471965556998])),
material : Cesium.Color.RED
}
});
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Polygon entities are classifying 3D Tiles by default · Issue #6195
Any polygon created with the entity API is classifying 3D Tiles by default, but it should instead appear underneath.
Read more >Styling and Filtering 3D Tiles - Cesium
This guide explains how to use CesiumJS to style and filter 3D Tiles to highlight important features of ... A 3D Tileset with...
Read more >What do you want to see from Cesium in 2019? - Google Groups
Capacity to classify an entity in a similar manner we can do with terrain and 3D Tiles: ex : Cesium.ClassificationType.ENTITY.
Read more >3D Tiles Specification - OGC Portal
In 3D Tiles, a tileset is a set of tiles organized in a spatial data structure, the tree. A tileset is described by...
Read more >terriajs-cesium/CHANGES.md - UNPKG
98, * Cesium now renders at native device resolution by default instead of CSS ... 253, * Added support for polylines and textured...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@lilleyse everything defaults to being a ground primitive through the Entity API unless you specify
height. This is so it contours to terrain by default.Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/forum/#!topic/cesium-dev/leIJUfQ37ro
If this issue affects any of these threads, please post a comment like the following:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
🌍 🌎 🌏