Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes how icons are to be rendered on a line.

If your polyline is geodesic, then the distances specified for both offset and repeat are calculated in meters by default. Setting either offset or repeat to a pixel value will cause the distances to be calculated in pixels on the screen.

Hierarchy

  • IconSequence

Index

Properties

fixedRotation?: boolean

If true, each icon in the sequence has the same fixed rotation regardless of the angle of the edge on which it lies. If false, case each icon in the sequence is rotated to align with its edge.

defaultvalue

false

icon?: null | Symbol

The icon to render on the line.

offset?: string

The distance from the start of the line at which an icon is to be rendered. This distance may be expressed as a percentage of line's length (e.g. '50%') or in pixels (e.g. '50px').

defaultvalue

'100%'

repeat?: string

The distance between consecutive icons on the line. This distance may be expressed as a percentage of the line's length (e.g. '50%') or in pixels (e.g. '50px'). To disable repeating of the icon, specify '0'.

defaultvalue

0

Generated using TypeDoc