Package-level declarations
Types
Orientation of circle when map is pitched.
Controls the scaling behavior of the circle when the map is pitched.
Controls the frame of reference for circle-translate.
Controls the frame of reference for fill-extrusion-translate.
Controls the frame of reference for fill-translate.
Direction of light source when map is rotated.
Part of the icon placed closest to the anchor.
Orientation of icon when map is pitched.
In combination with symbol-placement, determines the rotation behavior of icons.
Scales the icon to fit around the associated text.
Controls the frame of reference for icon-translate.
The display of line endings.
The display of lines when joining.
Controls the frame of reference for line-translate.
Defines scaling mode. Only applies to location-indicator type layers.
Defines rendering behavior of model in respect to other 3D scene objects.
The resampling/interpolation method to use for overscaling, also known as texture magnification filter
The type of the sky
Label placement relative to its geometry.
Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their y-position relative to the viewport. To control the order and prioritization of symbols otherwise, use symbol-sort-key.
Part of the text placed closest to the anchor.
Text justification options.
Orientation of text when map is pitched.
In combination with symbol-placement, determines the rotation behavior of the individual glyphs forming the text.
Specifies how to capitalize text, similar to the CSS text-transform property.
Controls the frame of reference for text-translate.
To increase the chance of placing high-priority labels on the map, you can provide an array of text-anchor locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use text-justify: auto to choose justification based on anchor position. To apply an offset, use the text-radial-offset or the two-dimensional text-offset.
To increase the chance of placing high-priority labels on the map, you can provide an array of text-anchor locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use text-justify: auto to choose justification based on anchor position. To apply an offset, use the text-radial-offset or the two-dimensional text-offset.
The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. For symbol with point placement, the order of elements in an array define priority order for the placement of an orientation variant. For symbol with line placement, the default text writing mode is either 'horizontal', 'vertical' or 'vertical', 'horizontal', the order doesn't affect the placement.
The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. For symbol with point placement, the order of elements in an array define priority order for the placement of an orientation variant. For symbol with line placement, the default text writing mode is either 'horizontal', 'vertical' or 'vertical', 'horizontal', the order doesn't affect the placement.
Whether this layer is displayed.
Functions
The background color or pattern of the map.
A filled circle.
An extruded (3D) polygon.
A filled polygon with an optional stroked border.
A heatmap.
Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.
A stroked line.
Location Indicator layer.
A layer to render 3D Models.
Raster map textures such as satellite imagery.
Particle animation driven by textures such as wind maps.
A spherical dome around the map that is always rendered behind all other layers.
An icon or a text label.