A button that resets the map to it's initial location.
Parameters:
Name |
Type |
Description |
config |
Object
|
Configuration for this object. The config supplied directly extends the control |
Extends
Members
Properties:
Name |
Type |
Description |
buttonOptions |
Object
|
Passed to the jQuery UI button constructor |
- Inherited From:
id
Properties:
Name |
Type |
Description |
id |
string
|
The id for this control |
- Inherited From:
map
Properties:
Name |
Type |
Description |
map |
OpenLayers.Map
|
The map this button will interact with |
- Inherited From:
Methods
Called when the button is clicked.
Zooms the map to it's initial location
Parameters:
Name |
Type |
Description |
eventArgs |
Object
|
The jQuery event object |
- Overrides:
(protected) mapAfterInitHandler(eventArgs)
Event handler for mapafterinit
Parameters:
Name |
Type |
Description |
eventArgs |
Object
|
The event arguments |
- Inherited From: