Skip to content
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 support for getting all drawn objects on the map #32

Merged
merged 3 commits into from
Feb 15, 2022

Conversation

blackary
Copy link
Collaborator

image

This adds two new entries to the exported json -- all_drawings and latest_active_drawing (either clicked or drawn).

Copy link
Owner

@randyzwitch randyzwitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for now, since I've got no frame of reference on the JS. Will test out as part of creating the more impressive app

@@ -63,7 +62,7 @@ def folium_static(fig, width=700, height=500):

# Create a _RELEASE constant. We'll set this to False while we're developing
# the component, and True when we're ready to package and distribute it.
_RELEASE = True
_RELEASE = False
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to put this back so I can build a new PyPI package

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@randyzwitch randyzwitch merged commit 5014154 into master Feb 15, 2022
@randyzwitch randyzwitch deleted the add-draw-support branch February 15, 2022 01:18
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.

2 participants