updateBuildingTime | R Documentation |
Update the Shadows OSM-Buildings with a POSIXct timestamp
updateBuildingTime(map, time)
map |
A map widget object created from |
time |
a timestamp that can be converted to POSIXct |
Other OSM-Buildings Plugin:
addBuildings()
,
setBuildingData()
,
setBuildingStyle()
library(leaflet)
library(leaflet.extras2)
leaflet() %>%
addTiles() %>%
addBuildings() %>%
updateBuildingTime(as.POSIXct("2024-09-01 19:00:00 CET")) %>%
setView(13.40, 52.51836, 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.