Properties

slideFactor

{Integer}

buttons

{Array(DOMElement)} Array of Button Divs

Constructor

OpenLayers. Control. PanZoom

Parameters

options{Object}

Functions

destroy

destroy: function()

draw

draw: function(px)

Parameters

px{OpenLayers.Pixel}

Returns

{DOMElement} A reference to the container div for the PanZoom control.

_addButton

_addButton:function(id,
img,
xy,
sz)

Parameters

id{String}
img{String}
xy{OpenLayers.Pixel}
sz{OpenLayers.Size}

Returns

{DOMElement} A Div (an alphaImageDiv, to be precise) that contains the image of the button, and has all the proper event handlers set.

doubleClick

doubleClick: function (evt)

Parameters

evt{Event}

Returns

{Boolean}

buttonDown

buttonDown: function (evt)

Parameters

evt{Event}

Constants

X

{Integer}

Y

{Integer}

This class represents a screen coordinate, in x and y coordinates
destroy: function()
draw: function(px)
_addButton:function(id,
img,
xy,
sz)
doubleClick: function (evt)
buttonDown: function (evt)
Controls affect the display or behavior of the map.
Instances of this class represent a width/height pair