[OpenLayers-Users] OpenLayers.Control.PanZoomBar : Can I get
the Zoom bar (slider) without the Pan buttons?
mpriour
mpriour at kestrelcomputer.com
Wed Sep 17 15:13:10 EDT 2008
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
> Users at openlayers.org
> 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.
More information about the Users
mailing list