Looking for some guidance/suggestions. I have a situation where I need to visualize large quantities of polygons whose positions change in
near real-time within Cesium. Additionally, the front-end UI we
provide allows the end-user to filter these polygons.
My thought is the best way to accomplish this would be to somehow
dynamically generate an imagery layer (i.e., TMS, WMTS, etc) based on the end-users filter selections.
Curious if someone would have a some suggestions on how I might go about accomplishing this?
You might be able to do this just by directly using the primitive API. This article shows an example of creating thousands of polygons covering the globe:
Generally a changing polygon on the surface of the globe in CesiumJS needs not only to have its position changed, but also reproject on the globe and re-tesselate it. The imagery layer idea is interesting, and I think the closest thing I can think of is the grid imagery provider:
So you could create a custom imagery provider just like that. Although it might also need to be time dynamic. The WMTS provider has an example on that:
I’m very curious if this technique solves your problem, so let me know! What kind of application is this for?