Closed nf-s closed 2 years ago
I think the easiest way to implement this is to convert things into 3dtiles' vector tiles format on the fly in the browser if we can. That way, we take advantage of Cesium's existing rendering code rather than having to write our own.
Oh, but a little birdy told me that the 3d tiles vector format is going to change in the next few months, so we should wait for that.
This: https://github.com/CesiumGS/cesium/issues/9102 might also improve vector performance a bit.
Potential ways forward:
get geojson-vt
converting geojson to mvt on the fly, then improve mvt support by either:
my vote is on trying loaders/deck.gl - it is quite a small dependency - and if it works we'd get a heap of other good stuff
https://github.com/TerriaJS/terriajs/pull/5736 has been merged - this adds MVT support through protomapsjs
TODO next:
I'm going to close this for the moment, majority of tasks have been completed
Terria/Cesium's client-side vector support is not ideal.
Why
What we need:
What would be nice:
Example use cases:
Related issues:
Related PRs: