mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

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

Open xiangyin1987 opened this issue 1 year ago • 1 comments

Using transform:scale in css causes mapbox mouse events to be offset Snipaste_2024-05-06_17-04-58

xiangyin1987 avatar May 06 '24 09:05 xiangyin1987

Snipaste_2024-05-07_22-22-46 The result returned by the getScaledPoint function does not take into account transform:scale

xiangyin1987 avatar May 07 '24 14:05 xiangyin1987

Closing as a duplicate of https://github.com/mapbox/mapbox-gl-js/issues/13169

stepankuzmin avatar May 14 '24 16:05 stepankuzmin