[prev in list] [next in list] [prev in thread] [next in thread]
List: mapguide-internals
Subject: RE: [mapguide-internals] PATCH: Fix for ticket #593
From: alucas <alucas () svl ! es>
Date: 2009-02-17 19:45:18
Message-ID: 1234899918940-2342858.post () n2 ! nabble ! com
[Download RAW message or body]
Thanks for the Info Tom.
Tom Fukushima wrote:
>
> Thanks. That problem has already been fixed. I have updated the ticket
> with the details.
>
> -----Original Message-----
> From: mapguide-internals-bounces@lists.osgeo.org
> [mailto:mapguide-internals-bounces@lists.osgeo.org] On Behalf Of alucas
> Sent: Tuesday, February 17, 2009 3:02 AM
> To: mapguide-internals@lists.osgeo.org
> Subject: [mapguide-internals] PATCH: Fix for ticket #593
>
>
>
> Hello,
>
> I think to have the solution for this bug. The problem was in the mapDevH
> calculation, when the viewer is initialized the function ResizeMapSpace is
> called and the mapDevH calculation is wrong. After this, in the function
> delayInit the calculation is corrected, but the mapSpace has been created
> before and the height is wrong. My solution is to force a ResizeMapSpace()
> when the mapDevH is correct in this method. In this way, it seems to work
> fine.
>
> This is the code modified in ajaxmappan.templ:
>
> function delayInit()
> {
> ...
> mapDevW = mapCell.offsetWidth;
> mapDevH = (safari ? document.body.offsetHeight: mapCell.offsetHeight);
> //height of inner elements not set on safari
>
> // FIX
> ResizeMapSpace();
> //
>
> RestoreState();
> ...
> }
>
> Regards.
>
> --
> View this message in context:
> http://n2.nabble.com/PATCH%3A-Fix-for-ticket--593-tp2339979p2339979.html
> Sent from the MapGuide Internals mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>
>
--
View this message in context: http://n2.nabble.com/PATCH%3A-Fix-for-ticket--593-tp2339979p2342858.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic