powered by
Add properties to a GeoJSON object
properties(x, style = NULL, popup = NULL)
(list) GeoJSON as a list
(list) named list of color, fillColor, etc. attributes. Default: NULL
NULL
(list) named list of popup values. Default: NULL
# NOT RUN { str <- "POINT (-116.4000000000000057 45.2000000000000028)" x <- wkt2geojson(str) properties(x, style = list(color = "red")) # }
Run the code above in your browser using DataLab