mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-21 10:43:51 +00:00
@@ -57,10 +57,16 @@ agg::rgba8 GetLineColor(MapStyle mapStyle)
|
||||
case MapStyleCount: LOG(LERROR, ("Wrong map style param.")); // fallthrough
|
||||
case MapStyleDefaultDark:
|
||||
case MapStyleVehicleDark:
|
||||
case MapStyleOutdoorsDark: return agg::rgba8(255, 230, 140, 255);
|
||||
case MapStyleHikingDark: return agg::rgba8(255, 230, 140, 255);
|
||||
case MapStyleCyclingDark:
|
||||
case MapStyleDrivingDark:
|
||||
case MapStylePublicTransportDark:
|
||||
case MapStyleDefaultLight:
|
||||
case MapStyleVehicleLight:
|
||||
case MapStyleOutdoorsLight:
|
||||
case MapStyleHikingLight:
|
||||
case MapStyleCyclingLight:
|
||||
case MapStyleDrivingLight:
|
||||
case MapStylePublicTransportLight:
|
||||
case MapStyleMerged: return agg::rgba8(30, 150, 240, 255);
|
||||
}
|
||||
UNREACHABLE();
|
||||
@@ -76,10 +82,16 @@ agg::rgba8 GetCurveColor(MapStyle mapStyle)
|
||||
// No need break or return here.
|
||||
case MapStyleDefaultDark:
|
||||
case MapStyleVehicleDark:
|
||||
case MapStyleOutdoorsDark: return agg::rgba8(255, 230, 140, 20);
|
||||
case MapStyleHikingDark: return agg::rgba8(255, 230, 140, 20);
|
||||
case MapStyleCyclingDark:
|
||||
case MapStyleDrivingDark:
|
||||
case MapStylePublicTransportDark:
|
||||
case MapStyleDefaultLight:
|
||||
case MapStyleVehicleLight:
|
||||
case MapStyleOutdoorsLight:
|
||||
case MapStyleHikingLight:
|
||||
case MapStyleCyclingLight:
|
||||
case MapStyleDrivingLight:
|
||||
case MapStylePublicTransportLight:
|
||||
case MapStyleMerged: return agg::rgba8(30, 150, 240, 20);
|
||||
}
|
||||
UNREACHABLE();
|
||||
|
||||
Reference in New Issue
Block a user