From e07feeee9bf49606ed0a532627b1c8f3115a467e Mon Sep 17 00:00:00 2001 From: amay077 Date: Sat, 23 Mar 2019 14:32:49 +0900 Subject: [PATCH] Fix comment --- XFGoogleMapSample/XFGoogleMapSample/PinsPage.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XFGoogleMapSample/XFGoogleMapSample/PinsPage.xaml.cs b/XFGoogleMapSample/XFGoogleMapSample/PinsPage.xaml.cs index 164dd8bd..a4e08121 100644 --- a/XFGoogleMapSample/XFGoogleMapSample/PinsPage.xaml.cs +++ b/XFGoogleMapSample/XFGoogleMapSample/PinsPage.xaml.cs @@ -161,7 +161,7 @@ void SelectedPin_Changed(object sender, SelectedPinChangedEventArgs e) labelStatus.Text = $"[{time}]SelectedPin changed - {e?.SelectedPin?.Label ?? "nothing"}"; } - // DO NOT mark async method + // Do NOT mark async method. // Because Xamarin.Forms.GoogleMaps wait synchronously for this callback returns. void Map_PinClicked(object sender, PinClickedEventArgs e) { @@ -174,7 +174,7 @@ void Map_PinClicked(object sender, PinClickedEventArgs e) //if (switchHandlePinClicked.IsToggled) //{ // map.SelectedPin = e.Pin; - // map.MoveToRegion(MapSpan.FromCenterAndRadius(e.Pin.Position, Distance.FromMeters(500)), true); + // map.AnimateCamera(CameraUpdateFactory.NewPosition(e.Pin.Position)); //} } }