Replies: 3 comments 1 reply
-
|
How else would you have solved the problem of the fact that the same coordinate (lat,lon) can appear on the screen twice? How would you differentiate between those two points? |
Beta Was this translation helpful? Give feedback.
-
|
The same place may appear on the screen multiple times, but I'd expect the same coordinates to be returned, as it's still the same place. LngLat(-260, 65) is outside of the EPSG:4326 bounds. maplibre-gl-js/src/geo/lng_lat.ts Lines 32 to 33 in 0c35815 |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, that's ignoring the problem I'm raising... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
maplibre-gl-js version: 5.13.0
browser: Firefox 145.0
Steps to Trigger Behavior
Link to Demonstration
https://jsfiddle.net/16xfdcpy/8/
Expected Behavior
The event should return
lngLatwithin the WGS84 +-180 range.The event should return the same
lngLatfor all zoom levels.Actual Behavior
lngLatreturns invalid values on zoom levels 0-2. Works as expected on zoom levels 3+.Maybe related to: #6701
20251119-1313-58.0784855.mp4
Beta Was this translation helpful? Give feedback.
All reactions