deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] HexagonLayer tool tip positions are wrong.

Open mortunco opened this issue 6 months ago • 0 comments

Description

Hello,

I am trying to do something very similar to HexagonLayer example (https://deck.gl/examples/hexagon-layer). However, the tool tip coordinates are wildly off. But everything else is correct. If you look at the coordinates in the example data, they are also wrong. I think something must got broken. For general info, UK coordinates are around lat/lon , ~53, ~-2. I see -89 and -180, which I couldnt make sense of it.

I am quite ignorant with JS so forgive my ignorance if this is something very obvious. Thanks for the great library.

T.

Flavors

  • [x] Script tag
  • [ ] React
  • [ ] Python/Jupyter notebook
  • [ ] MapboxOverlay
  • [ ] GoogleMapsOverlay
  • [ ] CARTO
  • [ ] ArcGIS

Expected Behavior

Picking object coordinates are cartesian [lat,long]

Steps to Reproduce

Go to https://deck.gl/examples/hexagon-layer. Hover over around the london area. Get lat/long. Then go to approximately same area and see the real lat/long.

Environment

  • Framework version:
  • Browser: Chrome - MacOs
  • OS: Version 122.0.6261.112 (Official Build) (64-bit)

Logs

No response

mortunco avatar May 13 '25 15:05 mortunco