MapTools.org

[maplab-users] scale problem

Gilles BERETA gbereta@agglo-clermont.fr
Wed, 03 Mar 2004 14:00:51 +0100
Hi,

I solve my problem about output map scale with this code in my 
*_contents.php :

<!-------------------->
<!-- BEGIN SCALE -->
<!-------------------->
<tr>
<td align="left"><b><font size="2" face="Arial, Helvetica, 
sans-serif">Échelle : 1 / <?php $oImage = $oMapSession->oMap->draw(); 
echo (int) ($nScale = $oMapSession->oMap->scale) ?></font></td>
</tr>
<!------------------>
<!-- END SCALE -->
<!------------------>

Bye.


This archive was generated by Pipermail.