Static
applyApplies an existing permalink to the given map.
The OpenLayers map.
The separator of the layers list and center coordinates in the link. Default is to ';'.
Function to generate the identifier of the layer in the link. Default is the name (given by the associated property) of the layer.
Function to filter layers that should be handled by the link. Default is to consider all current map layers of type ol/layer/Tile.
The customLayerAttributes, if defined. Otherwise null.
Static
getCreates a permalink based on the given map state. It will contain the current view state of the map (center and zoom) as well as the current (filtered) list of layers.
The OpenLayers map
The separator for the layers list and center coordinates in the link. Default is to ';'.
Function to generate the identifier of the layer in the link. Default is the name (given by the associated property) of the layer.
Function to filter layers that should be added to the link. Default is to add all visible layers of type ol/layer/Tile.
Custom layer attributes which will be saved in the permalink for each layer.
The permalink.
Static
setSearch through the given Ol-Collection for the given id and set all parenting groups visible.
The openlayers map
The Openlayers Collection
Ther layer ol uid to search for
Helper class for some operations related to permalink function.