Description Usage Arguments Details Value Examples
Get longitude and latitude through Baidu map API
1 2 3 4 5 6 7 8 | getGeoCoding(
ak = NULL,
address = NULL,
city = NULL,
ret_coordtype = "gcj02ll",
sn = NULL,
output = "json"
)
|
ak |
user must register their ak (key) before use. |
address |
the address to parse |
city |
the city of address |
ret_coordtype |
the type of coordinate |
sn |
not necessary |
output |
must by json |
[Detail document reference](https://lbsyun.baidu.com/index.php?title=webapi/guide/webservice-geocoding)
Longitude and latitude of address
1 | getGeoCoding(ak = '92RLPSx3RqhlaNGjGTdzL2f2iqHmgl4f', address = 'beijing')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.