HSLayers.Control.ScaleSwitcher ============================== `HSLayers.Control.ScaleSwitcher `_ indicates current map scale and user can also change map scale directly. .. code-block:: javascript var switcher = new HSLayers.Control.ScaleSwitcher({ div: this.mapViewer.mapPanel.scaleSwitcherContainer.container.dom }); map.addControl(switcher); The switcher will render combo box with :attr:`OpenLayers.Map.scales` or scales derived from :attr:`OpenLayers.Map.resolutions` (which are actually calculated based on attributes from :class:`OpenLayers.Map.baseLayer`).