updateHexbin {leaflet.extras2} | R Documentation |
updateHexbin
Description
Dynamically change the data
and/or the colorRange
.
Usage
updateHexbin(map, data = NULL, lng = NULL, lat = NULL, colorRange = NULL)
Arguments
map |
a map widget object created from |
data |
the data object from which the argument values are derived; by
default, it is the |
lng |
a numeric vector of longitudes, or a one-sided formula of the form
|
lat |
a vector of latitudes or a formula (similar to the |
colorRange |
The range of the color scale used to fill the hexbins |
Value
the new map
object
See Also
Other Hexbin-D3 Functions:
addHexbin()
,
clearHexbin()
,
hexbinOptions()
,
hideHexbin()
,
showHexbin()