Class GSSnapbackControl

Extends GSControl.

Map control that allows a user to return to a previously saved map position.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new GSSnapbackControl
Properties borrowed from class GSControl:
parentPositioned
Method Summary
Method Attributes Method Name and Description
 
Returns the height of this control (in pixels)
 
Returns the width of this control (in pixels)
Methods borrowed from class GSControl:
getDefaultPosition, getOrientation, getPosition, hide, remove, render, show
Class Detail
GSSnapbackControl(options)
Creates a new GSSnapbackControl
Parameters:
{Object} options Optional
an object literal specifying the control options to set:
{String} options.tooltip
the text to display in the control's tool tip
Method Detail
{int} getHeight()
Returns the height of this control (in pixels)
Returns:
{int} the control height

{int} getWidth()
Returns the width of this control (in pixels)
Returns:
{int} the control width

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Mar 07 2012 11:47:30 GMT+1300 (NZDT)