[ios] Add removeStyleImage to MGLMapView (#14769)
* [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate. * [ios] Changelog update. * [ios, macos] Update shouldRemoveStyle method documentation.
This commit is contained in:
committed by
GitHub
parent
3b1d437460
commit
12e0a6b0c6
@@ -978,6 +978,14 @@ public:
|
||||
self.needsDisplay = YES;
|
||||
}
|
||||
|
||||
- (BOOL)shouldRemoveStyleImage:(NSString *)imageName {
|
||||
if ([self.delegate respondsToSelector:@selector(mapView:shouldRemoveStyleImage:)]) {
|
||||
return [self.delegate mapView:self shouldRemoveStyleImage:imageName];
|
||||
}
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
#pragma mark Printing
|
||||
|
||||
- (void)print:(__unused id)sender {
|
||||
|
||||
Reference in New Issue
Block a user