如何在 C# Windows Phone 8.1 中的 MapControl 上单击位置添加 MapIcon?

How to add a MapIcon at clicking location on MapControl in C# Windows Phone 8.1?

我想在鼠标点击的位置给MapControl添加一个精确点,但是我找不到办法做到这一点。 你们知道这样做的方法吗?

平台:Windows Phone 8.1 (C#)

Paul Abbot 回答了我的问题:

The map's Tapped event will give you the screen coordinates. Use MapControl.GetLocationFromOffset() to convert the screen coordinates to map (geographic) coordinates. Add MapIcon using those coordinates