summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-05-23 13:21:34 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-05-23 14:37:26 -0700
commit8c73cb1a4631211ef805ca585c74701f40699c75 (patch)
tree9ecc45ba28ab2b3514896ef61c04f9cd61fb2425
parent091d3d1d7ba519500a04907eac8fe2567ea454e2 (diff)
downloadqtlocation-mapboxgl-8c73cb1a4631211ef805ca585c74701f40699c75.tar.gz
[macos] Enable View ‣ Traffic Nightios-v3.6.0.beta.1
Enable the View ‣ Traffic Night menu item and check it when that style is active.
-rw-r--r--platform/macos/app/MapDocument.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/macos/app/MapDocument.m b/platform/macos/app/MapDocument.m
index a30e762645..59844d363e 100644
--- a/platform/macos/app/MapDocument.m
+++ b/platform/macos/app/MapDocument.m
@@ -807,6 +807,9 @@ NS_ARRAY_OF(id <MGLAnnotation>) *MBXFlattenedShapes(NS_ARRAY_OF(id <MGLAnnotatio
case 7:
state = [styleURL isEqual:[MGLStyle trafficDayStyleURL]];
break;
+ case 8:
+ state = [styleURL isEqual:[MGLStyle trafficNightStyleURL]];
+ break;
default:
return NO;
}