Class GLOBALS
Object
|
+--GLOBALS
- class
GLOBALS
|
Method Summary |
<static> void
|
MMAttachEvent( <HTMLElement> eventObject, <String> eventType, <Function> handlerFunction )
This function can be used to attach an event handler to an object.
|
<static> boolean
|
MMIsSupportedBrowser()
Function to check for a supported browser.
|
<static> Object
|
MMWidgetAvailable( <String> widget_class )
Function to check if a widget is supported by this version of the API.
|
MMAttachEvent
<static> void MMAttachEvent( <HTMLElement> eventObject, <String> eventType, <Function> handlerFunction )
This function can be used to attach an event handler to an object.
It is used internally by the mapviewer but may be useful for
external scripts. However, it should not be used for map-related
events as these should be handled by the mapviewer's own
event-handling system.
Parameters:
eventObject - The object to attach the event to.
eventType - The type of event to attach.
handlerFunction - The function to attach.
MMIsSupportedBrowser
<static> boolean MMIsSupportedBrowser()
Function to check for a supported browser.
This function will make a number of checks to see whether the user's
browser is supported by the API or not.
Returns:
True if the browser is supported, false otherwise.
MMWidgetAvailable
<static> Object MMWidgetAvailable( <String> widget_class )
Function to check if a widget is supported by this version of the API.
This function will make sure that a given widget is offered by the
current version of the API.
Parameters:
widget_class - The class of widget you want to check.
Documentation generated by
JSDoc on Tue Feb 26 16:25:19 2008