On Thu, Mar 04, 2010 at 02:13:02PM +0000, Sarah Schuessler wrote:
> Hi list,
> 
> I want to add a selectControl to my map (like the getfeature-wfs example).
> I use Openlayers.Control.GetFeature and OpenLayers.Protocol.WFS.fromWMSLayer. 
> At firebug I see that EPSG from my WMS layer is found ("EPSG:4326") but error 
> came up at WFS.js (line 56) saying layer.projection.getCode is not a 
> function. I declared srsName: "EPSG:4326" (tried it with: projection: 
> "EPSG:4326") at protocol but that didn´t change anything.
> Where are my mistake?

projection: new OpenLayers.Projection("EPSG:4326")

on the layer.

-- Chris

> Thanks for any hint!
> best regards
> Sarah
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails. 
> http://mail.yahoo.com 
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users


-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to