pg2b3dm

Experimental Mapbox GL JS Support

In pg2b3dm release 2.6.0 experimental support for Mapbox GL JS v3 is added.

See announcement https://www.mapbox.com/blog/standard-core-style

To get things running (see also https://github.com/Geodan/pg2b3dm/blob/master/getting_started.md):

Sample code:

map.addSource('3d tiles', {
        "type": "batched-model",
        "maxzoom": 15,
        "minzoom": 15,
        "tiles": [
          "http://localhost:2015/content/{z}-{x}-{y}.glb"
        ]
      }
)});

Limitiations: