amap: Load amap to leaflet

View source: R/Amap.R

amapR Documentation

Load amap to leaflet

Description

Simple function like addTiles()

Usage

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

Arguments

map

a leaflet object

attribution

attribution of the map

...

other paramter pass to the addTiles function

Examples

if(require(leaflet)){
  leaflet() %>% amap()
}


Lchiffon/leafletCN documentation built on Jan. 31, 2024, 2:18 p.m.