OpenLayers.Control.TextButtonPanel

The TextButtonPanel is a panel designed primarily to hold TextButton controls.  By default it has a displayClass of olControlTextButtonPanel, which hooks it to a set of text-appropriate styles in the default stylesheet.

Inherits from

Summary
OpenLayers.Control.TextButtonPanelThe TextButtonPanel is a panel designed primarily to hold TextButton controls.
Properties
vertical{Boolean} Whether the button strip should appear vertically on the map.
additionalClass{String} An additional class to be applied in addition to .olControlTextButtonPanel to allow for non-default positioning.
Constructor
OpenLayers.Control.TextButtonPanelCreate a panel for holding text-based button controls
Functions
setAdditionalClassSets an additional CSS class for this TextButtonPanel (for example, to override the default placement).

Properties

vertical

{Boolean} Whether the button strip should appear vertically on the map.

additionalClass

{String} An additional class to be applied in addition to .olControlTextButtonPanel to allow for non-default positioning.

Constructor

OpenLayers.Control.TextButtonPanel

Create a panel for holding text-based button controls

Parameters

options{Object}

Functions

setAdditionalClass

setAdditionalClass: function()

Sets an additional CSS class for this TextButtonPanel (for example, to override the default placement).  This allows more than one TextButtonPanel to exist on the map at once.

setAdditionalClass: function()
Sets an additional CSS class for this TextButtonPanel (for example, to override the default placement).
The Panel control is a container for other controls.
Close