mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-04 01:22:32 +00:00
add highway info to elevation profile, closes #65
This commit is contained in:
64
website/src/lib/assets/colors.ts
Normal file
64
website/src/lib/assets/colors.ts
Normal file
@@ -0,0 +1,64 @@
|
||||
export const surfaceColors: { [key: string]: string } = {
|
||||
"missing": "#d1d1d1",
|
||||
"paved": "#8c8c8c",
|
||||
"unpaved": "#6b443a",
|
||||
"asphalt": "#8c8c8c",
|
||||
"concrete": "#8c8c8c",
|
||||
"cobblestone": "#ffd991",
|
||||
"paving_stones": "#8c8c8c",
|
||||
"sett": "#ffd991",
|
||||
"metal": "#8c8c8c",
|
||||
"wood": "#6b443a",
|
||||
"compacted": "#ffffa8",
|
||||
"fine_gravel": "#ffffa8",
|
||||
"gravel": "#ffffa8",
|
||||
"pebblestone": "#ffffa8",
|
||||
"rock": "#ffd991",
|
||||
"dirt": "#ffffa8",
|
||||
"ground": "#6b443a",
|
||||
"earth": "#6b443a",
|
||||
"mud": "#6b443a",
|
||||
"sand": "#ffffc4",
|
||||
"grass": "#61b55c",
|
||||
"grass_paver": "#61b55c",
|
||||
"clay": "#6b443a",
|
||||
"stone": "#ffd991",
|
||||
};
|
||||
|
||||
export const highwayColors: { [key: string]: string } = {
|
||||
"missing": "#d1d1d1",
|
||||
"residential": "#73b2ff",
|
||||
"service": "#b3b3cc",
|
||||
"track": "#946f43",
|
||||
"unclassified": "#e0e0e0",
|
||||
"footway": "#a3c989",
|
||||
"tertiary": "#ffdd7f",
|
||||
"path": "#a3c989",
|
||||
"secondary": "#ffd75f",
|
||||
"primary": "#ff6e5c",
|
||||
"cycleway": "#ffbb6e",
|
||||
"trunk": "#ff5e4d",
|
||||
"living_street": "#9de2ff",
|
||||
"motorway": "#ff4d33",
|
||||
"motorway_link": "#ff947f",
|
||||
"steps": "#8d91a2",
|
||||
"road": "#e0e0e0",
|
||||
"pedestrian": "#c1c8e4",
|
||||
"trunk_link": "#ff947f",
|
||||
"primary_link": "#ff8d7b",
|
||||
"secondary_link": "#ffcb66",
|
||||
"tertiary_link": "#ffdd8b",
|
||||
"construction": "#e09a4a",
|
||||
"bridleway": "#a3c989",
|
||||
"platform": "#c4c4c4",
|
||||
"proposed": "#e0e0e0",
|
||||
"raceway": "#ff0000",
|
||||
"rest_area": "#73b2ff",
|
||||
"abandoned": "#e0e0e0",
|
||||
"services": "#ffe066",
|
||||
"corridor": "#c4c4c4",
|
||||
"bus_stop": "#ffe6e6",
|
||||
"busway": "#ffe6e6",
|
||||
"elevator": "#c4c4c4",
|
||||
"via_ferrata": "#8d91a2"
|
||||
};
|
@@ -1,26 +0,0 @@
|
||||
export const surfaceColors: { [key: string]: string } = {
|
||||
'missing': '#d1d1d1',
|
||||
'paved': '#8c8c8c',
|
||||
'unpaved': '#6b443a',
|
||||
'asphalt': '#8c8c8c',
|
||||
'concrete': '#8c8c8c',
|
||||
'cobblestone': '#ffd991',
|
||||
'paving_stones': '#8c8c8c',
|
||||
'sett': '#ffd991',
|
||||
'metal': '#8c8c8c',
|
||||
'wood': '#6b443a',
|
||||
'compacted': '#ffffa8',
|
||||
'fine_gravel': '#ffffa8',
|
||||
'gravel': '#ffffa8',
|
||||
'pebblestone': '#ffffa8',
|
||||
'rock': '#ffd991',
|
||||
'dirt': '#ffffa8',
|
||||
'ground': '#6b443a',
|
||||
'earth': '#6b443a',
|
||||
'mud': '#6b443a',
|
||||
'sand': '#ffffc4',
|
||||
'grass': '#61b55c',
|
||||
'grass_paver': '#61b55c',
|
||||
'clay': '#6b443a',
|
||||
'stone': '#ffd991',
|
||||
}
|
Reference in New Issue
Block a user