[ka-Map-users] MIscalculation of coordinates for a tile in debug mode (applies to cvs and 0.1.1 versions)

Paul Spencer pspencer at dmsolutions.ca
Mon Jul 31 10:15:50 EDT 2006


Thanks OSK, a very thorough analysis of the problem!

I've committed a new tile.php with this line in it in place of the  
incorrect line.

Note that I haven't used the debugging stuff since I first wrote ka- 
Map and it is quite possible that it became out of sync with the code  
at some point.

Cheers

Paul

On 31-Jul-06, at 2:08 AM, OSK wrote:

> imagestring ( $oTile, 3, 10, 30, ($minx+ ($metaBuffer * $geoWidth) +
> ($i * $tileWidth *$geoWidth)) ." x ". (  $maxy - (  ($metaBuffer *
> $geoWidth) + ($j * $tileHeight * $geoHeight) )  ), $black );

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list