Inspects the geometry type of data (POINT, LINESTRING, POLYGON, etc.)
and routes to add_points(), add_lines(), or add_polygons().
Arguments
- map
A
glmapwidget orglmap_proxy.- data
An
sf,sfc, ordata.frameobject (defaults to map data).- ...
Arguments passed on to
add_points(),add_lines(), oradd_polygons().