[OpenLayers-Users] OpenLayers.Protocol.WFS.fromWMSLayer

bartvde at osgis.nl bartvde at osgis.nl
Mon Jun 15 07:48:03 EDT 2009


Hi,

I would recommend upgrading to OL 2.8 RC5 since indeed 2.7 did not include
Protocol.WFS.

http://www.openlayers.org/download/

Best regards,
Bart

> Hi out there,
>
> I am a newbie with OpenLayers, so hope I get this question right!
>
> I already succeeded in creating an Panel with various zoom-Options by
> using the examples provided.
>
> Now I want to move on by creating a select-Tool using the "WFS GetFeature
> Example (GeoServer)"- example. But I've got a problem with this function:
> var control = new OpenLayers.Control.GetFeature({
> 			protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layer),
> 			box: true,
> 			hover: true,
> 			multipleKey: "shiftKey",
> 			toggleKey: "ctrlKey"
> 		});
>
> Firebug tells me that "OpenLayers.Protocol.WFS is undefined". I look up
> the documentation (OL 2.7) and there is no Object
> "OpenLayers.Protocol.WFS". But it is in the "Trunk Developer Library
> Natural Docs on dev.openlayers.org".
>
> Is there a workaround for OL 2.7 (preferred)?
> Or is it save to use these prerelease methods? If so, how can I get the OL
> 2.8 release?
>
> Thanks for answering.
>
> Barbara Fiederer
>
>
>
> ____________________________________________________________
> Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list