myLfltOpts: Options for styling a leaflet map

Description Usage Arguments

Description

A set of frequently-used leaflet map options.

Usage

1
2
myLfltOpts(map, tileLabels = TRUE, fullScreenBtn = TRUE,
  bumpTileLabels = TRUE, hideControls = TRUE, pseudoFullscreen = TRUE)

Arguments

map

The map to add the tile layer to.

tileLabels

If tileLabels is TRUE, a tile layer of OSM labels (styled by CartoDB) will be added.

fullScreenBtn

If fullScreenBtn is TRUE, a fullscreen control button will be added.

bumpTileLabels

If bumpTileLabels is TRUE, the OSM labels will sit above all other map layers.

hideControls

If hideControls is TRUE, control elements will be hidden.


tiernanmartin/miscgis documentation built on May 31, 2019, 1:19 p.m.