/// <summary> /// Loads all the bikestations from the back-end on startup /// The bikestation information is then added to the pin /// where as the pin is added to the map /// </summary> private void GetPins() { Pins = new ObservableCollection <Pin>(); bikeStations = serverClient.GetBikeStations(); foreach (var item in bikeStations) { Pin pin = new Pin { Label = "ID: " + item.bikeStationID, Address = item.title, Type = PinType.Place, Position = new Position(item.latitude, item.longtitude), }; Pins.Add(pin); } }