mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.23k stars 2.23k forks source link

Can I use Google’s new Photorealistic 3D Tiles with mapboxgl.js? #12709

Open ovidiucp opened 1 year ago

ovidiucp commented 1 year ago

Motivation

The imagery in the new Photorealistic 3D Tiles has some impressive resolution. Google says their tiles can be used with CesiumJS or deck.gl, and that they are in the the OGC standard glTF format.

Is it possible to use their tiles for terrain as an alternative to Mapbox’s? If so, how?

jo-chemla commented 1 year ago

The standard used by Google to publish its 3D datasets is OGC 3D Tiles (previously engineered by Cesium, and only every tile is a glTF asset). The ways to ingest 3D-tiles on the web are through:

Also have a look at this pka/awesome-3d-tiles list. So no direct mapbox integration, but the first bullet should be what you are looking for.