[Mapserver-users] Quick Lesson
Ryan, Adam
ARyan at co.linn.or.us
Fri May 28 16:25:40 PDT 2004
Eric,
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.
Adam
-----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
Constructor:
Instances of scalebarObj are always are always embedded inside the mapObj.
Members:
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;
-----
Thanks,
Eric
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list