Loading…

reverse geocoding

```javascript WXAPI.mapGeocoder({ lon: 122, lat: 123 }) ``` + lon longitude and latitude of GPS coordinate system + lat longitude and latitude of GPS coordinate system ```json { "code": 0, "msg": "success", "data": { "result": { "formatted_address": "About 140 meters northeast of Shanghai Disneyland, No. 310, Huangzhao Road, Chuansha New Town, Pudong New District, Shanghai", "location": { "lon": 121.660478, "lat": 31.144321 }, "addressComponent": { "address": "In Shanghai Disneyland, No. 310 Huangzhao Road", "town": "Chuansha New Town", "nation": "China", "city": "", "county_code": "156310115", "poi_position": "Northeast", "county": "Pudong New Area", "city_code": "", "address_position": "Northeast", "poi": "Product collection service", "province_code": "156310000", "town_code": "156310115103", "province": "Shanghai City", "road": "Blue Sky Avenue", "road_distance": 196, "address_distance": 140, "poi_distance": 140 } }, "msg": "ok", "status": "0" } } ```