Hi,

 

I believe thats the default if you supply no controls yourself.

You might want to try to supply an empty object or array as controls to the map 
to see if the default is not used.

 

Cheers Kris

 

From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On 
Behalf Of Rahn Hanno (rahn)
Sent: Thursday, May 28, 2009 2:33 PM
To: users@openlayers.org
Subject: [OpenLayers-Users] remove PanZoomBar

 

Hello List,

 

Perhaps somebody can give me a tip. I have a problem with the ZoomBar and the 
PanBar in OpenLayers. If I add a map in my div object there are always the 
ZoomBar and the pan Buttons in the left upper side of the map as default. I 
will have this buttons outside the map. I try to delete this controls in this 
way:

 

map.removeControl(...);

 

But it doesn't work. I don't know the name of the control. Perhaps somebody can 
help me to realise this problem. I will have this functionality outside the map.

A lot of thanks for your help.

 

Greetings

Hanno

 

------------------------------------------

Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik

ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche 
Ressourcen 

Fachstelle Geoinformatik 

Grüental, Postfach CH-8820 Wädenswil 

Tel +41 (0)58 934 5592

Fax +41 (0)58 934 5580 

hanno.r...@zhaw.ch 

 

 

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to