HSLayres.Control.ProjectionSwitcher =================================== .. note:: The projection switcher is still in prototype phase. `HSLayres.Control.ProjectionSwitcher `_ enables you to switch map project projection on-the-fly. For this, HSLayers introduces new attribute :attr:`OpenLayers.Layer.projections` which are lists of projections supported by the map and each layer. If the layer does not support projection, in which the map was switched, it will not be displayed. .. code-block:: javascript var switcher = new HSLayers.Control.ProjectionSwitcher({ div: this.mapViewer.mapPanel.projectionSwitcherContainer.container.dom, userProjections: ["epsg:4326","epsg:3035"]}); map.addControl(switcher);