SubdivisionGranularitySetting
Defined in: src/render/subdivision_granularity_settings.ts:45
An object describing how much subdivision should be applied to different types of geometry at different zoom levels.
Properties
circle
readonly
circle:CircleGranularity
Defined in: src/render/subdivision_granularity_settings.ts:70
Controls the granularity of pitch-alignment: map
circles and heatmap kernels.
More granular circles will more closely follow the map's surface.
fill
readonly
fill:SubdivisionGranularityExpression
Defined in: src/render/subdivision_granularity_settings.ts:49
Granularity settings used for fill and fill-extrusion layers (for fill, both polygons and their anti-aliasing outlines).
line
readonly
line:SubdivisionGranularityExpression
Defined in: src/render/subdivision_granularity_settings.ts:54
Granularity used for the line layer.
stencil
readonly
stencil:SubdivisionGranularityExpression
Defined in: src/render/subdivision_granularity_settings.ts:64
Granularity used for stencil masks for tiles.
tile
readonly
tile:SubdivisionGranularityExpression
Defined in: src/render/subdivision_granularity_settings.ts:59
Granularity used for geometry covering the entire tile: raster tiles, etc.
noSubdivision
readonly
static
noSubdivision:SubdivisionGranularitySetting
Defined in: src/render/subdivision_granularity_settings.ts:105
Granularity settings that disable subdivision altogether.