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;
function createPoint() {
//create your point with your values
newpoint = new OpenLayers.DFeature.Vector(
new OpenLayers.Geometry.Point(
(document.getElementById('longval').value,
document.getElementById('latval').value)
)
);
//add point to layer
vector.addFeatures(features);
}
the error is "features", what is the error and how can i solve this problem.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users