For the complete documentation index, see llms.txt. This page is also available as Markdown.

Simple visualizations

Simple visualizations are those that show each feature in a vector dataset using the same style or the image as it is in raster ones.

Simple visualizations must define "type": "simple" and a single value for each supported style and label properties.

Example

The Airports layer in Felt is an example of a simple visualization using a vector dataset

and is defined by the following style:

The {"linear": [[zoom, value], …]} objects used for size, fontSize, and strokeWidth above are interpolators — values that change with zoom level. See Zoom-based styling and Interpolators for the full syntax; plain numbers work anywhere an interpolator does.

Raster layers can also use simple to display imagery as-is — see Raster visualizations.

More patterns

Icon markers (points). Set iconImage to draw points as icons; the icon takes the layer's color and size. See Icons for the full catalog.

Road-style casing (lines). A paint array renders last-to-first, so the wider casing layer goes second (underneath) and the narrower fill goes first (on top).

Last updated

Was this helpful?