Andrew is correct that there is no way to do this via the API you either have to overwrite some CSS or make a new control that leaves out the pan elements. I have made such a control and uploaded it into my sandbox. You can find it here:
http://dev.openlayers.org/sandbox/mpriour/lib/OpenLayers/Control/ZoomBar.js if you include a reference to that javascript file after your reference to the OL library, you could use that control in your project. Matt Priour http://www.kestrelcomputer.com http://priour.wordpress.com mpettis wrote: > > [REPOSTING: No answer from first post] > Hi, > > I'd like to get the slider that this class creates without getting the > pan buttons. Can this be done easily? > > Thanks, > Matt > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/OpenLayers.Control.PanZoomBar-%3A-Can-I-get-the-Zoom-bar-%28slider%29-without-the-Pan-buttons--tp19534715p19539124.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
