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 leaflet-rectangle dom-module #48

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Compufreak345
Copy link
Contributor

Adds support for http://leafletjs.com/reference.html#rectangle

I decided to put northEast and southWest as attributes instead of leaflet-points or implementing LatLngBounds like they are in leaflet. Not sure if you agree with it, it fitted best for my use case.

I could not test the demo due to missing references, but it should work (please review before merging).

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.

1 participant