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

Bugfix: Fix noMoveStart option for fitBounds method #8911

Merged
merged 6 commits into from May 18, 2023

Conversation

AbdullahSohail-SE
Copy link
Contributor

@AbdullahSohail-SE AbdullahSohail-SE commented Apr 10, 2023

The current implementation overrides the noMoveStart option to false value.

@veitbjarsch
Copy link

Would be awesome if we could bring this adjustment into the next release.

@AbdullahSohail-SE AbdullahSohail-SE changed the title Bugfix: Fix overriden options for fitBounds method Bugfix: Fix noMoveStart option for fitBounds method Apr 10, 2023
@Falke-Design
Copy link
Member

We need to check if the docs needs to be updated. https://leafletjs.com/reference.html#zoom-options

@Falke-Design Falke-Design added this to the 1.9.x milestone Apr 10, 2023
@veitbjarsch
Copy link

The docs describe the noMoveStart as inherit from panning. But it didn't worked before.

@AbdullahSohail-SE
Copy link
Contributor Author

@veitbjarsch seconded, cc: @Falke-Design

@AbdullahSohail-SE
Copy link
Contributor Author

@Falke-Design any updates?

@veitbjarsch
Copy link

@mourner @jonkoops @IvanSanchez any chance to get this into the next release? Would love to use it.

src/map/Map.js Outdated Show resolved Hide resolved
Co-authored-by: Jon Koops <jonkoops@gmail.com>
src/map/Map.js Outdated Show resolved Hide resolved
@Falke-Design Falke-Design merged commit 4f8e3f5 into Leaflet:main May 18, 2023
17 checks passed
Falke-Design added a commit that referenced this pull request May 18, 2023
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Florian Bischof <design.falke@gmail.com>
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.

None yet

4 participants