updateBuildingTime {leaflet.extras2} | R Documentation |
Update the Shadows OSM-Buildings with a POSIXct timestamp
Description
Update the Shadows OSM-Buildings with a POSIXct timestamp
Usage
updateBuildingTime(map, time)
Arguments
map |
A map widget object created from |
time |
a timestamp that can be converted to POSIXct |
See Also
Other OSM-Buildings Plugin:
addBuildings()
,
setBuildingData()
,
setBuildingStyle()
Examples
library(leaflet)
library(leaflet.extras2)
leaflet() %>%
addTiles() %>%
addBuildings() %>%
updateBuildingTime(as.POSIXct("2024-09-01 19:00:00 CET")) %>%
setView(13.40, 52.51836, 15)
[Package leaflet.extras2 version 1.3.1 Index]