Transform a spatial object to a grob
# S4 method for geom
gc_grob(input = NULL, theme = gtTheme, ...)
the object to transform to class grob
.
[gtTheme(1)
] the theme from which to take parameters.
Depending on the provided geometry either a pointsGrob
,
polylineGrob
or a pathGrob
.