Description Details Author(s) References Examples
Get distance and travel time between two points from Baidu Maps. Four possible modes of transportation (riding, walking, driving)
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
~~ An overview of how to use the package, including the most important functions ~~
Yun Yuan
Maintainer: Yun Yuan <yuan2@uwm.edu>
lbsyun.baidu.com/index.php?title=webapi/route-matrix-api-v2
1 2 3 | library(bmapdistance)
set.api.key("E4805d16520de693a3fe707cdc962045")
d=bmapdistance("40.45,116.34","40.34,116.45","driving")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.