Originally posted by **IndrajeetS** June 2, 2023
Is there a way to detect a drag gesture on a line and update its details?
Currently, I can detect a tap gesture, but there doesn't seem to be an option to detect a drag gesture.
Currently, I have implemented a solution where a new line is drawn every time a drag event occurs over an existing line. This is achieved by using a GestureDetector to capture the screen offset and converting it into LatLng coordinates. However, I believe this approach is not ideal and there may be a better solution available.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Discussed in https://github.com/flutter-mapbox-gl/maps/discussions/1331