diff options
Diffstat (limited to 'app/projects/natparks.js')
-rw-r--r-- | app/projects/natparks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/projects/natparks.js b/app/projects/natparks.js index 8e4748b..8481408 100644 --- a/app/projects/natparks.js +++ b/app/projects/natparks.js @@ -3,7 +3,7 @@ function mapit(lat,lon,zoom,id) { map = L.map(document.getElementById("map-wrapper-"+id)); centerCoord = new L.LatLng(lat, lon); zoom = zoom; - 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); ////get the geojson for this map $.ajax({ |