Disable 3D buildings during runtime #3188
-
Is it possible to disable 3D buildings during runtime? Especially in the "TILE" and "RASTER" map modes buildings are either not useful, or create problems along tile borders. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Yes you can modify styles at runtime. Just remove the fill extrusion layer of your style. Not sure what you mean by "TILE" and "RASTER" map modes buildings. |
Beta Was this translation helpful? Give feedback.
-
Tileserver-GL does something like this for maplibre-native rendered rasters. I had considered removing this at one point, but without pitch the buildings look kind of ugly. |
Beta Was this translation helpful? Give feedback.
Tileserver-GL does something like this for maplibre-native rendered rasters. I had considered removing this at one point, but without pitch the buildings look kind of ugly.
https://github.com/maptiler/tileserver-gl/blob/master/src/serve_rendered.js#L1265-L1275