HSLayers.Control.LayerSwitcher.MultiLayer (class)

HSLayers.Control.LayerSwitcher.MultiLayer

class HSLayers.Control.LayerSwitcher.MultiLayer()

Advanced layer switcher. <OpenLayers>s are grouped into “group” object. This object behaves like layer and has some similar methods. This child class is able to handle <HSLayers>

Example usage:

var hslayer = new HSLayers.Layer.MapServer("HS-RS (HSRSMapServer)",
        "http://www.bnhelp.cz/mapserv/hsmap/hsmap.php?"+
        "project=cr_hslayers&mode=lyrlist",{},{visibility:false, isBaseLayer: false});
map.addLayer(hslayer)
var ls = new HSLayers.Control.LayerSwitcher.MultiLayer({container: layersTab });
map.addControl(ls);

Properties

HSLayers.Control.LayerSwitcher.MultiLayer.CLASS_NAME
Type :String (static)

HSLayers.Control.LayerSwitcher.MultiLayer

HSLayers.Control.LayerSwitcher.MultiLayer.showCheckBoxForHSMapServer

HSLayers.Control.LayerSwitcher.MultiLayer

Show/hide checkbox for layer based on HSLayers.Layer.MapServer

Methods

Main Menu


Table Of Contents

Previous topic

HSLayers.Control.Cuzk (class)

Next topic

HSLayers.Control.PanZoom (class)

This Page