Class madrona.map.googleLayers
Defined in: googleLayers.js.
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 Attributes | Method Name and Description |
---|---|
destroy()
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" />