|
@@ -125,6 +125,9 @@ function p5WFS_GetFeature(typeName, query) { // @returns Promise
|
|
|
if ('sortBy' in query) link += '&sortBy=' + query['sortBy']
|
|
if ('sortBy' in query) link += '&sortBy=' + query['sortBy']
|
|
|
if ('maxFeatures' in query) link += '&maxFeatures=' + query['maxFeatures']
|
|
if ('maxFeatures' in query) link += '&maxFeatures=' + query['maxFeatures']
|
|
|
if ('count' in query) link += '&count=' + query['count']
|
|
if ('count' in query) link += '&count=' + query['count']
|
|
|
|
|
+ if ('primaryKey' in query) link += '&primaryKey=' + query['primaryKey']
|
|
|
|
|
+ if ('resolve' in query) link += '&resolve=' + query['resolve']
|
|
|
|
|
+ if ('resolveDepth' in query) link += '&resolveDepth=' + query['resolveDepth']
|
|
|
var method = (postData) ? 'POST' : 'GET'
|
|
var method = (postData) ? 'POST' : 'GET'
|
|
|
|
|
|
|
|
return window.fetch(link, Object.assign({
|
|
return window.fetch(link, Object.assign({
|