diff --git a/ckanext/spatial/public/js/common_map.js b/ckanext/spatial/public/js/common_map.js index 3bd8f26..0688978 100644 --- a/ckanext/spatial/public/js/common_map.js +++ b/ckanext/spatial/public/js/common_map.js @@ -52,6 +52,7 @@ // Custom XYZ layer baseLayerUrl = mapConfig['custom.url']; if (mapConfig.subdomains) leafletBaseLayerOptions.subdomains = mapConfig.subdomains; + if (mapConfig.tms) leafletBaseLayerOptions.tms = mapConfig.tms; leafletBaseLayerOptions.attribution = mapConfig.attribution; } else { // MapQuest OpenStreetMap base map