make_leaflet: Make a leaflet map

Description Usage Arguments

Description

Make a leaflet map

Usage

1
2
make_leaflet(map_data, popup_columns = NULL, width = 900, height = 600,
  map_center = NULL, default_zoom = 9, ...)

Arguments

map_data

Data frame to be mapped – at the very least, this should include the columns latitude and longitude. Other data can be passed to the text popups

width

Width in pixels for the map

height

height in pixels for the map

map_center

A vector witht the latitude and longitude where the map should be centered when it is first opened. Defaults to the lat/long of the first row in map_data

default_zoom

The zoom level that the map will be at when first opened

...

Other arguments passed on to prep_leaf_data


tarakc02/pdquickmap documentation built on May 31, 2019, 3:55 a.m.