Text-based scale (ie. 1: XXXX)
Berend Veldkamp
berend.veldkamp at aris.nl
Tue Mar 20 00:11:47 PST 2001
Just add 'Scale: 1:[scale]' to your HTML template; Mapserver replaces
[scale] by the current scale.
Or, if your'using PHP you can do 'Scale: 1:<?php print $map->scale;
?>'.
Berend
Nyon wrote:
>
> Hi,
>
> In order to set the MAXSCALE and MINSCALE, I need to know the current scale
>
> of the map in text form, like 1: 130033. I have seen some applications
> having it.
> Can anyone pass the template or map file (or snippets will do) doing this.
>
> Thanks
> Nyon
--
_________________________________________________
ARIS - Hooghiemstraplein 126 - NL 3514 AZ Utrecht
tel. +31 30 2769180 - fax. +31 30 2733578
URL: http://www.aris.nl/
_________________________________________________
More information about the MapServer-users
mailing list