-
Notifications
You must be signed in to change notification settings - Fork 364
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
Add WidgetMarker #728
base: master
Are you sure you want to change the base?
Add WidgetMarker #728
Conversation
|
class WidgetMarker(Marker): | ||
_view_name = Unicode('LeafletWidgetMarkerView').tag(sync=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.
Needs docstring
Cool! Would like to see some tiny explanation about which point of the rendered widget the specified location will refer to, like lower-left (or rather South-West?), I'd assume. |
@deeplook I am actually not sure. If you look at the screenshot closely you'll see a small white square at the top-left of the button, I suspect this is the center of the marker but I am really not sure. |
Signed-off-by: martinRenou <martin.renou@gmail.com>
Signed-off-by: martinRenou <martin.renou@gmail.com>
993685b
to
a1d7687
Compare
I might add a |
Signed-off-by: martinRenou <martin.renou@gmail.com>
Fix #717
This requires updating LeafletJS, we need to be extra careful that everything still works as expected after this.