one question. what do you expect to happen when you click a feature? can you post code please

stash wrote:
Hello,

here is the code of my wfs.

        wfs_layer = new OpenLayers.Layer.Vector("WFS",
{
    strategies: [new OpenLayers.Strategy.Fixed()],
    projection: 'EPSG:4326',
    protocol: new OpenLayers.Protocol.WFS
                ({
            url: "http://...:8080/geoserver/wfs";,
                    featureType: "my_shape",
                    featurePrefix: 'topp',
                    featureNS: "http://www.openplans.org/topp";,
                    maxFeatures: 100
                })
});

the rest of the code is nothing special.

I used this config options:

var config = {
           projection : new OpenLayers.Projection("EPSG:4326"),
           displayProjection: new OpenLayers.Projection("EPSG:4326"),
           units : "m",
           numZoomLevels : 18,
           maxResolution : "auto"
       };

Thanks for your help.

Best Regards


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to