inspect | R Documentation |
Provides a very basic interface to leaflet
and lets the user inspect relocations on an interactive map.
inspect(x, ...)
## S3 method for class 'track_xy'
inspect(x, popup = NULL, cluster = TRUE, ...)
x |
|
... |
Further arguments, none implemented. |
popup |
|
cluster |
|
An interactive leaflet
map.
Important, x
requires a valid coordinate reference system.
leaflet::leaflet()
data(sh)
x <- track(x = sh$x, y = sh$y, crs = 31467)
inspect(x)
inspect(x, cluster = FALSE)
inspect(x, popup = 1:nrow(x), cluster = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.