Browse Source

1.修改iOS Apex Mobile地图当前位置选取。

Pen Li 8 years ago
parent
commit
4aac671636
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Apex Mobile/Apex Mobile/ShipMap/AMShipMap.m

+ 7 - 1
Apex Mobile/Apex Mobile/ShipMap/AMShipMap.m

@@ -154,7 +154,13 @@ typedef enum {
             [current setObject:@"Current" forKey:@"port"];
             [self handleLoaction:current Priority:AMShipAnnotationPriorityRequired  ImageName:@"ic_marker"];
         }
-        [self moveToLocation:current];
+        if (current && self.showCurrent) {
+            [self moveToLocation:current];
+        } else if (pol && self.showPol) {
+            [self moveToLocation:pol];
+        } else if (pod && self.showPod) {
+            [self moveToLocation:pod];
+        }
     }
 }