myLflt: A leaflet map with Mapbox provider tiles

Description Usage Arguments Details Value

Description

myLflt provides a colorful basemap that can be used as the first argument of a Leaflet pipe chain.

A pleasant-looking leaflet basemap to begin a leaflet pipechain with.

Usage

1
2
3
myLflt(tile_opts = tileOptions(), chinatown = FALSE)

myLflt(tile_opts = tileOptions(), chinatown = FALSE)

Arguments

tile_opts

list, override arguments to the defaults in leaflet

chinatown

logical, whether to use Hing Hay Park as the default leaflet

Details

Note: because this uses tiles from a Mapbox URL, this function will not work correctly in a PDF document - use myLflyGrey instead.

Value

A leaflet map with provider tiles from Mapbox already loaded


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