Skip to content

Comments

Fix map jumping when clicking markers near borders with rotation/bear…#68

Open
Alona2156 wants to merge 1 commit intoRaruto:masterfrom
Alona2156:fix-panInside-jump
Open

Fix map jumping when clicking markers near borders with rotation/bear…#68
Alona2156 wants to merge 1 commit intoRaruto:masterfrom
Alona2156:fix-panInside-jump

Conversation

@Alona2156
Copy link

@Alona2156 Alona2156 commented Dec 17, 2025

Fix map jumping when clicking markers near borders with rotation/bearing enabled.
The panInside function was using incorrect bounds calculation starting from
rect position instead of [0,0], causing unnecessary panning when rotation
was enabled and markers were clicked near map edges.

Solves issue #52 and #59

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