2

I want to implement 4D Choropleth Map on cesiumjs. Anyone know how to do it and show me the code?

The 4D Choropleth map on the 3D Taipei website

The 4D Choropleth map on the 3D Taipei website

The 4D Choropleth map on the 3D Taipei website

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.