From 0cf93686fc1fbfba759afa54a20d5e95871311f0 Mon Sep 17 00:00:00 2001 From: haha Date: Tue, 24 Oct 2023 23:21:38 +0800 Subject: [PATCH] update code --- public/index.html | 1 + public/maps/initApi.js | 2 +- src/pages/index/mapIndex.vue | 54 ++++++++++++++++++++++++++++++------ vue.config.js | 4 +-- 4 files changed, 50 insertions(+), 11 deletions(-) diff --git a/public/index.html b/public/index.html index 2b98980..7e1a98a 100644 --- a/public/index.html +++ b/public/index.html @@ -20,6 +20,7 @@ + diff --git a/public/maps/initApi.js b/public/maps/initApi.js index cf41bcb..42aa389 100644 --- a/public/maps/initApi.js +++ b/public/maps/initApi.js @@ -10,7 +10,7 @@ window.mapDefault={ "imageryprovider": "tianditu_image", "terrainProvider": "http://106.12.253.67:9304/", "mapworldkey": "6215132e0336a3db28ce73f8c9ff6db6", - "openearth": false, + "openearth": true, "maxspaceerror": 2000, "loading": false, "bgcolor": "#87CEFA", diff --git a/src/pages/index/mapIndex.vue b/src/pages/index/mapIndex.vue index 68e3074..11c3c6f 100644 --- a/src/pages/index/mapIndex.vue +++ b/src/pages/index/mapIndex.vue @@ -1,12 +1,19 @@