Merge pull request #129 from nbtetreault/patch-1
Set tms option for custom layer
This commit is contained in:
commit
11b13cd132
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue