Update the Shadows OSM-Buildings with a POSIXct timestamp
Source:R/buildings.R
updateBuildingTime.Rd
Update the Shadows OSM-Buildings with a POSIXct timestamp
Arguments
- map
A map widget object created from
leaflet
.- 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)