Class: HTMLStyle

HTMLStyle

A class that represents styling for point features using HTML content.

new HTMLStyle(source, styleOptions)

GoMap/Styles/HTMLStyle.ts, line 21

Creates an instance of HTMLStyle.

Name Type Description
source BaseSource

The source from which the point data is derived.

styleOptions Go3dStylesConfig

Configuration options for the HTML style.

Extends

  • undefined

Methods

apply(feature)

GoMap/Styles/HTMLStyle.ts, line 35

Applies the HTML style to a given point feature.

Name Type Description
feature Geometry

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