Add separate MarkerClick and InfoWindowClick events for Pins (#6079)
authorJoe Manke <jmanke1227@gmail.com>
Wed, 14 Aug 2019 00:41:11 +0000 (19:41 -0500)
committerSamantha Houts <samhouts@users.noreply.github.com>
Wed, 14 Aug 2019 00:41:11 +0000 (17:41 -0700)
commit8f997a6bcbd1f80283e717143fa44b8fa5f72794
tree47b65db94c1c2681862f4de6591e7a2b0d972a06
parentbb8d19aa7e7b9238e69fa2ee0c321c5f5d1865dd
Add separate MarkerClick and InfoWindowClick events for Pins (#6079)

* Add separate MarkerClick and InfoWindowClick events for Pins

* Mark Pin.Clicked obsolete

* Use for loops to look up Pins in renderers.

* Add custom EventArgs for MapClicked and InfoWindowClicked

* Update MapGalleryPage for new events

* Obsolete messages and other cleanup

* Correct the pragma when calling Pin.SendTapped

* Change obsolete message to say 4.2.0

* Ignore warning on Pin.SendTap() on other platforms

* Update obsolete messages to 4.3.0

Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
fixes #2509
fixes #3131
fixes #5490
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29017.cs
Xamarin.Forms.Controls/GalleryPages/MapGallery.xaml
Xamarin.Forms.Controls/GalleryPages/MapGallery.xaml.cs
Xamarin.Forms.Maps.Android/MapRenderer.cs
Xamarin.Forms.Maps.GTK/MapRenderer.cs
Xamarin.Forms.Maps.Tizen/MapRenderer.cs
Xamarin.Forms.Maps.UWP/PushPin.cs
Xamarin.Forms.Maps.WPF/FormsPushPin.cs
Xamarin.Forms.Maps.iOS/MapRenderer.cs
Xamarin.Forms.Maps/Pin.cs
Xamarin.Forms.Maps/PinClickedEventArgs.cs [new file with mode: 0644]