Skip to content

Commit

Permalink
Merge pull request #9 from ghybs/patch-1
Browse files Browse the repository at this point in the history
Replaced deprecated MapQuest tile layer by OSM
  • Loading branch information
bbecquet committed Jul 16, 2016
2 parents 52fc96b + b573650 commit 9536dbd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
center: [58.0, -11.0],
zoom: 4,
layers: [
new L.TileLayer('http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png', {
attribution: 'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a> &mdash; Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
maxZoom: 18,
subdomains: '1234'
})
L.tileLayer('http://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png', {
minZoom: 0,
maxZoom: 18,
attribution: 'Tiles courtesy of <a href="http://openstreetmap.se/" target="_blank">OpenStreetMap Sweden</a> &mdash; Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
})
]
});

Expand Down

0 comments on commit 9536dbd

Please sign in to comment.