[Users] Associate control with a button

Hugo hfpmartins at gmail.com
Wed Oct 13 01:38:22 CEST 2010


Hello Matt,

Thanks a lot for your answer... that was it!
Regards,

Hugo

On Tue, Oct 12, 2010 at 2:43 AM, Matt Priour <mpriour at kestrelcomputer.com>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 <hfpmartins at gmail.com>
> *Sent:* Monday, October 11, 2010 7:20 PM
> *To:* users at geoext.org
> *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
> Users at geoext.org
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20101013/e2903520/attachment.htm 


More information about the Users mailing list