[mapguide-trac] #963: Ajax viewer pan/zoom executes two spatial queries on Chrome

MapGuide Open Source trac_mapguide at osgeo.org
Tue Mar 16 15:04:28 EDT 2010


#963: Ajax viewer pan/zoom executes two spatial queries on Chrome
--------------------------+-------------------------------------------------
 Reporter:  brucedechant  |         Owner:         
     Type:  defect        |        Status:  new    
 Priority:  medium        |     Milestone:         
Component:  AJAX Viewer   |       Version:  2.0.2  
 Severity:  minor         |    Resolution:         
 Keywords:                |   External_id:  1300521
--------------------------+-------------------------------------------------
Comment (by chrisclaydon):

 I've attached a patch that does 2 things:

 1) It handles the "behind-the-scenes" loading of images the same way for
 Chrome that it does for Safari, preventing a stale image from flashing up
 while the new image loads when mouse-wheel zooming.

 2) For Chrome and Safari, we now skip the pre-loading of map and selection
 images into a hidden image. We already have special handling of image
 loads for Safari, making use of one hidden and one visible image. The
 images are swapped each time a new image finishes loading. There is no
 need for an additional hidden image in this setup. This change fixes the
 problem of issuing two requests for each new map image.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/963#comment:5>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list