git 5 years ago
parent
commit
b78a6adcfd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      pages/amap/amap.js
  2. 1 1
      scripts/rlmui.js

+ 1 - 1
pages/amap/amap.js

@@ -126,7 +126,7 @@
                     userMarker.setMap(mainMap);
                     if(locationFlag){
                         if(latlngSign){
-                            mainMap.setFitView();
+                            mainMap.setFitView([vehicleMarker, userMarker]);
                         }else{
                             mainMap.setFitView([userMarker]);
                         }

File diff suppressed because it is too large
+ 1 - 1
scripts/rlmui.js