properties: Add properties to a geojson object

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"))

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

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