Hello i'm having some trouble in displaying multiple pushpins on maps. So far i've tried adding either individual pushpins or first putting them in a MapLayer and then adding the maplayer to the map but i still only get the last pushpin that i created. Code sample here:
MapLayer layer = new MapLayer();
Pushpin pin1 = new Pushpin();
GeoCoordinate geo= new GeoCoordinate();
geo.Latitude = 45.8074417114258 ;
geo.Longitude = 15.9677000045776;
pin1.Location = geo;
layer.Children.Add(pin1);
Pushpin pin2 = new Pushpin();
GeoCoordinate geo1 = new GeoCoordinate();
geo1.Latitude = 45.9074417114258;
geo1.Longitude = 15.8677000045776;
pin1.Location = geo1;
layer.Children.Add(pin2);
map1.Children.Add(layer);