Increase the click area by an annotation point #2772
cyrilmarceau
started this conversation in
Ideas
Replies: 2 comments
-
|
@cyrilmarceau we don't have such a feature, you can try to add a transparent area around the point annotation, so it's bigger than actually, to increase hotbox. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@mfazekas I see this issue on IOS but it' still present on Android: mapbox/mapbox-maps-ios#979 and mapbox/mapbox-plugins-android#1002 Is this corrected on new versions? If not, would it be possible to fix this bug or reduce it as much as possible? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thanks for this library.
I use the annotation points because the markers don't seem to be anchored and when you move the map it floats on the map. So I use the point annotation but the click zone is very restricted to the point.
Is it possible to enlarge the click area via a prop like:
pressableAnchor={{top: myValue, left: myValue, bottom: myValue, right: myValue}}
Or something in that style.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions