Browse Source

车辆未上线时,默认地图车辆开户地坐标

git 6 years ago
parent
commit
36b5a9aa52
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/amap/amap.js

+ 1 - 0
pages/amap/amap.js

@@ -245,6 +245,7 @@
                     }
                     latlngSign = mapData.vehicleLocation.longitude;
                     if(!latlngSign){
+                        console.log('test')
                         first = false;    
                         t.map.setZoomAndCenter(15,[120.202222,30.184811]);
                         t.vehicle.setPosition(null);