Skip to content

basing bounds off of zoom the bounds will be instead of the current map zoom#1

Open
quinnbaetz wants to merge 1 commit intochuckhendo:masterfrom
quinnbaetz:master
Open

basing bounds off of zoom the bounds will be instead of the current map zoom#1
quinnbaetz wants to merge 1 commit intochuckhendo:masterfrom
quinnbaetz:master

Conversation

@quinnbaetz
Copy link

Padding wasn't being appropriately added when the zoom level changes. This change calculates the zoom based on what the map will be after the bounds fit and adds padding to that. Still some optimizations to be made but works in more cases now.

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.

1 participant