Skip to content

Add getBounds, fitBounds, Rectangle #15

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

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

Conversation

jczerosb
Copy link

getBounds, fitbounds and Rectangle are existing features in Leaflet,
getBounds is used to get a rectangular area used by Circle, Rectangle, Polygon, Polylines, etc.
fitBounds is used to Zoom an specific area, usually enclosed by getBounds result.
Rectangle, can be created just with SW/NE coords, no need a Polyline with 4 corners.

For getBounds result a new class should be created to collect results in SW/NE format, also same class have a extension method for fitBounds

@jim-craane
Copy link

Is this still going to be merged? I need this features for my project.

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