import {LayerConfigurator} from 'guide4you/src/configurators/LayerConfigurator.js'
LayerConfigurator
This is part of the MapConfigurator class
Constructor Summary
Public Constructor | ||
public |
constructor(map: G4UMap) |
Member Summary
Private Members | ||
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
configures the layers according to the layerConfig stored in the 'layerConfig' property stored in the map. |
|
public |
|
Private Methods | ||
private |
configureLayerIsIdOk_(id: string | number): boolean A function that checks if a layer id is setted and not a duplicate of another. |
Public Constructors
Public Methods
public configureLayers() source
configures the layers according to the layerConfig stored in the 'layerConfig' property stored in the map. If the config changes this method is called automatically.