Is there a defined way to highlight states (U.S) a certain color?


I’m attempting to make a map that showcases political parties based on the number of political party votes per state. I want to pass data into Cesium (State Name) and have that state turn Red or Blue. I’m also using React/Reasium.

Any advice would be appreciated!

Yes! See the “Custom Styling” example here:

In this case the states are loaded in via GeoJSON, and are extruded based on population, but you can change any style based on the data you have.

Great! Thank you for that. Presumably this would be the same when using Resium?

Yeah, assuming Resium exposes access to the Entity API that’s used in that code example.