Then maybe you can try to override the map projection with the layer
projection, as follows:
var map = new OpenLayers.Map({
projection : "EPSG:900913",
displayProjection : "EPSG:4326"
})
var wfs = new OpenLayers.Layer.WFs({
projection : "EPSG:4326"
})
this way the osm layer should be displayed correctly, and at the same
time ol will not try to translate your wfs from 900913 to 4326
stash wrote:
Hello,
thanks for your answer. My firebug tells me nothing, the getfeature code
doesn't even start.
I already have defined my map with projection and displayprojection. The
problem is, when i define as projection 900913 and for displayprojection
4326 I see no wfs layer and only the osm layer. I changed it into projection
4326 and displayprojection 4326 and then I get my wfs layer and my osm layer
(displayed in lat/lon) but the getfeature doesn't work.
Do you have any idea.
Thanks for your help.
Best Regards
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users