Description Usage Arguments Examples
View source: R/leaflet_transform.R
Transforming the spatial reference of sp or sf objects to be plotted via leaflet. Transforms the spatial reference to the WGS84 projection (epsg:4326).
1 | rg_leaflet_transform(object)
|
object |
Sp or sf object |
1 | points <- leaflet_transform(station_shp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.