Commit 07ce1003 authored by youjie's avatar youjie

no message

parent 26154815
...@@ -817,7 +817,7 @@ export default { ...@@ -817,7 +817,7 @@ export default {
] ]
}; };
setTimeout(()=>{ setTimeout(()=>{
if(geojson&&this.map&&!this.map.getLayer("curve-layer-" + p.MId)){ if(geojson&&that.map&&!that.map.getLayer("curve-layer-" + p.MId)){
that.map&&that.map.addSource("curve-source-" + p.MId, { that.map&&that.map.addSource("curve-source-" + p.MId, {
type: "geojson", type: "geojson",
data: geojson data: geojson
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment