Skip to content

Applied constraints to zoom on gesture update if min or max options set#46

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

Applied constraints to zoom on gesture update if min or max options set#46
johnpryan merged 1 commit intofleaflet:masterfrom
alfanhui:feature/alfanhui/minMaxZoom

Conversation

@alfanhui
Copy link
Copy Markdown
Contributor

@alfanhui alfanhui commented Jun 7, 2018

As per Issue #42, I have applied a min max constraint check on zoom within handleScaleUpdate in gestures.dart.

@johnpryan
Copy link
Copy Markdown
Collaborator

thanks for the contribution!

@johnpryan johnpryan merged commit b9998d2 into fleaflet:master Jun 7, 2018
@johnpryan
Copy link
Copy Markdown
Collaborator

Just a heads up, this logic has been moved to MapState so that jumping to a location using the MapController respects the zoom level: apptreesoftware@e09bc79

@alfanhui
Copy link
Copy Markdown
Contributor Author

alfanhui commented Jun 8, 2018

I am happy to finally contribute to an opensource project. Thanks for the work on this, really has helped my app. Cheers!

@alfanhui alfanhui deleted the feature/alfanhui/minMaxZoom branch June 13, 2018 21:59
juliano-souza000 pushed a commit to juliano-souza000/flutter_map that referenced this pull request Mar 26, 2023
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.

3 participants