src/components/viewer2.vue
@@ -89,7 +89,7 @@ loadBaseMap, loadGeoMap, listenDirection, getCurrentPosition getCurrentPosition, } from "@/utils/tool"; // import Map from "ol/Map.js"; // import TileLayer from "ol/layer/Tile.js"; @@ -270,6 +270,7 @@ }); window.mapapi = map; window.layersArray = window.mapapi.getLayers(); // addImageLayer(); // addAnnotationLayer(); window.mapapi.getView().setZoom(14);