Skip to contents

This function adds basemap layers to an existing Leaflet map.

Usage

map_add_basemaps(map, params_wms)

Arguments

map

An existing Leaflet map to which basemap layers will be added.

params_wms

parameters defining properties of wms maps to be added

Value

An updated Leaflet map with basemap layers added.

Examples

if (FALSE) { # \dontrun{
  # Used in map_init_bassins() function, its use is in the function
} # }