setBuildingData: Update the OSM-Buildings Data

View source: R/buildings.R

setBuildingDataR Documentation

Update the OSM-Buildings Data

Description

Update the OSM-Buildings Data

Usage

setBuildingData(map, data)

Arguments

map

A map widget object created from leaflet.

data

A GeoJSON object containing Polygon features representing the buildings. The properties of these polygons can include attributes like height, color, roofColor, and others as specified in the OSM Buildings documentation.

See Also

Other OSM-Buildings Plugin: addBuildings(), setBuildingStyle(), updateBuildingTime()


leaflet.extras2 documentation built on April 3, 2025, 10:46 p.m.