I believe 3-state buttons have clicked, normal and hover styles. Steve, I used a combination of ExtJS's toolbar and OpenLayers' Controls. But I don't know if you can add this extra dependency for your application.
Anwyay, my code and some docs are in the MapFish trac if you want to have a look: https://trac.mapfish.org/trac/mapfish/ticket/35 Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl --------- Oorspronkelijk bericht -------- Van: Christopher Schmidt <[EMAIL PROTECTED]> Naar: Steve Lime <[EMAIL PROTECTED]> Cc: [email protected] Onderwerp: Re: [OpenLayers-Users] Toolbar alternatives Datum: 27/11/07 21:53 > On Tue, Nov 27, 2007 at 03:23:37PM -0600, Steve Lime wrote: > > Greetings: Has anyone developed alternatives to the basic toolbar controls that are part > > of OpenLayers? I'm interested in 2 or 3 state tools, > > 2 or 3 state? What does that mean? > > > being able to enable/disable tools, > > This is possible with Control.Panel, but possibly buggy/unimplemented as > of yet. > > > context sensitive help (e.g. "use this to ..."), > > http://trac.openlayers.org/ticket/822 > > > being able to easily swap icon sets. > > Control.Panel icons are all controlled by CSS, easily overridable at the > application level. > > > Stuff like that. > > > > Or can the Panel class be used to do all that? > > I think that the control panel is probably the best place to start for > all the things you want, rather than going off and doing something else, > though others may disagree. I think that Bart did a custom toolbar for > his mapfish based app -- he might have some more feedback. > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
