Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -5,7 +5,7 @@ import App from '../../utils/api'; | @@ -5,7 +5,7 @@ import App from '../../utils/api'; | ||
| 5 | import DA from './data'; | 5 | import DA from './data'; |
| 6 | import reddot from '../../utils/reddot'; | 6 | import reddot from '../../utils/reddot'; |
| 7 | const {regeneratorRuntime} = global | 7 | const {regeneratorRuntime} = global |
| 8 | -const mapScale=14//18; | 8 | +const mapScale=15//18; |
| 9 | const transverseViewHeight=202; | 9 | const transverseViewHeight=202; |
| 10 | const renNum=function(){ | 10 | const renNum=function(){ |
| 11 | let arr=[] | 11 | let arr=[] |
| @@ -334,7 +334,7 @@ Page({ | @@ -334,7 +334,7 @@ Page({ | ||
| 334 | if(!map.region.southwest.latitude || !map.region.southwest.longitude) return false;//未获得视野 | 334 | if(!map.region.southwest.latitude || !map.region.southwest.longitude) return false;//未获得视野 |
| 335 | if(this.hasInRegionFlag) return true; | 335 | if(this.hasInRegionFlag) return true; |
| 336 | if(!this.user.latitude) return false;//用户无定位 | 336 | if(!this.user.latitude) return false;//用户无定位 |
| 337 | - if(this.user.latitude==def_latitude && this.user.longitude==def_longitude) return false;//默认位置 | 337 | + //if(this.user.latitude==def_latitude && this.user.longitude==def_longitude) return false;//默认位置 |
| 338 | ///判断定位 首次 进入视野 | 338 | ///判断定位 首次 进入视野 |
| 339 | if((this.user.latitude>map.region.southwest.latitude | 339 | if((this.user.latitude>map.region.southwest.latitude |
| 340 | && this.user.longitude>map.region.southwest.longitude | 340 | && this.user.longitude>map.region.southwest.longitude |
-
Please register or login to post a comment