Skip to content

Commit

Permalink
Merge pull request #34 from jdoepfert/master
Browse files Browse the repository at this point in the history
added stamen toner map tiles
  • Loading branch information
jwass authored Dec 25, 2016
2 parents 2bb98ae + c61ec07 commit eac78a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mplleaflet/maptiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> &mdash; Map data &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
)

stamen_toner = (
'http://a.tile.stamen.com/toner/{z}/{x}/{y}.png',
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> &mdash; Map data &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
)


cartodb_positron = (
'http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',
'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> &copy; <a href="http://cartodb.com/attributions">CartoDB</a>'
Expand All @@ -52,6 +58,7 @@
'thunderforest_landscape': thunderforest_landscape,
'esri_aerial': esri_aerial,
'stamen_wc': stamen_wc,
'stamen_toner': stamen_toner,
'esri_natgeo': esri_natgeo,
'cartodb_positron': cartodb_positron,
'esri_worldtopo': esri_worldtopo
Expand Down

0 comments on commit eac78a3

Please sign in to comment.