[Users] ZoomSlider.js with extra navigation buttons for east/west/north/south and +/-

Andreas Hocevar ahocevar at opengeo.org
Mon Sep 20 15:18:08 CEST 2010


Hi,

http://getsatisfaction.com/opengeo would be a more appropriate place to ask this.

But anyway - the way it is done in GeoExplorer is that you configure your OpenLayers.Map with a PanPanel and ZoomPanel. You make the "world" button of the ZoomPanel invisible using CSS, and position the "+" and "-" images of the ZoomPanel - also using CSS, using your icons as background image. So there is no code - just css. And the only thing to change in your map is that you use Control.PanPanel + Control.ZoomPanel instead of Control.PanZoom.

Regards,
Andreas.

On Sep 20, 2010, at 15:14 , Robert Buckley wrote:

> Hi,
> would anyone have any code examples on how to add the east/west/north/south and 
> plus/minus buttons to the zoom slider. 
> 
> I would like to implement the zoomslider from the geoexplorer app but can´t 
> figure out the code. 
> 
> 
> Yours,
> 
> Robert Buckley
> 
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list