Commit d88b2193e2fd00c660d23bce269c7c8f94e763d3

Authored by wangfan
1 parent 12097877

地图优化

Showing 1 changed file with 8 additions and 1 deletions
@@ -231,7 +231,7 @@ Page({ @@ -231,7 +231,7 @@ Page({
231 } 231 }
232 this.setTimeoutGetMarkers=setTimeout(()=>{ 232 this.setTimeoutGetMarkers=setTimeout(()=>{
233 this.getMarkers(); 233 this.getMarkers();
234 - },1200) 234 + },800)
235 }, 235 },
236 mapUpdated(e){ 236 mapUpdated(e){
237 console.log('mapUpdated', e) 237 console.log('mapUpdated', e)
@@ -454,6 +454,13 @@ Page({ @@ -454,6 +454,13 @@ Page({
454 }) 454 })
455 this.setData(obj) 455 this.setData(obj)
456 } 456 }
  457 + if(now_sid.length>0){
  458 + setTimeout(()=>{
  459 + this.markertap({
  460 + markerId:now_sid[0]
  461 + },true)
  462 + },100)
  463 + }
457 }) 464 })
458 465
459 }, 466 },