properties: Add properties to a geojson object

Description Usage Arguments Examples

Description

Add properties to a geojson object

Usage

1
properties(x, style = NULL, popup = NULL)

Arguments

x

Input

style

List of color, fillColor, etc., or NULL

popup

Popup text, or NULL

Examples

1
2
3
str <- "POINT (-116.4000000000000057 45.2000000000000028)"
x <- wkt2geojson(str)
properties(x, style=list(color = "red"))


Search within the wellknown package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.