Legend Plugin wich gives you the control over the associated layer by configuring this plugin with a custom javascript function.
| Legato. | Legend Plugin wich gives you the control over the associated layer by configuring this plugin with a custom javascript function. |
| Functions | |
| afterInitialized | Validates that this instance has been configured right. |
| afterSetup | Register the onclick event handler |
| beforeDestroy | Destroys the created plugin div. |
| onclick | Triggered if users clicks the plugin div |
| Legato. | Factory class wich is able to create a Legato.Control.Legend.Plugin.LayerFunction instance. |
| Functions | |
| create | Factory method for creating a Legato.Control.Legend.Plugin.LayerFunction instance. |
| lpp: | XML based config for Legato.Control.Legend.Plugin.LayerFunction. |
| Properties | |
| QName | The qualified name for this control. |
Factory class wich is able to create a Legato.Control.Legend.Plugin.LayerFunction instance.
| Functions | |
| create | Factory method for creating a Legato.Control.Legend.Plugin.LayerFunction instance. |
create : function( layer )
Factory method for creating a Legato.Control.Legend.Plugin.LayerFunction instance.
XML based config for Legato.Control.Legend.Plugin.LayerFunction. If configured this plugin renders a div with a configurable css class. If clicked the associated layer will been passed to configured js callback.
<llp:LayerFunction> <callback><lb:Reference target="callbackBean" /></callback> <displayClass>Foo</displayClass> </llp:LayerFunction>
| Properties | |
| QName | The qualified name for this control. |
Validates that this instance has been configured right.
afterInitialized : function()
Register the onclick event handler
afterSetup : function()
Destroys the created plugin div.
beforeDestroy : function()
Triggered if users clicks the plugin div
onclick : function( event )
Factory method for creating a Legato.Control.Legend.Plugin.LayerFunction instance.
create : function( layer )