js tile baseurl update

This commit is contained in:
simon 2020-09-08 15:53:40 +03:00
parent ad444aadaf
commit 463679afd3

View file

@ -100,7 +100,7 @@ function toColor(num) {
'mapid':'map',
'maxzoom':20,
'maxnativezoom':19,
'sourceurl':'https://tile.osmand.net/hd/{z}/{x}/{y}.png',
'sourceurl': window.location.protocol + "//" + window.location.host + '/tile/{z}/{x}/{y}.png',
'attribution':'&copy; <a href="https://www.openstreetmap.org/'+lparams+'#map=15/'+loc+'">OpenStreetMap</a> contributors'
}, config),
init:function(){