Add missing css height for leaflet

This commit is contained in:
Joerg Reichert 2019-06-10 15:04:02 +02:00
parent 1dca83138a
commit 1612893b17
5 changed files with 10 additions and 20 deletions

View file

@ -15,11 +15,11 @@ html
h3#title = 'Karte'
div#map/
javascript:
var map = L.map('map').setView([51.4437366804, 11.865234375], 9);
var map = L.map('map').setView([51.3399028, 12.3742236], 12);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
attribution: 'Map data &#64; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors</a>',
maxZoom: 12,
minZoom: 8
maxZoom: 16,
minZoom: 12
}
).addTo(map);