diff options
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/store/MapTypes.js | 6 | ||||
-rw-r--r-- | web/app/view/map/BaseMap.js | 18 |
2 files changed, 0 insertions, 24 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: '© <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: '© <a href="https://locationiq.com/">LocationIQ</a>' - }) - }), - new ol.layer.Tile({ title: Strings.mapLocationIqStreets, type: 'base', visible: type === 'locationIqStreets' || type === 'wikimedia' || !type, |