Fix JOSM subdomains conversion
This commit is contained in:
parent
86f55e00d2
commit
35c67d7ff8
1 changed files with 3 additions and 2 deletions
|
|
@ -413,12 +413,13 @@ BR.LayersConfig = L.Class.extend({
|
|||
}
|
||||
} else {
|
||||
// JOSM
|
||||
var url = convertUrlJosm(url);
|
||||
var josmUrl = url;
|
||||
var url = convertUrlJosm(josmUrl);
|
||||
|
||||
var josmOptions = L.Util.extend(options, {
|
||||
minZoom: props.min_zoom,
|
||||
maxNativeZoom: props.max_zoom,
|
||||
subdomains: getSubdomains(url),
|
||||
subdomains: getSubdomains(josmUrl),
|
||||
});
|
||||
|
||||
if (props.type && props.type === 'wms') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue