LayerFactory
Extends:
Constructor Summary
| Public Constructor | ||
| public |
constructor(map: G4UMap) |
|
Method Summary
| Public Methods | ||
| public |
createFeature(featureConf: FeatureConfig): ol.Feature |
|
| public |
createLayer(optionsCopy: g4uLayerOptions): ol.layer.Layer | ol.Collection<ol.layer.Layer> Creates a layer or a collection of layers from the config |
|
| public |
setWMTSSourceFromCapabilities(layer: *, sourceOptions: *) |
|
| Private Methods | ||
| private |
|
|
| private |
configureLayerSourceAttribution_(sourceConfig: SourceConfig): SourceConfig |
|
| private |
configureLayerSourceLoadingStrategy_(sourceConfig: SourceConfig): SourceConfig |
|
| private |
|
|
| private |
|
|
Public Constructors
Public Methods
public createFeature(featureConf: FeatureConfig): ol.Feature source
Params:
| Name | Type | Attribute | Description |
| featureConf | FeatureConfig |
Return:
| ol.Feature |
public createLayer(optionsCopy: g4uLayerOptions): ol.layer.Layer | ol.Collection<ol.layer.Layer> source
Creates a layer or a collection of layers from the config
Params:
| Name | Type | Attribute | Description |
| optionsCopy | g4uLayerOptions |
Return:
| ol.layer.Layer | ol.Collection<ol.layer.Layer> |
public setWMTSSourceFromCapabilities(layer: *, sourceOptions: *) source
Params:
| Name | Type | Attribute | Description |
| layer | * | ||
| sourceOptions | * |
Private Methods
private configureLayerAvailability_(config: g4uLayerOptions): g4uLayerOptions source
Params:
| Name | Type | Attribute | Description |
| config | g4uLayerOptions |
private configureLayerSourceAttribution_(sourceConfig: SourceConfig): SourceConfig source
Params:
| Name | Type | Attribute | Description |
| sourceConfig | SourceConfig |
private configureLayerSourceLoadingStrategy_(sourceConfig: SourceConfig): SourceConfig source
Params:
| Name | Type | Attribute | Description |
| sourceConfig | SourceConfig |
private configureLayerTitle_(config: g4uLayerOptions): g4uLayerOptions source
Params:
| Name | Type | Attribute | Description |
| config | g4uLayerOptions |
private configureLayerVisibility_(config: g4uLayerOptions): g4uLayerOptions source
Params:
| Name | Type | Attribute | Description |
| config | g4uLayerOptions |
