[OpenLayers-Users] consulta openlayers

Phil Scadden p.scadden at gns.cri.nz
Sun Aug 4 14:34:56 PDT 2013


 >         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.



More information about the Users mailing list