[Mapserver-users] Quick Lesson

Ryan, Adam ARyan at co.linn.or.us
Fri May 28 19:25:40 EDT 2004


It takes a little getting used to...look to the parent object.  Rarely do I
construct anything but a map object.

With a map object, try the drawScaleBar() method or the
embedScalebar(imageObj image) method.  


-----Original Message-----
From: Eric Katherman [mailto:vaiod at berloy.com] 
Sent: Friday, May 28, 2004 4:02 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Quick Lesson

Okay.. I have been using PHP for a while now but the documentation that is 
provided for the PHP classes and MS are confusing me.  Could someone explain

what I am looking at and how I can use this information in a practical 
application with PHP?  I am trying to get the scalebar to show up using PHP 
but am having no success.  

Perhaps a good PHP Classes reference so that I can better grasp this whole 
constructor concept.

Snippit from MS/PHP Reference
ScalebarObj Class


  Instances of scalebarObj are always are always embedded inside the mapObj.

   int height;
   int width;
   int style;      
   int intervals;
   colorObj color;
   colorObj backgroundcolor;            
   colorObj outlinecolor;
   int units;
   int status; //MS_ON, MS_OFF, MS_EMBED
   int position; //for embeded scalebars, MS_UL, MS_UC, ...
   int transparent;
   int interlace;
   int postlabelcache;
   labelObj label;
   colorObj imagecolor;

Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu

More information about the mapserver-users mailing list