OptionaltemplateTile URL template with {z}/{x}/{y} (.pbf/.mvt).
OptionaltilejsonTileJSON URL; its tiles[0] becomes the template and maxzoom the refinement cap.
OptionalmaxDeepest zoom the source serves buildings at (refinement stops here). Default 14.
OptionalminShallowest zoom to fetch buildings at — coarser tiles render nothing. Default 13.
OptionalbuildingLayer name carrying building polygons. Default 'building'.
Options for a VectorTileSource. Provide
templatefor a direct{z}/{x}/{y}URL, ortilejsonto resolve the template (+ max zoom) from a TileJSON document at init — many hosts (e.g. OpenFreeMap) put a rotating version segment in the real tile path, so the bare path is a stub; the TileJSON is the source of truth.