Bug 60129 - Xamarin.Forms.Maps Pin.Clicked event is not fired
Summary: Xamarin.Forms.Maps Pin.Clicked event is not fired
Status: RESOLVED DUPLICATE of bug 40478
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-10-11 13:59 UTC by Sevket Kizanlik
Modified: 2017-10-11 14:09 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 40478

Description Sevket Kizanlik 2017-10-11 13:59:14 UTC
This is the duplicate of this bug:
https://bugzilla.xamarin.com/show_bug.cgi?id=40478

This bug still exists on Android platform. It is easy to reproduce.

Create a ContentPage
Add Xamarin.Forms.Maps.Map
Add a pin on the map
Try to fire Clicked event

The event is not fired when the pin is clicked. Pin's label appears. If you click the label, the event is fired. Here how I add a pin to a map:

Pin pin = new Pin();

pin.Clicked += myMap_PinClicked;
pin.Label = "Test";
pin.Position = new Position(latitude, longitude);
pin.Type = PinType.Place;

myMap.Pins.Add(pin);
Comment 1 Paul DiPietro [MSFT] 2017-10-11 14:09:58 UTC

*** This bug has been marked as a duplicate of bug 40478 ***