How to detect long click on GoogleMap marker
问题 In my app I have a MapFragment. I do map = mapFragment.getMap(); and after that add a marker in the event onMapClick(LatLng point){ ... map.addMarker(new MarkerOptions() .position(point) .title(txt)); ... } All this works perfectly. What I need is to know when the user keep long click on the marker I put on the map. I made some handmade calculations in onMapLongClick(LatLng point){ ... if((Math.abs(mrkrPos.latitude-point.latitude)<0.0005)&&(Math.abs(mrkrPos.longitude-point.longitude)<0.0005))