Skip to content

Commit

Permalink
Merge pull request turban#1 from caraka/tiles
Browse files Browse the repository at this point in the history
Update index.html
  • Loading branch information
Richard Leckinger authored Oct 11, 2016
2 parents 52f78be + 245397b commit 2feaac7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions local_file_example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

<script>
//Create a map
var map = L.map('map', { maxZoom: 17});
var map = L.map('map', { maxZoom: 18});

//Add Background Mapping
L.tileLayer('http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png', {
attribution: '<a href="GISforThought.com">GISforThought</a> | <a href="http://blog.thematicmapping.org/2014/08/showing-geotagged-photos-on-leaflet-map.html">Leaflet.Photo</a> | &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a> | Tiles &copy; <a href="http://www.mapquest.com/" target="_blank">MapQuest</a> <img src="http://developer.mapquest.com/content/osm/mq_logo.png" />', subdomains: '1234'
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '<a href="GISforThought.com">GISforThought</a> | <a href="http://blog.thematicmapping.org/2014/08/showing-geotagged-photos-on-leaflet-map.html">Leaflet.Photo</a> | Base map data &copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);

//Create the photolayer
Expand Down Expand Up @@ -86,4 +86,4 @@

</script>
</body>
</html>
</html>

0 comments on commit 2feaac7

Please sign in to comment.