On Monday, October 4, 2010, Andrew Stewart <[email protected]> wrote:
>
>
>
>
>
>
>
>
>
> I am trying to add a button with a menu to my existing toolbar but 
> unfortunately when I click on it the drawfeature control associated with the 
> button won't fire and the pan tool stays active. If I just add the 
> GeoExt.Action that adds redline directly
> to the tbar this works, but if I add the menu with it it doesn't. Not sure 
> what I am missing here just trying to get a menu because I want to allow the 
> drawfeature to use options for a line or polygon. Any help appreciated.

You may might a CheckItem for the Redline action. See the toolbar
example again, 
<http://trac.geoext.org/browser/core/trunk/geoext/examples/toolbar.js>.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to