Alignment for styles of type "Circle". Possible values are: "map" and "viewport". "map" aligns to the plane of the map and "viewport" aligns to the plane of the viewport/screen. Default alignment for Text based on point geometries is "viewport" while "map" is the default for line geometries.
Altitude of the Image center in meters.
Describes the vertical distance from the global ground plane (0m) to the Image.
Supported values:
If the geometry altitude source differs from the TerrainTileLayer source/resolution, the Image can appear
slightly above or below the visible terrain surface.
on the terrain unless both use exactly the same elevation source, datum and resolution.
(or no terrain layer exists) the altitude is 0 and updates once data becomes available.
Notes:
Sets the anchor point for styles of type "Image" used with Line or Polygon geometry.
Possible values for Line geometry are "Coordinate" and "Line".
Possible values for Polygon geometry are "Center" and "Centroid".
If specified, the Image provided by src is considered as an IconAtlas/TextureAtlas. The clipping region for the image must be defined by x, y, width and height. The maximum supported atlas size is 4096x4096.
Enable or disable the space check for point styles on line geometries. If check checkLineSpace is enabled the respective style is only displayed if there is enough space on the line, otherwise it is not displayed.
Enable or disable collision detection. If the collision detection is enabled for multiple Styles within the same StyleGroup, the respective Styles are handled as a single Object ("CollisionGroup") where the combined bounding-box is determined automatically.
Enables collision detection and combines all styles of a StyleGroup with the same "CollisionGroup" into a single logical object for collision detection.
Height of the Image in pixels. The maximum supported height for "Image" is 64 pixels. The unit of width is defined in pixels. If the height is not explicitly defined, the value of the width is used as the height.
Offset the shape in pixels on x-axis. A positive value offsets to the right, a negative value to the left. The default unit is pixels.
Offset the shape in pixels on y-axis. A positive value offsetY offsets downwards, a negative value upwards. The default unit is pixels.
Offset the shape in pixels on z-axis. A positive value offsets up, a negative value down. The default unit is pixels.
Defines 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.
In case of label collision, Text with a higher priority (lower value) will be drawn before lower priorities (higher value). If the collision detection is enabled for multiple Styles within the same StyleGroup, the highest priority (lowest value) is used.
Minimum distance in pixels between repeated style-groups on line geometries. Applies per tile only.
Rotate the shape of the style to the angle in degrees.
Scales the size of a style based on the feature's altitude. If it's enabled (true), features closer to the camera will be drawn larger than those farther away. When off (false), the size of the style is always the same size, regardless of its actual altitude, as if it were placed on the ground (altitude 0). This attribute applies to styles of type "Rect", "Image", "Text", "Circle", "Line", "Box", or "Sphere" whose size (width, {@link radius}, strokeWidth) that are using "map" alignment only. If the size attribute is defined in meters, scaleByAltitude is enabled by default, for pixels it is disabled.
Specifies the URL of the image to render. It can be either absolute or relative path.
Specifies the type of style to render.
Width of the Image in pixels. The maximum supported width for "Image" is 64 pixels. The unit of width is defined in pixels.
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.
Indicates 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.
Generated using TypeDoc
Interface for configuring the visual appearance of Images/Icons.