[Mapserver-users] Set scalebar properties

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Thu May 22 05:00:09 PDT 2003


--=====================_858041017==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi list,

I would like to change the size of my scalebar dynamically in 
MapScript/PHP, but couldn't find anything in the mailing list archives. 
Does someone has an idea? Something like
  $scalebar = $map -> scalebarobj();
  $scalebar = set("width", 200);
  ...

Thanks,

Stefan


         _______________________________________

         Stefan Schwarzer
         Consultant on GEO

         UNEP/DEWA/GRID-Geneva
         Chemin des Anemones 11
         CH - 1219 Chatelaine
         Switzerland

         Tel: (+41) 22.917.83.49
         Fax: (+41) 22.917.80.29

         Email: stefan.schwarzer at grid.unep.ch
         Internet: http://geodata.grid.unep.ch/
         _______________________________________ 
--=====================_858041017==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
Hi list,<br><br>
I would like to change the size of my scalebar dynamically in
MapScript/PHP, but couldn't find anything in the mailing list archives.
Does someone has an idea? Something like <br>
 $scalebar = $map -> scalebarobj();<br>
 $scalebar = set("width", 200);<br>
 ...<br><br>
Thanks,<br><br>
Stefan<br><br>
<x-sigsep><p></x-sigsep>
<font size=3><x-tab>        </x-tab>_______________________________________<br><br>
</font><font size=2><x-tab>        </x-tab><b>Stefan
Schwarzer<br>
</b><x-tab>        </x-tab>Consultant
on GEO<br><br>
<x-tab>        </x-tab>UNEP/DEWA/GRID-Geneva<br>
<x-tab>        </x-tab>Chemin des
Anemones 11<br>
<x-tab>        </x-tab>CH - 1219
Chatelaine<br>
<x-tab>        </x-tab>Switzerland<br><br>
<x-tab>        </x-tab>Tel: (+41)
22.917.83.49<br>
<x-tab>        </x-tab>Fax: (+41)
22.917.80.29<br><br>
<x-tab>        </x-tab>Email:
stefan.schwarzer at grid.unep.ch<br>
<x-tab>        </x-tab>Internet:
<a href="http://geodata.grid.unep.ch/" eudora="autourl">http://geodata.grid.unep.ch/</a><br>
</font><font size=3><x-tab>        </x-tab>_______________________________________</font></body>
</html>

--=====================_858041017==.ALT--




More information about the MapServer-users mailing list