Skip to content

Commit

Permalink
add MKTileOverlayRenderer (react-native-maps#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
frankrowe authored and patricio committed Sep 27, 2017
1 parent d761efd commit f454cf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ios/AirMaps/AIRMapManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ - (MKOverlayRenderer *)mapView:(MKMapView *)mapView rendererForOverlay:(id <MKOv
return ((AIRMapCircle *)overlay).renderer;
} else if ([overlay isKindOfClass:[AIRMapUrlTile class]]) {
return ((AIRMapUrlTile *)overlay).renderer;
} else if([overlay isKindOfClass:[MKTileOverlay class]]) {
return [[MKTileOverlayRenderer alloc] initWithTileOverlay:overlay];
} else {
return nil;
}
Expand Down

0 comments on commit f454cf4

Please sign in to comment.