The add_wmts_*()
functions are shorthand alternatives for a fully specified
leaflet::addTiles()
statement.
Appropriate attribution is added to the Leaflet map depending on the layer.
Usage
add_wmts_nl_brt(map, layer = c("standaard", "grijs", "pastel", "water"), ...)
add_wmts_nl_ortho(map, ...)
Arguments
- map
a map widget object created from
leaflet()
- layer
String that defines which layer to use, if the function supports more than one. In such case, the available strings are shown in the Usage section. The first value is used if missing.
- ...
Further arguments passed to
leaflet::addTiles()
.
Details
On condition that these functions continue being maintained, using the shorthand functions should make your scripts more futureproof.
See also
Other topics on using web services:
add_wms_be_cartoweb()
,
get_coverage_wcs()
,
get_feature_wfs()
Author
Floris Vanderhaeghe, https://github.com/florisvdh