@opengeoweb/webmap 9.5.0 → 9.6.0
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/index.esm.js +3 -0
- package/package.json +10 -1
- package/src/lib/components/WMLayer.d.ts +2 -0
package/index.esm.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/webmap",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.6.0",
|
|
4
4
|
"description": "GeoWeb webmap library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@opengeoweb/shared": "*",
|
|
12
|
+
"throttle-debounce": "^5.0.0",
|
|
13
|
+
"moment": "^2.29.4",
|
|
14
|
+
"proj4": "^2.9.2",
|
|
15
|
+
"lodash": "^4.17.21",
|
|
16
|
+
"date-fns": "^3.3.0"
|
|
17
|
+
},
|
|
18
|
+
"peerDependencies": {},
|
|
10
19
|
"module": "./index.esm.js",
|
|
11
20
|
"type": "module",
|
|
12
21
|
"main": "./index.esm.js"
|
|
@@ -43,6 +43,7 @@ export interface LayerOptions extends LayerFoundation {
|
|
|
43
43
|
ReactWMJSLayerId?: string;
|
|
44
44
|
onLayerError?: (layer: WMLayer, error: Error, webmapInstance: WMJSMap) => void;
|
|
45
45
|
onLayerReady?: (layer: WMLayer, webmap?: WMJSMap) => void;
|
|
46
|
+
geojson?: GeoJSON.FeatureCollection;
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
49
|
* Helper function to figure out the dimensions from the WMS layer object (From WMS GetCapabilities). Parses both WMS 1.1.1 and WMS 1.3.0.
|
|
@@ -114,6 +115,7 @@ export default class WMLayer {
|
|
|
114
115
|
};
|
|
115
116
|
isConfigured: boolean;
|
|
116
117
|
geographicBoundingBox?: GeographicBoundingBox;
|
|
118
|
+
geojson?: GeoJSON.FeatureCollection;
|
|
117
119
|
init(): void;
|
|
118
120
|
constructor(options?: LayerOptions);
|
|
119
121
|
getLayerName(): string;
|