bihuisong hace 1 año
padre
commit
999a94dbfe
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      zhsq_qk-ui/src/views/supermap/supermap.vue

+ 2 - 1
zhsq_qk-ui/src/views/supermap/supermap.vue

@@ -203,6 +203,7 @@ export default {
             return;
           }
           let icon = new window.L.Icon({
+            //需要修改
             iconUrl: iconList['marker'],
             iconSize: [48, 48],
             iconAnchor: [24, 40],
@@ -283,7 +284,7 @@ export default {
         [options.longitude,options.latitude]
         ,{
           icon: L.icon({
-            iconUrl: getIcon(2),
+            iconUrl: getIcon(options.buildType),
             iconAnchor: [50, 50],
             iconSize: [48, 48],
             popupAnchor: [-3, -40],