[OpenLayers-Dev] GetFeature control doesn't select from WFS with multiple feature types.

Attila BERÉNYI atis at airdesignstudio.hu
Sat Apr 10 14:21:17 EDT 2010


Dear Marc,

Thank you very much, finally I was able to solve the problem.
I was testing with the 'old' version of OpenLayers (2.8), after patching 
it worked like a charm, 2.9 RC1 already contains a patch.

Anyway thanks again!

Attila

2010.04.09. 20:18 keltezéssel, Marc Pfister írta:
> Attila BERÉNYI [mailto:atis at airdesignstudio.hu] wrote:
>
>    
>> I am facing the same problem, do you figured out any solution already?
>>      
> I found the solution to selecting multiple feature types from WFS GetFeature in this mailing list posting:
>
> http://www.mail-archive.com/dev@openlayers.org/msg03106.html
>
> I also added some logic that selects the lowest dimension geometry - generally if a user is clicking on a point within a polygon, they are intending to pick the point, not the polygon. A user who wants to select the polygon will generally not click on top of the point.
>
> Marc
>
>    



More information about the Dev mailing list