reverse-geocoding
Reverse Geocoding for a Latitude and Longitude by Async.
Features
- Custom Params
- Custom Proxy
- Google Maps & Baidu Maps Support
Examples
Basic
var geocoding = 'reverse-geocoding';var config = 'latitude': 4000403611111111 'longitude': 11648485555555555;;
Custom Proxy
var geocoding = 'reverse-geocoding';var config = 'latitude': 4000403611111111 'longitude': 11648485555555555 'options': 'host': 'proxy.zhso.net' 'port': 8080 'protocol': 'http:' 'method': 'GET' 'headers': 'Proxy-Authorization': 'Basic ' + 'username:password' ;;
Custom Params
var geocoding = 'reverse-geocoding';var config = 'latitude': 4000403611111111 'longitude': 11648485555555555 'language': 'zh-cn';;
Callback Data Format Sample (Base By Google Maps or Baidu Maps API)
"formattedAddress": "" "streetAddress": "" "route": "" "intersection": "" "political": "" "country": "" "administrativeAreaLevel1": "" "administrativeAreaLevel2": "" "administrativeAreaLevel3": "" "administrativeAreaLevel4": "" "administrativeAreaLevel5": "" "colloquialArea": "" "locality": "" "ward": "" "sublocality": "" "neighborhood": "" "premise": "" "subpremise": "" "postalCode": "" "naturalFeature": "" "airport": "" "park": "" "pointOfInterest": ""