Loading…

Find a geographic location by latitude and longitude

```javascript WXAPI.mapQQAddressV3({ location, coord_type }) ``` + location latitude and longitude, for example: 30.274085,120.15507 + coord_type 1 GPS coordinates 2 sogou longitude and latitude 3 baidu longitude and latitude 4 mapbar longitude and latitude 5 [Default] Tencent, google, Amap coordinates 6 sogou Mercator; if not passed, the default is 5 ```json { "code": 0, "data": { "result": { "address": "Miduqiao Road, Gongshu District, Hangzhou City, Zhejiang Province", "ad_info": { "province": "Zhejiang Province", "adcode": "330105", "nation": "China", "city": "Hangzhou City", "district": "Gongshu District", "name": "China, Zhejiang Province, Hangzhou City, Gongshu District", "city_code": "156330100", "location": { "lng": 120.129723, "lat": 30.382879 }, "nation_code": "156" }, "address_reference": { "town": { "_distance": 0, "_dir_desc": "Inside", "location": { "lng": 120.15419, "lat": 30.29266 }, "id": "330105001", "title": "Mishixiang Street" }, "famous_area": { "_distance": 0, "_dir_desc": "Inside", "location": { "lng": 120.156998, "lat": 30.2763 }, "id": "6511049511913936558", "title": "Midu Bridge Road" }, "street": { "_distance": 67.8, "_dir_desc": "South", "location": { "lng": 120.157333, "lat": 30.275114 }, "id": "9428065572660582102", "title": "Midu Bridge Road" }, "crossroad": { "_distance": 74.7, "_dir_desc": "Southeast", "location": { "lng": 120.154442, "lat": 30.274561 }, "id": "6300599", "title": "Moganshan Road/Miduqiao Road (intersection)" }, "street_number": { "_distance": 50.2, "_dir_desc": "东", "location": { "lng": 120.110313, "lat": 30.318821 }, "id": "", "title": "" }, "business_area": { "_distance": 0, "_dir_desc": "Inside", "location": { "lng": 120.156998, "lat": 30.2763 }, "id": "6511049511913936558", "title": "Midu Bridge Road" }, "landmark_l2": { "_distance": 35.9, "_dir_desc": "", "location": { "lng": 120.155128, "lat": 30.273766 }, "id": "6942185252940947042", "title": "Zhejiang Provincial Administrative Center-Yard No. 2" } }, "location": { "lng": 120.15507, "lat": 30.274085 }, "formatted_addresses": { "rough": "Yuan No. 2, Zhejiang Provincial Administrative Center, Gongshu District (south of Miduqiao Road)", "recommend": "No. 2, Zhejiang Provincial Administrative Center, Gongshu District (South of Miduqiao Road)" }, "address_component": { "province": "Zhejiang Province", "nation": "China", "city": "Hangzhou City", "street": "Miduqiao Road", "district": "Gongshu District", "street_number": "Miduqiao Road" } }, "message": "query ok", "request_id": "83b51590-bf19-11ec-a165-6c92bf5ebc0c", "status": 0 }, "msg": "success" } ```