@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} ModifyProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLModify>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {ModifyProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function Modify(props: ModifyProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: import("ol/interaction/Modify.js").Options | undefined;
|
|
15
|
+
cls: typeof OLModify;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type ModifyProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: import("ol/interaction/Modify.js").Options | undefined;
|
|
22
|
+
};
|
|
23
|
+
import OLModify from 'ol/interaction/Modify.js';
|
|
24
|
+
//# sourceMappingURL=Modify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modify.d.ts","sourceRoot":"","sources":["Modify.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,sCAFW,WAAW,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;;;wDAI3C;;;;;;;qBAboB,0BAA0B"}
|
package/interaction/Modify.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLModify from 'ol/interaction/Modify.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} ModifyProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLModify>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {ModifyProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Modify(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLModify, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} MouseWheelZoomProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLMouseWheelZoom>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {MouseWheelZoomProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function MouseWheelZoom(props: MouseWheelZoomProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLMouseWheelZoom>[0];
|
|
15
|
+
cls: typeof OLMouseWheelZoom;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type MouseWheelZoomProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLMouseWheelZoom>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLMouseWheelZoom from 'ol/interaction/MouseWheelZoom.js';
|
|
24
|
+
//# sourceMappingURL=MouseWheelZoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MouseWheelZoom.d.ts","sourceRoot":"","sources":["MouseWheelZoom.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,8CAFW,mBAAmB,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJtC,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;;wDAQ9D;;;;;cARa,qBAAqB,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC;;6BALlC,kCAAkC"}
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLMouseWheelZoom from 'ol/interaction/MouseWheelZoom.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} MouseWheelZoomProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLMouseWheelZoom>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {MouseWheelZoomProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function MouseWheelZoom(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLMouseWheelZoom, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} PinchRotateProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLPinchRotate>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {PinchRotateProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function PinchRotate(props: PinchRotateProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLPinchRotate>[0];
|
|
15
|
+
cls: typeof OLPinchRotate;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type PinchRotateProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLPinchRotate>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLPinchRotate from 'ol/interaction/PinchRotate.js';
|
|
24
|
+
//# sourceMappingURL=PinchRotate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinchRotate.d.ts","sourceRoot":"","sources":["PinchRotate.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,2CAFW,gBAAgB,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJnC,qBAAqB,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;;wDAQ3D;;;;;cARa,qBAAqB,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC;;0BALlC,+BAA+B"}
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLPinchRotate from 'ol/interaction/PinchRotate.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} PinchRotateProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLPinchRotate>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {PinchRotateProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function PinchRotate(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLPinchRotate, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} PinchZoomProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLPinchZoom>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {PinchZoomProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function PinchZoom(props: PinchZoomProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLPinchZoom>[0];
|
|
15
|
+
cls: typeof OLPinchZoom;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type PinchZoomProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLPinchZoom>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLPinchZoom from 'ol/interaction/PinchZoom.js';
|
|
24
|
+
//# sourceMappingURL=PinchZoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinchZoom.d.ts","sourceRoot":"","sources":["PinchZoom.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,yCAFW,cAAc,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJjC,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;;wDAQzD;;;;;cARa,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;;wBALlC,6BAA6B"}
|
package/interaction/PinchZoom.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLPinchZoom from 'ol/interaction/PinchZoom.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} PinchZoomProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLPinchZoom>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {PinchZoomProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function PinchZoom(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLPinchZoom, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} PointerProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLPointer>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {PointerProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function Pointer(props: PointerProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLPointer>[0];
|
|
15
|
+
cls: typeof OLPointer;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type PointerProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLPointer>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLPointer from 'ol/interaction/Pointer.js';
|
|
24
|
+
//# sourceMappingURL=Pointer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pointer.d.ts","sourceRoot":"","sources":["Pointer.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,uCAFW,YAAY,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJ/B,qBAAqB,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;;wDAQvD;;;;;cARa,qBAAqB,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;;sBALlC,2BAA2B"}
|
package/interaction/Pointer.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLPointer from 'ol/interaction/Pointer.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} PointerProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLPointer>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {PointerProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Pointer(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLPointer, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} SelectProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLSelect>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {SelectProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function Select(props: SelectProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLSelect>[0];
|
|
15
|
+
cls: typeof OLSelect;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type SelectProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLSelect>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLSelect from 'ol/interaction/Select.js';
|
|
24
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["Select.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,0BAA0B"}
|
package/interaction/Select.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLSelect from 'ol/interaction/Select.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} SelectProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLSelect>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {SelectProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Select(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLSelect, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} SnapProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLSnap>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {SnapProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function Snap(props: SnapProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLSnap>[0];
|
|
15
|
+
cls: typeof OLSnap;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type SnapProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLSnap>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLSnap from 'ol/interaction/Snap.js';
|
|
24
|
+
//# sourceMappingURL=Snap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snap.d.ts","sourceRoot":"","sources":["Snap.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,oCAFW,SAAS,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJ5B,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;;wDAQpD;;;;;cARa,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;;mBALlC,wBAAwB"}
|
package/interaction/Snap.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLSnap from 'ol/interaction/Snap.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} SnapProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLSnap>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {SnapProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Snap(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLSnap, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} TranslateProps
|
|
3
|
+
* @property {ConstructorParameters<typeof OLTranslate>[0]} [options] The interaction options.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {TranslateProps | Object<string, any>} props The interaction props.
|
|
7
|
+
*/
|
|
8
|
+
export default function Translate(props: TranslateProps | {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
}): import("react").ReactElement<{
|
|
11
|
+
/**
|
|
12
|
+
* The interaction options.
|
|
13
|
+
*/
|
|
14
|
+
options?: ConstructorParameters<typeof OLTranslate>[0];
|
|
15
|
+
cls: typeof OLTranslate;
|
|
16
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
17
|
+
export type TranslateProps = {
|
|
18
|
+
/**
|
|
19
|
+
* The interaction options.
|
|
20
|
+
*/
|
|
21
|
+
options?: ConstructorParameters<typeof OLTranslate>[0];
|
|
22
|
+
};
|
|
23
|
+
import OLTranslate from 'ol/interaction/Translate.js';
|
|
24
|
+
//# sourceMappingURL=Translate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Translate.d.ts","sourceRoot":"","sources":["Translate.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH;;GAEG;AACH,yCAFW,cAAc,GAAG;QAAO,MAAM,GAAE,GAAG;CAAC;;;;cAJjC,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;;wDAQzD;;;;;cARa,qBAAqB,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,CAAC;;wBALlC,6BAA6B"}
|
package/interaction/Translate.js
CHANGED
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
import OLTranslate from 'ol/interaction/Translate.js';
|
|
18
18
|
import {createElement} from 'react';
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} TranslateProps
|
|
22
|
+
* @property {ConstructorParameters<typeof OLTranslate>[0]} [options] The interaction options.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @param {TranslateProps | Object<string, any>} props The interaction props.
|
|
27
|
+
*/
|
|
20
28
|
export default function Translate(props) {
|
|
21
29
|
return createElement('interaction', {cls: OLTranslate, ...props});
|
|
22
30
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The constants below represent the primitive element types handled by the renderer.
|
|
3
|
+
*/
|
|
4
|
+
export const MAP: "map";
|
|
5
|
+
export const VIEW: "view";
|
|
6
|
+
export const OVERLAY: "overlay";
|
|
7
|
+
export const CONTROL: "control";
|
|
8
|
+
export const INTERACTION: "interaction";
|
|
9
|
+
export const LAYER: "layer";
|
|
10
|
+
export const SOURCE: "source";
|
|
11
|
+
export namespace directories {
|
|
12
|
+
let control: string;
|
|
13
|
+
let interaction: string;
|
|
14
|
+
let layer: string;
|
|
15
|
+
let source: string;
|
|
16
|
+
}
|
|
17
|
+
export const ignore: string[];
|
|
18
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,kBAAmB,KAAK,CAAC;AACzB,mBAAoB,MAAM,CAAC;AAC3B,sBAAuB,SAAS,CAAC;AACjC,sBAAuB,SAAS,CAAC;AACjC,0BAA2B,aAAa,CAAC;AACzC,oBAAqB,OAAO,CAAC;AAC7B,qBAAsB,QAAQ,CAAC;;;;;;;AAc/B,8BAUE"}
|
package/internal/config.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export function updateInstanceFromProps(arg0: any, arg1: string, arg2: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, arg3: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
}): any;
|
|
6
|
+
/**
|
|
7
|
+
* @param {React.ReactNode} element The element to render.
|
|
8
|
+
* @param {any} container The container.
|
|
9
|
+
*/
|
|
10
|
+
export function render(element: React.ReactNode, container: any): void;
|
|
11
|
+
export type InstanceProps = {
|
|
12
|
+
/**
|
|
13
|
+
* A class.
|
|
14
|
+
*/
|
|
15
|
+
cls: new (options: any) => any;
|
|
16
|
+
/**
|
|
17
|
+
* The options.
|
|
18
|
+
*/
|
|
19
|
+
options?: any;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["render.js"],"names":[],"mappings":";;;;;AAidA;;;GAGG;AACH,gCAHW,KAAK,CAAC,SAAS,aACf,GAAG,QAsBb;;;;;SA7Va,KAAI,OAAO,EAAE,GAAG,KAAK,GAAG;;;;cACxB,GAAG"}
|