[Mapserver-users] scale
Martin Weinelt
mweinelt at planiglobe.com
Thu May 6 00:21:23 PDT 2004
On Thursday 06 May 2004 04:04, Stephen Woodbridge wrote:
> You can write a small javascript to reformat it. I think this has been
> discussed in the past and is probably in the archives.
>
> <script>
> scale = int([scale]);
> document.write scale
> </script>
>
> or something like that.
>
> -Steve W.
[...]
scale = parseInt([scale]);
[...]
It's called 'parseInt' in JS ..., another obstacle to correctly shoot yourself
in the foot ...
Martin
> Kaps Stefan wrote:
> > Dear MapServer colleagues!
> > Just a short question: how can I change the format of my scale? now the
> > format is 1:ssssss.ssss but I don't want the decimal number... (just
> > 1:ssssss)
> >
> > cheers,
> > Stefan
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
--- Martin Weinelt
--- kk+w - digital cartography
--- Kiel, Germany
--- Tel: +49.431.5791165
--- http://www.planiglobe.com
More information about the MapServer-users
mailing list