mapfish. widgets. toolbar. MenuItem

A Menu item is associated with an OpenLayers Control of type BUTTON and will call trigger on it.  This class also add quicktips.

Simple example usage

var menuItem = new mapfish.widgets.toolbar.MenuItem({
    text: 'My menu item',
    tooltip: 'My tooltip',
    icon: 'lib/openlayers/theme/default/img/icon_roi_feature.png',
    control: new OpenLayers.Control.ROISelect({map: map})
});

Inherits from

  • {Ext.menu.Item}
Summary
mapfish. widgets. toolbar. MenuItemA Menu item is associated with an OpenLayers Control of type BUTTON and will call trigger on it.
Constructor
mapfish. widgets. toolbar. MenuItemCreate a new MenuItem.

Constructor

mapfish. widgets. toolbar. MenuItem

Create a new MenuItem.

Parameters

config{Object} Config object
Close