objPolylineCoords: Obj Polyline Coords
Description
Creates a list object that can be converted into the required JSON for plotting
coordinates as polylines
Usage
objPolylineCoords(obj, ids, otherColumns)
Arguments
obj
data.frame
consisting of columns 'lat' and 'lng'
ids
vector of ids for each path/line
otherColumns
vector of attribute columns (e.g. stroke_fill, stroke_weight)
that are to be kept in the output