Problem/Motivation
Leaflet More Maps uses old tile format strings for Thunderforest map styles. Besides, those old URLs do not support HTTPS, thus tiles will not even be displayed if the site uses TLS. We should switch to this new URL format, as it is described on the reference page for each style.
Finally, we have the opportunity to include newly created Thunderforest styles in the list.
Proposed resolution
The attached patch changes URL patterns, and adds new Thunderforest map styles.
Remaining tasks
Review patch.
User interface changes
Site builders will see new map styles appear in Leaflet field formatter settings.
API changes
None. Machine names of already existing maps will not change.
Data model changes
None.
Comments
Comment #2
fmb commentedComment #3
duaelfrThe code looks good to me.
Comment #4
rdeboerPlease provide patch for D7 as well...
Thanks
Rik
Comment #5
fmb commentedThe patch for D7.
Comment #6
fmb commentedAn updated patch for D8, with correct zooms in labels (these maps go up to zoom 22! I love this guy's work).
Comment #7
dawnbuie commentedThe #5 D7 patch seems to work fro me. Thanks.
Comment #8
fmb commentedTaking the liberty to RTBC since this has been reviewed twice and reported to work.
Comment #9
japerryD8 version committed. Setting to D7.
Comment #12
berramou commentedComment #13
berramou commented