| 69 | } |
| 70 | |
| 71 | MapStyle GetLightMapStyleVariant(MapStyle mapStyle) |
| 72 | { |
| 73 | if (!MapStyleIsDark(mapStyle)) |
| 74 | return mapStyle; |
| 75 | |
| 76 | switch (mapStyle) |
| 77 | { |
| 78 | case MapStyleDefaultDark: return MapStyleDefaultLight; |
| 79 | case MapStyleVehicleDark: return MapStyleVehicleLight; |
| 80 | case MapStyleOutdoorsDark: return MapStyleOutdoorsLight; |
| 81 | default: CHECK(false, ()); return MapStyleDefaultLight; |
| 82 | } |
| 83 | } |
no test coverage detected