BingGeocodeProvider question

2 posts, 0 answers
  1. Rob
    Rob avatar
    2 posts
    Member since:
    Jan 2013

    Posted 14 Jan 2013 Link to this post

    I'm sending the following request to a BingGeocodeProvider.

                var address = new Address
                    Locality = city,
                    CountryRegion = "United Kingdom"
                var request = new GeocodeRequest { Address = address };

    This works but if I put the 'city' in the 'PostalTown' I don't get any results returned.

    My question is why? It appears that if I put data in some fields (like PostalCode) it works, but other fields don't. Is there any documentation on what works/is required?
  2. Andrey
    Andrey avatar
    1681 posts

    Posted 14 Jan 2013 Link to this post

    Hi Rob,

    The RadMap just provides the interface for the Bing services. In fact the requests are performed on the Bing. I would recommend to take a look at the following MSDN article which contains description of properties of the Address class:

    Kind regards,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top