vasturiano / globe.gl

UI component for Globe Data Visualization using ThreeJS/WebGL
https://vasturiano.github.io/globe.gl/example/world-population/
MIT License
1.97k stars 293 forks source link

Elevate Polygon - Elevating specific countries #125

Open Aumar148 opened 1 year ago

Aumar148 commented 1 year ago

Can someone guide me on how to elevate select few countries from the .geojson file? Currently this is my code.. world.polygonsData(countries.features.filter(d => d.properties.ISO_A2 == 'UK' )

How can i make it to equate it to more options? Or i should look for another method?

vasturiano commented 1 year ago

@Aumar148 you can use the .polygonAltitude method.