user3104520
user3104520

Reputation:

Current click position on map windows phone

I google it many times but can't find a proper solution i want to get currently clicked position on map in windows phone and add pushpin to that location so that it may be saved as a reminder

Upvotes: 0

Views: 52

Answers (1)

Sandeep Chauhan
Sandeep Chauhan

Reputation: 1313

try this..

private void Map_Tap(object sender, System.Windows.Input.GestureEventArgs e)
{
     GeoCoordinate asd = this.Map.ConvertViewportPointToGeoCoordinate(e.GetPosition(this.Map));
}

Upvotes: 2

Related Questions