base_map: Create a blank map

View source: R/map.R

base_mapR Documentation

Create a blank map

Description

Create a blank map

Usage

base_map(
  provider_tiles = NULL,
  custom_tiles = NULL,
  p_tile_opts = list(),
  c_tile_opts = list(),
  p_tile_labs = NULL,
  c_tile_labs = NULL,
  proxy_map_id = NULL
)

Arguments

provider_tiles

character vector of known map tile providers

custom_tiles

character vector of URLs of custom tiles

p_tile_opts

list of providerTileOptions for the provider tiles

c_tile_opts

list of tileOptions for the custom tiles

p_tile_labs

character vector of labels for the provider tiles

c_tile_labs

character vector of labels for the custom tiles

proxy_map_id

map ID of a leaflet map if called from a Shiny app

Value

map a leaflet map


evmo/Rgps documentation built on March 23, 2023, 2:24 a.m.