amap | R Documentation |
Simple function like addTiles()
amap(map,attribution = '© <a href="http://amap.com">amap.com</a >',...)
map |
a leaflet object |
attribution |
attribution of the map |
... |
other paramter pass to the addTiles function |
if(require(leaflet)){
leaflet() %>% amap()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.