diff options
author | Fabian Guerra <fabian.guerra@mapbox.com> | 2019-04-03 10:33:22 -0700 |
---|---|---|
committer | Fabian Guerra <fabian.guerra@mapbox.com> | 2019-04-03 10:33:22 -0700 |
commit | 013b79553f5f23dbae22e071989abb9b83281c7d (patch) | |
tree | bd4ecc7418aeca49d0daf3037980b307c894583d | |
parent | b0fc56115e1a4f7d66fd6d5c725a3ec5e4feee40 (diff) | |
download | qtlocation-mapboxgl-upstream/jmkiley-cp-14253.tar.gz |
[ios] Update icon example delegate method.upstream/jmkiley-cp-14253
-rw-r--r-- | platform/ios/app/MBXViewController.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index f8f03cbb5d..5bb044a044 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -1731,8 +1731,9 @@ CLLocationCoordinate2D randomWorldCoordinate() { [self.mapView setStyleURL:customStyleJSON]; } -- (void)mapView:(MGLMapView *)mapView didFailLoadingStyleImage:(NSString *)missingImage { - NSLog(@"%@", missingImage); +- (UIImage *)mapView:(MGLMapView *)mapView didFailToLoadImage:(NSString *)imageName { + + return nil; } - (void)printTelemetryLogFile |