Class: LineStyle

LineStyle

A class that represents styling for line features.

new LineStyle(source, styleOptions)

GoMap/Styles/LineStyle.ts, line 16

Creates an instance of LineStyle.

Name Type Description
source BaseSource

The source from which the line data is derived.

styleOptions Go3dStylesConfig

Configuration options for the line style.

Extends

  • undefined

Methods

apply(feature)

GoMap/Styles/LineStyle.ts, line 30

Applies the line style to a given line feature.

Name Type Description
feature Geometry

The line geometry feature to which the line style will be applied.