void OnMarkerDragStart(object sender, GoogleMap.MarkerDragStartEventArgs e)
        {
            // lookup pin
            _draggingPin = LookupPin(e.Marker);

            if (_draggingPin != null)
            {
                UpdatePositionWithoutMove(_draggingPin, e.Marker.Position.ToPosition());
                Map.SendPinDragStart(_draggingPin);
            }
        }
Example #2
0
        private void OnMarkerDragStart(object sender, GoogleMap.MarkerDragStartEventArgs e)
        {
            var clusterItem = clusterRenderer.GetClusterItem(e.Marker);

            draggingPin = LookupPin((ClusteredMarker)clusterItem);

            if (draggingPin == null)
            {
                return;
            }
            UpdatePositionWithoutMove(draggingPin, e.Marker.Position.ToPosition());
            Map.SendPinDragStart(draggingPin);
        }
Example #3
0
        private void Map_MarkerDragStart(object sender, GoogleMap.MarkerDragStartEventArgs e)
        {
            //Toast.MakeText(this, e.Marker.Id.Substring(1), ToastLength.Long).Show();

            int.TryParse(e.Marker.Id.Substring(1), out int eventid);

            SettingsManager sm = new SettingsManager();

            sm.WriteLocalFile("eventid", events[eventid].eventid.ToString());

            Intent intent = new Intent(this, typeof(Map));

            this.StartActivity(intent);
            this.Finish();

            intent = new Intent(this, typeof(DetailsEvent));
            this.StartActivity(intent);
        }
Example #4
0
 /// <summary>
 /// When a dragging starts
 /// </summary>
 /// <param name="sender">Event Sender</param>
 /// <param name="e">Event Arguments</param>
 private void OnMarkerDragStart(object sender, GoogleMap.MarkerDragStartEventArgs e)
 {
     this._isDragging = true;
 }
Example #5
0
 private void MapOnMarkerDragStart(object sender, GoogleMap.MarkerDragStartEventArgs e)
 {
     throw new NotImplementedException();
 }
Example #6
0
 private void NativeMap_MarkerDragStart(object sender, GoogleMap.MarkerDragStartEventArgs e)
 {
     OnMarkerDragStart(e.Marker);
 }