## This code is part of the ornitho package
## © C. Heibl 2015 (last update 2015-08-18)
extract.coords <- function(sp){
sub.tmp <- slot(sp, "Polygons")
sub.tmp[[1]]@coords
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.