Skip to content

Commit

Permalink
Change basemap to Stroud Mapbox account
Browse files Browse the repository at this point in the history
Updates the default basemap to use the 'Run, Bike and Hike` Classic
style from mapbox which was used previously.  Includes adding an
`access_token` generated from the stroud account
 (https://www.mapbox.com/api-documentation/?language=cURL#access-tokens)
  • Loading branch information
Matthew McFarland committed May 9, 2016
1 parent 3a46f98 commit 71f0e58
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/mmw/mmw/settings/layer_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,13 @@
{
'type': 'mapbox',
'display': 'Streets',
'url': 'https://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png',
'attribution': '&copy; <a href="http://www.thunderforest.com/">Thunderforest</a>, &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
'url': 'https://{s}.tiles.mapbox.com/v4/srgdamia1.d0197125'
'/{z}/{x}/{y}.png?access_token=pk.eyJ1Ijoic3JnZGFtaWExIiwiYSI6ImNpbnJ1bGd5ajEwbDB1YW0zcnE4bjZwaWwifQ.4kGj3EcIdDY4MyBmOEZsrA', #noqa
'attribution': '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>, Imagery &copy; '
'<a href="http://mapbox.com">Mapbox</a>',
'maxZoom': 18,
'default': True,
'basemap': True,
Expand Down

0 comments on commit 71f0e58

Please sign in to comment.