cgxp.plugins.Redlining

ptype
cgxp_redlining
class cgxp.plugins.Redlining(config)

Provides an action that opens a redlining tools panel.

Example Use

Sample code showing how to add a Redlining plugin to a gxp.Viewer:

new gxp.Viewer({
    ...
    tools: [{
        ptype: 'cgxp_redlining',
        actionTarget: 'center.tbar',
        toggleGroup: 'maptools',
        stateId: 'rl', // to save the drawing in the permalink
        layerManagerUrl: "${request.static_url('<package>:static/lib/cgxp/sandbox/LayerManager/ux/')}"
    }]
    ...
});

Config Options

Configuration properties.

actionConfig

Object Config object for the action created by this plugin.

activateToggleGroup

String The name of the activate toggle group this tool is in. Default is “clickgroup”.

layerManagerUrl

String set base url of resources in GeoExt.ux.LayerManagerExportWindow widget

stateId

Used to generate the permalink.

toggleGroup

The group this toggle button is member of.

Table Of Contents

Previous topic

cgxp.plugins.QueryBuilder

Next topic

cgxp.plugins.Routing

This Page

Fork me on GitHub