瀏覽代碼

feature_20250827_地图添加搜索当前范围功能

zhujindu 4 月之前
父節點
當前提交
c415c80b77
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 二進制
      src/assets/mapLocation.png
  2. 3 4
      src/views/deviceOutside/rangeStore.vue

二進制
src/assets/mapLocation.png


+ 3 - 4
src/views/deviceOutside/rangeStore.vue

@@ -140,11 +140,10 @@
         <!-- 地图中心坐标 -->
         <bm-marker
           :position="{ lng: currentCenter.lng, lat: currentCenter.lat }"
-          :dragging="true"
-          animation="BMAP_ANIMATION_BOUNCE"
           :icon="{
-            url: 'http://developer.baidu.com/map/jsdemo/img/location.gif',
-            size: { width: 14, height: 23 },
+            // url: 'http://developer.baidu.com/map/jsdemo/img/location.gif',
+            url: require('@/assets/mapLocation.png'),
+            size: { width: 42, height: 80 },
           }">
         </bm-marker>
         <bm-marker