[OpenLayers-Users] OpenLayers 2.8 removeControl

vd vd at geosphere.fr
Wed Jul 22 08:49:43 EDT 2009


Hi list, 

 

I'm trying to desactivate a control defines in my object map; i saw that the
method removeControl from OpenLayers.Map is not working well. 

 

I need to fix the navigation of my map, in a particular case. So, I need to
remove the OpenLayers.Control.Navigate from the controls of my map. But the
method removeControl doesn't work; I'm trying to use the method deactivate()
or destroy() however I have the same result which is that my map already
move. 

 

Is someone can help me? 

 

Thanks, 

 

Regards, 

 

Viv

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090722/590c4c80/attachment.html


More information about the Users mailing list