MapTools.org

[maplab-users] How to output scale from gmapfactory

woodbri@swoodbridge.com woodbri@swoodbridge.com
Mon, 16 Sep 2002 11:39:15 -0400
Hi,

I would like to print the scale on my map page generated by 
gmapfactory. I tried to add 

<td colspan=3 align=left>
<?php printf("SCALE  1:%d<BR>\n", intval($oSession->oMap->scale)); ?>
</td>

to app_contents.php just before the credits, but scale is zero, 
presumably because it is not set until drawmap() is called.

Any ideas?

-Steve


This archive was generated by Pipermail.