aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-13 07:22:42 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-13 07:22:42 -0700
commit09e1e536aea906ae62f2a361df07d4b4532e62c2 (patch)
tree102e01e32a0cf0184fe665b1d284b9c6598bb9b2 /web
parent229fa227311adb2e4bfdfcd509669264ad793e9c (diff)
downloadtrackermap-web-09e1e536aea906ae62f2a361df07d4b4532e62c2.tar.gz
trackermap-web-09e1e536aea906ae62f2a361df07d4b4532e62c2.tar.bz2
trackermap-web-09e1e536aea906ae62f2a361df07d4b4532e62c2.zip
Remove deprecated maps
Diffstat (limited to 'web')
-rw-r--r--web/app/store/MapTypes.js6
-rw-r--r--web/app/view/map/BaseMap.js18
-rw-r--r--web/l10n/en.json2
3 files changed, 0 insertions, 26 deletions
diff --git a/web/app/store/MapTypes.js b/web/app/store/MapTypes.js
index 01657565..f517045d 100644
--- a/web/app/store/MapTypes.js
+++ b/web/app/store/MapTypes.js
@@ -23,12 +23,6 @@ Ext.define('Traccar.store.MapTypes', {
key: 'locationIqStreets',
name: Strings.mapLocationIqStreets
}, {
- key: 'locationIqEarth',
- name: Strings.mapLocationIqEarth
- }, {
- key: 'locationIqHybrid',
- name: Strings.mapLocationIqHybrid
- }, {
key: 'osm',
name: Strings.mapOsm
}, {
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index c27a8d79..9192a53b 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -130,24 +130,6 @@ Ext.define('Traccar.view.map.BaseMap', {
source: new ol.source.OSM({})
}),
new ol.layer.Tile({
- title: Strings.mapLocationIqHybrid,
- type: 'base',
- visible: type === 'locationIqHybrid',
- source: new ol.source.XYZ({
- url: 'https://{a-c}-tiles.locationiq.com/v3/hybrid/r/{z}/{x}/{y}.jpg?key=' + locationIqKey,
- attributions: '&copy; <a href="https://locationiq.com/">LocationIQ</a>'
- })
- }),
- new ol.layer.Tile({
- title: Strings.mapLocationIqEarth,
- type: 'base',
- visible: type === 'locationIqEarth',
- source: new ol.source.XYZ({
- url: 'https://{a-c}-tiles.locationiq.com/v3/earth/r/{z}/{x}/{y}.jpg?key=' + locationIqKey,
- attributions: '&copy; <a href="https://locationiq.com/">LocationIQ</a>'
- })
- }),
- new ol.layer.Tile({
title: Strings.mapLocationIqStreets,
type: 'base',
visible: type === 'locationIqStreets' || type === 'wikimedia' || !type,
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 616f6724..d846c479 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -298,8 +298,6 @@
"mapMapTilerHybrid": "MapTiler Hybrid",
"mapMapTilerKey": "MapTiler API Key",
"mapLocationIqStreets": "LocationIQ Streets",
- "mapLocationIqEarth": "LocationIQ Earth",
- "mapLocationIqHybrid": "LocationIQ Hybrid",
"mapLocationIqKey": "LocationIQ Access Token",
"mapTomTomBasic": "TomTom Basic",
"mapTomTomFlow": "TomTom Traffic Flow",