basemap.at hinzugefügt
This commit is contained in:
parent
b5f4a8e747
commit
6d5f268f31
1 changed files with 8 additions and 0 deletions
|
@ -66,6 +66,13 @@
|
|||
maxZoom: 19,
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
||||
});
|
||||
var basemap = L.tileLayer('http://maps{s}.wien.gv.at/basemap/geolandbasemap/normal/google3857/{z}/{y}/{x}.{format}', {
|
||||
maxZoom: 19,
|
||||
attribution: 'Datenquelle: <a href="www.basemap.at">basemap.at</a>',
|
||||
subdomains: ["", "1", "2", "3", "4"],
|
||||
format: 'png',
|
||||
bounds: [[46.35877, 8.782379], [49.037872, 17.189532]]
|
||||
});
|
||||
var emptyLayer = L.tileLayer("", {maxZoom: 19}).addTo(map);
|
||||
|
||||
var citybikeIconClass = L.Icon.extend({
|
||||
|
@ -187,6 +194,7 @@
|
|||
|
||||
var mapLayers = {
|
||||
'Standard': layer,
|
||||
"basemap.at": basemap,
|
||||
"Leer": emptyLayer
|
||||
};
|
||||
var overlays = {
|
||||
|
|
Reference in a new issue