new Go3dLayer(view, layerOptions)
GoMap/Layer/index.ts, line 10
Creates an instance of Go3dLayer.
| Name | Type | Description |
|---|---|---|
view |
Go3dView |
The view associated with the layer. |
layerOptions |
Go3dLayersConfig |
Configuration options for the layer. |
Methods
-
getLayerOptions(){Go3dLayersConfig}
GoMap/Layer/index.ts, line 36 -
Gets the configuration options for the layer.
Returns:
Type Description Go3dLayersConfig The layer configuration options. -
getSource(){BaseSource}
GoMap/Layer/index.ts, line 66 -
Gets the source associated with the layer.
Returns:
Type Description BaseSource The source associated with the layer. -
getView(){Go3dView}
GoMap/Layer/index.ts, line 74 -
Gets the view associated with the layer.
Returns:
Type Description Go3dView The view associated with the layer.
