Hi all,

I have added a vectorial layer in my map, starting from a wkt:

----

path = new OpenLayers.Layer.Vector("Percorso", {style: result_style});
map.addLayers([path]);
parser = new OpenLayers.Format.WKT();
var wkt = "<?php echo $path_wkt; ?>";

var path_feat = parser.read(wkt);

path.addFeatures([path_feat]);

----

This works. Now, the wkt comes from an external process in long/lat, and I
need to project it on the map using EPSG:XXXX. How can I accomplish this?
Thank you,

Damiano Morosi
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to