Skip to content

Pan Boundary with 2 new MapOptions variables: swPanBoundary and nePanBoundary.#47

Merged
johnpryan merged 1 commit intofleaflet:masterfrom
alfanhui:feature/alfanhui/panBoundary
Jun 7, 2018
Merged

Pan Boundary with 2 new MapOptions variables: swPanBoundary and nePanBoundary.#47
johnpryan merged 1 commit intofleaflet:masterfrom
alfanhui:feature/alfanhui/panBoundary

Conversation

@alfanhui
Copy link
Copy Markdown
Contributor

@alfanhui alfanhui commented Jun 7, 2018

MapOptions now has 2 new variables, swPanBoundary and nwPanBoundary. Immediate assert fail if center variable is outside pan boundary. map.dart's move() function returns out if *new center is out of pan bounds.

…Immediate assert fail if center variable is outside either boundaries. map.dart's move function returns if *new center is out of pan bounds.
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