Exemplo n.º 1
0
        private void LocalSearchBtn_Clicked(object sender, RoutedEventArgs e)
        {
            var r = new LocalSearchRequest()
            {
                Query        = "coffee",
                MaxResults   = 25,
                UserLocation = new Coordinate(47.602038, -122.333964),
                BingMapsKey  = BingMapsKey
            };

            ProcessRequest(r);
        }
Exemplo n.º 2
0
        private void LocalSearchTypeBtn_Clicked(object sender, RoutedEventArgs e)
        {
            var r = new LocalSearchRequest()
            {
                Types = new List <string>()
                {
                    "CoffeeAndTea"
                },
                MaxResults   = 25,
                UserLocation = new Coordinate(47.602038, -122.333964),
                BingMapsKey  = BingMapsKey
            };

            ProcessRequest(r);
        }