polyrhythm-project / polyrhythm-maps

2 stars 0 forks source link

Swap in Stamen Toner Lite basemap for composer map #9

Closed ect123 closed 1 year ago

ect123 commented 1 year ago

Stamen Designs offers their base map tile sets for use free-of-charge, and Toner-Lite is a great option for a background: http://maps.stamen.com/toner-lite/#12/37.7706/-122.3782.

To use this base map in the composers map, we'll need to swap out the existing Google Maps layer starting on line 71 of /composers/composers-birth-death/index.html. The replacement variable should align with directions here: http://maps.stamen.com/#toner-lite/12/37.7706/-122.3782

The variable being used for the base map looks to be auto-generated from the QGIS2Web plugin and references the style of the layer (layer_GoogleRoad_0). After getting Toner-lite to work with the old variable, create a new variable like toner-lite-layer or something similar to indicate that's the layer.

ect123 commented 1 year ago

Hey @jasonleeubc is this working on your end with the Toner Lite basemap? If so, I'll go ahead and close the issue.

jasonleeubc commented 1 year ago

Yes, the updated html file works on my end with the Toner Lite basemap.