HSLayers.LayerSwitcher.LogicalPanel (class)

HSLayers.LayerSwitcher.LogicalPanel

class HSLayers.LayerSwitcher.LogicalPanel()

Logical Panel of LayerSwitcher

Methods

generated by getStructure

HSLayers.LayerSwitcher.LogicalPanel.setLayerPath({String})

Set path property of the layer, according to this tree

Arguments:
  • {String}

    path

    Optional

HSLayers.LayerSwitcher.LogicalPanel.getNodeForPath(path)

Find and potentialy create folder structure based on given path

Arguments:
  • path (String) – “/” separated
Returns:

Return type:

Ext.tree.TreeNode

HSLayers.LayerSwitcher.LogicalPanel.getStructure()

Get JSON structure of this logical panel

Returns:tree layer structure
Return type:Object
HSLayers.LayerSwitcher.LogicalPanel.setStructure()
Set JSON structure of this logical panel, based on structure

generated by getStructure