LargeMapControl2.10.js

Summary
LargeMapControl2.10.js
zoomStopWidth{Integer}
zoomStopHeight{Integer}
zoomBarHeight{Integer}
zoOffsetY{Integer}
controlPosition{OpenSpace.Control.ControlPosition}
OpenSpace.Control.LargeMapControlConstructs a new OpenSpace.Control.LargeMapControl
destroy
draw
_addButton
_addZoomBar
buttonDown
onMapResizeCalled when the main map is resized, we only need to move the control if it is pinned to the right or bottom

zoomStopWidth

{Integer}

zoomStopHeight

{Integer}

zoomBarHeight

{Integer}

zoOffsetY

{Integer}

OpenSpace.Control.LargeMapControl

Constructs a new OpenSpace.Control.LargeMapControl

destroy

destroy: function()

draw

draw: function(px)

Parameters

px{OpenLayers.Pixel}

_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.

_addZoomBar

_addZoomBar:function(centered)

Parameters

centered{OpenLayers.Pixel} where zoombar drawing is to start.

buttonDown

buttonDown: function (evt)

Parameters

evt{Event}

onMapResize

onMapResize: function()

Called when the main map is resized, we only need to move the control if it is pinned to the right or bottom

Constructs a new Control.ControlPosition object.
destroy: function()
draw: function(px)
_addButton:function(id,
img,
xy,
sz)
_addZoomBar:function(centered)
buttonDown: function (evt)
onMapResize: function()
Called when the main map is resized, we only need to move the control if it is pinned to the right or bottom
This class represents a screen coordinate, in x and y coordinates
Instances of this class represent a width/height pair
Close