Pārlūkot izejas kodu

地图样式修改

MSI\liwei 3 gadi atpakaļ
vecāks
revīzija
a1705b0fe9
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      index.html
  2. 1 1
      src/components/MapView/index.tsx

+ 1 - 1
index.html

@@ -24,7 +24,7 @@
          * key、solution设置
          */
         minemap.key = "d054b0f4433b42f1a28c1a97fbf8317d";
-        minemap.solution = 12886;
+        minemap.solution = 12887;
     </script>
     <script>
         (function(win, lib) {

+ 1 - 1
src/components/MapView/index.tsx

@@ -14,7 +14,7 @@ export default defineComponent({
     onMounted(() => {
       const map = new window.minemap.Map({
         container: 'map',
-        style: 'http://61.147.254.211:21009/service/solu/style/id/12878' /*底图样式*/,
+        style: 'http://61.147.254.211:21009/service/solu/style/id/12887' /*底图样式*/,
         center: [118.29564, 33.97441] /*地图中心点*/,
         zoom: 14 /*地图默认缩放等级*/,
         pitch: 0 /*地图俯仰角度*/,