On Wednesday, July 22, 2009, vd <[email protected]> wrote: > > > > > > > > > > > > > > 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.
have you tried deactivate() then removeControl()? Cheers, > > > Is someone can help me? > > > > Thanks, > > > > Regards, > > > > Viv > > > > > > > -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
