[macos] Enable View ‣ Traffic Night

Enable the View ‣ Traffic Night menu item and check it when that style is active.
This commit is contained in:
Minh Nguyễn
2017-05-23 13:21:34 -07:00
committed by Minh Nguyễn
parent 091d3d1d7b
commit 8c73cb1a46

View File

@@ -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;
}