Hierarchy

  • Controller

Properties

arrowDirections: {
    BACKWARD: string;
    BOTH: string;
    FORWARD: string;
    NONE: string;
}

Arrow possible direction on segments of lines.

Type declaration

  • BACKWARD: string
  • BOTH: string
  • FORWARD: string
  • NONE: string
arrowPositions: {
    EVERY: string;
    FIRST: string;
    LAST: string;
}

Arrow possible position on lines.

Type declaration

  • EVERY: string
  • FIRST: string
  • LAST: string
color: string
feature: Feature<Geometry>
featureHelper_: FeatureHelper
featureListenerKeys_: EventsKey[]
label: string
measure: string

Value of the measure (line length, area, ...).

scope_: IScope
type: string
uid: string

Methods

  • Returns

    The angle of the feature.

    Parameters

    • value: number

      A name value to set or undefined to get.

    Returns number

  • Returns

    The arrow-direction of the feature.

    Parameters

    • value: number

      A arrow-direction value to set or undefined to get.

    Returns number

  • Returns

    The arrow-position of the feature.

    Parameters

    • value: number

      A arrow-position value to set or undefined to get.

    Returns number

  • Returns

    The stroke of the feature.

    Parameters

    • value: number

      A stroke value to set or undefined to get.

    Returns number

  • Returns

    The property value of the feature.

    Parameters

    • key: string

      The property name.

    • value: string | number | boolean

      A value to set or undefined to get.

    Returns string | number | boolean

  • Returns

    Whether to show the labels or not.

    Parameters

    • value: boolean

      A value to set or undefined for the purpose of showing the attribute labels or not.

    Returns boolean

  • Returns

    Whether to show the measurements or not.

    Parameters

    • value: boolean

      A value to set or undefined to get for the purpose of showing the geometry measurements or not.

    Returns boolean

  • Returns

    The stroke of the feature.

    Parameters

    • value: number

      A stroke value to set or undefined to get.

    Returns number

  • Called when a new feature is set, which can also be null.

    Parameters

    • newFeature: Feature<Geometry>

      New feature or null value.

    • previousFeature: Feature<Geometry>

      Previous feature or null value.

    Returns void

Generated using TypeDoc