diff options
Diffstat (limited to 'platform/macos/app')
-rw-r--r-- | platform/macos/app/MapDocument.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/macos/app/MapDocument.m b/platform/macos/app/MapDocument.m index 1d22295f50..f494c91c18 100644 --- a/platform/macos/app/MapDocument.m +++ b/platform/macos/app/MapDocument.m @@ -183,10 +183,10 @@ NS_ARRAY_OF(id <MGLAnnotation>) *MBXFlattenedShapes(NS_ARRAY_OF(id <MGLAnnotatio styleURL = [MGLStyle satelliteStreetsStyleURL]; break; case 7: - styleURL = [MGLStyle trafficDayStyleURL]; + styleURL = [NSURL URLWithString:@"mapbox://styles/mapbox/traffic-day-v2"]; break; case 8: - styleURL = [MGLStyle trafficNightStyleURL]; + styleURL = [NSURL URLWithString:@"mapbox://styles/mapbox/traffic-night-v2"]; break; default: NSAssert(NO, @"Cannot set style from control with tag %li", (long)tag); @@ -760,10 +760,10 @@ NS_ARRAY_OF(id <MGLAnnotation>) *MBXFlattenedShapes(NS_ARRAY_OF(id <MGLAnnotatio state = [styleURL isEqual:[MGLStyle satelliteStreetsStyleURL]]; break; case 7: - state = [styleURL isEqual:[MGLStyle trafficDayStyleURL]]; + state = [styleURL isEqual:[NSURL URLWithString:@"mapbox://styles/mapbox/traffic-day-v2"]]; break; case 8: - state = [styleURL isEqual:[MGLStyle trafficNightStyleURL]]; + state = [styleURL isEqual:[NSURL URLWithString:@"mapbox://styles/mapbox/traffic-night-v2"]]; break; default: return NO; |