It's ok, I found a quick way, I just deactivate all controls (map.controls) et reactivate them when ready.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gilbert, Antoine Sent: 20 septembre 2010 09:28 To: [email protected] Subject: RE: [OpenLayers-Users] disabling map I meant disable all map action until a particular process finish Removing all controls sounds complicated because I'll have to re-add them all when the process is done -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 20 septembre 2010 09:20 To: Gilbert, Antoine Cc: [email protected] Subject: Re: [OpenLayers-Users] disabling map On Sep 20, 2010, at 9:13 AM, ext Gilbert, Antoine wrote: > Hi list > > Does there is a quick way to disable temporally any map actions? Whatever > what the current controls are? I don't know what you mean by 'temporally', but removing all controls from the map will disable any map actions. > I'm looking for that because I have a case in which I don't want any action > possible while doing a particular processing, but I still want to see the map. > > Antoine > <ATT00001..txt> _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
