[ka-Map-dev] [Bug 1591] New: center map after resize

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Sep 12 09:02:31 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1591

           Summary: center map after resize
           Product: ka-Map
           Version: 0.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: ka-map-dev at lists.maptools.org
        ReportedBy: lazykuala at yahoo.de


Look at KaMap.resize()

I think I'm missing there these two statements:

this.theInsideLayer.style.top  = (safeParseInt(this.theInsideLayer.style.top) +
(newViewportHeight - viewportHeight)/2)+"px";

this.theInsideLayer.style.left = (safeParseInt(this.theInsideLayer.style.top) +
(newViewportWidth - viewportWidth)/2)+"px";

Philipp

ps
Why not also setting nCurrentLeft and nCurrentTop?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the ka-Map-dev mailing list