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. widgets. toolbar. MenuItem | A Menu item is associated with an OpenLayers Control of type BUTTON and will call trigger on it. |
Constructor | |
mapfish. widgets. toolbar. MenuItem | Create a new MenuItem. |