这是我做的代码,用于添加带有指定标记的图钉:
public void ShowPin()
{
Pushpin pushpin = new Pushpin();
MapLayer.SetPosition(pushpin, new Location(44.38550, 26.09628));
pushpin.Tag = "Alex";
myMap.Children.Add(pushpin);
}
如何删除名为" x"的标记的图钉?或" y" .. 谢谢!