mapbox / mapbox/mapbox-maps-flutter
TapInteraction doesn't return full geometry
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
Hi everyone,
I'm using a Feature tileset / GeoJSON source and when I tap a feature, I expect the TapInteraction to return the entire geometry, but instead I only get the portion that’s visible in the current viewport.
Is this the intended behavior or a bug?
Docs: https://docs.mapbox.com/flutter/maps/guides/user-interaction/interactions/
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
Start with the TapInteraction section of the linked Flutter interaction documentation and reproduce the behavior with a Feature tileset or GeoJSON source. Compare the tapped result with the feature geometry outside the viewport, then determine whether the documented behavior or returned geometry needs to change. Done means the expected behavior is established and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- api, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100