The Oscar ThemeManager control handles the drawing of themes onto a map object.
| Inherits from: | <OpenLayers.Control> |
| oscar. | The Oscar ThemeManager control handles the drawing of themes onto a map object. |
| Constants | |
| EVENT_TYPES | |
| Constructor | |
| oscar. | |
| Functions | |
| ignoreEvent | Ignores an event. |
| setMap | Set the map property for the control. |
| setConfigManager | Sets the configManager property used to load an OXF (Oscar eXchange Format) source. |
| setGuiManager | Sets the GUI manager to use if there is to be a visual display of themes. |
| doDraw | Draws the active theme. |
| Constants | |
| CLASS_NAME - oscar. |
setConfigManager : function( cm )
Sets the configManager property used to load an OXF (Oscar eXchange Format) source. This will register event calls to applyThemes function when the configManager triggers a haveThemes event.
| Parameters: cm | {oscar.Control.OXFConfigManager} |
Ignores an event.
ignoreEvent : function( evt )
Set the map property for the control.
setMap : function( map )
Sets the configManager property used to load an OXF (Oscar eXchange Format) source.
setConfigManager : function( cm )
Sets the GUI manager to use if there is to be a visual display of themes.
setGuiManager : function( gui )
Draws the active theme.
doDraw : function( extent, options )