ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud Geocoding provides RESTful APIs to find the Geolocation from an address in the United States. Check out the online sample for a quick look.
* Try it Online: All the ThinkGeo Cloud RESTful APIs can be tested online following the instructions below:
ThinkGeo Cloud Geocoding provides the following 2 Restful APIs:
Get location from an address.
HTTP GET https://cloud.thinkgeo.com/api/v1/location/geocode/{searchText}
URL Parameters
Visit GeocodeAddress and click “Try It Out” to explore this API online.
Get locations from multiple addresses.
HTTP POST https://cloud.thinkgeo.com/api/v1/location/geocode/multi
POST Body (Content-Type: application/json)
[ { "searchText": "string", // Free-form text representing the address or location to be geocoded. "locationType": "string", // Optional. Specifies what types of locations will be considered a match. Possible values are Address, Street, State, City, County, Postcode, Zipcode. Defaults to all types. "fuzzyMatch": bool, // Optional. Specifies whether to attempt approximate, as well as exact, matching when performing geocodes. Defaults to false. "countries": "string" // Optional. Limit the results only within the countries specified here. It can be one or more “ISO Language Name” mentioned ISO 639-1 language code. "bbox": "string", // Optional. Limits the results to only those contained within the supplied bounding box. The valid format is "minX,minY,maxX,maxY". Defaults to null, as the global. "maxResults": int, // Optional. The maximum number of possible matches to return, if multiple candidates are found. Defaults to 20. "verboseResults": bool, // Optional. Indicates whether the results should be verbose or not. When false, the results will have fewer properties. Defaults to false. "language": "string", // Optional. Specifies what language would like to be returned in the response. If no specified language, take English instead. The possible values can be any “Language Code” mentioned at ISO 639-1 language code. "srid": int, // Optional. The SRID (coordinate system ID) in which to express the result. Mutually exclusive from the Proj4String parameter. "proj4String": "string" // Optional. The Proj4 projection string (coordinate system) in which to express the result. Mutually exclusive from the Srid parameter. Defaults to "+proj=longlat +datum=WGS84 +no_defs". } ]
Each item in the batch can locally override a parameter specified on the request URL.
Example Request
Here is an example geocode batch request containing three items. For each item, we want verbose results and a maximum of one result, so we can place these options in the request URL so they apply to all items in the batch. Notice that we can search for place names (“Cedar Point”, a theme park in Ohio) as well as addresses.
HTTP POST
https://cloud.thinkgeo.com/api/v1/location/geocode/multi?maxResults=1&verboseResults=true
[ { "searchText": "200 Epcot Center Drive, Bay Lake, FL" }, { "searchText": "1313 South Harbor Blvd, Anaheim, CA" }, { "searchText": "Cedar Point" } ]
URL Parameters
Visit GeocodeAddressesBatch and click “Try It Out” to explore this API online.
ThinkGeo Cloud Geocoding does not allow anonymous users to access the API. Before working with these APIs, you will need to register with ThinkGeo Cloud and create your own clients. A new account comes with two clients: NativeConfidential and JavaScript. See more details at here.
ThinkGeo Cloud provides standard RESTful APIs which can be consumed on any platform through any language. ThinkGeo also offers two prepackaged API clients to make it easier to integrate into .NET and JavaScript applications.
Our .NET SDK ThinkGeo Cloud Client makes it easy to consume all of the ThinkGeo Cloud services in your applications. It's available on NuGet. IntelliSense hints will help you get started, and you can also refer to the ThinkGeo Cloud Client API list for details.
At the NuGet Package Manager terminal, you can install this package by running the command: Install-Package ThinkGeo.Cloud.Client -Version VERSION_TO_BE_INSTALLED
. You can also check out ThinkGeo on GitHub for samples utilizing the ThinkGeo Cloud Client.
This documentation covers the ThinkGeo.Cloud.GeocodingClient class. It contains all of the members such as Constructors, Methods, Properties and Events.
The SDK for JavaScript enables developers to directly access ThinkGeo Cloud services from JavaScript code running in brower. This SDK can be found at thinkgeocloudclient-js. The Geocoding sample shows how to work with this SDK.
Online Sample:
Desktop Sample:
Web Sample:
Coming soon
Mobile Sample:
Coming soon