コード例 #1
0
        private async void launchURI_MAP(object sender, RoutedEventArgs e)
        {
            RootObject myLocation = await LatLong.GetCoordinances("Strongsville+OH");

            var LatLongURI = new Uri(@"https://maps.googleapis.com/maps/api/geocode/json?address=strongsville,+OH&key=" + key);


            // Launch the URI
            var success = await Windows.System.Launcher.LaunchUriAsync(LatLongURI);

            if (success)
            {
                // URI launched
            }
            else
            {
                // URI launch failed
            }
        }