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 draw:editresize and draw:editmove events #544

Merged
merged 3 commits into from
Jun 20, 2016

Conversation

jonnyscholes
Copy link
Contributor

I have the need to get the bounds of a Rectangle as it is being edited (so I can display to the user the co-ordinates they are selecting).

This PR adds two new events:

  • draw:editresize which is fired as the user resizes a rectangle or circle.
  • draw:editmove which is fired as the user moves a rectangle, circle or marker.

Let me know if there are any issues you want addressed. This PR passed the tests before being submitted.

@ddproxy ddproxy merged commit 5f722d4 into Leaflet:master Jun 20, 2016
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