Mapbox osm 建筑物挤出高度
Mapbox osm buildings extrude heights
此示例演示了使用恒定高度数据挤压建筑物多边形:jsfiddle.net/yedg641a/
mapbox 教程网站上的另一个示例演示了基于矢量切片高度数据的拉伸。
https://www.mapbox.com/mapbox-gl-js/example/3d-buildings/
是否有可能在不使用 mapbox 服务的情况下实现这种效果,例如 js 上的示例 fiddle?
根据 https://openmaptiles.org/schema/#building
将 'fill-extrusion-height': 10
更改为 'fill-extrusion-height': ['get', 'render_height']
此示例演示了使用恒定高度数据挤压建筑物多边形:jsfiddle.net/yedg641a/
mapbox 教程网站上的另一个示例演示了基于矢量切片高度数据的拉伸。 https://www.mapbox.com/mapbox-gl-js/example/3d-buildings/
是否有可能在不使用 mapbox 服务的情况下实现这种效果,例如 js 上的示例 fiddle?
根据 https://openmaptiles.org/schema/#building
将'fill-extrusion-height': 10
更改为 'fill-extrusion-height': ['get', 'render_height']