polygons_data.Rd
Raw API to polygons layer.
polygons_data(globe, data) polygons_label(globe, label = "name") polygons_geometry(globe, geometry = "geometry") polygons_cap_color(globe, color = constant("ffffaa")) polygons_side_color(globe, color = constant("ffffaa")) polygons_altitude(globe, altitude = 0.1) polygons_transition(globe, ms = 1000L) polygons_on_click(globe, func) polygons_on_right_click(globe, func) polygons_on_hover(globe, func)
globe | An object of class |
---|---|
data | A data.frame containing arcs data. |
label | Name containing label in |
geometry | Name containing geometry in |
color | A JavaScript function or |
altitude | Name containing altitude in |
ms | Number of milliseconds. A value of 0 will size the cone immediately to their final altitude. New polygons are animated by rising them from the ground up. |
func | JavaScript function as character vector. |