Namespace: LayerUtil


A utility namespace containing layer related functionality.



The getURL function passed to a OpenLayers TMS / Grid Layer to generate the tile urls. Can be passed as is, or appended by using 'call'. The 'this' context is set to the context of the OpenLayers layer.
Name Type Description
bounds Object The bounds object for the current tile.


Parses a layer or an array of layer data objects, formats meta data min and max and returns either the single layer, or a map of layers keyed by layerId.
Name Type Description
layerData Object | Array layer data object or array of layer data objects.