OpenLayers. Control. PanZoom | |
Properties | |
slideFactor | {Integer} Number of pixels by which we’ll pan the map in any direction on clicking the arrow buttons. |
buttons | {Array(DOMElement)} Array of Button Divs |
position | {OpenLayers.Pixel} |
Constructor | |
OpenLayers. Control. PanZoom | |
Functions | |
destroy | |
draw | |
_addButton | |
doubleClick | |
buttonDown | |
Constants | |
X | {Integer} |
Y | {Integer} |
draw: function( px )
px | {OpenLayers.Pixel} |
{DOMElement} A reference to the container div for the PanZoom control.
_addButton:function( id, img, xy, sz )
id | {String} |
img | {String} |
xy | {OpenLayers.Pixel} |
sz | {OpenLayers.Size} |
{DOMElement} A Div (an alphaImageDiv, to be precise) that contains the image of the button, and has all the proper event handlers set.
destroy: function()
draw: function( px )
_addButton:function( id, img, xy, sz )
doubleClick: function ( evt )
buttonDown: function ( evt )