Hello Matt, Thanks a lot for your answer... that was it! Regards,
Hugo On Tue, Oct 12, 2010 at 2:43 AM, Matt Priour <[email protected]>wrote: > Use a GeoExt.Action. Configure it with the control you want it to > activate. > do not add the control to the map first, the GeoExt.Action will take care > of that for you > > Matt Priour > Kestrel Computer Consulting > > *From:* Hugo <[email protected]> > *Sent:* Monday, October 11, 2010 7:20 PM > *To:* [email protected] > *Subject:* [Users] Associate control with a button > > Hello all, > > I have a mappanel with a top toolbar. In this toolbar i have added a button > but however i'm not able to associate it with the appropriate openlayers > control. For instance, how should i call the control ZoomToMaxExtent to a > Ext.Button??? > > Thanks in advance. > Regards, > > Hugo > > ------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users > -- Hugo Martins FMV-UTL CIISA-Epidemiologia e Saúde Pública Veterinária Av. da Universidade Técnica 1300-477 Lisboa N 38°42'49.54", W 9°11'43.42"
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
