private void HandleAnnotationClick(object sender, ExtendedMapAnnotation e) { _customMap.SelectedPinAddress = e.Subtitle; if (_customMapContentView.Footer.FooterMode == FooterMode.Hidden) { _customMapContentView.Footer.FooterMode = FooterMode.Minimized; } }
private void AddPin(ExtendedPin formsPin) { var nativePin = new ExtendedMapAnnotation(new CLLocationCoordinate2D(formsPin.Position.Latitude, formsPin.Position.Longitude), formsPin.Label, formsPin.Address, formsPin.PinIcon); nativePin.Clicked += HandleAnnotationClick; _nativeMapView.AddAnnotation(nativePin); }