[Maplab-dev] [Bug 872] [MapLab] GMapFactory projection problem with ms 4.4-beta2

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Sat Nov 27 18:18:12 EST 2004


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





------- Additional Comments From jmckenna at dmsolutions.ca  2004-11-27 18:18 -------
I've managed to narrow the problem to one line, in
~/yourgmapfactoryapp/wrapper/map_session.php if I comment out the following line
my application works with both php_mapscript 42 and 44:

line 845 $this->oMap->setprojection(implode( "\n", split( " ", $aszKeys["SRS"] ) ));

Can someone explain what this line is supposed to do?  here is some more of the
code:
  function restoreState(...)
  {
        ...
        // set the projection if not empty
        if ( isset($aszKeys["SRS"]) && $aszKeys["SRS"] != "" )
        {
           // srs can contain "="
           $this->oMap->setprojection(implode( "\n", split( " ", $aszKeys["SRS"]
) ));
        }
        ...
  } 



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


More information about the Maplab-dev mailing list