| propsToHTML {leaflet.extras} | R Documentation |
Converts GeoJSON Feature properties to HTML
Converts GeoJSON Feature properties to HTML Table.
Customize the leaflet widget style
propsToHTML(props, elem = NULL, elem.attrs = NULL) propstoHTMLTable(props = NULL, table.attrs = NULL, drop.na = TRUE) setMapWidgetStyle(map, style = list(background = "transparent"))
props |
A list of GeoJSON Property Keys. |
elem |
An optional wrapping element e.g. 'div'. |
elem.attrs |
An optional named list for the wrapper element properties. |
table.attrs |
An optional named list for the HTML Table. |
drop.na |
whether to skip properties with empty values. |
map |
the map widget |
style |
a A list of CSS key/value properties. |