leaflet_raster: Plot a raster image as a leaflet map

Description Usage Arguments

View source: R/leaflet_raster.R

Description

Plot a raster image as a leaflet map

Usage

1
2
leaflet_raster(raster, project, diff = TRUE, cuts = c(100, 10000),
  base_rail = marta_sf)

Arguments

raster

The raster object, projected in WGS84

project

A sf object with the project definition

diff

If TRUE (default), use a diverging color scheme.

cuts

The breaks to use (negative and positive) in showing the colors. Must be a vector of two increasing numbers.

base_rail

An sf table with existing rail or fixed-guideway projects to show in the background. Defaults to included MARTA lines


transportfoundry/tvmeasures documentation built on May 22, 2019, 10:57 p.m.