private async void InitMap() { // TODO lockerID should in the future be a variable saved somewhere LockerPosition = await socket.GetLockerPosition("DSFG32FDVA68FS", "https://bikelockserver.azurewebsites.net/position"); if (LockerPosition.Latitude != 0 && LockerPosition.Longitude != 0) { Map.MoveToRegion( MapSpan.FromCenterAndRadius(lockerPosition, Distance.FromKilometers(0.03))); Pin lockerPin = new Pin { Position = lockerPosition, Label = "Your locker is here", Type = PinType.Place }; Map.Pins.Add(lockerPin); } }