addMappackTiles: Add local tiles to a leaflet map

Description Usage Arguments Value References See Also

View source: R/tiles.R

Description

Adds local tiles provided by the mappack package to a leaflet map. '

Usage

1
2
addMappackTiles(map, layerId = NULL, group = NULL,
  options = leaflet::tileOptions())

Arguments

map

a map widget object created from leaflet() '

layerId

the layer id

group

the name of the grou the newly created layers should belong to

options

a list of extra options for tile layers, popups, paths (circles, rectangles, polygons, ...), or other map elements

Value

the new map object

References

The Leaflet API documentation: http://leafletjs.com/reference.html

See Also

tileOptions, WMSTileOptions, popupOptions, markerOptions, pathOptions


klaukh/mappack documentation built on May 17, 2019, 7:30 p.m.