OL3-ext: Permalink control
is hyperlink that will return the user to the current map view.
The href is updated as the map is zoomed, panned, rotated and whilst layers are switched or opacity is changed
(as soon as the layer has a permalink
Only layers with a permalink properties are handled by the control.
The permalink propertie is used to name the layer in the url.
By default, clicking the control will enable/disable the url replacement. Use the onclick option to change this behavior (mail to a friend...).
The getUrlParams method enable you to add user parameters to the url to handle new functionnalities (layers ordering, etc.)