Skip to content

Commit 96d1d57

Browse files
committed
Use camelCase WFS params in 'createWfsLayer' fn
1 parent 369d974 commit 96d1d57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/factory/Layer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,14 @@ export const LayerFactory = {
232232
version: lConf.version,
233233
request: 'GetFeature',
234234
outputFormat,
235-
srsname: lConf.projection
235+
srsName: lConf.projection
236236
};
237237

238238
// add WFS version dependent feature limitation
239239
if (Number.isInteger(parseInt(lConf.maxFeatures))) {
240240
if (lConf.version.startsWith('1.')) {
241241
params.maxFeatures = lConf.maxFeatures;
242-
params.typename = lConf.typeName;
242+
params.typeName = lConf.typeName;
243243
} else {
244244
params.count = lConf.maxFeatures;
245245
params.typeNames = lConf.typeName;

0 commit comments

Comments
 (0)