leaflet_map_SFBA: Leaflet map of the SF Bay Area

leaflet_map_SFBAR Documentation

Leaflet map of the SF Bay Area

Description

Leaflet map of the SF Bay Area

Usage

leaflet_map_SFBA(
  data,
  tileset,
  tileset_providers = list(Light =
    "https://cartodb-basemaps-a.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png", Dark =
    "https://cartodb-basemaps-a.global.ssl.fastly.net/dark_all/{z}/{x}/{y}.png",
    Unlabeled =
    "https://cartodb-basemaps-a.global.ssl.fastly.net/light_nolabels/{z}/{x}/{y}.png",
    Satellite = "http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}", Terrain =
    "http://mt0.google.com/vt/lyrs=p&hl=en&x={x}&y={y}&z={z}", Topo =
    "https://a.tile.opentopomap.org/{z}/{x}/{y}.png", Roads =
    "http://mt0.google.com/vt/lyrs=r&hl=en&x={x}&y={y}&z={z}", 
     Census =
    "http://demographics.virginia.edu/DotMap/tiles4/{z}/{x}/{y}.png", Toner =
    "http://stamen-tiles-a.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png", Blank = ""),
  ...,
  lng = NULL,
  lat = NULL,
  zoom = NULL,
  max_zoom = NULL,
  options = NULL,
  layer_visibility = list(SFAB = TRUE),
  layer_controls = TRUE,
  attribution = NULL,
  background = "white",
  crs = 4326,
  verbose = getOption("verbose")
)

Arguments

...

arguments to leaflet::leaflet()

lng

(numeric) longitude, in decimal degrees, center of map

lat

(numeric) latitude, in decimal degrees, for center of map

See Also

leaflet_map_facilities()

Examples

leaflet_map_SFBA(zoom = 9)
leaflet_map_SFBA(zoom = 9, layer_controls = FALSE)


BAAQMD/lltools documentation built on June 28, 2022, 12:31 a.m.