Verified Commit 16a8b43a authored by Marco Marinello's avatar Marco Marinello
Browse files

Try to fix map strange zoom

parent a9226a50
......@@ -28,7 +28,7 @@
iconAnchor: [12, 41]});
var redicon = new GeoIcon({iconUrl: '/static/js/images/marker-red.png',
iconAnchor: [12, 41]});
map = L.map('map', {"center": L.latLng(40, 12)});
map = L.map('map').setView([46.49, 11.34], 10);
var tiles = L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 18,
minZoom: 2,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment