Description Usage Arguments Value Examples
search something from amap,you can see http://lbs.amap.com/api/webservice/guide/api/trafficstatus/#inputtips
1 2 3 4 |
page |
num |
shape |
character:defalut NULL ,should be rectangle/circle/NULL |
location |
character:location should be writtend like |
keywords |
should be 'json' or 'xml', the type of the result |
offset |
code of city.for examples fuzhou is 0591 |
polygon |
polygon of location |
radius |
logical value, return the coordinates or the original results |
city |
character |
mapkey |
amap key |
extensions |
xml or json |
A vector contains description,expedite,congested,blocked,unkown
1 2 3 4 5 6 7 8 9 | ## Not run:
rectangel=matrix(c(119.117295,26.201212,119.649092,25.840692),byrow = T,nrow = 2)
df_grid=setcoordMTX(rectangel=rectangel,grid=5000,sep=';')
amap_key='71b002162d43fea08afd5b5e31b030af'
url=geturl0(shape='polygon',polygon=df_grid[1,1],mapkey=amap_key,location=NULL,keywords='�瘞<U+3E36>??<U+393C><U+3E39>')
url=geturl0(shape='polygon',polygon=df_grid[1,1],mapkey=amap_key,location=NULL,keywords='�瘞衣�瑼日��踵隻�蜀�<U+3E66>')
url=geturl0(shape='polygon',polygon=df_grid[1,1],mapkey=amap_key,location=NULL,keywords='�祆�<U+3E65>',types='�行��踵�瘛�隡<U+383C><U+3E35>')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.