leaflet 使用高德地图实例

let map = L.map("mapid", { minZoom: 10, maxZoom: 15, center: [37.005646, 114.52044], zoom: 11, zoomDelta: 0.5, fullscreenControl: false, zoomControl: false, attributionControl: false }); this.map = map; //{z}/{y}/{x}//arcgis在线地图 this.baseLayer=L.tileLayer("http://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}",{ attribution: \'© 高德地图\', maxZoom: 15, minZoom: 10, subdomains: "1234" }); this.map.addLayer(this.baseLayer);

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zyxfff.html