aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/BaseMap.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/map/BaseMap.js')
-rw-r--r--web/app/view/map/BaseMap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 0b39ae33..0ab48e87 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -38,7 +38,7 @@ Ext.define('Traccar.view.map.BaseMap', {
bingKey = server.get('bingKey');
switch (type) {
- case 'customXyzFormat':
+ case 'custom':
layer = new ol.layer.Tile({
source: new ol.source.XYZ({
url: Ext.String.htmlDecode(server.get('mapUrl')),
@@ -46,7 +46,7 @@ Ext.define('Traccar.view.map.BaseMap', {
})
});
break;
- case 'customArcgisRest':
+ case 'customArcgis':
layer = new ol.layer.Tile({
source: new ol.source.TileArcGISRest({
url: Ext.String.htmlDecode(server.get('mapUrl'))