GridPaint

class GridPaint(var spacing: Double = 20.0) : Paint

Grid spacing in logical px from style/JS.

Instanced GL gridded layers (EncodedGridVectorTileSource) combine device density with an internal spacing scale when building placement so on-screen density matches IconSize-scaled icons; Mapbox symbol layout from GridLayerPaint.asStyleJSON is unchanged.

Constructors

Link copied to clipboard
constructor(spacing: Double = 20.0)

Properties

Link copied to clipboard