<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi everyone, I need desperate help. In my job I was asked to draw several points based on latitude and longitude, I already draw the map but I can't paint or draw even one point. This is my code:<BR>
&nbsp;<BR><FONT size=2>
<P align=left>String Path =context.getRealPath(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"\\imgs\\mapas"</FONT></FONT><FONT size=2>);</P>
<P align=left>System.</FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>out</I></FONT></FONT><FONT size=2>.println(Path);</P>
<P align=left>mapObj map = </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>new</B></FONT></FONT><FONT size=2> mapObj(Path+</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"\\example_modes.map"</FONT></FONT><FONT size=2>);</P>
<P align=left>layerObj daLayer = </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>new</B></FONT></FONT><FONT size=2> layerObj(map);</P>
<P align=left>daLayer.setType(MS_LAYER_TYPE.</FONT><I><FONT color=#0000c0 size=2><FONT color=#0000c0 size=2>MS_LAYER_POINT</I></FONT></FONT><FONT size=2>);</P>
<P align=left>daLayer.setStatus(0);</P>
<P align=left></P>
<P align=left>pointObj daPoint = </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>new</B></FONT></FONT><FONT size=2> pointObj(0,0,0,-2e38);</P>
<P align=left>daPoint.setX(19.42705);</P>
<P align=left>daPoint.setY(-99.12757);</P>
<P align=left>lineObj daLine = </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>new</B></FONT></FONT><FONT size=2> lineObj();</P>
<P align=left>daLine.add(daPoint);</P>
<P align=left>shapeObj daShape = </FONT><B><FONT color=#7f0055 size=2><FONT color=#7f0055 size=2>new</B></FONT></FONT><FONT size=2> shapeObj(0);</P>
<P align=left>daShape.setText(</FONT><FONT color=#2a00ff size=2><FONT color=#2a00ff size=2>"new point"</FONT></FONT><FONT size=2>);</P>
daLayer.addFeature(daShape);<BR>
&nbsp;<BR><FONT size=2>
<P align=left>map.insertLayer(daLayer,1 );</P>
imageObj img = map.draw();<BR>
&nbsp;<BR>
I would appreciate any help... Regards<BR></FONT></FONT>                                               <br /><hr />Soy como quiero ser <a href='www.vivirmessenger.com' target='_new'>en mi Messenger</a></body>
</html>