diff options
author | aude <aude.wiki@gmail.com> | 2012-12-01 14:43:25 +0100 |
---|---|---|
committer | aude <aude.wiki@gmail.com> | 2012-12-01 14:43:25 +0100 |
commit | e7814bbd65ea0f3c801dc651e5f671e5d01bf99a (patch) | |
tree | 4418b2d2cd38a54167e6a8f24de801dd4ab62a69 /resources | |
parent | 0f34541957b0d8ed84c7d4ee29bc1d9cabb75d98 (diff) | |
download | health-map-e7814bbd65ea0f3c801dc651e5f671e5d01bf99a.tar health-map-e7814bbd65ea0f3c801dc651e5f671e5d01bf99a.tar.gz |
use osm base layer
Diffstat (limited to 'resources')
-rw-r--r-- | resources/map.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/map.js b/resources/map.js index 7e54607..aa522a6 100644 --- a/resources/map.js +++ b/resources/map.js @@ -2,9 +2,9 @@ $(document).ready(function() { var map = L.map( 'map' ); - L.tileLayer('http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png', { + L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { 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>, Imagery © <a href="http://cloudmade.com">CloudMade</a>' + attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors' }).addTo(map); function onLocationFound(e) { |