I found the issue, the fix is a simple one like i assumed...

I changed the line:
var point2 = new OpenLayers.LonLat(-90.601111, 14.380833); 

to:
var point2 = new OpenLayers.Geometry.Point(-90.601111, 14.380833);

then i did the transform on that point as well
var transPoint2 = point2.transform(proj, map_OL.getProjectionObject());

and created the feature from transPoint2 
marker1 = new OpenLayers.Feature.Vector(transPoint2);



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Virtual-Earth-Layers-vector-layer-projection-issue-tp6450691p6450976.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to