<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=813051814-09072002><FONT face=Arial size=2><SPAN
class=828413216-05092008>could somebody Pleaase have a look at the following and
tell me why its not drawing a line?</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=813051814-09072002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=813051814-09072002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=813051814-09072002><FONT face=Arial size=2> var
style_green =
{<BR>
strokeColor:
"#00FF00",<BR>
strokeOpacity:
1,<BR>
strokeWidth:
3,<BR>
pointRadius:
6,<BR>
pointerEvents:
"visiblePainted"<BR>
};<BR>
<BR> var
vectorLayer = new
OpenLayers.Layer.Vector("Line");<BR>
<BR> // create
a line feature from a list of
points<BR> var
pointList =
[];<BR> var
newPoint;<BR>
newPoint = new
OpenLayers.Geometry.Point(-26.123456,26.123456);<BR>
pointList.push(newPoint);<BR>
newPoint = new
OpenLayers.Geometry.Point(-27.123456,26.123456);<BR>
pointList.push(newPoint);</FONT></SPAN></DIV>
<DIV> </DIV><SPAN class=813051814-09072002>
<DIV><BR><FONT face=Arial
size=2>
var lineFeature = new
OpenLayers.Feature.Vector(<BR>
new
OpenLayers.Geometry.LineString(pointList),null,style_green);<BR>
<BR>
vectorLayer.addFeatures([lineFeature]);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=828413216-05092008>
</SPAN> map.addLayer(vectorLayer);</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=828413216-05092008><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=828413216-05092008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=828413216-05092008><FONT face=Arial
size=2>K-</FONT></SPAN></DIV>
<DIV> </DIV></SPAN>
<DIV> </DIV><br><hr>I am using the free version of SPAMfighter for home users.<br />SPAMfighter has removed 39356 spam emails to date.<br />Paying users do not have this message in their emails.<br />Try <a href="http://www.spamfighter.com/len">SPAMfighter</a> for free now!<br />
</BODY></HTML>