plone / plone.patternslib

An add-on to make patternslib patterns available within Plone 5.
https://pypi.org/project/plone.patternslib/
GNU General Public License v2.0
2 stars 5 forks source link

Some tile providers for pat-leaflet cannot be registered #24

Closed pbauer closed 5 years ago

pbauer commented 6 years ago

Some tile providers need more than their name to be registered. E.g. L.tileLayer.provider('MapBox', {id: 'mapbox.streets', accessToken: 'xxx'}).addTo(map); See https://github.com/leaflet-extras/leaflet-providers#providers-requiring-registration

Currently it is not possible to use such layers with pat-leaflet. Could we change the pattern to allow passing that additional layer-information as configuration?

thet commented 5 years ago

Fixed via: https://github.com/Patternslib/pat-leaflet/pull/2