Skip to content

Allow extraParams to be added to the store requests - #727

Merged
geographika merged 2 commits into
compassinformatics:masterfrom
geographika:wfs-store-extra-params
Jul 17, 2026
Merged

geographika merged 2 commits into
compassinformatics:masterfrom
geographika:wfs-store-extra-params

Conversation

@geographika

Copy link
Copy Markdown
Collaborator

Allows additional parameters to always be sent with store requests (for example to support MapServer runtime-substitution variables:

    extraParams: {
        someParam: 'someValue'
    }

For example:

Ext.define('CpsiMapview.view.grids.MyLayerStore', {
    extend: 'CpsiMapview.store.WfsFeatures',
    url: '/mapserver/?',
    alias: 'store.MyLayer',
    storeId: 'MyLayer',
    model: 'CpsiMapview.view.grids.MyLayerModel',
    typeName: 'MyLayer',
    layerOptions: {
        displayInLayerSwitcher: false,
        name: 'MyLayer'
    },
    extraParams: {
        someParam: 'someValue'
    }
});

@geographika
geographika merged commit d3fa2bd into compassinformatics:master Jul 17, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant