mapbox-gl-js
mapbox-gl-js copied to clipboard
Support custom 3D landmark building models
The official mapbox map example load a 3d building tile source with glb format for the 3D landmark buildings generated by Mapbox team.
I'd like to know:
1 What is the original format for the 3d models?
2 How is the glb tile data organized from the original model?
3 And open source tool can be used to generated our own 3d tiles?
Thanks.
Hi @exotfboy,
The model layer is still an experimental feature, and its public API is currently under development.
really nice 3d objects. would be nice to see some converters in the near future (for example of cityGml).
hey @exotfboy someone create its own models from lod2 city dataset. https://bertt.wordpress.com/2023/08/21/exploring-3d-options-of-mapbox-v3 he has also created a converter https://github.com/geodan/pg2b3dm
for me now is the question what is right now possible and what will come.
- query on click
- filtering by attribute
- styling by attribute
- positioning on elevation model
@enersis-pst Amazing! Thanks。
This topic is discussed also in https://github.com/mapbox/mapbox-gl-js/issues/12861.