amap: Load amap to leaflet

Description Usage Arguments Examples

View source: R/Amap.R

Description

Simple function like addTiles()

Usage

1
amap(map,attribution = '&copy; <a href="http://amap.com">amp.com</a >',...)

Arguments

map

a leaflet object

attribution

attribution of the map

...

other paramter pass to the addTiles function

Examples

1
2
3
if(require(leaflet)){
  leaflet() %>% amap()
}

leafletCN documentation built on May 1, 2019, 9:21 p.m.

Related to amap in leafletCN...