[OpenLayers-Users] Invalid Argument error in IE when leaving a page

Linda Rawson linda.rawson at gmail.com
Tue Mar 11 10:34:17 EDT 2008


I had to put this in map.js to prevent this error.

            try {
                this.layerContainerDiv.removeChild(layer.div);
            } catch (e) { }
Linda

On Tue, Mar 11, 2008 at 8:26 AM, David R Robison <
drrobison at openroadsconsulting.com> wrote:

> I'm not sure. We are in the process of delivering a production version of
> a web site and I don't know if we can switch over the the trunk and what
> other issues that might create. David
>
>
> Bart van den Eijnden (OSGIS) wrote:
>
> I think quite some work has been done in trunk to prevent these types of
> errors.
>
> Are you able to check trunk?
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIShttp://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: David R Robison <drrobison at openroadsconsulting.com> <drrobison at openroadsconsulting.com>
> Naar: users at openlayers.org <users at openlayers.org> <users at openlayers.org>
> Onderwerp: [OpenLayers-Users] Invalid Argument error in IE when leaving a
> page
> Datum: 11/03/08 12:22
>
>
>
> When I navigate off a page (in IE7) that has a map, I get a popup
> showing an Invalid Argument error. I am using OpenLayers 2.5. This error
> does not occur with FireFox. Any ideas how to prevent this error? The
> error seems to be when it is trying to remove layers from the map.
>
> Thanks in advance, David
>
> --
>
> David R Robison
> Open Roads Consulting, Inc.
> 708 S. Battlefield Blvd., Chesapeake, VA 23322
> phone: (757) 546-3401
> e-mail: drrobison at openroadsconsulting.com
> web: http://openroadsconsulting.com
> blog: http://therobe.blogspot.com
> book: http://www.xulonpress.com/book_detail.php?id=2579
>
>
>
>
> _______________________________________________
> Users mailing listUsers at openlayers.orghttp://openlayers.org/mailman/listinfo/users
>
>
>
> --
>
> David R Robison
> Open Roads Consulting, Inc.
> 708 S. Battlefield Blvd., Chesapeake, VA 23322
> phone: (757) 546-3401
> e-mail: drrobison at openroadsconsulting.com
> web: http://openroadsconsulting.com
> blog: http://therobe.blogspot.com
> book: http://www.xulonpress.com/book_detail.php?id=2579
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>


-- 
Linda Rawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080311/61792d8c/attachment.html


More information about the Users mailing list