|
...
|
...
|
@@ -224,11 +224,7 @@ Page({ |
|
|
|
console.log('regionchange.getRegion',res)
|
|
|
|
if((res.southwest.latitude!=this.mapData.region.southwest.latitude) || this.data.hasSuggestion) {
|
|
|
|
this.mapData.region = res
|
|
|
|
if(this.data.hasSuggestion){
|
|
|
|
this.getMarkers();
|
|
|
|
}else{
|
|
|
|
this.timeoutGetMarkers();
|
|
|
|
}
|
|
|
|
this.timeoutGetMarkers();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
})
|
|
...
|
...
|
@@ -241,7 +237,7 @@ Page({ |
|
|
|
}
|
|
|
|
this.setTimeoutGetMarkers=setTimeout(()=>{
|
|
|
|
this.getMarkers();
|
|
|
|
},800)
|
|
|
|
},500)
|
|
|
|
},
|
|
|
|
mapUpdated(e){
|
|
|
|
console.log('mapUpdated', e)
|
...
|
...
|
|