Class: IconStyle

IconStyle

A class that represents styling for point features using dynamic SVG icons.

new IconStyle(source, styleOptions)

GoMap/Styles/IconStyle.ts, line 21

Creates an instance of IconStyle.

Name Type Description
source BaseSource

The source from which the point data is derived.

styleOptions Go3dStylesConfig

Configuration options for the icon style.

Extends

  • undefined

Methods

apply(feature)

GoMap/Styles/IconStyle.ts, line 35

Applies the icon style to a given point feature.

Name Type Description
feature Geometry

The point geometry feature to which the icon style will be applied.