摘要: 1,通过@turf/bbox,获取minX, minY, maxX, maxY(经纬度) ,再转换成平面坐标,最后调用地图的实例方法fitScreenCoordinates 1 const geojson = this.map.getSource(id)._data 2 const bound = 阅读全文
posted @ 2020-04-25 15:59 happiness86 阅读(1821) 评论(0) 推荐(0) 编辑