Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

featureNS is a misleading name #2

Open
bartvde opened this issue Nov 22, 2013 · 0 comments
Open

featureNS is a misleading name #2

bartvde opened this issue Nov 22, 2013 · 0 comments

Comments

@bartvde
Copy link

bartvde commented Nov 22, 2013

featureNS is used, but the expected value is the featurePrefix

i.e. normally I would configure:

    layers.drawnItems = L.wfst(null,{
        // Required
        url : '/geoserver/opengeo/wfs',
        featureNS : 'http://opengeo.org',
        featureType : 'countries',
        primaryKeyField: 'id'
    }).addTo(map);

but this is what works (featurePrefix instead of featureNS):

    layers.drawnItems = L.wfst(null,{
        // Required
        url : '/geoserver/opengeo/wfs',
        featureNS : 'opengeo',
        featureType : 'countries',
        primaryKeyField: 'id'
    }).addTo(map);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant