Service Description:
This locator enables you to geocode street addresses in the City of Las Vegas.
The locator is a composite geocoder that supports multiple levels of geocoding.
The locator accepts both street addresses and cross streets.
The locator can be used to geocode single addresses or cross streets.
Address Parameter Fields:
- address
(address format: [address], [city], [state])
(cross street format: [street 1] + [street2], [city], [state]
- latlng (format: ([lat],[lng])
- crossstreets (format: 'Y' or 'N')
- score (optional-default is 65)
- format (optional-default is 'xml')
- jsonCallback (optional - only used if format is json)
Candidate Return Fields:
- errormsg (returns error description when validation fails)
- latlng (returns geocode coordinates)
- score (returns minimum score used to filter results)
- streetno (optional: returns street number for address found)
- streetname (optional: returns street name for address found
- street1 (optional: returns first cross street found)
- street2 (optional: returns second cross street found)
- city (returns city for address found)
- state (returns state for address found)
- zip (returns zip for address found)
Return Formats:
Service URL: http://clvplaces.appspot.com/maptools/rest/services/geocode
Example with single response returned: http://clvplaces.appspot.com/maptools/rest/services/geocode?address=495 S Main St, Las Vegas, NV&score=50&format=json&jsonCallback=anyLibrary.anyfunction
Example with multiple reponses returned: http://clvplaces.appspot.com/maptools/rest/services/geocode?address=330 Valley View Blvd, Las Vegas, NV&score=50&format=json&jsonCallback=anyLibrary.anyfunction
Example with cross streets returned: http://clvplaces.appspot.com/maptools/rest/services/geocode?address=Alta Dr and Rancho Dr, Las Vegas, NV&score=50&format=json&jsonCallback=anyLibrary.anyfunction&crossstreets=Y