[OpenLayers-Users] How do I Set Up Both ZoomIn and ZoomOut tools?

Bill Thoen bthoen at gisnet.com
Thu Aug 14 17:11:39 EDT 2008


I figured out that by setting the property 'out' on the ZoomBox control 
to 'true' the tool then becomes a ZoomOut tool. So I made two copies of 
the tool and set one of them to out=true. But then how do I style them 
differently? Since they're both ZoomBox controls they get assigned the 
same CSS style. How do people differentiate them?



More information about the Users mailing list