A Menu item is associated with an OpenLayers Control of type BUTTON and will call trigger on it. This class also add quicktips.
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}) });
mapfish. | A Menu item is associated with an OpenLayers Control of type BUTTON and will call trigger on it. |
Constructor | |
mapfish. | Create a new MenuItem. |