[OpenLayers-Dev] Map destructor - problem with controls

Christopher Schmidt crschmidt at metacarta.com
Sun Aug 3 08:04:01 EDT 2008

On Sun, Aug 03, 2008 at 04:58:07AM -0700, George.Muammar wrote:
> While enhancing an application I found I had to modify Map.js. When it came
> to destroying the controls something funny was happening.
> I had 14 controls on the page. When it destroys the first (ie
> this.controls[13]) , the next one disappears too. When it came to destroy
> the next it would give an error.

Which controls did you have loaded? Which one was this.controls[13]?

Christopher Schmidt

More information about the Dev mailing list