|
...
|
...
|
@@ -486,10 +486,6 @@ Page({ |
|
|
|
}
|
|
|
|
if(param.lat){
|
|
|
|
param.centre_pos=`${param.lat},${param.lng}`
|
|
|
|
}else{
|
|
|
|
let lat=(this.mapData.region.southwest.latitude+this.mapData.region.northeast.latitude)/2
|
|
|
|
let lng=(this.mapData.region.southwest.longitude+this.mapData.region.northeast.longitude)/2
|
|
|
|
param.centre_pos=`${lat},${lng}`
|
|
|
|
}
|
|
|
|
if(this.data.hasSuggestion){
|
|
|
|
param.centre_pos=`${this.data.suggestion.latitude},${this.data.suggestion.longitude}`
|
...
|
...
|
|