On Thursday, January 7, 2010, Henry Rotzoll <[email protected]> wrote:
>
> Thanks Kris!
>
> "btn.activate();" did the trick!

Your control is a button as opposed to a toggle, and it's not active
by default its DOM element gets "Inactive" class. When you activate it
gets the "Active" class, so it's rendering changes. I don't understand
why you need two classes and two ways to render the button.

Cheers,

-- 
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://openlayers.org/mailman/listinfo/users

Reply via email to