[mapguide-trac] #612: Opera 9.50 doesn't load map using the Basic Viewer

MapGuide Open Source trac_mapguide at osgeo.org
Thu Jun 26 00:41:04 EDT 2008

#612: Opera 9.50 doesn't load map using the Basic Viewer
 Reporter:  zspitzer     |         Owner:       
     Type:  defect       |        Status:  new  
 Priority:  medium       |     Milestone:       
Component:  AJAX Viewer  |       Version:  2.0.1
 Severity:  critical     |    Resolution:       
 Keywords:               |   External_id:       
Comment (by zspitzer):

 I think the problem is somewhere in between the functions
 RequestMapImage(reqId) & OnMapOverlayImageLoaded(e) in line 1672 and 1686
 in ajaxmappane.templ

 The url is being set correctly in RequestMapImage but the onload event
 function OnMapOverlayImageLoaded is never being called coz opera is pickly
 and doesn't fire onload events for images like other browsers.

 adding the following to the end of the function RequestMapImage get things

 if (opera)

 browserdetect.js needs to be taught about Opera

 var opera = agent.indexOf("opera") != -1;

Ticket URL: <http://trac.osgeo.org/mapguide/ticket/612#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals

More information about the mapguide-trac mailing list