<DIV>Hello to everybody</DIV>
<DIV>I have finally solved how to draw a point on my map.</DIV>
<DIV>But I have an other doubt: in the definition of the draw method of the pointObj you have a text parameter. I thought that that would be writen next to the point, but it doesn't. Is that normal?Is it just a reference to name the point in some way?</DIV>
<DIV>this is my program:</DIV>
<DIV> </DIV>
<DIV> mapObj map = new mapObj("mymap.map");<BR> imageObj img=map.draw();<BR> layerObj point_layer=new layerObj(map);<BR> point_layer=map.getLayerByName("Point");<BR> pointObj pt=new pointObj(3460000,5540000,0,0);<BR> pt.draw(map,point_layer,img,0,"point1");</DIV>
<DIV> </DIV>
<DIV>And part of my .map file:</DIV>
<DIV> </DIV>
<DIV> LAYER<BR> NAME "Point"<BR> TYPE POINT<BR> STATUS DEFAULT<BR> CLASS<BR> STYLE<BR> COLOR 255 0 0<BR> END<BR> END<BR> END</DIV>
<DIV> </DIV>
<DIV>If I want to draw a text next to the point, what do I have to use, a labelObj?</DIV>
<DIV> </DIV>
<DIV>Thank you</DIV>
<DIV> </DIV>
<DIV>Jose Luis</DIV><p>
<hr size=1><br><table><tr><td><a href="http://es.rd.yahoo.com/mail_es/tagline/mail/image/*http://es.mail.yahoo.com"><img src="http://eur.i1.yimg.com/eur.yimg.com/i/es/mail/emb25.gif" height=80 width=230 alt="Nuevo Correo Yahoo!" border=0 align="left"></a></td></tr></table>