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

padding option in flyTo not working on v3.3.0 #13158

Closed
ricardoweiss opened this issue Apr 19, 2024 · 1 comment
Closed

padding option in flyTo not working on v3.3.0 #13158

ricardoweiss opened this issue Apr 19, 2024 · 1 comment

Comments

@ricardoweiss
Copy link

Ive updated my mapbox gl version from 3.0.0 to 3.3.0, and the padding of the flyTo property stopped being applied, ive always used this padding values alongside a center coordinates, but now the map stays in the same position, regardless the padding

mapbox-gl-js version: v3.3.0

browser: chrome version 124.0.6367.61 (Official Build) (arm64)

Steps to Trigger Behavior

  1. call flyTo with a specific padding

Link to Demonstration

https://jsbin.com/cedunubake/edit?html,output

Expected Behavior

  • the left padding should be applied

Actual Behavior

  • the center of the map still is the coordinates provided, no padding applied
@mourner
Copy link
Member

mourner commented Apr 22, 2024

Closing as a duplicate of #13152.

@mourner mourner closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
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

No branches or pull requests

2 participants