Class Index | File Index

Classes


Class madrona.map.googleLayers


Defined in: googleLayers.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
madrona.map.googleLayers(plugin, options, layers)
Constructor for googleLayers widget which controls the display options of the plugin.
Method Summary
Method Attributes Method Name and Description
 
Unbinds all event listeners.
 
Looks at the layers form and updates the map to match form values
 
Looks at the options form and updates the map to match form values.
Class Detail
madrona.map.googleLayers(plugin, options, layers)
Constructor for googleLayers widget which controls the display options of the plugin.
Parameters:
{GEPlugin} plugin
Reference to the google earth plugin instance.
{HTMLFormElement} options
The form that controls options. See GEOptions
{HTMLFormElement} layers
The form that controls which layers are displayed. See layer reference
Method Detail
destroy()
Unbinds all event listeners.

updateLayers()
Looks at the layers form and updates the map to match form values

updateOptions()
Looks at the options form and updates the map to match form values. The name of the input element should match the setXVisibility function on ge.getOptions();. for example: <input name="setGridVisibility" />

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 30 2012 11:34:32 GMT-0700 (PDT)