派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-05-18 81e426e19db140e630f45409c1569fe16dbcc33f
src/components/helpers/LocateHelper.js
@@ -51,6 +51,11 @@
}
export const highlight = function (feature, icon) {
  if (Array.isArray(feature)) {
    for (let i = 0; i < feature.length; i++) {
      highlight(feature[i], icon)
    }
  } else {
  const L = window.L
  const type = feature.geometry.type
  window.mapManager.clearHighlight()
@@ -83,6 +88,7 @@
    L.polyline(reversePolyLine(feature), { color: 'red' }).addTo(highlightLayer)
  }
}
}
/**
 * 弹出属性列表展示窗口