|
@@ -119,7 +119,13 @@ typedef enum {
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
[self.mapView removeAnnotations:self.mapView.annotations];
|
|
[self.mapView removeAnnotations:self.mapView.annotations];
|
|
|
|
|
+
|
|
|
NSDictionary *locationInfo = annotation;
|
|
NSDictionary *locationInfo = annotation;
|
|
|
|
|
+ if (_currentAnnotaion) {
|
|
|
|
|
+ [self stopTwinkle];
|
|
|
|
|
+ _currentAnnotaion.alpha = 1.f;
|
|
|
|
|
+ _currentAnnotaion = nil;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// pol,pod,poe,por,origin,destination,current
|
|
// pol,pod,poe,por,origin,destination,current
|
|
|
if (locationInfo) {
|
|
if (locationInfo) {
|
|
@@ -173,6 +179,8 @@ typedef enum {
|
|
|
[self moveToLocation:pod];
|
|
[self moveToLocation:pod];
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ [self startTwinkle];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#pragma mark - Twinkle Current
|
|
#pragma mark - Twinkle Current
|