| gridAsString | R Documentation | 
Converts a grid (or any SpatialPolygon for that matter) into a web query string.
gridAsString(grid)
| grid | an object of class ‘SpatialPolygon-class’ or ‘SpatialPolygonDataFrame-class’. | 
a character string with coordinates separated by “%20” and pairs by “,”.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.