mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-22 11:03:58 +00:00
@@ -13,8 +13,14 @@ std::string const kSuffixDefaultDark = "_default_dark";
|
||||
std::string const kSuffixDefaultLight = "_default_light";
|
||||
std::string const kSuffixVehicleDark = "_vehicle_dark";
|
||||
std::string const kSuffixVehicleLight = "_vehicle_light";
|
||||
std::string const kSuffixOutdoorsLight = "_outdoors_light";
|
||||
std::string const kSuffixOutdoorsDark = "_outdoors_dark";
|
||||
std::string const kSuffixHikingLight = "_hiking_light";
|
||||
std::string const kSuffixHikingDark = "_hiking_dark";
|
||||
std::string const kSuffixCyclingLight = "_cycling_light";
|
||||
std::string const kSuffixCyclingDark = "_cycling_dark";
|
||||
std::string const kSuffixDrivingLight = "_driving_light";
|
||||
std::string const kSuffixDrivingDark = "_driving_dark";
|
||||
std::string const kSuffixPublicTransportLight = "_publictransport_light";
|
||||
std::string const kSuffixPublicTransportDark = "_publictransport_dark";
|
||||
|
||||
std::string const kStylesOverrideDir = "styles";
|
||||
|
||||
@@ -33,8 +39,14 @@ std::string GetStyleRulesSuffix(MapStyle mapStyle)
|
||||
case MapStyleDefaultLight: return kSuffixDefaultLight;
|
||||
case MapStyleVehicleDark: return kSuffixVehicleDark;
|
||||
case MapStyleVehicleLight: return kSuffixVehicleLight;
|
||||
case MapStyleOutdoorsLight: return kSuffixOutdoorsLight;
|
||||
case MapStyleOutdoorsDark: return kSuffixOutdoorsDark;
|
||||
case MapStyleHikingLight: return kSuffixHikingLight;
|
||||
case MapStyleHikingDark: return kSuffixHikingDark;
|
||||
case MapStyleCyclingLight: return kSuffixCyclingLight;
|
||||
case MapStyleCyclingDark: return kSuffixCyclingDark;
|
||||
case MapStyleDrivingLight: return kSuffixDrivingLight;
|
||||
case MapStyleDrivingDark: return kSuffixDrivingDark;
|
||||
case MapStylePublicTransportLight: return kSuffixPublicTransportLight;
|
||||
case MapStylePublicTransportDark: return kSuffixPublicTransportDark;
|
||||
case MapStyleMerged: return {};
|
||||
|
||||
case MapStyleCount: break;
|
||||
@@ -55,10 +67,16 @@ std::string GetStyleResourcesSuffix(MapStyle mapStyle)
|
||||
{
|
||||
case MapStyleDefaultDark:
|
||||
case MapStyleVehicleDark:
|
||||
case MapStyleOutdoorsDark: return kSuffixDark;
|
||||
case MapStyleHikingDark: return kSuffixDark;
|
||||
case MapStyleCyclingDark: return kSuffixDark;
|
||||
case MapStyleDrivingDark: return kSuffixDark;
|
||||
case MapStylePublicTransportDark: return kSuffixDark;
|
||||
case MapStyleDefaultLight:
|
||||
case MapStyleVehicleLight:
|
||||
case MapStyleOutdoorsLight: return kSuffixLight;
|
||||
case MapStyleHikingLight: return kSuffixLight;
|
||||
case MapStyleCyclingLight: return kSuffixLight;
|
||||
case MapStyleDrivingLight: return kSuffixLight;
|
||||
case MapStylePublicTransportLight: return kSuffixLight;
|
||||
case MapStyleMerged: return {};
|
||||
|
||||
case MapStyleCount: break;
|
||||
|
||||
Reference in New Issue
Block a user