|
...
|
...
|
@@ -5,7 +5,7 @@ import App from '../../utils/api'; |
|
|
|
import DA from './data';
|
|
|
|
import reddot from '../../utils/reddot';
|
|
|
|
const {regeneratorRuntime} = global
|
|
|
|
const mapScale=14//18;
|
|
|
|
const mapScale=15//18;
|
|
|
|
const transverseViewHeight=202;
|
|
|
|
const renNum=function(){
|
|
|
|
let arr=[]
|
|
...
|
...
|
@@ -334,7 +334,7 @@ Page({ |
|
|
|
if(!map.region.southwest.latitude || !map.region.southwest.longitude) return false;//未获得视野
|
|
|
|
if(this.hasInRegionFlag) return true;
|
|
|
|
if(!this.user.latitude) return false;//用户无定位
|
|
|
|
if(this.user.latitude==def_latitude && this.user.longitude==def_longitude) return false;//默认位置
|
|
|
|
//if(this.user.latitude==def_latitude && this.user.longitude==def_longitude) return false;//默认位置
|
|
|
|
///判断定位 首次 进入视野
|
|
|
|
if((this.user.latitude>map.region.southwest.latitude
|
|
|
|
&& this.user.longitude>map.region.southwest.longitude
|
...
|
...
|
|