src/components/viewer2.vue
@@ -259,15 +259,21 @@ view: new ol.View({ center: [116.505348, 39.795592], projection: "EPSG:4326", zoom: 12, minZoom: 9.5, zoom: 15, minZoom: 12, maxZoom: 18, enableRotation: false, }), }); window.mapapi = map; addImageLayer(); addAnnotationLayer(); // 加载影像底图 // addImageLayer(); // 加载高德注记 // addAnnotationLayer(); // 加载矢量地图 loadBaseMap(); addHxLayer(); addYzLayer();