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

Using transform:scale in css causes mapbox mouse events to be offset #13169

Open
xiangyin1987 opened this issue May 7, 2024 · 1 comment
Open
Labels

Comments

@xiangyin1987
Copy link

mapbox-gl-js version: ^3.3.0

Question

Snipaste_2024-05-06_17-04-58
Snipaste_2024-05-07_22-22-46

The result returned by the getScaledPoint function does not take into account transform:scale

@xiangyin1987
Copy link
Author

I have temporarily fixed the transform:scale offset problem based on mapbox 3.3.0. Dependency address: https://www.npmjs.com/package/@jkyu/mapbox-gl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants