Icon Layer

Icon layers are a type of point layer. They allow you to differentiate between points by assigning icons to points based on a field.

An example of the Icon Layer.

An example of the Icon Layer.

Using Icons

For example, you might use icons to differentiate between types of venues and points of interest.

To see the icon menu, create a new icon layer and click How to:

The "How to draw icons" help page.

The "How to draw icons" help page.

Settings

All settings for the Icon Layer are described below.

Basic

Core settings for the Icon Layer.

SettingDescription
Layer TypeMust be Icon to display the Icon layer.
DatasetThe dataset to use for the Icon Layer.
ColumnsSpecify a lat/lng pair, an icon field, and optionally an altitude field.

Color

Color settings for the Icon Layer.

SettingDescription
Color Based OnThe field to base the icons' color on.
Color ScaleThe color scale and palette for the icon color.
OpacityThe opacity of the icons.

Radius

Radius settings for the Icon Layer.

SettingDescription
Radius SliderSet a minimum and maximum radius for the icons.
Radius Based OnThe field to base the radius size on.
Radius ScaleThe scale to base radius on. Choose from linear, square root, and log.
Fixed Radius to MeterMap radius to meter. E.g., 5 radius equals 5 meters.
BillboardOrients points toward the camera.

Label

Label settings for the Icon Layer. Labels are attached to icon locations.

SettingDescription
Label FieldSelect a field to display on the label.
Font SizeThe size of the font to use on the label.
Font ColorThe color of the label font.
Outline WidthThe width of the outline in pixels. Set to 0 to disable the outline.
Outline ColorThe color for the outline label.
Background ColorToggle to enable a background color for the label. Choose a color with the color selector.
Text AnchorWhere, relative to the icons, to anchor the text. Choose from start, middle, or end.
AlignmentHow to align the text. Choose from top, middle, or bottom.
+ Add More LabelsAdd another label to the icons.

JSON Schema

For details on how to programmatically specify layer properties, refer to the Studio Layer Configuration specification.