This function initializes a Leaflet map with bassins data and various map layers.
Usage
map_init_bassins(bassins_data, id_logo_ign_remonterletemps)
Arguments
- bassins_data
A hydrological bassins sf data frame.
- id_logo_ign_remonterletemps
id of the IGN remonter le temps image.
Value
A Leaflet map object with basemaps, scale and layer control.
Examples
map <- map_init_bassins(bassins_data = bassin_hydrographique,
id_logo_ign_remonterletemps = "logo_ign_remonterletemps")
map