aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-12-01 23:15:22 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-12-01 23:15:22 -0800
commitf00ddba99b1d56c9471b19e68c8354ed27749d36 (patch)
treeaf45b59f50b5078c8fee1ba9c299b7578eed2cfd
parenta8d499612b3e37f0ba3864eb97ea396221be8cb7 (diff)
downloadetbsa-traccar-web-f00ddba99b1d56c9471b19e68c8354ed27749d36.tar.gz
etbsa-traccar-web-f00ddba99b1d56c9471b19e68c8354ed27749d36.tar.bz2
etbsa-traccar-web-f00ddba99b1d56c9471b19e68c8354ed27749d36.zip
Update LocationIQ keys
-rw-r--r--modern/src/map/Map.js2
-rw-r--r--web/app/view/map/BaseMap.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 65094d7..dcf5a92 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -89,7 +89,7 @@ const Map = ({ children }) => {
const mapboxAccessToken = useAttributePreference('mapboxAccessToken');
const mapTilerKey = useAttributePreference('mapTilerKey');
- const locationIqKey = useAttributePreference('locationIqKey', 'pk.b34237342901fc175252c790d1674dcc');
+ const locationIqKey = useAttributePreference('locationIqKey', 'pk.0f147952a41c555a5b70614039fd148b');
useEffect(() => {
maplibregl.accessToken = mapboxAccessToken;
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index e280de8..c27a8d7 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -36,7 +36,7 @@ Ext.define('Traccar.view.map.BaseMap', {
type = Traccar.app.getPreference('map', null);
bingKey = server.get('bingKey');
- locationIqKey = Traccar.app.getAttributePreference('locationIqKey', 'pk.b34237342901fc175252c790d1674dcc');
+ locationIqKey = Traccar.app.getAttributePreference('locationIqKey', 'pk.0f147952a41c555a5b70614039fd148b');
layer = new ol.layer.Group({
title: Strings.mapLayer,