这是我在 Bing 地图上的图钉代码。
MapLayer layer = new MapLayer();
Pushpin pin1 = new Pushpin();
GeoCoordinate geo = new GeoCoordinate();
geo.Latitude = 1.369963;
geo.Longitude = 103.849275;
pin1.Location = geo;
layer.Children.Add(pin1);
Pushpin pin2 = new Pushpin();
GeoCoordinate geo1 = new GeoCoordinate();
geo1.Latitude = 1.350678;
geo1.Longitude = 103.848224;
pin2.Location = geo1;
layer.Children.Add(pin2);
map1.Children.Add(layer);
如何向两个图钉添加信息(地址、电话号码)?
请帮忙!