1
votes

I am trying to add tapped event for Bing map in Windows Phone 8.1 to get the position at that tapped location but unfortunately, I am unable to capture that event.

1

1 Answers

3
votes

Use MapTapped event instead. Then you can get location from MapInputEventArgs object.

XAML

<Maps:MapControl MapTapped="MapControl_MapTapped" />

C#

private void MapControl_MapTapped(MapControl sender, MapInputEventArgs args)
{
    Geopoint location = args.Location;
}