fm_store_points | R Documentation |
Convert a matrix of points into different formats.
fm_store_points(loc, crs = NULL, info = NULL, format = NULL)
loc |
a coordinate matrix |
crs |
CRS information to associate with the coordinates |
info |
An optional data.frame of additional data |
format |
character; |
An sf
, data.frame
, or SpatialPointsDataFrame
object, with
optional added information.
fm_store_points(fmexample$loc, format = "sf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.