new BaseStyles(source, styleOptions)
GoMap/Styles/BaseStyles.ts, line 5
Creates an instance of BaseStyles.
| Name | Type | Description |
|---|---|---|
source |
BaseSource |
The source associated with the style. |
styleOptions |
Go3dStylesConfig |
Configuration options for the style. |
Methods
-
getSource(){BaseSource}
GoMap/Styles/BaseStyles.ts, line 47 -
Gets the source associated with this style.
Returns:
Type Description BaseSource The source associated with the style. -
getStyleOptions(){Go3dStylesConfig}
GoMap/Styles/BaseStyles.ts, line 39 -
Gets the style options used to configure this style.
Returns:
Type Description Go3dStylesConfig The style options.
