largeur_fleche: Width of the arrow for 'leaflet' maps

Description Usage Arguments Details Value See Also Examples

Description

Width of the largest arrow of the map in kilometers for 'leaflet' maps.

Usage

1

Arguments

map

objet leaflet.

Details

La largeur de la fleche est disponible uniquement pour les representations de fleches joignantes et de fleches saphirs.

Value

Retourne une valeur numerique.

See Also

leaflet_joignantes leaflet_saphirs

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
data("donnees_biloc")
data("regm")

# Fleches joignantes
map <- leaflet_joignantes(data = donnees_biloc, fondMaille = regm, typeMaille = "REG",
idDataDepart = "REG_DEPART", idDataArrivee = "REG_ARRIVEE",
varFlux = "MIGR", filtreDist = 1000, filtreMajeurs = 3)

 map

largeur_fleche(map)
# [1] 100

# Fleches joignantes
map <- leaflet_joignantes(data = donnees_biloc, fondMaille = regm, typeMaille = "REG",
idDataDepart = "REG_DEPART", idDataArrivee = "REG_ARRIVEE",
varFlux = "MIGR", largeurFlecheMax = 200, filtreDist = 1000,
filtreMajeurs = 3)

 map

largeur_fleche(map)
# [1] 200

oceanis documentation built on July 5, 2019, 5:03 p.m.