-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Description
Previously we were using 7.1.x and map.getCenter() was working fine, but since we moved to 8.0.4 we have at least one person for whom getCenter() always returns the initial map position center, not the updated position after panning, etc...
Not 100% sure it's a Mac issue but the exact same code/branch still works fine on Ubuntu and they're both on Chrome so not sure what else could be the cause.
Expected Behavior
No response
Steps to Reproduce
- Open map app on Chrome on MacOs
- call map.getCenter()
- pan camera somewhere else
- call map.getCenter() again
- same value is returned for getCenter both times
Environment
- Framework version: [email protected]
- Map library: I'm not sure, I did not set up this project, all I see is @mapbox/[email protected]
- Browser: Chrome 136
- OS: MacOS (newer, not sure exact version)
Logs
No response