[Users] Fwd: How to remove/hide Openlayers PanZoomBar
Kai Volland
kaivolland at web.de
Wed Jan 26 18:44:35 CET 2011
I added them this way:
controls: [
new OpenLayers.Control.ScaleLine(),
new OpenLayers.Control.Navigation(),
//new OpenLayers.Control.PanPanel(),
//new OpenLayers.Control.ZoomPanel(),
new OpenLayers.Control.Permalink('permalink')
],
Am 26.01.2011 18:31, schrieb Andrew Stewart:
> Are you adding your map to a mappanel? When you declare your map variable set the controls to be
>
> controls: []
>
>
>
> -----Original Message-----
> From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf Of Kai Volland
> Sent: January 26, 2011 10:27 AM
> To: users at geoext.org
> Subject: [Users] Fwd: How to remove/hide Openlayers PanZoomBar
>
> Hi,
>
> here is my very simple question:
>
> How to remove or hide the PanZoomBar from Openlayers. It seems to be
> added to the map automatically.
> Removing only the zoom-buttons of this bar would be even better for me.
>
> Kind regards
> Kai
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
> [This message has been scanned for security content threats and viruses.]
>
> [The City of Red Deer I.T. Services asks that you please consider the environment before printing this e-mail.]
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list