new GoXYZ(olMap, layerOpts, topicId)
Layers/GoXYZLayer/index.ts, line 19
Constructs a GoXYZ instance, initializing layer creation and configuration.
| Name | Type | Description |
|---|---|---|
olMap |
OlMap |
The OpenLayers map instance. |
layerOpts |
layerOptions |
Options for the layer to be created. |
topicId |
string |
The topic identifier. |
Extends
- undefined
Methods
-
canFilter(){boolean}
Layers/GoXYZLayer/index.ts, line 67 -
Indicates if the layer supports filtering.
Returns:
Type Description boolean False as GoXYZ does not support filtering. -
getLayer(){TileLayer.<TileSource>}
Layers/GoXYZLayer/index.ts, line 76 -
Retrieves the TileLayer associated with this GoXYZ instance.
Returns:
Type Description TileLayer.<TileSource> The TileLayer of the GoXYZ instance. -
getVisibility(){boolean}
Layers/GoXYZLayer/index.ts, line 85 -
Gets the visibility status of the layer.
Returns:
Type Description boolean The visibility status of the layer. -
setZIndex(number)
Layers/GoXYZLayer/index.ts, line 94 -
Sets the z-index of the layer.
Name Type Description numbernumber The z-index value.
-
type(){GOLayerType}
Layers/GoXYZLayer/index.ts, line 58 -
Returns the type of the GOLayer.
Returns:
Type Description GOLayerType The type of the GOLayer.
