src/components/helpers/ServiceLayerHelper.js
@@ -77,7 +77,7 @@ var that = this if (!that.geojsonArray[code]) { AjaxUtils.GetDataAsynByUrl(newUrl, {}, function (res) { store.commit('setMapObj', res) store.commit('setSewersDatas', res) var layer = that.loadGeojson(res) that.geojsonArray[code] = layer }) @@ -101,9 +101,10 @@ fillColor: '#06cccc', color: '#06cccc', fillOpacity: 0.2, opacity: 0.8, dashArray: '10,4', dashSpeed: -10 opacity: 0.8 // , // dashArray: '10,4', // dashSpeed: -10 } }, pointToLayer: function (geoJsonPoint, latlng) {