[mapguide-trac] #678: Vertical Extent of Rendering Excessive

MapGuide Open Source trac_mapguide at osgeo.org
Tue Aug 26 14:05:20 EDT 2008


#678: Vertical Extent of Rendering Excessive
--------------------------+-------------------------------------------------
 Reporter:  crispinatime  |         Owner:       
     Type:  defect        |        Status:  new  
 Priority:  medium        |     Milestone:       
Component:  General       |       Version:  2.0.1
 Severity:  minor         |    Resolution:       
 Keywords:                |   External_id:       
--------------------------+-------------------------------------------------
Comment (by crispinatime):

 OK,

 What actually is happening is that "mapDevH" in "ajaxmappane.templ" never
 decreases if a browser window is resized, it only gets bigger.  Start with
 a window of "Y" height, request a map, reduce the height and the map is
 still rendered to the original (or maximum) "Y" height with potentially
 huge performance issues if someone maximises a window then restores.

 You can see the effect by adding an alert to "ajaxmappane.templ" in the
 function below.  Shame I couldn't actually debug the JavaScript!

 <SNIP>
 function RequestMapImage(reqId)
 {
     alert( " RequestMapImage height "  + mapDevH);
 <SNIP>

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


More information about the mapguide-trac mailing list