[OpenLayers-Users] WFS GEtFeature layer not showing on map

sunny74 sb.ray at hotmail.com
Mon Apr 19 15:57:10 EDT 2010


Hi Andreas,

Thanks for your reply.

The reason why I need a WFS layer is because only a WFS layer allows me to
do a GetFeature on it.
The example shows creating a WFS from a WMs layer which doesn't work in my
case.
So I am creating a WFS layer atop a WMS layer and doing getfeature on the
wfs layer.

the purpose of the select layer 

select = new OpenLayers.Layer.Vector("Selection", { styleMap:
                new
OpenLayers.Style(OpenLayers.Feature.Vector.style["select"])

was to have a layer over the region of selection or so I thought.
But I find that the layer doesn't get drawn when I drag the mouse over the
map.
Since box - true in the Getfeature control I get to see a box when I drag
the mouse.

But I want the area of selection to be shown by  a vector layer with a
stylemap. How can I show that?
The layer select also has a style called select.
Where is the style coming from?Is it predefined in OL? If so where?

I changed box:true to circle:true but it doesn't work.
How can I change box to circle and triangle?

Pls send me the definition of the spatial filters for showing the features
within,intersects and outside the selected area i.e box,circle etc

Thanks again.

-- 
View this message in context: http://n2.nabble.com/WFS-GEtFeature-layer-not-showing-on-map-tp4921150p4927576.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list