Telerik Reporting R1 2017

Location Providers

Location Providers

The Location Provider matches the addresses or locations with geographical coordinates (latitude and longitude). It is used in conjunction with the GeoLocation groups which is used to provide the geocoding request in order to retrieve the data point coordinates. When you make a geocoding request, the response returns one or more location resources that contain location information ordered by relevance. The more detailed information is used in the request, the more accurate the results will be.

For example, if you are looking for Vienna, Austria, you need to provide the country name as well, because otherwise the first returned result would be Vienna, VA, United States. That's why concatenating a city name with a state/region name and a country name will result in a more accurate geocoding. The location providers requires a valid key to authenticate the requests, so the user should fill it in in the ClientToken property.

Supported location providers are:

  • MapQuestOpenAPILocationProvider - uses the MapQuest Geocoding OpenAPI geocoding service to provide a single-line address and receive potential geographical coordinates of the geocoded location. Please note that the query arguments order is of a huge significance. In the example above if you switch the query arguments to "Austria, Vienna", the service will return no results.

  • MapQuestLocationProvider - uses the MapQuest Geocoding API geocoding service to provide a single-line address and receive potential geographical coordinates of the geocoded location. Please note that the query arguments order is of a huge significance. In the example above if you switch the query arguments to "Austria, Vienna", the service will return "Vienna, Dooly County, GA, USA".

  • BingLocationProvider - uses the Bing™ Maps Locations API to get location information about the requested address.

See Also