cgxp.plugins.Zoom

ptype
cgxp_zoom
class cgxp.plugins.Zoom(config)

Provides two actions for zooming in and out.

Example Use

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

new gxp.Viewer({
    ...
    tools: [{
        ptype: 'cgxp_zoom',
        actionTarget: 'center.tbar',
        toggleGroup: 'maptools'
    }]
    ...
});

Config Options

Configuration properties.

toggleGroup

The group theses toggle buttons are members of.

Table Of Contents

Previous topic

cgxp.plugins.WMSBrowser

Next topic

API

This Page

Fork me on GitHub