bihuisong hai 1 ano
pai
achega
999a94dbfe
Modificáronse 1 ficheiros con 2 adicións e 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],