Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tyburg committed Apr 7, 2021
2 parents febe8b0 + b7a3b38 commit 0188b6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mapcache-ios/map/MCMapViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,11 @@ -(void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated{

- (void)mapView:(MKMapView *)mapView didSelectAnnotationView:(MKAnnotationView *)view {
NSLog(@"Tapped map point");

if (![view isKindOfClass:MKPinAnnotationView.class]) {
return;
}

[self zoomToPointWithOffset:view.annotation.coordinate];
[self.mapActionDelegate showDetailsForAnnotation:(GPKGMapPoint *)view.annotation];
}
Expand Down

0 comments on commit 0188b6b

Please sign in to comment.