Class GSSnapbackControl
Extends GSControl.
Map control that allows a user to return to a previously saved map position.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
GSSnapbackControl(options)
Creates a new
GSSnapbackControl |
- Properties borrowed from class GSControl:
- parentPositioned
| Method Attributes | Method Name and Description |
|---|---|
|
Returns the height of this control (in pixels)
|
|
|
getWidth()
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