IE7 is reporting some problems when leaving a page with OL-2.6. I have 
been anle to fix these problems by placing try/catch around the 
offending code. Here is a list of what I changed:

Control/PanZoomBar.js: destroy function - place a try/catch around the 
two removeChild calls.
Map.js: removeLayer function - place a try/catch around the two 
removeChild calls.
Map.js: destroy function - place a try/catch around 
this.div.removeChild(this.viewPortDiv);
Events.js: stopObservingElement function - added after first statement: 
if (!element) return;

David

-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: [EMAIL PROTECTED]
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

 


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to