I want to implement 4D Choropleth Map on cesiumjs. Anyone know how to do it and show me the code?
(source: cesiumjs.org)
(source: cesiumjs.org)
(source: cesiumjs.org)
I want to implement 4D Choropleth Map on cesiumjs. Anyone know how to do it and show me the code?
(source: cesiumjs.org)
(source: cesiumjs.org)
(source: cesiumjs.org)
The most similar-looking demo is part of the TopoJson Demo, you have to click the Custom styling
button on the toolbar to see it.
Note that you don't need TopoJson to accomplish this, as you can see from the code shown by the above link, it's just using Cesium polygons with extrudedHeight
. In this demo, extrudedHeight
is being set to a constant value, but you'll want to use Cesium's SampledProperty in place of the constant, so you get a time-varying extrudedHeight
on each of your polygons.
The polygons and their time-varying heights can be saved into a CZML file and loaded directly by Cesium.