aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/main
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/main')
-rw-r--r--modern/src/map/main/MapAccuracy.js4
-rw-r--r--modern/src/map/main/MapLiveRoutes.js2
-rw-r--r--modern/src/map/main/PoiMap.js4
3 files changed, 5 insertions, 5 deletions
diff --git a/modern/src/map/main/MapAccuracy.js b/modern/src/map/main/MapAccuracy.js
index cdc706cc..4f025b08 100644
--- a/modern/src/map/main/MapAccuracy.js
+++ b/modern/src/map/main/MapAccuracy.js
@@ -25,8 +25,8 @@ const MapAccuracy = ({ positions }) => {
['==', '$type', 'Polygon'],
],
paint: {
- 'fill-color': theme.palette.colors.geometry,
- 'fill-outline-color': theme.palette.colors.geometry,
+ 'fill-color': theme.palette.geometry.main,
+ 'fill-outline-color': theme.palette.geometry.main,
'fill-opacity': 0.25,
},
});
diff --git a/modern/src/map/main/MapLiveRoutes.js b/modern/src/map/main/MapLiveRoutes.js
index 049ff9c9..44cdc6ca 100644
--- a/modern/src/map/main/MapLiveRoutes.js
+++ b/modern/src/map/main/MapLiveRoutes.js
@@ -70,7 +70,7 @@ const MapLiveRoutes = () => {
coordinates: history[deviceId],
},
properties: {
- color: devices[deviceId].attributes['web.reportColor'] || theme.palette.colors.geometry,
+ color: devices[deviceId].attributes['web.reportColor'] || theme.palette.geometry.main,
},
})),
});
diff --git a/modern/src/map/main/PoiMap.js b/modern/src/map/main/PoiMap.js
index 0d94ca15..07341183 100644
--- a/modern/src/map/main/PoiMap.js
+++ b/modern/src/map/main/PoiMap.js
@@ -35,7 +35,7 @@ const PoiMap = () => {
type: 'circle',
paint: {
'circle-radius': 5,
- 'circle-color': theme.palette.colors.geometry,
+ 'circle-color': theme.palette.geometry.main,
},
});
map.addLayer({
@@ -43,7 +43,7 @@ const PoiMap = () => {
id: 'poi-line',
type: 'line',
paint: {
- 'line-color': theme.palette.colors.geometry,
+ 'line-color': theme.palette.geometry.main,
'line-width': 2,
},
});