HSLayers.Layer.TreeLayer.Layer (class)

HSLayers.Layer.TreeLayer.Layer

class HSLayers.Layer.TreeLayer.Layer()

Tree layer Group class

Properties

HSLayers.Layer.TreeLayer.Layer.editable

HSLayers.Layer.TreeLayer.Layer

editable

HSLayers.Layer.TreeLayer.Layer.events
Type :OpenLayers.Events (static)

HSLayers.Layer.TreeLayer.Layer

events

HSLayers.Layer.TreeLayer.Layer.id
Type :String (static)

HSLayers.Layer.TreeLayer.Layer

id

HSLayers.Layer.TreeLayer.Layer.layer
Type :HSLayers.Layer.TreeLayer (static)

HSLayers.Layer.TreeLayer.Layer

parent layer object

HSLayers.Layer.TreeLayer.Layer.legendUrl
Type :string (static)

HSLayers.Layer.TreeLayer.Layer

legendUrl

HSLayers.Layer.TreeLayer.Layer.maxScale

HSLayers.Layer.TreeLayer.Layer

max scale

HSLayers.Layer.TreeLayer.Layer.minResolution
Type :Float (static)

HSLayers.Layer.TreeLayer.Layer

minResolution

HSLayers.Layer.TreeLayer.Layer.minScale

HSLayers.Layer.TreeLayer.Layer

min scale

HSLayers.Layer.TreeLayer.Layer.name

HSLayers.Layer.TreeLayer.Layer

name

HSLayers.Layer.TreeLayer.Layer.parentGroup
Type :HSLayers.Layer.TreeLayer.Group (static)

HSLayers.Layer.TreeLayer.Layer

parent group

HSLayers.Layer.TreeLayer.Layer.queryable

HSLayers.Layer.TreeLayer.Layer

queryable

HSLayers.Layer.TreeLayer.Layer.title

HSLayers.Layer.TreeLayer.Layer

title

HSLayers.Layer.TreeLayer.Layer.visibility
Type :Boolean (static)

HSLayers.Layer.TreeLayer.Layer

visibility indicator

Methods

HSLayers.Layer.TreeLayer.Layer.toggleVisibility(visibility, force)

toggle visibility, throw the event

Arguments:
  • visibility (Boolean) – optional
  • force (Boolean) – redraw
HSLayers.Layer.TreeLayer.Layer.setLayer(layer)

set parent layer

Arguments:
  • layer (OpenLayers.Layer) –
HSLayers.Layer.TreeLayer.Layer.calculateInRange()

calculate in scale range

Returns:Boolean
HSLayers.Layer.TreeLayer.Layer.getVisibility()

get visibility

Returns:
Return type:Boolean

Events

visibilitychanged
inidicates change of visibility