This function is used internally by
writeMap to convert a given
spl object to GeoJSON format.
toGeoJSON(x, lightjson = F)
logical. Should GeoJSON code size be reduced by supressing extra whitespace characters and rounding numeric values?
A character string of GeoJSON formatted code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.