Showing
1 changed file
with
0 additions
and
4 deletions
| @@ -486,10 +486,6 @@ Page({ | @@ -486,10 +486,6 @@ Page({ | ||
| 486 | } | 486 | } |
| 487 | if(param.lat){ | 487 | if(param.lat){ |
| 488 | param.centre_pos=`${param.lat},${param.lng}` | 488 | param.centre_pos=`${param.lat},${param.lng}` |
| 489 | - }else{ | ||
| 490 | - let lat=(this.mapData.region.southwest.latitude+this.mapData.region.northeast.latitude)/2 | ||
| 491 | - let lng=(this.mapData.region.southwest.longitude+this.mapData.region.northeast.longitude)/2 | ||
| 492 | - param.centre_pos=`${lat},${lng}` | ||
| 493 | } | 489 | } |
| 494 | if(this.data.hasSuggestion){ | 490 | if(this.data.hasSuggestion){ |
| 495 | param.centre_pos=`${this.data.suggestion.latitude},${this.data.suggestion.longitude}` | 491 | param.centre_pos=`${this.data.suggestion.latitude},${this.data.suggestion.longitude}` |
-
Please register or login to post a comment