• Public
  • Public/Protected
  • All

An object literal containing instructions for repeating labels along a path (for example, the path of a line or the outside path of a polygon).


  • OnPathLabelRepeatOptions




Optional initialGap

initialGap: number

Describes the distance in pixels between the beginning of the path and the label. When you zoom in much onto a path then the initialGap defines how far away the first label will be drawn relative to the start of the rendering line. The initialGap defaults to the value for minimumGap.

Optional minimumGap

minimumGap: number

Defines the minimum gap in pixels between two labels on the same path.

The default value is 200 (pixels).


  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method