【发布时间】:2014-10-15 08:42:25
【问题描述】:
是否有任何教程或示例显示如何在 windows phone 8.1 中的地图上添加图钉 此代码不起作用:
MapIcon MapIcon1 = new MapIcon();
MapIcon1.Location = new Geopoint(new BasicGeoposition()
{
Latitude = latitude,
Longitude = -longitude
});
MapIcon1.NormalizedAnchorPoint = new Point(0.5, 1.0);
RestoMap.MapElements.Add(MapIcon1);
【问题讨论】:
标签: c# windows-phone-8.1 pushpin