feat: add nativeZooms property for custom zoom level support#2145
feat: add nativeZooms property for custom zoom level support#2145awoni wants to merge 2 commits into
Conversation
awoni
commented
Aug 25, 2025
- Add nativeZooms property to specify available discrete zoom levels
- Add NativeZoomStrategy enum with multiple selection strategies
- Implement intelligent zoom clamping based on distance and strategy
- Maintain backward compatibility with existing zoom behavior
- Add nativeZooms property to specify available discrete zoom levels - Add NativeZoomStrategy enum with multiple selection strategies - Implement intelligent zoom clamping based on distance and strategy - Maintain backward compatibility with existing zoom behavior
|
Hey, thanks for contributing! Unfortunately I'm away now for a while, but I'll see what I can do to get this reviewed. Am I right in thinking that, if the new properties are set, this overrides usage of the existing |
|
Hey, sorry for leaving this for so long. I like the concept behind it, and I can see how it would be useful, but it would be good to get an idea from another @fleaflet/maintainers on what they think about the API, as this does complicate the already extensive list of options on the |
|
Hey @awoni, I'm just looking to start tweaking this so we can merge it. Please could you tick the box to allow us maintainers to edit the branch attached to this PR, or if this isn't OK, please let me know? Thanks! |