diff options
Diffstat (limited to 'app/photos')
-rw-r--r-- | app/photos/photos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/photos/photos.js b/app/photos/photos.js index 1331b0e..b93467a 100644 --- a/app/photos/photos.js +++ b/app/photos/photos.js @@ -6,7 +6,7 @@ function mapit(obj) { map = L.map(document.getElementById("mw-"+elid)); centerCoord = new L.LatLng(lat, lon); zoom = 8; - L.tileLayer.provider('Esri.WorldTopoMap', {maxZoom: 18, attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Tiles © Esri and the GIS User Community'}).addTo(map); + L.tileLayer.provider('Esri.WorldTopoMap', {maxZoom: 18, attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Tiles © Esri and the GIS User Community'}).addTo(map); map.setView(centerCoord, zoom); L.marker([lat, lon]).addTo(map); } |