Inherits from: | <OpenLayers.Control> |
Description: This control handles the drawing of theme layers onto a map object.
oscar. | |
Properties | |
themes Array - List of themes for the map. | |
Functions | |
ignoreEvent | |
setMap Set the map property for the control. This is done through | an accessor so that subclasses can override this and take special action once they have their map variable set. |
setConfigManager | Sets the config manager used to load an OXF source. |
setGuiManager | Sets the gui manager to use if there is to be a visual display of themes. |
applyThemes | Gets triggered from the configuration manager object. |
addTheme | This method takes a theme object and adds it to the theme manager. |
themeAdded | This method gets triggered when a theme is added. |
draw | Called by the parent Control class. |
containerCreated | This method gets called when the control container is created to notify the gui mananager. |
themeActivated | This method is triggered when a theme is activated and calls the drawTheme method. |
drawTheme | This method will take in a theme object and draw the layer of the theme on to the map. |
ignoreEvent : function( evt )
Sets the config manager used to load an OXF source.
setConfigManager : function( cm )
Sets the gui manager to use if there is to be a visual display of themes.
setGuiManager : function( gui )
Gets triggered from the configuration manager object.
applyThemes : function()
This method takes a theme object and adds it to the theme manager.
addTheme : function( themeObj )
This method gets triggered when a theme is added.
themeAdded : function( themeObj )
Called by the parent Control class.
draw : function()
This method gets called when the control container is created to notify the gui mananager.
containerCreated : function()
This method is triggered when a theme is activated and calls the drawTheme method.
themeActivated : function( e )
This method will take in a theme object and draw the layer of the theme on to the map.
drawTheme : function( theme )