sp_convert turns objects from the
sp package -
specifically, SpatialPolygons and SpatialPolygonDataFrames - into WKT POLYGONs
a list of SP/SPDF objects (or a single object)
whether or not to group coordinates together in the case that an object
either a character vector of WKT objects - one per sp object - if
group is TRUE,
or a list of vectors if
group is FALSE.
1 2 3 4 5 6
 "POLYGON((2 2,1 4,4 5,4 3,2 2))"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.