Senario, i have a lon-lat value and i want to draw a point on that value, i had tried the following code to draw point;<br><br>function createPoint() {<br>    //create your point with your values<br>    newpoint = new OpenLayers.DFeature.Vector(<br>
               new OpenLayers.Geometry.Point(<br>                (document.getElementById(&#39;longval&#39;).value, document.getElementById(&#39;latval&#39;).value)<br>        )<br>    );<br>    //add point to layer<br>    vector.addFeatures(features);<br>
}<br><br><br><br>the error is &quot;features&quot;, what is the error and how can i solve this problem.<br><br><br>