vasturiano / globe.gl

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

Is it possible to use map tiles (e.g., OSM hosted tiles at various zoom levels) with globe.gl? #47

Open Guiming opened 3 years ago

Guiming commented 3 years ago

There is a Tiles example, but I did not see how to render WMS map tiles. Please advise. Thank you.

vasturiano commented 3 years ago

@Guiming there isn't a built-in layer currently that does exactly that, but you could get there by using some logic tied in to the zoom interaction (via onZoom) to trigger data inputs into the Tiles layer (via tilesData), fetched asynchronously from the image server.