Getting Started
Get in Touch
Where we’re located:
We live, work, and play in beautiful Tallahassee, Florida.
Billing & Payment Mailing Address:
2910 Kerry Forest Pkwy, D4-282
Tallahassee, FL 32309 USA
The EasyTerritory Geocoding Service will covert street addresses to their latitude/longitude equivalents. Having the latitudes and longitudes of records makes it possible to place those records on a map. In order to use this powerful feature, a Bing Maps key will be needed. You can get a free developer (Baisc) Bing Maps key here: www.bingmapsportal.com.
https://apps.easyterritory.com/{yourGuidhere}/APP/REST/Geocode/
{
keyCustomer: string; //any unique identifier
keyBing: string; //your bing key
defaultCountryCode: string;
enableAddressFallback: boolean;
addressList: string[],
}
Important Note: keyCustomer is just a unique id (e.g. GUID) for use in caching and customer tracking (it can be any unique value).
document.cookie= "oitoken=EztToken";
$.ajax({
url: "https:/apps.easyterritory.com/{yourGuid}/app/REST/Geocode/",
type: "POST",
contentType: "application/json",
data: JSON.stringify( {
"keyCustomer":"{Your Unique Identifier}",
"keyBing": "{Your Bing Key}",
"addressList": "{addresses to be geocoded}"
}),
xhrFields: {
withCredentials: true }
});
Important Note: This will not work in a client-side scenario if you attempt to go cross-domain. Cross domain situations require a server side proxy using C#.
{
results: iGeocodeResult[];
rowCount: number;
hasRowErrors: boolean;
error: string;
}
{
addressStandardized: string;
addressCorrected: string;
addressLine: string;
country: string;
adminLevel1: string;
adminLevel2: string;
locality: string;
postalCode: string;
locationMerc: { x: number, y: number };
location: { lon: number, lat: number };
finalProvider: string;
didFallback: boolean;
quality: eGeocodeQuality;
qualityString: string;
timeStampUtc: number;
msToComplete: number;
warning: string;
}