@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.
Files changed (275) hide show
  1. package/Map.d.ts +48 -0
  2. package/Map.d.ts.map +1 -0
  3. package/Map.js +16 -16
  4. package/Overlay.d.ts +26 -0
  5. package/Overlay.d.ts.map +1 -0
  6. package/Overlay.js +8 -0
  7. package/View.d.ts +26 -0
  8. package/View.d.ts.map +1 -0
  9. package/View.js +8 -0
  10. package/control/Attribution.d.ts +24 -0
  11. package/control/Attribution.d.ts.map +1 -0
  12. package/control/Attribution.js +8 -0
  13. package/control/Control.d.ts +24 -0
  14. package/control/Control.d.ts.map +1 -0
  15. package/control/Control.js +8 -0
  16. package/control/FullScreen.d.ts +24 -0
  17. package/control/FullScreen.d.ts.map +1 -0
  18. package/control/FullScreen.js +8 -0
  19. package/control/MousePosition.d.ts +24 -0
  20. package/control/MousePosition.d.ts.map +1 -0
  21. package/control/MousePosition.js +8 -0
  22. package/control/OverviewMap.d.ts +24 -0
  23. package/control/OverviewMap.d.ts.map +1 -0
  24. package/control/OverviewMap.js +8 -0
  25. package/control/Rotate.d.ts +24 -0
  26. package/control/Rotate.d.ts.map +1 -0
  27. package/control/Rotate.js +8 -0
  28. package/control/ScaleLine.d.ts +24 -0
  29. package/control/ScaleLine.d.ts.map +1 -0
  30. package/control/ScaleLine.js +8 -0
  31. package/control/Zoom.d.ts +24 -0
  32. package/control/Zoom.d.ts.map +1 -0
  33. package/control/Zoom.js +8 -0
  34. package/control/ZoomSlider.d.ts +24 -0
  35. package/control/ZoomSlider.d.ts.map +1 -0
  36. package/control/ZoomSlider.js +8 -0
  37. package/control/ZoomToExtent.d.ts +24 -0
  38. package/control/ZoomToExtent.d.ts.map +1 -0
  39. package/control/ZoomToExtent.js +8 -0
  40. package/interaction/DblClickDragZoom.d.ts +24 -0
  41. package/interaction/DblClickDragZoom.d.ts.map +1 -0
  42. package/interaction/DblClickDragZoom.js +8 -0
  43. package/interaction/DoubleClickZoom.d.ts +24 -0
  44. package/interaction/DoubleClickZoom.d.ts.map +1 -0
  45. package/interaction/DoubleClickZoom.js +8 -0
  46. package/interaction/DragAndDrop.d.ts +24 -0
  47. package/interaction/DragAndDrop.d.ts.map +1 -0
  48. package/interaction/DragAndDrop.js +8 -0
  49. package/interaction/DragBox.d.ts +24 -0
  50. package/interaction/DragBox.d.ts.map +1 -0
  51. package/interaction/DragBox.js +8 -0
  52. package/interaction/DragPan.d.ts +24 -0
  53. package/interaction/DragPan.d.ts.map +1 -0
  54. package/interaction/DragPan.js +8 -0
  55. package/interaction/DragRotate.d.ts +24 -0
  56. package/interaction/DragRotate.d.ts.map +1 -0
  57. package/interaction/DragRotate.js +8 -0
  58. package/interaction/DragRotateAndZoom.d.ts +24 -0
  59. package/interaction/DragRotateAndZoom.d.ts.map +1 -0
  60. package/interaction/DragRotateAndZoom.js +8 -0
  61. package/interaction/DragZoom.d.ts +24 -0
  62. package/interaction/DragZoom.d.ts.map +1 -0
  63. package/interaction/DragZoom.js +8 -0
  64. package/interaction/Draw.d.ts +24 -0
  65. package/interaction/Draw.d.ts.map +1 -0
  66. package/interaction/Draw.js +8 -0
  67. package/interaction/Extent.d.ts +24 -0
  68. package/interaction/Extent.d.ts.map +1 -0
  69. package/interaction/Extent.js +8 -0
  70. package/interaction/Interaction.d.ts +24 -0
  71. package/interaction/Interaction.d.ts.map +1 -0
  72. package/interaction/Interaction.js +8 -0
  73. package/interaction/KeyboardPan.d.ts +24 -0
  74. package/interaction/KeyboardPan.d.ts.map +1 -0
  75. package/interaction/KeyboardPan.js +8 -0
  76. package/interaction/KeyboardZoom.d.ts +24 -0
  77. package/interaction/KeyboardZoom.d.ts.map +1 -0
  78. package/interaction/KeyboardZoom.js +8 -0
  79. package/interaction/Link.d.ts +24 -0
  80. package/interaction/Link.d.ts.map +1 -0
  81. package/interaction/Link.js +8 -0
  82. package/interaction/Modify.d.ts +24 -0
  83. package/interaction/Modify.d.ts.map +1 -0
  84. package/interaction/Modify.js +8 -0
  85. package/interaction/MouseWheelZoom.d.ts +24 -0
  86. package/interaction/MouseWheelZoom.d.ts.map +1 -0
  87. package/interaction/MouseWheelZoom.js +8 -0
  88. package/interaction/PinchRotate.d.ts +24 -0
  89. package/interaction/PinchRotate.d.ts.map +1 -0
  90. package/interaction/PinchRotate.js +8 -0
  91. package/interaction/PinchZoom.d.ts +24 -0
  92. package/interaction/PinchZoom.d.ts.map +1 -0
  93. package/interaction/PinchZoom.js +8 -0
  94. package/interaction/Pointer.d.ts +24 -0
  95. package/interaction/Pointer.d.ts.map +1 -0
  96. package/interaction/Pointer.js +8 -0
  97. package/interaction/Select.d.ts +24 -0
  98. package/interaction/Select.d.ts.map +1 -0
  99. package/interaction/Select.js +8 -0
  100. package/interaction/Snap.d.ts +24 -0
  101. package/interaction/Snap.d.ts.map +1 -0
  102. package/interaction/Snap.js +8 -0
  103. package/interaction/Translate.d.ts +24 -0
  104. package/interaction/Translate.d.ts.map +1 -0
  105. package/interaction/Translate.js +8 -0
  106. package/internal/config.d.ts +18 -0
  107. package/internal/config.d.ts.map +1 -0
  108. package/internal/config.js +1 -0
  109. package/internal/render.d.ts +21 -0
  110. package/internal/render.d.ts.map +1 -0
  111. package/internal/render.js +129 -42
  112. package/internal/update.d.ts +40 -0
  113. package/internal/update.d.ts.map +1 -0
  114. package/internal/update.js +37 -4
  115. package/layer/Base.d.ts +29 -0
  116. package/layer/Base.d.ts.map +1 -0
  117. package/layer/Base.js +9 -5
  118. package/layer/BaseImage.d.ts +29 -0
  119. package/layer/BaseImage.d.ts.map +1 -0
  120. package/layer/BaseImage.js +9 -5
  121. package/layer/BaseTile.d.ts +29 -0
  122. package/layer/BaseTile.d.ts.map +1 -0
  123. package/layer/BaseTile.js +9 -5
  124. package/layer/BaseVector.d.ts +29 -0
  125. package/layer/BaseVector.d.ts.map +1 -0
  126. package/layer/BaseVector.js +9 -5
  127. package/layer/Flow.d.ts +29 -0
  128. package/layer/Flow.d.ts.map +1 -0
  129. package/layer/Flow.js +9 -5
  130. package/layer/Graticule.d.ts +29 -0
  131. package/layer/Graticule.d.ts.map +1 -0
  132. package/layer/Graticule.js +9 -5
  133. package/layer/Group.d.ts +29 -0
  134. package/layer/Group.d.ts.map +1 -0
  135. package/layer/Group.js +9 -5
  136. package/layer/Heatmap.d.ts +29 -0
  137. package/layer/Heatmap.d.ts.map +1 -0
  138. package/layer/Heatmap.js +9 -5
  139. package/layer/Image.d.ts +29 -0
  140. package/layer/Image.d.ts.map +1 -0
  141. package/layer/Image.js +9 -5
  142. package/layer/Layer.d.ts +29 -0
  143. package/layer/Layer.d.ts.map +1 -0
  144. package/layer/Layer.js +9 -5
  145. package/layer/MapboxVector.d.ts +20 -0
  146. package/layer/MapboxVector.d.ts.map +1 -0
  147. package/layer/MapboxVector.js +8 -5
  148. package/layer/Tile.d.ts +29 -0
  149. package/layer/Tile.d.ts.map +1 -0
  150. package/layer/Tile.js +9 -5
  151. package/layer/Vector.d.ts +29 -0
  152. package/layer/Vector.d.ts.map +1 -0
  153. package/layer/Vector.js +9 -5
  154. package/layer/VectorImage.d.ts +29 -0
  155. package/layer/VectorImage.d.ts.map +1 -0
  156. package/layer/VectorImage.js +9 -5
  157. package/layer/VectorTile.d.ts +29 -0
  158. package/layer/VectorTile.d.ts.map +1 -0
  159. package/layer/VectorTile.js +9 -5
  160. package/layer/WebGLPoints.d.ts +29 -0
  161. package/layer/WebGLPoints.d.ts.map +1 -0
  162. package/layer/WebGLPoints.js +9 -5
  163. package/layer/WebGLTile.d.ts +29 -0
  164. package/layer/WebGLTile.d.ts.map +1 -0
  165. package/layer/WebGLTile.js +9 -5
  166. package/layer/WebGLVector.d.ts +29 -0
  167. package/layer/WebGLVector.d.ts.map +1 -0
  168. package/layer/WebGLVector.js +9 -5
  169. package/layer/WebGLVectorTile.d.ts +29 -0
  170. package/layer/WebGLVectorTile.d.ts.map +1 -0
  171. package/layer/WebGLVectorTile.js +9 -5
  172. package/package.json +24 -15
  173. package/source/BingMaps.d.ts +24 -0
  174. package/source/BingMaps.d.ts.map +1 -0
  175. package/source/BingMaps.js +8 -0
  176. package/source/CartoDB.d.ts +24 -0
  177. package/source/CartoDB.d.ts.map +1 -0
  178. package/source/CartoDB.js +8 -0
  179. package/source/Cluster.d.ts +24 -0
  180. package/source/Cluster.d.ts.map +1 -0
  181. package/source/Cluster.js +8 -0
  182. package/source/DataTile.d.ts +24 -0
  183. package/source/DataTile.d.ts.map +1 -0
  184. package/source/DataTile.js +8 -0
  185. package/source/GeoTIFF.d.ts +24 -0
  186. package/source/GeoTIFF.d.ts.map +1 -0
  187. package/source/GeoTIFF.js +8 -0
  188. package/source/Google.d.ts +24 -0
  189. package/source/Google.d.ts.map +1 -0
  190. package/source/Google.js +8 -0
  191. package/source/IIIF.d.ts +24 -0
  192. package/source/IIIF.d.ts.map +1 -0
  193. package/source/IIIF.js +8 -0
  194. package/source/Image.d.ts +24 -0
  195. package/source/Image.d.ts.map +1 -0
  196. package/source/Image.js +8 -0
  197. package/source/ImageArcGISRest.d.ts +24 -0
  198. package/source/ImageArcGISRest.d.ts.map +1 -0
  199. package/source/ImageArcGISRest.js +8 -0
  200. package/source/ImageCanvas.d.ts +24 -0
  201. package/source/ImageCanvas.d.ts.map +1 -0
  202. package/source/ImageCanvas.js +8 -0
  203. package/source/ImageMapGuide.d.ts +24 -0
  204. package/source/ImageMapGuide.d.ts.map +1 -0
  205. package/source/ImageMapGuide.js +8 -0
  206. package/source/ImageStatic.d.ts +24 -0
  207. package/source/ImageStatic.d.ts.map +1 -0
  208. package/source/ImageStatic.js +8 -0
  209. package/source/ImageTile.d.ts +24 -0
  210. package/source/ImageTile.d.ts.map +1 -0
  211. package/source/ImageTile.js +8 -0
  212. package/source/ImageWMS.d.ts +24 -0
  213. package/source/ImageWMS.d.ts.map +1 -0
  214. package/source/ImageWMS.js +8 -0
  215. package/source/OGCMapTile.d.ts +24 -0
  216. package/source/OGCMapTile.d.ts.map +1 -0
  217. package/source/OGCMapTile.js +8 -0
  218. package/source/OGCVectorTile.d.ts +24 -0
  219. package/source/OGCVectorTile.d.ts.map +1 -0
  220. package/source/OGCVectorTile.js +8 -0
  221. package/source/OSM.d.ts +24 -0
  222. package/source/OSM.d.ts.map +1 -0
  223. package/source/OSM.js +8 -0
  224. package/source/Raster.d.ts +24 -0
  225. package/source/Raster.d.ts.map +1 -0
  226. package/source/Raster.js +8 -0
  227. package/source/SentinelHub.d.ts +24 -0
  228. package/source/SentinelHub.d.ts.map +1 -0
  229. package/source/SentinelHub.js +8 -0
  230. package/source/Source.d.ts +24 -0
  231. package/source/Source.d.ts.map +1 -0
  232. package/source/Source.js +8 -0
  233. package/source/StadiaMaps.d.ts +24 -0
  234. package/source/StadiaMaps.d.ts.map +1 -0
  235. package/source/StadiaMaps.js +8 -0
  236. package/source/Tile.d.ts +24 -0
  237. package/source/Tile.d.ts.map +1 -0
  238. package/source/Tile.js +8 -0
  239. package/source/TileArcGISRest.d.ts +24 -0
  240. package/source/TileArcGISRest.d.ts.map +1 -0
  241. package/source/TileArcGISRest.js +8 -0
  242. package/source/TileDebug.d.ts +24 -0
  243. package/source/TileDebug.d.ts.map +1 -0
  244. package/source/TileDebug.js +8 -0
  245. package/source/TileImage.d.ts +24 -0
  246. package/source/TileImage.d.ts.map +1 -0
  247. package/source/TileImage.js +8 -0
  248. package/source/TileJSON.d.ts +24 -0
  249. package/source/TileJSON.d.ts.map +1 -0
  250. package/source/TileJSON.js +8 -0
  251. package/source/TileWMS.d.ts +24 -0
  252. package/source/TileWMS.d.ts.map +1 -0
  253. package/source/TileWMS.js +8 -0
  254. package/source/UTFGrid.d.ts +24 -0
  255. package/source/UTFGrid.d.ts.map +1 -0
  256. package/source/UTFGrid.js +8 -0
  257. package/source/UrlTile.d.ts +24 -0
  258. package/source/UrlTile.d.ts.map +1 -0
  259. package/source/UrlTile.js +8 -0
  260. package/source/Vector.d.ts +24 -0
  261. package/source/Vector.d.ts.map +1 -0
  262. package/source/Vector.js +8 -0
  263. package/source/VectorTile.d.ts +24 -0
  264. package/source/VectorTile.d.ts.map +1 -0
  265. package/source/VectorTile.js +8 -0
  266. package/source/WMTS.d.ts +24 -0
  267. package/source/WMTS.d.ts.map +1 -0
  268. package/source/WMTS.js +8 -0
  269. package/source/XYZ.d.ts +24 -0
  270. package/source/XYZ.d.ts.map +1 -0
  271. package/source/XYZ.js +8 -0
  272. package/source/Zoomify.d.ts +24 -0
  273. package/source/Zoomify.d.ts.map +1 -0
  274. package/source/Zoomify.js +8 -0
  275. 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"}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -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"}
@@ -22,6 +22,7 @@ export const directories = {
22
22
 
23
23
  // Modules in this list will be ignored when generating components.
24
24
  export const ignore = [
25
+ 'interaction/Property.js',
25
26
  'layer/Property.js',
26
27
  'layer/TileProperty.js',
27
28
  'layer/VectorTileRenderType.js',
@@ -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"}