Exemple #1
0
        public static async Task <Page2> CreateAsync()
        {
            var pg2 = new Page2();



            //Location locationTest = await pg2.getPositionAsync(testAddress1);



            CustomPin testPin = new CustomPin
            {
                Type = PinType.Place,
                //Position = positionTest.Result,
                //Position = new Position(locationTest.Latitude, locationTest.Longitude),
                //Position = new Position(40.7712, -111.9002),
                Label = "LDSBC"
            };

            //customMap.Pins.Add(testPin);
            //pg2.Content = customMap;

            return(pg2);
        }
Exemple #2
0
 private async void Init()
 {
     Page2 instance = await Page2.CreateAsync();
 }