摘要:
一、官方中文帮助http://www.mapbox.cn/mapbox-gl-jshttp://www.mapbox.cn/mapbox-gl-js/example/data-join/https://docs.mapbox.com/help/tutorials/?product=Mapbox+GL 阅读全文
摘要:
阅读全文
摘要:
1、数据源加载 map.addSource('building', { type: 'vector', tiles: ['http://192.168.182.1:6767/{z}/{x}/{y}.pbf'] }) 2、建筑图层加载 map.addLayer({ "id": "guanzhou", 阅读全文
摘要:
map.on('load', function() { map.addLayer({ "id": "guanzhou", "type": "fill-extrusion", "source": { type: 'vector', tiles: ['http://192.168.182.1:6767/ 阅读全文
摘要:
1、下载建筑shp文件(带有高度字段的polygon数据) 2、使用mapshaper转换为geojson格式(本地处理) 3、安装cygwin,参考https://www.cnblogs.com/jyughynj/p/11804721.html 4、使用tippecanoe转换mbtiles矢量切 阅读全文