Class gxe.control.Map
Extends
gxe.control.Control.
Provides an interactive map control for the definition of a bounding spatial envelope.
Requires library [wepabb]/catalog/js/v[latest]/gpt.js.
Defined in: gxe.js.
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class gxe.control.Control:
- cfgObject, context, gxeId, htmlAttributes, htmlElement, htmlTag, htmlTextContent, parentControl, xmlNode, xmlParentElement
Method Attributes | Method Name and Description |
---|---|
_appendImageButton(elToolBar, sId, sSrc, sTip)
Appends an image button to a map toolbar.
|
|
_useMap(e)
Handles a "Use Map" click.
|
|
Responds to a key press from the input text box associated with the locator (i.e.
|
|
onMapButtonClicked(sButtonName)
Responds to a click of a map related button.
|
|
Responds following the load of the underlying map control.
|
|
Repositions the underlying map control.
|
- Methods borrowed from class gxe.control.Control:
- build, createHtmlElement, ensureVisibility, evaluateValue, execBuild, findFirstChildControl, focus, getLabelText, importCfgProperties, importHtmlAttributes, initialize, processCfgAttribute, processCfgElement, processChildren
- Events borrowed from class gxe.control.Control:
- fireOnEvent, onChildControlCreated, onEvent, onHtmlChildrenCreated, onHtmlElementCreated
Method Detail
_appendImageButton(elToolBar, sId, sSrc, sTip)
Appends an image button to a map toolbar.
- Parameters:
- {Element} elToolBar
- the parent HTML element for the toolbar
- {String} sId
- the id for the new img element
- {String} sSrc
- the src for the new img element
- {String} sTip
- the tool tip for the new img element
_useMap(e)
Handles a "Use Map" click.
- Parameters:
- {Event} e
- the underlying browser event
onLocatorKeyPress(e)
Responds to a key press from the input text box associated with the locator (i.e. gazateer).
- Parameters:
- {Event} e
- the underlying browser event
onMapButtonClicked(sButtonName)
Responds to a click of a map related button.
- Parameters:
- {String} sButtonName
- the map button name
onMapLoaded()
Responds following the load of the underlying map control.
repositionMap()
Repositions the underlying map control.