> var feature = new OpenLayers.Feature.Vector(new OpenLayers.Geometry.Point(lat+","+lon).transform(new >OpenLayers.Projection("EPSG:4326"), map.getProjectionObject()),{});

try
var feature = new OpenLayers.Feature.Vector(new OpenLayers.Geometry.Point(lat,lon).transform(new OpenLayers.Projection("EPSG:4326"), map.getProjectionObject()),{});

If no go, then break the statement up and step through in firebug. It will give insight into what OL is doing.



Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to