Skip to content

Explicit WMSTileLayer options, accept all **kwargs #838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 6, 2018

Conversation

Conengmo
Copy link
Member

@Conengmo Conengmo commented Mar 28, 2018

This closes #823.

The options for WMSTileLayer were parsed in a function in another module. To make it more explicit and simple I moved this to the class init, just like in the other classes.

Also all **kwargs are now added to the options. This enables users to provide any Leaflet options such as minZoom.

I didn't add the TileLayer arguments to WMSTileLayer, or make WMSTileLayer a subclass TileLayer. I'm in doubt if that added complexity would make things easier. I guess not.

Frank added 2 commits March 28, 2018 09:47
The options for WMSTileLayer were parsed in a function in another module. To make it more explicit and simple I moved this to the class init, just like in the other classes.

Also all **kwargs are now added to the options. This enables users to provide any Leaflet options such as minZoom.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

**kwargs in folium.features.WmsTileLayer not passed on
1 participant