new PolygonStyle(source, styleOptions)
GoMap/Styles/PolygonStyle.ts, line 16
Creates an instance of PolygonStyle.
| Name | Type | Description |
|---|---|---|
source |
BaseSource |
The source from which the polygon data is derived. |
styleOptions |
Go3dStylesConfig |
Configuration options for the polygon style. |
Extends
- undefined
Methods
-
apply(feature)
GoMap/Styles/PolygonStyle.ts, line 30 -
Applies the polygon style to a given polygon feature.
Name Type Description featureGeometry The polygon geometry feature to which the polygon style will be applied.
