add_source: Add a source on a 'leaflet' map

Description Usage Arguments Details Value See Also Examples

View source: R/add_source.R

Description

Add a source on a 'leaflet' map

Usage

1

Arguments

map

objet leaflet.

source

chaine de caracteres (character). Source de la carte.

Details

Pour supprimer la source, reexecutez la fonction add_source en laissant le parametre source a NULL.

Value

Retourne un objet de type leaflet.

See Also

leaflet_ronds, leaflet_classes, leaflet_ronds_classes, leaflet_classes_ronds, leaflet_typo,

leaflet_oursins, leaflet_joignantes, leaflet_saphirs

Examples

1
2
3
4
5
6
7
8
9
data("donnees_monoloc")
data("depm")

# Ronds proportionnels
map <- leaflet_ronds(data = donnees_monoloc, fondMaille = depm, idData = "COD_DEP",
varVolume = "POP_2015")
map <- add_source(map = map, source = "Source : INSEE - RP2016")

 map

oceanis documentation built on Nov. 25, 2021, 5:06 p.m.