Android: draggable PointAnnotation moves slightly while tapping on it
See original GitHub issueDescribe the bug Point Annotation should be selected/deselected while tapping on it. However, it triggers the dragging events and position shifts slightly which is very annoying.
To Reproduce Just use the official example: ShowPointAnnotation.js make the Point Annotation draggable.
<MapboxGL.PointAnnotation
draggable={true}
key={id}
id={id}
coordinate={coordinate}
title={title}>
<View style={styles.annotationContainer} />
<MapboxGL.Callout title="This is a sample with image" />
</MapboxGL.PointAnnotation>
Expected behavior Point Annotation shouldn’t move while tapping on it and no dragging event should be triggered.
Versions (please complete the following information):
- Platform: Android
- Device: any android device
- Emulator/ Simulator: no
- OS: Android 10
- react-native-mapbox-gl Version 8.0.0
- React Native Version 0.62.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
draggable PointAnnotation moves slightly while tapping on it ...
Point Annotation should be selected/deselected while tapping on it. However, it triggers the dragging events and position shifts slightly which ...
Read more >pointannotation is not working in android - Stack Overflow
I am using react-native-mapbox-gl library for map and trying to render draggable marker. Following ...
Read more >rnmapbox/Lobby - Gitter
I was wondering if we would be able to implement draggable layers by placing transparent draggable annotations above them and having them sync...
Read more >How to display Location and Routes with CoreLocation ...
Learn how to get a user's location, create annotations and display it on the map, search for points of interest in your area,...
Read more >How to Make a Draggable Music Knob in Jetpack Compose
In this video you will learn how you can create a music knob composable that you can rotate using drag gestures.⭐ Get certificates...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Face the same issue, does someone find a solution ?
@tobrun is there any workaround or solution to avoid this issue on Android?