-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Create and test FeatureGroup #242
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
Conversation
Sweet! |
I am good with that PR and I will be merging it soon unless someone else raise something. (I have only 1 stupid pep8 comment.) BTW: This PR is a perfect example of how the refactoring work you did was worth the effort. |
Thanks @ocefpaf. Please tell me your PEP8 comment ; I can change it quite quickly. |
@@ -217,6 +217,34 @@ def __init__(self, tiles='OpenStreetMap', name=None, | |||
{% endmacro %} | |||
""") | |||
|
|||
class FeatureGroup(TileLayer): | |||
def __init__(self, name=None, overlay = True): | |||
"""Create a FeatureGroup layer ; you can put things in it and handle them as a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess my comment did not make it in the first try! I have a flaky connection today 😒
Please change overlay = True
to overlay=True
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed and rebased
6faf7ed
to
83206ef
Compare
Another great addition 🎉 |
Yes, this looks great! Thanks. |
Include several object in a layer, and then control it into the layer control.