void OnMapViewMoveFinished(object sender, MapView.MapViewMoveFinishedEventArgs e) { var mapPoint = e.P1; MapPoint.GeoCoordinate mapPointGeo = mapPoint.MapPointGeoCoord; Log.Info(LOG_TAG, $"MapView onMapViewMoveFinished ({mapPointGeo.Latitude},{mapPointGeo.Longitude})"); }
void OnMapViewLongPressed(object sender, MapView.MapViewLongPressedEventArgs e) { var mapPoint = e.P1; MapPoint.GeoCoordinate mapPointGeo = mapPoint.MapPointGeoCoord; AlertDialog.Builder alertDialog = new AlertDialog.Builder(this); alertDialog.SetTitle("DaumMapLibrarySample"); alertDialog.SetMessage($"Long-Press on ({mapPointGeo.Latitude},{mapPointGeo.Longitude})"); alertDialog.SetPositiveButton("OK", listener: null); alertDialog.Show(); }