visgl / visgl/deck.gl

[Bug] HexagonLayer tool tip positions are wrong.

Open
#9,631 0 comments 0 reactions 1 assignee View on GitHub

@Pessimistress is already working on this.

Since May 13, 2025.

bug
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

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
  • 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.