@loaders.gl/wms 4.2.0-alpha.6 → 4.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/csw-capabilities-loader.d.ts +18 -2
- package/dist/csw-capabilities-loader.d.ts.map +1 -1
- package/dist/csw-capabilities-loader.js +3 -1
- package/dist/csw-domain-loader.d.ts +18 -2
- package/dist/csw-domain-loader.d.ts.map +1 -1
- package/dist/csw-domain-loader.js +3 -1
- package/dist/csw-records-loader.d.ts +18 -2
- package/dist/csw-records-loader.d.ts.map +1 -1
- package/dist/csw-records-loader.js +3 -1
- package/dist/gml-loader.d.ts +20 -2
- package/dist/gml-loader.d.ts.map +1 -1
- package/dist/gml-loader.js +3 -1
- package/dist/index.cjs +35 -7
- package/dist/index.cjs.map +2 -2
- package/dist/services/ogc/csw-service.d.ts +36 -1
- package/dist/services/ogc/csw-service.d.ts.map +1 -1
- package/dist/services/ogc/wms-service.d.ts.map +1 -1
- package/dist/services/ogc/wms-service.js +17 -0
- package/dist/wip/wcs-capabilities-loader.d.ts +14 -12
- package/dist/wip/wcs-capabilities-loader.d.ts.map +1 -1
- package/dist/wip/wcs-capabilities-loader.js +3 -1
- package/dist/wip/wfs-capabilities-loader.d.ts +18 -1
- package/dist/wip/wfs-capabilities-loader.d.ts.map +1 -1
- package/dist/wip/wfs-capabilities-loader.js +3 -1
- package/dist/wip/wms-feature-info-loader.d.ts +17 -3
- package/dist/wip/wms-feature-info-loader.d.ts.map +1 -1
- package/dist/wip/wms-feature-info-loader.js +4 -3
- package/dist/wip/wms-layer-description-loader.d.ts +15 -29
- package/dist/wip/wms-layer-description-loader.d.ts.map +1 -1
- package/dist/wip/wms-layer-description-loader.js +1 -1
- package/dist/wip/wmts-capabilities-loader.d.ts +15 -12
- package/dist/wip/wmts-capabilities-loader.d.ts.map +1 -1
- package/dist/wip/wmts-capabilities-loader.js +3 -1
- package/dist/wms-capabilities-loader.d.ts +18 -2
- package/dist/wms-capabilities-loader.d.ts.map +1 -1
- package/dist/wms-capabilities-loader.js +3 -1
- package/dist/wms-error-loader.d.ts +23 -2
- package/dist/wms-error-loader.d.ts.map +1 -1
- package/dist/wms-error-loader.js +3 -1
- package/package.json +6 -6
- package/src/csw-capabilities-loader.ts +5 -2
- package/src/csw-domain-loader.ts +5 -2
- package/src/csw-records-loader.ts +5 -2
- package/src/gml-loader.ts +5 -2
- package/src/services/ogc/wms-service.ts +21 -0
- package/src/wip/wcs-capabilities-loader.ts +4 -1
- package/src/wip/wfs-capabilities-loader.ts +5 -2
- package/src/wip/wms-feature-info-loader.ts +6 -6
- package/src/wip/wms-layer-description-loader.ts +2 -3
- package/src/wip/wmts-capabilities-loader.ts +5 -2
- package/src/wms-capabilities-loader.ts +5 -6
- package/src/wms-error-loader.ts +5 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { LoaderWithParser } from '@loaders.gl/loader-utils';
|
|
2
1
|
import type { XMLLoaderOptions } from '@loaders.gl/xml';
|
|
3
2
|
import type { CSWCapabilities } from "./lib/parsers/csw/parse-csw-capabilities.js";
|
|
4
3
|
export type { CSWCapabilities };
|
|
@@ -9,5 +8,22 @@ export type CSWLoaderOptions = XMLLoaderOptions & {
|
|
|
9
8
|
/**
|
|
10
9
|
* Loader for the response to the CSW GetCapability request
|
|
11
10
|
*/
|
|
12
|
-
export declare const CSWCapabilitiesLoader:
|
|
11
|
+
export declare const CSWCapabilitiesLoader: {
|
|
12
|
+
readonly dataType: CSWCapabilities;
|
|
13
|
+
readonly batchType: never;
|
|
14
|
+
readonly id: "csw-capabilities";
|
|
15
|
+
readonly name: "CSW Capabilities";
|
|
16
|
+
readonly module: "wms";
|
|
17
|
+
readonly version: any;
|
|
18
|
+
readonly worker: false;
|
|
19
|
+
readonly extensions: ["xml"];
|
|
20
|
+
readonly mimeTypes: ["application/vnd.ogc.csw_xml", "application/xml", "text/xml"];
|
|
21
|
+
readonly testText: typeof testXMLFile;
|
|
22
|
+
readonly options: {
|
|
23
|
+
readonly csw: {};
|
|
24
|
+
};
|
|
25
|
+
readonly parse: (arrayBuffer: ArrayBuffer, options?: CSWLoaderOptions) => Promise<CSWCapabilities>;
|
|
26
|
+
readonly parseTextSync: (text: string, options?: CSWLoaderOptions) => CSWCapabilities;
|
|
27
|
+
};
|
|
28
|
+
declare function testXMLFile(text: string): boolean;
|
|
13
29
|
//# sourceMappingURL=csw-capabilities-loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csw-capabilities-loader.d.ts","sourceRoot":"","sources":["../src/csw-capabilities-loader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"csw-capabilities-loader.d.ts","sourceRoot":"","sources":["../src/csw-capabilities-loader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,EAAC,oDAAiD;AAQ9E,YAAY,EAAC,eAAe,EAAC,CAAC;AAE9B,yBAAyB;AACzB,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,GAAG,CAAC,EAAE,EAAE,CAAC;CACV,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;kCAeL,WAAW,YAAY,gBAAgB;mCAE5C,MAAM,YAAY,gBAAgB;CACqB,CAAC;AAEhF,iBAAS,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAG1C"}
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import { parseCSWCapabilities } from "./lib/parsers/csw/parse-csw-capabilities.js";
|
|
5
5
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
6
6
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
7
|
-
const VERSION = typeof "4.2.0-
|
|
7
|
+
const VERSION = typeof "4.2.0-beta.1" !== 'undefined' ? "4.2.0-beta.1" : 'latest';
|
|
8
8
|
/**
|
|
9
9
|
* Loader for the response to the CSW GetCapability request
|
|
10
10
|
*/
|
|
11
11
|
export const CSWCapabilitiesLoader = {
|
|
12
|
+
dataType: null,
|
|
13
|
+
batchType: null,
|
|
12
14
|
id: 'csw-capabilities',
|
|
13
15
|
name: 'CSW Capabilities',
|
|
14
16
|
module: 'wms',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { LoaderWithParser } from '@loaders.gl/loader-utils';
|
|
2
1
|
import type { XMLLoaderOptions } from '@loaders.gl/xml';
|
|
3
2
|
import type { CSWDomain } from "./lib/parsers/csw/parse-csw-domain.js";
|
|
4
3
|
export type { CSWDomain };
|
|
@@ -8,5 +7,22 @@ export type CSWLoaderOptions = XMLLoaderOptions & {
|
|
|
8
7
|
/**
|
|
9
8
|
* Loader for the response to the CSW GetCapability request
|
|
10
9
|
*/
|
|
11
|
-
export declare const CSWDomainLoader:
|
|
10
|
+
export declare const CSWDomainLoader: {
|
|
11
|
+
readonly dataType: CSWDomain;
|
|
12
|
+
readonly batchType: never;
|
|
13
|
+
readonly id: "csw-domain";
|
|
14
|
+
readonly name: "CSW Domain";
|
|
15
|
+
readonly module: "wms";
|
|
16
|
+
readonly version: any;
|
|
17
|
+
readonly worker: false;
|
|
18
|
+
readonly extensions: ["xml"];
|
|
19
|
+
readonly mimeTypes: ["application/vnd.ogc.csw_xml", "application/xml", "text/xml"];
|
|
20
|
+
readonly testText: typeof testXMLFile;
|
|
21
|
+
readonly options: {
|
|
22
|
+
readonly csw: {};
|
|
23
|
+
};
|
|
24
|
+
readonly parse: (arrayBuffer: ArrayBuffer, options?: CSWLoaderOptions) => Promise<CSWDomain>;
|
|
25
|
+
readonly parseTextSync: (text: string, options?: CSWLoaderOptions) => CSWDomain;
|
|
26
|
+
};
|
|
27
|
+
declare function testXMLFile(text: string): boolean;
|
|
12
28
|
//# sourceMappingURL=csw-domain-loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csw-domain-loader.d.ts","sourceRoot":"","sources":["../src/csw-domain-loader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"csw-domain-loader.d.ts","sourceRoot":"","sources":["../src/csw-domain-loader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAC,SAAS,EAAC,8CAA2C;AAOlE,YAAY,EAAC,SAAS,EAAC,CAAC;AAExB,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,GAAG,CAAC,EAAE,EAAE,CAAC;CACV,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;kCAgBC,WAAW,YAAY,gBAAgB;mCAE5C,MAAM,YAAY,gBAAgB;CACe,CAAC;AAE1E,iBAAS,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAG1C"}
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import { parseCSWDomain } from "./lib/parsers/csw/parse-csw-domain.js";
|
|
5
5
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
6
6
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
7
|
-
const VERSION = typeof "4.2.0-
|
|
7
|
+
const VERSION = typeof "4.2.0-beta.1" !== 'undefined' ? "4.2.0-beta.1" : 'latest';
|
|
8
8
|
/**
|
|
9
9
|
* Loader for the response to the CSW GetCapability request
|
|
10
10
|
*/
|
|
11
11
|
export const CSWDomainLoader = {
|
|
12
|
+
dataType: null,
|
|
13
|
+
batchType: null,
|
|
12
14
|
id: 'csw-domain',
|
|
13
15
|
name: 'CSW Domain',
|
|
14
16
|
module: 'wms',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { LoaderWithParser } from '@loaders.gl/loader-utils';
|
|
2
1
|
import type { XMLLoaderOptions } from '@loaders.gl/xml';
|
|
3
2
|
import type { CSWRecords } from "./lib/parsers/csw/parse-csw-records.js";
|
|
4
3
|
export { CSWRecords };
|
|
@@ -8,5 +7,22 @@ export type CSWLoaderOptions = XMLLoaderOptions & {
|
|
|
8
7
|
/**
|
|
9
8
|
* Loader for the response to the CSW GetCapability request
|
|
10
9
|
*/
|
|
11
|
-
export declare const CSWRecordsLoader:
|
|
10
|
+
export declare const CSWRecordsLoader: {
|
|
11
|
+
readonly dataType: CSWRecords;
|
|
12
|
+
readonly batchType: never;
|
|
13
|
+
readonly id: "csw-records";
|
|
14
|
+
readonly name: "CSW Records";
|
|
15
|
+
readonly module: "wms";
|
|
16
|
+
readonly version: any;
|
|
17
|
+
readonly worker: false;
|
|
18
|
+
readonly extensions: ["xml"];
|
|
19
|
+
readonly mimeTypes: ["application/vnd.ogc.csw_xml", "application/xml", "text/xml"];
|
|
20
|
+
readonly testText: typeof testXMLFile;
|
|
21
|
+
readonly options: {
|
|
22
|
+
readonly csw: {};
|
|
23
|
+
};
|
|
24
|
+
readonly parse: (arrayBuffer: ArrayBuffer, options?: CSWLoaderOptions) => Promise<CSWRecords>;
|
|
25
|
+
readonly parseTextSync: (text: string, options?: CSWLoaderOptions) => CSWRecords;
|
|
26
|
+
};
|
|
27
|
+
declare function testXMLFile(text: string): boolean;
|
|
12
28
|
//# sourceMappingURL=csw-records-loader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csw-records-loader.d.ts","sourceRoot":"","sources":["../src/csw-records-loader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"csw-records-loader.d.ts","sourceRoot":"","sources":["../src/csw-records-loader.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAC,UAAU,EAAC,+CAA4C;AAOpE,OAAO,EAAC,UAAU,EAAC,CAAC;AAEpB,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,GAAG;IAChD,GAAG,CAAC,EAAE,EAAE,CAAC;CACV,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;kCAeA,WAAW,YAAY,gBAAgB;mCAE5C,MAAM,YAAY,gBAAgB;CACgB,CAAC;AAE3E,iBAAS,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAG1C"}
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import { parseCSWRecords } from "./lib/parsers/csw/parse-csw-records.js";
|
|
5
5
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
6
6
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
7
|
-
const VERSION = typeof "4.2.0-
|
|
7
|
+
const VERSION = typeof "4.2.0-beta.1" !== 'undefined' ? "4.2.0-beta.1" : 'latest';
|
|
8
8
|
/**
|
|
9
9
|
* Loader for the response to the CSW GetCapability request
|
|
10
10
|
*/
|
|
11
11
|
export const CSWRecordsLoader = {
|
|
12
|
+
dataType: null,
|
|
13
|
+
batchType: null,
|
|
12
14
|
id: 'csw-records',
|
|
13
15
|
name: 'CSW Records',
|
|
14
16
|
module: 'wms',
|
package/dist/gml-loader.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { LoaderOptions } from '@loaders.gl/loader-utils';
|
|
2
2
|
import type { Geometry } from "./lib/parsers/gml/parse-gml.js";
|
|
3
3
|
export type GMLLoaderOptions = LoaderOptions & {
|
|
4
4
|
gml?: {};
|
|
@@ -6,5 +6,23 @@ export type GMLLoaderOptions = LoaderOptions & {
|
|
|
6
6
|
/**
|
|
7
7
|
* Loader for the response to the GML GetCapability request
|
|
8
8
|
*/
|
|
9
|
-
export declare const GMLLoader:
|
|
9
|
+
export declare const GMLLoader: {
|
|
10
|
+
readonly dataType: Geometry | null;
|
|
11
|
+
readonly batchType: never;
|
|
12
|
+
readonly name: "GML";
|
|
13
|
+
readonly id: "gml";
|
|
14
|
+
readonly module: "wms";
|
|
15
|
+
readonly version: any;
|
|
16
|
+
readonly worker: false;
|
|
17
|
+
readonly extensions: ["xml"];
|
|
18
|
+
readonly mimeTypes: ["application/vnd.ogc.gml", "application/xml", "text/xml"];
|
|
19
|
+
readonly testText: typeof testXMLFile;
|
|
20
|
+
readonly options: {
|
|
21
|
+
readonly gml: {};
|
|
22
|
+
};
|
|
23
|
+
readonly parse: (arrayBuffer: ArrayBuffer, options?: GMLLoaderOptions) => Promise<Geometry | null>;
|
|
24
|
+
readonly parseTextSync: (text: string, options?: GMLLoaderOptions) => Geometry | null;
|
|
25
|
+
};
|
|
26
|
+
declare function testXMLFile(text: string): boolean;
|
|
27
|
+
export {};
|
|
10
28
|
//# sourceMappingURL=gml-loader.d.ts.map
|
package/dist/gml-loader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gml-loader.d.ts","sourceRoot":"","sources":["../src/gml-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"gml-loader.d.ts","sourceRoot":"","sources":["../src/gml-loader.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAmB,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAC9E,OAAO,KAAK,EAAC,QAAQ,EAAC,uCAAoC;AAO1D,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAC7C,GAAG,CAAC,EAAE,EAAE,CAAC;CACV,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;kCAgBO,WAAW,YAAY,gBAAgB;mCAE5C,MAAM,YAAY,gBAAgB;CACqB,CAAC;AAEhF,iBAAS,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAG1C"}
|
package/dist/gml-loader.js
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import { parseGML } from "./lib/parsers/gml/parse-gml.js";
|
|
5
5
|
// __VERSION__ is injected by babel-plugin-version-inline
|
|
6
6
|
// @ts-ignore TS2304: Cannot find name '__VERSION__'.
|
|
7
|
-
const VERSION = typeof "4.2.0-
|
|
7
|
+
const VERSION = typeof "4.2.0-beta.1" !== 'undefined' ? "4.2.0-beta.1" : 'latest';
|
|
8
8
|
/**
|
|
9
9
|
* Loader for the response to the GML GetCapability request
|
|
10
10
|
*/
|
|
11
11
|
export const GMLLoader = {
|
|
12
|
+
dataType: null,
|
|
13
|
+
batchType: null,
|
|
12
14
|
name: 'GML',
|
|
13
15
|
id: 'gml',
|
|
14
16
|
module: 'wms',
|
package/dist/index.cjs
CHANGED
|
@@ -87,8 +87,10 @@ function parseCSWCapabilities(text, options) {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// dist/csw-capabilities-loader.js
|
|
90
|
-
var VERSION = true ? "4.2.0-
|
|
90
|
+
var VERSION = true ? "4.2.0-beta.1" : "latest";
|
|
91
91
|
var CSWCapabilitiesLoader = {
|
|
92
|
+
dataType: null,
|
|
93
|
+
batchType: null,
|
|
92
94
|
id: "csw-capabilities",
|
|
93
95
|
name: "CSW Capabilities",
|
|
94
96
|
module: "wms",
|
|
@@ -133,8 +135,10 @@ function parseCSWDomain(text, options) {
|
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
// dist/csw-domain-loader.js
|
|
136
|
-
var VERSION2 = true ? "4.2.0-
|
|
138
|
+
var VERSION2 = true ? "4.2.0-beta.1" : "latest";
|
|
137
139
|
var CSWDomainLoader = {
|
|
140
|
+
dataType: null,
|
|
141
|
+
batchType: null,
|
|
138
142
|
id: "csw-domain",
|
|
139
143
|
name: "CSW Domain",
|
|
140
144
|
module: "wms",
|
|
@@ -197,8 +201,10 @@ function parseCSWRecords(text, options) {
|
|
|
197
201
|
}
|
|
198
202
|
|
|
199
203
|
// dist/csw-records-loader.js
|
|
200
|
-
var VERSION3 = true ? "4.2.0-
|
|
204
|
+
var VERSION3 = true ? "4.2.0-beta.1" : "latest";
|
|
201
205
|
var CSWRecordsLoader = {
|
|
206
|
+
dataType: null,
|
|
207
|
+
batchType: null,
|
|
202
208
|
id: "csw-records",
|
|
203
209
|
name: "CSW Records",
|
|
204
210
|
module: "wms",
|
|
@@ -228,8 +234,10 @@ function parseWMSError(text, options) {
|
|
|
228
234
|
}
|
|
229
235
|
|
|
230
236
|
// dist/wms-error-loader.js
|
|
231
|
-
var VERSION4 = true ? "4.2.0-
|
|
237
|
+
var VERSION4 = true ? "4.2.0-beta.1" : "latest";
|
|
232
238
|
var WMSErrorLoader = {
|
|
239
|
+
dataType: null,
|
|
240
|
+
batchType: null,
|
|
233
241
|
id: "wms-error",
|
|
234
242
|
name: "WMS Error",
|
|
235
243
|
module: "wms",
|
|
@@ -511,8 +519,10 @@ function addInheritedLayerProps(layer, parent) {
|
|
|
511
519
|
}
|
|
512
520
|
|
|
513
521
|
// dist/wms-capabilities-loader.js
|
|
514
|
-
var VERSION5 = true ? "4.2.0-
|
|
522
|
+
var VERSION5 = true ? "4.2.0-beta.1" : "latest";
|
|
515
523
|
var WMSCapabilitiesLoader = {
|
|
524
|
+
dataType: null,
|
|
525
|
+
batchType: null,
|
|
516
526
|
id: "wms-capabilities",
|
|
517
527
|
name: "WMS Capabilities",
|
|
518
528
|
module: "wms",
|
|
@@ -560,6 +570,7 @@ function extractFeature(xmlFeature) {
|
|
|
560
570
|
// dist/wip/wms-feature-info-loader.js
|
|
561
571
|
var WMSFeatureInfoLoader = {
|
|
562
572
|
...WMSCapabilitiesLoader,
|
|
573
|
+
dataType: null,
|
|
563
574
|
id: "wms-feature-info",
|
|
564
575
|
name: "WMS FeatureInfo",
|
|
565
576
|
parse: async (arrayBuffer, options) => parseWMSFeatureInfo(new TextDecoder().decode(arrayBuffer), options),
|
|
@@ -577,6 +588,7 @@ function parseWMSLayerDescription(text, options) {
|
|
|
577
588
|
// dist/wip/wms-layer-description-loader.js
|
|
578
589
|
var WMSLayerDescriptionLoader = {
|
|
579
590
|
...WMSCapabilitiesLoader,
|
|
591
|
+
dataType: null,
|
|
580
592
|
id: "wms-layer-description",
|
|
581
593
|
name: "WMS DescribeLayer",
|
|
582
594
|
parse: async (arrayBuffer, options) => parseWMSLayerDescription(new TextDecoder().decode(arrayBuffer), options),
|
|
@@ -597,8 +609,10 @@ function parseWFSCapabilities(text, options) {
|
|
|
597
609
|
}
|
|
598
610
|
|
|
599
611
|
// dist/wip/wfs-capabilities-loader.js
|
|
600
|
-
var VERSION6 = true ? "4.2.0-
|
|
612
|
+
var VERSION6 = true ? "4.2.0-beta.1" : "latest";
|
|
601
613
|
var WFSCapabilitiesLoader = {
|
|
614
|
+
dataType: null,
|
|
615
|
+
batchType: null,
|
|
602
616
|
id: "wfs-capabilities",
|
|
603
617
|
name: "WFS Capabilities",
|
|
604
618
|
module: "wms",
|
|
@@ -999,8 +1013,10 @@ function createChildContext(xml, options, context) {
|
|
|
999
1013
|
}
|
|
1000
1014
|
|
|
1001
1015
|
// dist/gml-loader.js
|
|
1002
|
-
var VERSION7 = true ? "4.2.0-
|
|
1016
|
+
var VERSION7 = true ? "4.2.0-beta.1" : "latest";
|
|
1003
1017
|
var GMLLoader = {
|
|
1018
|
+
dataType: null,
|
|
1019
|
+
batchType: null,
|
|
1004
1020
|
name: "GML",
|
|
1005
1021
|
id: "gml",
|
|
1006
1022
|
module: "wms",
|
|
@@ -1199,6 +1215,8 @@ var WMSSource = class extends import_loader_utils2.ImageSource {
|
|
|
1199
1215
|
/** Generate a URL for the GetFeatureInfo request */
|
|
1200
1216
|
getFeatureInfoURL(wmsParameters, vendorParameters) {
|
|
1201
1217
|
wmsParameters = this._getWMS130Parameters(wmsParameters);
|
|
1218
|
+
const { boundingBox, bbox } = wmsParameters;
|
|
1219
|
+
wmsParameters.bbox = boundingBox ? [...boundingBox[0], ...boundingBox[1]] : bbox;
|
|
1202
1220
|
const options = {
|
|
1203
1221
|
version: this.wmsParameters.version,
|
|
1204
1222
|
// query_layers: [],
|
|
@@ -1299,6 +1317,16 @@ var WMSSource = class extends import_loader_utils2.ImageSource {
|
|
|
1299
1317
|
value = bbox;
|
|
1300
1318
|
}
|
|
1301
1319
|
break;
|
|
1320
|
+
case "x":
|
|
1321
|
+
if (wmsParameters.version === "1.3.0") {
|
|
1322
|
+
key = "i";
|
|
1323
|
+
}
|
|
1324
|
+
break;
|
|
1325
|
+
case "y":
|
|
1326
|
+
if (wmsParameters.version === "1.3.0") {
|
|
1327
|
+
key = "j";
|
|
1328
|
+
}
|
|
1329
|
+
break;
|
|
1302
1330
|
default:
|
|
1303
1331
|
}
|
|
1304
1332
|
key = key.toUpperCase();
|