Beispiel #1
0
 private void OnMarkerDrag(object sender, Android.Gms.Maps.GoogleMap.MarkerDragEventArgs e)
 {
     if (_draggingPin != null)
     {
         UpdatePositionWithoutMove(_draggingPin, e.Marker.Position.ToPosition());
         Map.SendPinDragging(_draggingPin);
     }
 }
Beispiel #2
0
 private void GoogleMap_MarkerDrag(object sender, GMaps.GoogleMap.MarkerDragEventArgs e)
 {
     markers[e.Marker].Center = new Location(e.Marker.Position.Latitude, e.Marker.Position.Longitude);
 }