spc.plot.map.leaflet: Display a Spectra object

Description Usage Arguments Examples

Description

Create a point map with leaflet engine using Spectra rows

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
spc.plot.map.leaflet(
  sp,
  hover_field = "row",
  color = "#FF0000",
  opacity = 1,
  weight = 5
)

## S4 method for signature 'Spectra'
spc.plot.map.leaflet(
  sp,
  hover_field = "row",
  color = "#FF0000",
  opacity = 1,
  weight = 5
)

Arguments

sp

Spectra object

hover_field

A character or vector of strings giving column names of Spectra object. This information will be displayed when hovering over the glyph

color

Determine color of points

opacity

The opacity transparency of the glyph between 0 (transparent) and 1 (opaque)

weight

Stroke width in pixels

Examples

1
2

geoSpectral documentation built on Feb. 20, 2020, 5:08 p.m.