[mapserver-users] php mapscript: annotating points drawn dynamically

A. Giacomelli andreag at crs4.it
Wed May 16 06:54:03 EDT 2001


hi,

I am using the point->draw(map,layer,imageobj,class,text) to add points
with coordinates retrieved from a database.

everything works smoothly, apart from the fact that I can't get the
annotation (which according to the documentation should be picked up
from the 'text' parameter) to be displayed.

the layer in which the points are drawn is defined as:

name x
type point
status on
class
   name "myclass"
   color 0 255 0
   symbol 7
   label
      color 255 0 0
   end
end

any suggestions ?

thanks!

-- 
=========================================
Andrea Giacomelli
Centre for Advanced Studies, Research and
Development in Sardinia
Environment Group

http://www.crs4.it/~andreag
=========================================
                Mailing address:
                Sesta Strada Ovest,
                Z.I. Macchiareddu
                C.P. 94
                09010 Uta (CA) ITALY



More information about the mapserver-users mailing list