如何删除与BingMaps集成的指定PushPin?

时间:2015-05-17 07:50:17

标签: tags pushpin

这是我做的代码,用于添加带有指定标记的图钉:

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" .. 谢谢!

0 个答案:

没有答案