I create a marker and place it on the map on a long press. The only problem that I have is that I have to lift up my finger, long press the marker again (though I really didn't press the marker the first time it was actually the map), and then I am able to drag it. This is the default functionality and it works fine.
What I would prefer is to be able to start dragging on the first long press of the map when I lay my marker down. I am wondering if there is some way to manually fire the drag event where the marker snaps to my finger position as soon as it is created and then can be dragged and placed where I want it.
Here is the relevant code, thanks!
GoogleMap gMap;
@Override
public void onMapLongClick(LatLng latLng) {
MarkerOptions markerOptions = new MarkerOptions().position(latLng)
.title(null).draggable(true);
gMap.addMarker(markerOptions);
//I would like to be able to start dragging the marker here
}