@planet/maps 11.2.0-dev.1761491523886 → 11.2.0-dev.1772038358100
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/layer/Base.d.ts +6 -2
- package/layer/Base.d.ts.map +1 -1
- package/layer/Layer.d.ts +6 -2
- package/layer/Layer.d.ts.map +1 -1
- package/package.json +2 -2
- package/source/GeoZarr.d.ts +24 -0
- package/source/GeoZarr.d.ts.map +1 -0
- package/source/GeoZarr.js +30 -0
- package/source/OGCMap.d.ts +24 -0
- package/source/OGCMap.d.ts.map +1 -0
- package/source/OGCMap.js +30 -0
package/layer/Base.d.ts
CHANGED
|
@@ -12,14 +12,18 @@ export default function Base({ children, ...props }: BaseProps | {
|
|
|
12
12
|
/**
|
|
13
13
|
* The layer options.
|
|
14
14
|
*/
|
|
15
|
-
options?: import("ol/layer/Base.js").Options
|
|
15
|
+
options?: import("ol/layer/Base.js").Options<NoInfer<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
}>> | undefined;
|
|
16
18
|
cls: typeof OLBase;
|
|
17
19
|
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
20
|
export type BaseProps = {
|
|
19
21
|
/**
|
|
20
22
|
* The layer options.
|
|
21
23
|
*/
|
|
22
|
-
options?: import("ol/layer/Base.js").Options
|
|
24
|
+
options?: import("ol/layer/Base.js").Options<NoInfer<{
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
}>> | undefined;
|
|
23
27
|
/**
|
|
24
28
|
* The layer source.
|
|
25
29
|
*/
|
package/layer/Base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["Base.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,qDAFW,SAAS,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["Base.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,qDAFW,SAAS,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;;;;;wDAIzC;;;;;;;;;;;cARa,KAAK,CAAC,SAAS;;mBANV,kBAAkB"}
|
package/layer/Layer.d.ts
CHANGED
|
@@ -12,14 +12,18 @@ export default function Layer({ children, ...props }: LayerProps | {
|
|
|
12
12
|
/**
|
|
13
13
|
* The layer options.
|
|
14
14
|
*/
|
|
15
|
-
options?: import("ol/layer/Layer.js").Options<import("ol/source").Source
|
|
15
|
+
options?: import("ol/layer/Layer.js").Options<import("ol/source").Source, NoInfer<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
}>> | undefined;
|
|
16
18
|
cls: typeof OLLayer;
|
|
17
19
|
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
20
|
export type LayerProps = {
|
|
19
21
|
/**
|
|
20
22
|
* The layer options.
|
|
21
23
|
*/
|
|
22
|
-
options?: import("ol/layer/Layer.js").Options<import("ol/source").Source
|
|
24
|
+
options?: import("ol/layer/Layer.js").Options<import("ol/source").Source, NoInfer<{
|
|
25
|
+
[x: string]: any;
|
|
26
|
+
}>> | undefined;
|
|
23
27
|
/**
|
|
24
28
|
* The layer source.
|
|
25
29
|
*/
|
package/layer/Layer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layer.d.ts","sourceRoot":"","sources":["Layer.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,sDAFW,UAAU,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC
|
|
1
|
+
{"version":3,"file":"Layer.d.ts","sourceRoot":"","sources":["Layer.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,sDAFW,UAAU,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;;;;;wDAI1C;;;;;;;;;;;cARa,KAAK,CAAC,SAAS;;oBANT,mBAAmB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planet/maps",
|
|
3
|
-
"version": "11.2.0-dev.
|
|
3
|
+
"version": "11.2.0-dev.1772038358100",
|
|
4
4
|
"description": "Declarative mapping components for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"import-meta-resolve": "^4.0.0",
|
|
54
54
|
"mustache": "^4.2.0",
|
|
55
55
|
"npm-run-all": "^4.1.5",
|
|
56
|
-
"ol": "^10.
|
|
56
|
+
"ol": "^10.8.0",
|
|
57
57
|
"ol-mapbox-style": "^13.1.0",
|
|
58
58
|
"prop-types": "^15.8.1",
|
|
59
59
|
"react": "^19.2.0",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} GeoZarrProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLGeoZarr>[0]} [options] The source options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {GeoZarrProps | Object<string, any>} props The source props.
|
|
7
|
+
*/
|
|
8
|
+
export default function GeoZarr(props: GeoZarrProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The source options.
|
|
13
|
+
*/
|
|
14
|
+
options?: import("ol/source/GeoZarr.js").Options | undefined;
|
|
15
|
+
cls: typeof OLGeoZarr;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type GeoZarrProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The source options.
|
|
20
|
+
*/
|
|
21
|
+
options?: import("ol/source/GeoZarr.js").Options | undefined;
|
|
22
|
+
};
|
|
23
|
+
import OLGeoZarr from 'ol/source/GeoZarr.js';
|
|
24
|
+
//# sourceMappingURL=GeoZarr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeoZarr.d.ts","sourceRoot":"","sources":["GeoZarr.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,uCAFW,YAAY,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;;;wDAI5C;;;;;;;sBAbqB,sBAAsB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright Planet Labs PBC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import OLGeoZarr from 'ol/source/GeoZarr.js';
|
|
18
|
+
import {createElement} from 'react';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} GeoZarrProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLGeoZarr>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {GeoZarrProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
28
|
+
export default function GeoZarr(props) {
|
|
29
|
+
return createElement('source', {cls: OLGeoZarr, ...props});
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} OGCMapProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLOGCMap>[0]} [options] The source options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {OGCMapProps | Object<string, any>} props The source props.
|
|
7
|
+
*/
|
|
8
|
+
export default function OGCMap(props: OGCMapProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The source options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLOGCMap>[0];
|
|
15
|
+
cls: typeof OLOGCMap;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type OGCMapProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The source options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLOGCMap>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLOGCMap from 'ol/source/OGCMap.js';
|
|
24
|
+
//# sourceMappingURL=OGCMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OGCMap.d.ts","sourceRoot":"","sources":["OGCMap.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,sCAFW,WAAW,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJ9B,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;;wDAQtD;;;;;cARa,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;;qBALlC,qBAAqB"}
|
package/source/OGCMap.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// This file is generated by tools/generate.js. DO NOT EDIT.
|
|
2
|
+
/**
|
|
3
|
+
* Copyright Planet Labs PBC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import OLOGCMap from 'ol/source/OGCMap.js';
|
|
18
|
+
import {createElement} from 'react';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} OGCMapProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLOGCMap>[0]} [options] The source options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {OGCMapProps | Object<string, any>} props The source props.
|
|
27
|
+
*/
|
|
28
|
+
export default function OGCMap(props) {
|
|
29
|
+
return createElement('source', {cls: OLOGCMap, ...props});
|
|
30
|
+
}
|