[Chameleon-dev] [Bug 1076] New: KeymapDHTML problem with reproject

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Jun 1 08:22:52 EDT 2005


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

           Summary: KeymapDHTML problem with reproject
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: ml.dje at geocontent.de


Pan and zoom within the KeyMapDHTML widget do not work correctly if the main map
has been reprojected. After such an operation, the reprojected coordinates are
incorrect. It seems, that there is a typo in the ParseURL() function of
KeyMapDHTML.widget.php (line 216). The original code (chameleon version 2.2beta2) is

   reprojectPoint( $nGeoMinx, $aGeoMiny, $this->mszSRS,
$this->moMapObject->oMap->getProjection() );

But I think the second argument should be $nGeoMiny instead of $aGeoMiny.

With this fix, it works fine for me.



------- 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 Chameleon-dev mailing list