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 Masu Lin committed Aug 7, 2017
1 parent d862b2f commit afd6d31
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 afd6d31

Please sign in to comment.