For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class SubdivisionGranularitySetting

An object describing how much subdivision should be applied to different types of geometry at different zoom levels.

Index

Constructors

Properties

Controls the granularity of pitch-alignment: map circles and heatmap kernels. More granular circles will more closely follow the map's surface.

Granularity settings used for fill and fill-extrusion layers (for fill, both polygons and their anti-aliasing outlines).

Granularity used for the line layer.

Granularity used for stencil masks for tiles.

Granularity used for geometry covering the entire tile: raster tiles, etc.

Granularity settings that disable subdivision altogether.

Was this helpful?