updates a heatmap layer
update_heatmap(map, data, lat = NULL, lon = NULL, weight = NULL,
layer_id = NULL)
a googleway map object created from google_map()
data frame containing at least two columns, one specifying the
latitude coordinates, and the other specifying the longitude. If Null,
the data passed into google_map()
will be used.
string specifying the column of data
containing the 'latitude'
coordinates. If left NULL, a best-guess will be made
string specifying the column of data
containing the 'longitude'
coordinates. If left NULL, a best-guess will be made
string specifying the column of data
containing the 'weight'
associated with each point. If NULL, each point will get a weight of 1.
single value specifying an id for the layer.