@planet/maps 11.0.0 → 11.1.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/Map.d.ts +48 -0
- package/Map.d.ts.map +1 -0
- package/Map.js +16 -16
- package/Overlay.d.ts +26 -0
- package/Overlay.d.ts.map +1 -0
- package/Overlay.js +8 -0
- package/View.d.ts +26 -0
- package/View.d.ts.map +1 -0
- package/View.js +8 -0
- package/control/Attribution.d.ts +24 -0
- package/control/Attribution.d.ts.map +1 -0
- package/control/Attribution.js +8 -0
- package/control/Control.d.ts +24 -0
- package/control/Control.d.ts.map +1 -0
- package/control/Control.js +8 -0
- package/control/FullScreen.d.ts +24 -0
- package/control/FullScreen.d.ts.map +1 -0
- package/control/FullScreen.js +8 -0
- package/control/MousePosition.d.ts +24 -0
- package/control/MousePosition.d.ts.map +1 -0
- package/control/MousePosition.js +8 -0
- package/control/OverviewMap.d.ts +24 -0
- package/control/OverviewMap.d.ts.map +1 -0
- package/control/OverviewMap.js +8 -0
- package/control/Rotate.d.ts +24 -0
- package/control/Rotate.d.ts.map +1 -0
- package/control/Rotate.js +8 -0
- package/control/ScaleLine.d.ts +24 -0
- package/control/ScaleLine.d.ts.map +1 -0
- package/control/ScaleLine.js +8 -0
- package/control/Zoom.d.ts +24 -0
- package/control/Zoom.d.ts.map +1 -0
- package/control/Zoom.js +8 -0
- package/control/ZoomSlider.d.ts +24 -0
- package/control/ZoomSlider.d.ts.map +1 -0
- package/control/ZoomSlider.js +8 -0
- package/control/ZoomToExtent.d.ts +24 -0
- package/control/ZoomToExtent.d.ts.map +1 -0
- package/control/ZoomToExtent.js +8 -0
- package/interaction/DblClickDragZoom.d.ts +24 -0
- package/interaction/DblClickDragZoom.d.ts.map +1 -0
- package/interaction/DblClickDragZoom.js +8 -0
- package/interaction/DoubleClickZoom.d.ts +24 -0
- package/interaction/DoubleClickZoom.d.ts.map +1 -0
- package/interaction/DoubleClickZoom.js +8 -0
- package/interaction/DragAndDrop.d.ts +24 -0
- package/interaction/DragAndDrop.d.ts.map +1 -0
- package/interaction/DragAndDrop.js +8 -0
- package/interaction/DragBox.d.ts +24 -0
- package/interaction/DragBox.d.ts.map +1 -0
- package/interaction/DragBox.js +8 -0
- package/interaction/DragPan.d.ts +24 -0
- package/interaction/DragPan.d.ts.map +1 -0
- package/interaction/DragPan.js +8 -0
- package/interaction/DragRotate.d.ts +24 -0
- package/interaction/DragRotate.d.ts.map +1 -0
- package/interaction/DragRotate.js +8 -0
- package/interaction/DragRotateAndZoom.d.ts +24 -0
- package/interaction/DragRotateAndZoom.d.ts.map +1 -0
- package/interaction/DragRotateAndZoom.js +8 -0
- package/interaction/DragZoom.d.ts +24 -0
- package/interaction/DragZoom.d.ts.map +1 -0
- package/interaction/DragZoom.js +8 -0
- package/interaction/Draw.d.ts +24 -0
- package/interaction/Draw.d.ts.map +1 -0
- package/interaction/Draw.js +8 -0
- package/interaction/Extent.d.ts +24 -0
- package/interaction/Extent.d.ts.map +1 -0
- package/interaction/Extent.js +8 -0
- package/interaction/Interaction.d.ts +24 -0
- package/interaction/Interaction.d.ts.map +1 -0
- package/interaction/Interaction.js +8 -0
- package/interaction/KeyboardPan.d.ts +24 -0
- package/interaction/KeyboardPan.d.ts.map +1 -0
- package/interaction/KeyboardPan.js +8 -0
- package/interaction/KeyboardZoom.d.ts +24 -0
- package/interaction/KeyboardZoom.d.ts.map +1 -0
- package/interaction/KeyboardZoom.js +8 -0
- package/interaction/Link.d.ts +24 -0
- package/interaction/Link.d.ts.map +1 -0
- package/interaction/Link.js +8 -0
- package/interaction/Modify.d.ts +24 -0
- package/interaction/Modify.d.ts.map +1 -0
- package/interaction/Modify.js +8 -0
- package/interaction/MouseWheelZoom.d.ts +24 -0
- package/interaction/MouseWheelZoom.d.ts.map +1 -0
- package/interaction/MouseWheelZoom.js +8 -0
- package/interaction/PinchRotate.d.ts +24 -0
- package/interaction/PinchRotate.d.ts.map +1 -0
- package/interaction/PinchRotate.js +8 -0
- package/interaction/PinchZoom.d.ts +24 -0
- package/interaction/PinchZoom.d.ts.map +1 -0
- package/interaction/PinchZoom.js +8 -0
- package/interaction/Pointer.d.ts +24 -0
- package/interaction/Pointer.d.ts.map +1 -0
- package/interaction/Pointer.js +8 -0
- package/interaction/Select.d.ts +24 -0
- package/interaction/Select.d.ts.map +1 -0
- package/interaction/Select.js +8 -0
- package/interaction/Snap.d.ts +24 -0
- package/interaction/Snap.d.ts.map +1 -0
- package/interaction/Snap.js +8 -0
- package/interaction/Translate.d.ts +24 -0
- package/interaction/Translate.d.ts.map +1 -0
- package/interaction/Translate.js +8 -0
- package/internal/config.d.ts +18 -0
- package/internal/config.d.ts.map +1 -0
- package/internal/config.js +1 -0
- package/internal/render.d.ts +21 -0
- package/internal/render.d.ts.map +1 -0
- package/internal/render.js +129 -42
- package/internal/update.d.ts +40 -0
- package/internal/update.d.ts.map +1 -0
- package/internal/update.js +37 -4
- package/layer/Base.d.ts +29 -0
- package/layer/Base.d.ts.map +1 -0
- package/layer/Base.js +9 -5
- package/layer/BaseImage.d.ts +29 -0
- package/layer/BaseImage.d.ts.map +1 -0
- package/layer/BaseImage.js +9 -5
- package/layer/BaseTile.d.ts +29 -0
- package/layer/BaseTile.d.ts.map +1 -0
- package/layer/BaseTile.js +9 -5
- package/layer/BaseVector.d.ts +29 -0
- package/layer/BaseVector.d.ts.map +1 -0
- package/layer/BaseVector.js +9 -5
- package/layer/Flow.d.ts +29 -0
- package/layer/Flow.d.ts.map +1 -0
- package/layer/Flow.js +9 -5
- package/layer/Graticule.d.ts +29 -0
- package/layer/Graticule.d.ts.map +1 -0
- package/layer/Graticule.js +9 -5
- package/layer/Group.d.ts +29 -0
- package/layer/Group.d.ts.map +1 -0
- package/layer/Group.js +9 -5
- package/layer/Heatmap.d.ts +29 -0
- package/layer/Heatmap.d.ts.map +1 -0
- package/layer/Heatmap.js +9 -5
- package/layer/Image.d.ts +29 -0
- package/layer/Image.d.ts.map +1 -0
- package/layer/Image.js +9 -5
- package/layer/Layer.d.ts +29 -0
- package/layer/Layer.d.ts.map +1 -0
- package/layer/Layer.js +9 -5
- package/layer/MapboxVector.d.ts +20 -0
- package/layer/MapboxVector.d.ts.map +1 -0
- package/layer/MapboxVector.js +8 -5
- package/layer/Tile.d.ts +29 -0
- package/layer/Tile.d.ts.map +1 -0
- package/layer/Tile.js +9 -5
- package/layer/Vector.d.ts +29 -0
- package/layer/Vector.d.ts.map +1 -0
- package/layer/Vector.js +9 -5
- package/layer/VectorImage.d.ts +29 -0
- package/layer/VectorImage.d.ts.map +1 -0
- package/layer/VectorImage.js +9 -5
- package/layer/VectorTile.d.ts +29 -0
- package/layer/VectorTile.d.ts.map +1 -0
- package/layer/VectorTile.js +9 -5
- package/layer/WebGLPoints.d.ts +29 -0
- package/layer/WebGLPoints.d.ts.map +1 -0
- package/layer/WebGLPoints.js +9 -5
- package/layer/WebGLTile.d.ts +29 -0
- package/layer/WebGLTile.d.ts.map +1 -0
- package/layer/WebGLTile.js +9 -5
- package/layer/WebGLVector.d.ts +29 -0
- package/layer/WebGLVector.d.ts.map +1 -0
- package/layer/WebGLVector.js +9 -5
- package/layer/WebGLVectorTile.d.ts +29 -0
- package/layer/WebGLVectorTile.d.ts.map +1 -0
- package/layer/WebGLVectorTile.js +9 -5
- package/package.json +24 -15
- package/source/BingMaps.d.ts +24 -0
- package/source/BingMaps.d.ts.map +1 -0
- package/source/BingMaps.js +8 -0
- package/source/CartoDB.d.ts +24 -0
- package/source/CartoDB.d.ts.map +1 -0
- package/source/CartoDB.js +8 -0
- package/source/Cluster.d.ts +24 -0
- package/source/Cluster.d.ts.map +1 -0
- package/source/Cluster.js +8 -0
- package/source/DataTile.d.ts +24 -0
- package/source/DataTile.d.ts.map +1 -0
- package/source/DataTile.js +8 -0
- package/source/GeoTIFF.d.ts +24 -0
- package/source/GeoTIFF.d.ts.map +1 -0
- package/source/GeoTIFF.js +8 -0
- package/source/Google.d.ts +24 -0
- package/source/Google.d.ts.map +1 -0
- package/source/Google.js +8 -0
- package/source/IIIF.d.ts +24 -0
- package/source/IIIF.d.ts.map +1 -0
- package/source/IIIF.js +8 -0
- package/source/Image.d.ts +24 -0
- package/source/Image.d.ts.map +1 -0
- package/source/Image.js +8 -0
- package/source/ImageArcGISRest.d.ts +24 -0
- package/source/ImageArcGISRest.d.ts.map +1 -0
- package/source/ImageArcGISRest.js +8 -0
- package/source/ImageCanvas.d.ts +24 -0
- package/source/ImageCanvas.d.ts.map +1 -0
- package/source/ImageCanvas.js +8 -0
- package/source/ImageMapGuide.d.ts +24 -0
- package/source/ImageMapGuide.d.ts.map +1 -0
- package/source/ImageMapGuide.js +8 -0
- package/source/ImageStatic.d.ts +24 -0
- package/source/ImageStatic.d.ts.map +1 -0
- package/source/ImageStatic.js +8 -0
- package/source/ImageTile.d.ts +24 -0
- package/source/ImageTile.d.ts.map +1 -0
- package/source/ImageTile.js +8 -0
- package/source/ImageWMS.d.ts +24 -0
- package/source/ImageWMS.d.ts.map +1 -0
- package/source/ImageWMS.js +8 -0
- package/source/OGCMapTile.d.ts +24 -0
- package/source/OGCMapTile.d.ts.map +1 -0
- package/source/OGCMapTile.js +8 -0
- package/source/OGCVectorTile.d.ts +24 -0
- package/source/OGCVectorTile.d.ts.map +1 -0
- package/source/OGCVectorTile.js +8 -0
- package/source/OSM.d.ts +24 -0
- package/source/OSM.d.ts.map +1 -0
- package/source/OSM.js +8 -0
- package/source/Raster.d.ts +24 -0
- package/source/Raster.d.ts.map +1 -0
- package/source/Raster.js +8 -0
- package/source/SentinelHub.d.ts +24 -0
- package/source/SentinelHub.d.ts.map +1 -0
- package/source/SentinelHub.js +8 -0
- package/source/Source.d.ts +24 -0
- package/source/Source.d.ts.map +1 -0
- package/source/Source.js +8 -0
- package/source/StadiaMaps.d.ts +24 -0
- package/source/StadiaMaps.d.ts.map +1 -0
- package/source/StadiaMaps.js +8 -0
- package/source/Tile.d.ts +24 -0
- package/source/Tile.d.ts.map +1 -0
- package/source/Tile.js +8 -0
- package/source/TileArcGISRest.d.ts +24 -0
- package/source/TileArcGISRest.d.ts.map +1 -0
- package/source/TileArcGISRest.js +8 -0
- package/source/TileDebug.d.ts +24 -0
- package/source/TileDebug.d.ts.map +1 -0
- package/source/TileDebug.js +8 -0
- package/source/TileImage.d.ts +24 -0
- package/source/TileImage.d.ts.map +1 -0
- package/source/TileImage.js +8 -0
- package/source/TileJSON.d.ts +24 -0
- package/source/TileJSON.d.ts.map +1 -0
- package/source/TileJSON.js +8 -0
- package/source/TileWMS.d.ts +24 -0
- package/source/TileWMS.d.ts.map +1 -0
- package/source/TileWMS.js +8 -0
- package/source/UTFGrid.d.ts +24 -0
- package/source/UTFGrid.d.ts.map +1 -0
- package/source/UTFGrid.js +8 -0
- package/source/UrlTile.d.ts +24 -0
- package/source/UrlTile.d.ts.map +1 -0
- package/source/UrlTile.js +8 -0
- package/source/Vector.d.ts +24 -0
- package/source/Vector.d.ts.map +1 -0
- package/source/Vector.js +8 -0
- package/source/VectorTile.d.ts +24 -0
- package/source/VectorTile.d.ts.map +1 -0
- package/source/VectorTile.js +8 -0
- package/source/WMTS.d.ts +24 -0
- package/source/WMTS.d.ts.map +1 -0
- package/source/WMTS.js +8 -0
- package/source/XYZ.d.ts +24 -0
- package/source/XYZ.d.ts.map +1 -0
- package/source/XYZ.js +8 -0
- package/source/Zoomify.d.ts +24 -0
- package/source/Zoomify.d.ts.map +1 -0
- package/source/Zoomify.js +8 -0
- package/interaction/Property.js +0 -22
package/layer/Flow.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} FlowProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLFlow>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {FlowProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Flow({ children, ...props }: FlowProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: import("ol/layer/Flow.js").Options | undefined;
|
|
16
|
+
cls: typeof OLFlow;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type FlowProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: import("ol/layer/Flow.js").Options | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLFlow from 'ol/layer/Flow.js';
|
|
29
|
+
//# sourceMappingURL=Flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Flow.d.ts","sourceRoot":"","sources":["Flow.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/Flow.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLFlow from 'ol/layer/Flow.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} FlowProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLFlow>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {FlowProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Flow({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLFlow, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Flow.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} GraticuleProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLGraticule>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {GraticuleProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Graticule({ children, ...props }: GraticuleProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLGraticule>[0];
|
|
16
|
+
cls: typeof OLGraticule;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type GraticuleProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLGraticule>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLGraticule from 'ol/layer/Graticule.js';
|
|
29
|
+
//# sourceMappingURL=Graticule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Graticule.d.ts","sourceRoot":"","sources":["Graticule.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,0DAFW,cAAc,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cALjC,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;;wDASzD;;;;;cATa,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;;;;cAC5C,KAAK,CAAC,SAAS;;wBANL,uBAAuB"}
|
package/layer/Graticule.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLGraticule from 'ol/layer/Graticule.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} GraticuleProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLGraticule>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {GraticuleProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Graticule({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLGraticule, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Graticule.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
package/layer/Group.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} GroupProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLGroup>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {GroupProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Group({ children, ...props }: GroupProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLGroup>[0];
|
|
16
|
+
cls: typeof OLGroup;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type GroupProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLGroup>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLGroup from 'ol/layer/Group.js';
|
|
29
|
+
//# sourceMappingURL=Group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["Group.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,sDAFW,UAAU,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAL7B,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;;wDASrD;;;;;cATa,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;;;;cACxC,KAAK,CAAC,SAAS;;oBANT,mBAAmB"}
|
package/layer/Group.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLGroup from 'ol/layer/Group.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} GroupProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLGroup>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {GroupProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Group({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLGroup, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Group.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} HeatmapProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLHeatmap>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {HeatmapProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Heatmap({ children, ...props }: HeatmapProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLHeatmap>[0];
|
|
16
|
+
cls: typeof OLHeatmap;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type HeatmapProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLHeatmap>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLHeatmap from 'ol/layer/Heatmap.js';
|
|
29
|
+
//# sourceMappingURL=Heatmap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Heatmap.d.ts","sourceRoot":"","sources":["Heatmap.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,wDAFW,YAAY,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAL/B,qBAAqB,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;;wDASvD;;;;;cATa,qBAAqB,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;;;;cAC1C,KAAK,CAAC,SAAS;;sBANP,qBAAqB"}
|
package/layer/Heatmap.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLHeatmap from 'ol/layer/Heatmap.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} HeatmapProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLHeatmap>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {HeatmapProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Heatmap({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLHeatmap, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Heatmap.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
package/layer/Image.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} ImageProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLImage>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {ImageProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Image({ children, ...props }: ImageProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLImage>[0];
|
|
16
|
+
cls: typeof OLImage;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type ImageProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLImage>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLImage from 'ol/layer/Image.js';
|
|
29
|
+
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["Image.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,sDAFW,UAAU,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAL7B,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;;wDASrD;;;;;cATa,qBAAqB,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;;;;cACxC,KAAK,CAAC,SAAS;;oBANT,mBAAmB"}
|
package/layer/Image.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLImage from 'ol/layer/Image.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} ImageProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLImage>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {ImageProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Image({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLImage, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Image.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
package/layer/Layer.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} LayerProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLLayer>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {LayerProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Layer({ children, ...props }: LayerProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: import("ol/layer/Layer.js").Options<import("ol/source").Source> | undefined;
|
|
16
|
+
cls: typeof OLLayer;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type LayerProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: import("ol/layer/Layer.js").Options<import("ol/source").Source> | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLLayer from 'ol/layer/Layer.js';
|
|
29
|
+
//# sourceMappingURL=Layer.d.ts.map
|
|
@@ -0,0 +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;;;;;;wDAI1C;;;;;;;;;cARa,KAAK,CAAC,SAAS;;oBANT,mBAAmB"}
|
package/layer/Layer.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLLayer from 'ol/layer/Layer.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} LayerProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLLayer>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {LayerProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Layer({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLLayer, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Layer.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} MapboxVectorProps
|
|
3
|
+
* @property {React.ReactNode} children The layer source.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {MapboxVectorProps | Object<string, any>} props The layer props.
|
|
7
|
+
*/
|
|
8
|
+
export default function MapboxVector({ children, ...props }: MapboxVectorProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
cls: typeof OLMBVectorLayer;
|
|
12
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
13
|
+
export type MapboxVectorProps = {
|
|
14
|
+
/**
|
|
15
|
+
* The layer source.
|
|
16
|
+
*/
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
import { MapboxVectorLayer as OLMBVectorLayer } from 'ol-mapbox-style';
|
|
20
|
+
//# sourceMappingURL=MapboxVector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MapboxVector.d.ts","sourceRoot":"","sources":["MapboxVector.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,6DAFW,iBAAiB,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;wDAIjD;;;;;cARa,KAAK,CAAC,SAAS;;qDALsB,iBAAiB"}
|
package/layer/MapboxVector.js
CHANGED
|
@@ -15,13 +15,16 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import {MapboxVectorLayer as OLMBVectorLayer} from 'ol-mapbox-style';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} MapboxVectorProps
|
|
22
|
+
* @property {React.ReactNode} children The layer source.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {MapboxVectorProps | Object<string, any>} props The layer props.
|
|
27
|
+
*/
|
|
21
28
|
export default function MapboxVector({children, ...props}) {
|
|
22
29
|
return createElement('layer', {cls: OLMBVectorLayer, ...props}, children);
|
|
23
30
|
}
|
|
24
|
-
|
|
25
|
-
MapboxVector.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
package/layer/Tile.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} TileProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLTile>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {TileProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Tile({ children, ...props }: TileProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLTile>[0];
|
|
16
|
+
cls: typeof OLTile;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type TileProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLTile>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLTile from 'ol/layer/Tile.js';
|
|
29
|
+
//# sourceMappingURL=Tile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["Tile.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,qDAFW,SAAS,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAL5B,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;;wDASpD;;;;;cATa,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;;;;cACvC,KAAK,CAAC,SAAS;;mBANV,kBAAkB"}
|
package/layer/Tile.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLTile from 'ol/layer/Tile.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} TileProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLTile>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {TileProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Tile({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLTile, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Tile.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} VectorProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLVector>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {VectorProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function Vector({ children, ...props }: VectorProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLVector>[0];
|
|
16
|
+
cls: typeof OLVector;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type VectorProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLVector>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLVector from 'ol/layer/Vector.js';
|
|
29
|
+
//# sourceMappingURL=Vector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Vector.d.ts","sourceRoot":"","sources":["Vector.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,uDAFW,WAAW,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAL9B,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;;wDAStD;;;;;cATa,qBAAqB,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;;;;cACzC,KAAK,CAAC,SAAS;;qBANR,oBAAoB"}
|
package/layer/Vector.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLVector from 'ol/layer/Vector.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} VectorProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLVector>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {VectorProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function Vector({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLVector, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
Vector.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} VectorImageProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLVectorImage>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {VectorImageProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function VectorImage({ children, ...props }: VectorImageProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLVectorImage>[0];
|
|
16
|
+
cls: typeof OLVectorImage;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type VectorImageProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLVectorImage>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLVectorImage from 'ol/layer/VectorImage.js';
|
|
29
|
+
//# sourceMappingURL=VectorImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VectorImage.d.ts","sourceRoot":"","sources":["VectorImage.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,4DAFW,gBAAgB,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cALnC,qBAAqB,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;;wDAS3D;;;;;cATa,qBAAqB,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;;;;cAC9C,KAAK,CAAC,SAAS;;0BANH,yBAAyB"}
|
package/layer/VectorImage.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLVectorImage from 'ol/layer/VectorImage.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} VectorImageProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLVectorImage>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {VectorImageProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function VectorImage({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLVectorImage, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
VectorImage.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} VectorTileProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLVectorTile>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {VectorTileProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function VectorTile({ children, ...props }: VectorTileProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: ConstructorParameters<typeof OLVectorTile>[0];
|
|
16
|
+
cls: typeof OLVectorTile;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type VectorTileProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: ConstructorParameters<typeof OLVectorTile>[0];
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLVectorTile from 'ol/layer/VectorTile.js';
|
|
29
|
+
//# sourceMappingURL=VectorTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VectorTile.d.ts","sourceRoot":"","sources":["VectorTile.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,2DAFW,eAAe,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cALlC,qBAAqB,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;;wDAS1D;;;;;cATa,qBAAqB,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC;;;;cAC7C,KAAK,CAAC,SAAS;;yBANJ,wBAAwB"}
|
package/layer/VectorTile.js
CHANGED
|
@@ -15,13 +15,17 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import OLVectorTile from 'ol/layer/VectorTile.js';
|
|
18
|
-
import propTypes from 'prop-types';
|
|
19
18
|
import {createElement} from 'react';
|
|
20
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} VectorTileProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLVectorTile>[0]} [options] The layer options.
|
|
23
|
+
* @property {React.ReactNode} children The layer source.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @param {VectorTileProps | Object<string, any>} props The layer props.
|
|
28
|
+
*/
|
|
21
29
|
export default function VectorTile({children, ...props}) {
|
|
22
30
|
return createElement('layer', {cls: OLVectorTile, ...props}, children);
|
|
23
31
|
}
|
|
24
|
-
|
|
25
|
-
VectorTile.propTypes = {
|
|
26
|
-
children: propTypes.node,
|
|
27
|
-
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} WebGLPointsProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLWebGLPoints>[0]} [options] The layer options.
|
|
4
|
+
* @property {React.ReactNode} children The layer source.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @param {WebGLPointsProps | Object<string, any>} props The layer props.
|
|
8
|
+
*/
|
|
9
|
+
export default function WebGLPoints({ children, ...props }: WebGLPointsProps | {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}): import("react").ReactElement<{
|
|
12
|
+
/**
|
|
13
|
+
* The layer options.
|
|
14
|
+
*/
|
|
15
|
+
options?: import("ol/layer/WebGLPoints.js").Options<import("ol/source").Vector<import("ol/Feature").FeatureLike>> | undefined;
|
|
16
|
+
cls: typeof OLWebGLPoints;
|
|
17
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
18
|
+
export type WebGLPointsProps = {
|
|
19
|
+
/**
|
|
20
|
+
* The layer options.
|
|
21
|
+
*/
|
|
22
|
+
options?: import("ol/layer/WebGLPoints.js").Options<import("ol/source").Vector<import("ol/Feature").FeatureLike>> | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The layer source.
|
|
25
|
+
*/
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
};
|
|
28
|
+
import OLWebGLPoints from 'ol/layer/WebGLPoints.js';
|
|
29
|
+
//# sourceMappingURL=WebGLPoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebGLPoints.d.ts","sourceRoot":"","sources":["WebGLPoints.js"],"names":[],"mappings":"AAmBA;;;;GAIG;AAEH;;GAEG;AACH,4DAFW,gBAAgB,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;;;wDAIhD;;;;;;;;;cARa,KAAK,CAAC,SAAS;;0BANH,yBAAyB"}
|