Optional ExperimentalaltitudeThe altitude of the style in meters. The altitude defines the distance in the vertical direction between the ground plane at 0 meters and the geometry/style. If altitude is set to true, the altitude from the feature's geometry coordinates will be used automatically. If a number is set for altitude, the altitude of the feature's geometry is ignored and the value of "altitude" is used instead. The height must be defined in meters. This attribute is valid for styles of type "Rect", "Image", "Text", "Circle", "Line", "Box" or "Sphere".
OptionalemissiveSets the emissive color of the extruded polygon, giving it a glow effect. This property is only applicable when the polygon is extruded.
Color for a detailed list of possible supported formats.
OptionalextrudeExtrude a Polygon or MultiPolygon geometry in meters.
OptionalextrudeThe base of the Extrude in meters. The extrudeBase is defined from the ground to the bottom of the extruded Polygon in meters. The extrudeBase must be less or equal then extrude.
OptionalfillSets the color to fill the polygon.
Color for a detailed list of possible supported formats.
OptionalfillControls the intensity of the fill color under directional lighting.
fillIntensity determines how much the polygon's fill color is affected by the directional lighting in the scene.
A higher value increases the intensity of the fill color, making it more vibrant under strong lighting,
while a lower value reduces the effect, resulting in a more muted color.
The value should range from 0 to 1, where 0 means no color intensity and 1 represents full intensity.
OptionalfromDefine the starting position of a segment of the entire line in %. A Segment allows to display and style parts of the entire line individually. The value must be between 0 and 1. The Default is 0.
OptionallightSpecifies the name of the light group to use for illuminating specific features on a layer. This property must reference a key corresponding to a light group defined in LayerStyle.lights. A light group consists of lighting sources such as ambient or directional lights that affect the appearance of features.
If light is not defined, the default light group "defaultLight" will be used to illuminate the layer's features.
LayerStyle.lights for defining and referencing available light groups.
OptionaloffsetOffset a line to the left or right side in pixel or meter. A positive values offsets to the right side, a negative value offsets to the left. The side is defined relative to the direction of the line geometry. The default unit is pixels. To define the offset in meters a string that contains the offset value and ends with "m" must be used. Applies to Line style only.
OptionalopacityDefines the opacity of the style. The value must be between 0.0 (fully transparent) and 1.0 (fully opaque). It is valid for all style types.
OptionalshininessSets the shininess of the extruded polygon, determining how glossy its surface appears. A higher value makes the polygon surface more reflective.
This property is only applicable when the polygon is extruded.
shininess value controls the size and intensity of the specular highlight, which is colored by the specular property.shininess property enhances the effect of the specular color. If specular is not set, shininess has no visible effect.shininess value typically ranges from 0 to 128.OptionalspecularSets the specular color of the extruded polygon, affecting how it reflects light.
This property is only applicable when the polygon is extruded.
specular property determines the color of the light reflection, while the shininess value controls the intensity and size of the reflection.specular is set and shininess is not explicitly set, the default shininess value will be used to control the reflection's appearance.Color for a detailed list of possible supported formats.
OptionalstrokeSets the stroke color of the polygon.
Color for a detailed list of possible supported formats.
OptionalstrokeThe strokeDasharray attribute controls the pattern of dashes and gaps used to stroke paths.
It's an array of
OptionalstrokeThis controls the shape of the ends of lines. there are three possible values for strokeLinecap:
If "strokeLinecap" is used in combination with "altitude", only "butt" is supported for "strokeLinecap".
OptionalstrokeThe joint where the two segments in a line meet is controlled by the strokeLinejoin attribute, There are three possible values for this attribute:
If "strokeLinejoin" is used in combination with "altitude", the use of "round" is not supported.
OptionalstrokeSets the width of the stroke of the polygon (outline). The unit of strokeWidth is defined in pixels. For Polygons that are using extrude, the maximum possible strokeWidth is 1.0 pixel. For Styles of type Line the strokeWidth can also be defined in meters by using a string: "${width}m".
OptionaltoDefine the end position of a segment of the entire line in %. A Segment allows to display and style parts of the entire line individually. The value must be between 0 and 1. The Default is 1.
Specifies the type of style to render.
Indicates the drawing order within a layer. Styles with larger zIndex value are rendered above those with smaller values. The zIndex is defined relative to the "zLayer" property. If "zLayer" is defined all zIndex values are relative to the "zLayer" value.
OptionalzIndicates drawing order across multiple layers. Styles using zLayer with a high value are rendered on top of zLayers with a low value. If no zLayer is defined, it will fall back to the LayerStyle.zLayer or depend on the display layer order. The first (lowest) layer has a zLayer value of 1.
Interface for configuring the visual appearance of Polygons.