[Feat] Different tooltip per layer
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Target Use Case
At the moment, I'm doing a map with different layers regarding different assets that have different features. Currently the tooltip is really limited because for one of the layers I have the features I want displayed, but for the other layers the tooltip display null values.
Proposal
I know this is possible with plotly currently, where when you add a layer you specify the tooltip directly in that layer.
With pydeck that would be something like :
pdk.Layer(
...,
tooltip="..."
)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named in the issue. Start by tracing the existing tooltip handling for layers and the pydeck-facing layer API, then compare how Plotly scopes tooltips per layer. Done means each layer can define its own tooltip and layers lacking a field no longer produce misleading null values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100