@mapcomponents/react-maplibre 0.1.59 → 0.1.61

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 (113) hide show
  1. package/.eslintignore +2 -1
  2. package/CHANGELOG.md +15 -0
  3. package/coverage/clover.xml +142 -47
  4. package/coverage/coverage-final.json +5 -4
  5. package/coverage/lcov-report/index.html +36 -21
  6. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
  7. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  8. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +1 -1
  9. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  12. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +2 -2
  13. package/coverage/lcov-report/src/components/MlCreatePdfForm/index.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  16. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  17. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  18. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  20. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  22. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  23. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +1 -1
  24. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  25. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +1 -1
  26. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
  27. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  28. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  31. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  32. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  34. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  35. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  36. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  37. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  39. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  40. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  41. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  42. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  43. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  44. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  45. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
  46. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  48. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  49. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  51. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  52. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  53. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  55. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  57. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  58. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  59. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  60. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  61. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  62. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +92 -146
  63. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +21 -21
  64. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  65. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  66. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  67. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  68. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  69. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  70. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
  71. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  72. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  73. package/coverage/lcov-report/src/contexts/index.html +1 -1
  74. package/coverage/lcov-report/src/hooks/index.html +1 -1
  75. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +116 -0
  76. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +661 -0
  77. package/coverage/lcov-report/src/hooks/{exportMap → useExportMap}/index.html +3 -3
  78. package/coverage/lcov-report/src/hooks/{exportMap → useExportMap}/index.ts.html +4 -4
  79. package/coverage/lcov-report/src/hooks/{exportMap → useExportMap}/lib.ts.html +4 -4
  80. package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
  81. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +1 -1
  82. package/coverage/lcov-report/src/hooks/useMap.ts.html +4 -4
  83. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  84. package/coverage/lcov-report/src/hooks/useSource.ts.html +1 -1
  85. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  86. package/coverage/lcov-report/src/index.html +1 -1
  87. package/coverage/lcov-report/src/index.ts.html +6 -3
  88. package/coverage/lcov.info +270 -76
  89. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.d.ts +1 -1
  90. package/dist/components/MlCreatePdfForm/lib/PdfForm.d.ts +1 -1
  91. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +5 -24
  92. package/dist/hooks/useCameraFollowPath/useCameraFollowPath.d.ts +35 -0
  93. package/dist/hooks/useCameraFollowPath/useCameraFollowPath.stories.d.ts +17 -0
  94. package/dist/hooks/useExportMap/index.d.ts +11 -0
  95. package/dist/hooks/useExportMap/lib.d.ts +36 -0
  96. package/dist/index.d.ts +2 -1
  97. package/dist/index.esm.js +209 -63
  98. package/dist/index.esm.js.map +1 -1
  99. package/package.json +2 -1
  100. package/scripts/build-catalogue-meta.js +1 -1
  101. package/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx +1 -1
  102. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +5 -5
  103. package/src/components/MlVectorTileLayer/MlVectorTileLayer.stories.js +15 -9
  104. package/src/components/MlVectorTileLayer/MlVectorTileLayer.test.js +7 -6
  105. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +59 -77
  106. package/src/hooks/useCameraFollowPath/useCameraFollowPath.doc.de.md +4 -0
  107. package/src/hooks/useCameraFollowPath/useCameraFollowPath.doc.en.md +1 -0
  108. package/src/hooks/useCameraFollowPath/useCameraFollowPath.meta.json +15 -0
  109. package/src/hooks/useCameraFollowPath/useCameraFollowPath.stories.tsx +198 -0
  110. package/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx +192 -0
  111. package/src/hooks/{exportMap → useExportMap}/index.ts +1 -1
  112. package/src/hooks/{exportMap → useExportMap}/lib.ts +1 -1
  113. package/src/index.ts +2 -1
@@ -3,7 +3,7 @@
3
3
  <html lang="en">
4
4
 
5
5
  <head>
6
- <title>Code coverage report for src/hooks/exportMap</title>
6
+ <title>Code coverage report for src/hooks/useExportMap</title>
7
7
  <meta charset="utf-8" />
8
8
  <link rel="stylesheet" href="../../../prettify.css" />
9
9
  <link rel="stylesheet" href="../../../base.css" />
@@ -19,7 +19,7 @@
19
19
  <body>
20
20
  <div class='wrapper'>
21
21
  <div class='pad1'>
22
- <h1><a href="../../../index.html">All files</a> src/hooks/exportMap</h1>
22
+ <h1><a href="../../../index.html">All files</a> src/hooks/useExportMap</h1>
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
119
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
120
120
  </div>
121
121
  <script src="../../../prettify.js"></script>
122
122
  <script>
@@ -3,7 +3,7 @@
3
3
  <html lang="en">
4
4
 
5
5
  <head>
6
- <title>Code coverage report for src/hooks/exportMap/index.ts</title>
6
+ <title>Code coverage report for src/hooks/useExportMap/index.ts</title>
7
7
  <meta charset="utf-8" />
8
8
  <link rel="stylesheet" href="../../../prettify.css" />
9
9
  <link rel="stylesheet" href="../../../base.css" />
@@ -19,7 +19,7 @@
19
19
  <body>
20
20
  <div class='wrapper'>
21
21
  <div class='pad1'>
22
- <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/hooks/exportMap</a> index.ts</h1>
22
+ <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/hooks/useExportMap</a> index.ts</h1>
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
@@ -135,7 +135,7 @@ interface exportMapProps {
135
135
  mapId?: string;
136
136
  }
137
137
  &nbsp;
138
- export default function <span class="fstat-no" title="function not covered" >exportMap(</span>props: exportMapProps) {
138
+ export default function <span class="fstat-no" title="function not covered" >useExportMap(</span>props: exportMapProps) {
139
139
  const mapHook = <span class="cstat-no" title="statement not covered" >useMap({ mapId: props.mapId });</span>
140
140
  &nbsp;
141
141
  const _createExport = <span class="cstat-no" title="statement not covered" >useMemo(<span class="fstat-no" title="function not covered" >()</span> =&gt; {</span>
@@ -160,7 +160,7 @@ export default function <span class="fstat-no" title="function not covered" >exp
160
160
  <div class='footer quiet pad2 space-top1 center small'>
161
161
  Code coverage generated by
162
162
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
163
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
163
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
164
164
  </div>
165
165
  <script src="../../../prettify.js"></script>
166
166
  <script>
@@ -3,7 +3,7 @@
3
3
  <html lang="en">
4
4
 
5
5
  <head>
6
- <title>Code coverage report for src/hooks/exportMap/lib.ts</title>
6
+ <title>Code coverage report for src/hooks/useExportMap/lib.ts</title>
7
7
  <meta charset="utf-8" />
8
8
  <link rel="stylesheet" href="../../../prettify.css" />
9
9
  <link rel="stylesheet" href="../../../base.css" />
@@ -19,7 +19,7 @@
19
19
  <body>
20
20
  <div class='wrapper'>
21
21
  <div class='pad1'>
22
- <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/hooks/exportMap</a> lib.ts</h1>
22
+ <h1><a href="../../../index.html">All files</a> / <a href="index.html">src/hooks/useExportMap</a> lib.ts</h1>
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
@@ -437,7 +437,7 @@
437
437
  <span class="cline-any cline-neutral">&nbsp;</span>
438
438
  <span class="cline-any cline-neutral">&nbsp;</span>
439
439
  <span class="cline-any cline-neutral">&nbsp;</span>
440
- <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { LngLatLike, Map } from 'maplibre-gl';
440
+ <span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">import { LngLatLike, Map } from '!maplibre-gl';
441
441
  import jsPDF from 'jspdf';
442
442
  import MapLibreGlWrapper from '../../components/MapLibreMap/lib/MapLibreGlWrapper';
443
443
  &nbsp;
@@ -631,7 +631,7 @@ export { createExport };
631
631
  <div class='footer quiet pad2 space-top1 center small'>
632
632
  Code coverage generated by
633
633
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
634
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
634
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
635
635
  </div>
636
636
  <script src="../../../prettify.js"></script>
637
637
  <script>
@@ -706,7 +706,7 @@ export default useLayer;
706
706
  <div class='footer quiet pad2 space-top1 center small'>
707
707
  Code coverage generated by
708
708
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
709
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
709
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
710
710
  </div>
711
711
  <script src="../../prettify.js"></script>
712
712
  <script>
@@ -217,7 +217,7 @@ export default useLayerEvent;
217
217
  <div class='footer quiet pad2 space-top1 center small'>
218
218
  Code coverage generated by
219
219
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
220
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
220
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
221
221
  </div>
222
222
  <script src="../../prettify.js"></script>
223
223
  <script>
@@ -194,10 +194,10 @@
194
194
  <span class="cline-any cline-yes">211x</span>
195
195
  <span class="cline-any cline-neutral">&nbsp;</span>
196
196
  <span class="cline-any cline-yes">211x</span>
197
- <span class="cline-any cline-yes">39x</span>
198
- <span class="cline-any cline-yes">29x</span>
197
+ <span class="cline-any cline-yes">43x</span>
198
+ <span class="cline-any cline-yes">33x</span>
199
199
  <span class="cline-any cline-neutral">&nbsp;</span>
200
- <span class="cline-any cline-yes">39x</span>
200
+ <span class="cline-any cline-yes">43x</span>
201
201
  <span class="cline-any cline-neutral">&nbsp;</span>
202
202
  <span class="cline-any cline-neutral">&nbsp;</span>
203
203
  <span class="cline-any cline-yes">211x</span>
@@ -343,7 +343,7 @@ export type { useMapType };
343
343
  <div class='footer quiet pad2 space-top1 center small'>
344
344
  Code coverage generated by
345
345
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
346
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
346
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
347
347
  </div>
348
348
  <script src="../../prettify.js"></script>
349
349
  <script>
@@ -637,7 +637,7 @@ export default useMapState;
637
637
  <div class='footer quiet pad2 space-top1 center small'>
638
638
  Code coverage generated by
639
639
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
640
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
640
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
641
641
  </div>
642
642
  <script src="../../prettify.js"></script>
643
643
  <script>
@@ -322,7 +322,7 @@ export default useSource;
322
322
  <div class='footer quiet pad2 space-top1 center small'>
323
323
  Code coverage generated by
324
324
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
325
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
325
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
326
326
  </div>
327
327
  <script src="../../prettify.js"></script>
328
328
  <script>
@@ -343,7 +343,7 @@ export default useWms;
343
343
  <div class='footer quiet pad2 space-top1 center small'>
344
344
  Code coverage generated by
345
345
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
346
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
346
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
347
347
  </div>
348
348
  <script src="../../prettify.js"></script>
349
349
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
104
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -106,7 +106,9 @@
106
106
  <a name='L41'></a><a href='#L41'>41</a>
107
107
  <a name='L42'></a><a href='#L42'>42</a>
108
108
  <a name='L43'></a><a href='#L43'>43</a>
109
- <a name='L44'></a><a href='#L44'>44</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
109
+ <a name='L44'></a><a href='#L44'>44</a>
110
+ <a name='L45'></a><a href='#L45'>45</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
111
+ <span class="cline-any cline-neutral">&nbsp;</span>
110
112
  <span class="cline-any cline-neutral">&nbsp;</span>
111
113
  <span class="cline-any cline-neutral">&nbsp;</span>
112
114
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -186,7 +188,8 @@ export { default as useMapState } from "./hooks/useMapState";
186
188
  export { default as useMap } from "./hooks/useMap";
187
189
  export { default as useWms } from "./hooks/useWms.js";
188
190
  export { default as useSource } from "./hooks/useSource";
189
- export { default as useExportMap } from "./hooks/exportMap";
191
+ export { default as useExportMap } from "./hooks/useExportMap";
192
+ export { default as useCameraFollowPath } from "./hooks/useCameraFollowPath/useCameraFollowPath";
190
193
  &nbsp;
191
194
  export { MapComponentsProvider } from "./contexts/MapContext";
192
195
  export { default as MapContext } from "./contexts/MapContext";
@@ -199,7 +202,7 @@ export { default as SimpleDataContext } from "./contexts/SimpleDataContext";
199
202
  <div class='footer quiet pad2 space-top1 center small'>
200
203
  Code coverage generated by
201
204
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
202
- at Tue Oct 04 2022 12:11:13 GMT+0000 (Coordinated Universal Time)
205
+ at Wed Nov 16 2022 12:51:59 GMT+0000 (Coordinated Universal Time)
203
206
  </div>
204
207
  <script src="../prettify.js"></script>
205
208
  <script>
@@ -2708,86 +2708,108 @@ BRH:0
2708
2708
  end_of_record
2709
2709
  TN:
2710
2710
  SF:src/components/MlVectorTileLayer/MlVectorTileLayer.tsx
2711
- FN:20,(anonymous_0)
2711
+ FN:21,(anonymous_0)
2712
2712
  FN:32,(anonymous_1)
2713
- FN:82,(anonymous_2)
2714
- FN:93,(anonymous_3)
2715
- FN:99,(anonymous_4)
2716
- FNF:5
2717
- FNH:4
2713
+ FN:54,(anonymous_2)
2714
+ FN:78,(anonymous_3)
2715
+ FN:89,(anonymous_4)
2716
+ FN:92,(anonymous_5)
2717
+ FN:119,(anonymous_6)
2718
+ FN:125,(anonymous_7)
2719
+ FN:131,(anonymous_8)
2720
+ FNF:9
2721
+ FNH:8
2718
2722
  FNDA:12,(anonymous_0)
2719
- FNDA:8,(anonymous_1)
2720
- FNDA:0,(anonymous_2)
2721
- FNDA:8,(anonymous_3)
2722
- FNDA:8,(anonymous_4)
2723
- DA:20,10
2724
- DA:21,12
2725
- DA:26,12
2723
+ FNDA:12,(anonymous_1)
2724
+ FNDA:8,(anonymous_2)
2725
+ FNDA:0,(anonymous_3)
2726
+ FNDA:4,(anonymous_4)
2727
+ FNDA:4,(anonymous_5)
2728
+ FNDA:8,(anonymous_6)
2729
+ FNDA:8,(anonymous_7)
2730
+ FNDA:8,(anonymous_8)
2731
+ DA:21,10
2732
+ DA:22,12
2726
2733
  DA:27,12
2727
2734
  DA:28,12
2728
2735
  DA:29,12
2729
2736
  DA:30,12
2730
2737
  DA:32,12
2731
- DA:33,8
2732
- DA:35,4
2733
- DA:37,4
2734
- DA:38,0
2735
- DA:42,4
2736
- DA:54,4
2737
- DA:55,4
2738
- DA:56,4
2739
- DA:58,4
2740
- DA:76,4
2741
- DA:77,4
2742
- DA:80,4
2743
- DA:83,0
2744
- DA:84,0
2745
- DA:85,0
2746
- DA:93,12
2747
- DA:94,8
2748
- DA:96,8
2749
- DA:99,12
2750
- DA:100,8
2751
- DA:102,4
2738
+ DA:33,12
2739
+ DA:35,8
2740
+ DA:37,8
2741
+ DA:38,4
2742
+ DA:42,8
2743
+ DA:54,8
2744
+ DA:55,8
2745
+ DA:56,8
2746
+ DA:72,8
2747
+ DA:73,8
2748
+ DA:76,8
2749
+ DA:79,0
2750
+ DA:80,0
2751
+ DA:81,0
2752
+ DA:89,12
2753
+ DA:90,4
2754
+ DA:92,4
2755
+ DA:93,4
2756
+ DA:94,4
2757
+ DA:96,4
2758
+ DA:98,4
2759
+ DA:99,0
2760
+ DA:100,0
2752
2761
  DA:103,4
2753
- DA:105,4
2754
- DA:107,4
2755
- DA:108,0
2762
+ DA:106,4
2763
+ DA:108,4
2756
2764
  DA:109,0
2757
- DA:116,4
2758
- DA:119,4
2759
- DA:121,4
2760
- DA:122,0
2761
- DA:123,0
2762
- DA:130,4
2763
- DA:135,12
2764
- DA:138,10
2765
- LF:42
2766
- LH:34
2765
+ DA:110,0
2766
+ DA:113,4
2767
+ DA:119,12
2768
+ DA:120,8
2769
+ DA:121,8
2770
+ DA:125,12
2771
+ DA:126,8
2772
+ DA:127,4
2773
+ DA:131,12
2774
+ DA:132,8
2775
+ DA:133,4
2776
+ DA:136,12
2777
+ LF:46
2778
+ LH:39
2767
2779
  BRDA:27,0,0,12
2768
2780
  BRDA:27,0,1,12
2769
2781
  BRDA:33,1,0,4
2770
- BRDA:33,1,1,4
2771
- BRDA:37,2,0,0
2782
+ BRDA:33,1,1,8
2783
+ BRDA:37,2,0,4
2772
2784
  BRDA:37,2,1,4
2773
- BRDA:83,3,0,0
2774
- BRDA:83,3,1,0
2775
- BRDA:83,4,0,0
2776
- BRDA:83,4,1,0
2777
- BRDA:94,5,0,0
2778
- BRDA:94,5,1,8
2779
- BRDA:100,6,0,4
2780
- BRDA:100,6,1,4
2781
- BRDA:100,7,0,8
2782
- BRDA:100,7,1,4
2783
- BRDA:103,8,0,4
2784
- BRDA:103,8,1,0
2785
- BRDA:107,9,0,0
2786
- BRDA:107,9,1,4
2787
- BRDA:121,10,0,0
2788
- BRDA:121,10,1,4
2789
- BRF:22
2790
- BRH:13
2785
+ BRDA:55,3,0,0
2786
+ BRDA:55,3,1,8
2787
+ BRDA:79,4,0,0
2788
+ BRDA:79,4,1,0
2789
+ BRDA:79,5,0,0
2790
+ BRDA:79,5,1,0
2791
+ BRDA:90,6,0,0
2792
+ BRDA:90,6,1,4
2793
+ BRDA:93,7,0,0
2794
+ BRDA:93,7,1,4
2795
+ BRDA:94,8,0,4
2796
+ BRDA:94,8,1,0
2797
+ BRDA:98,9,0,0
2798
+ BRDA:98,9,1,4
2799
+ BRDA:108,10,0,0
2800
+ BRDA:108,10,1,4
2801
+ BRDA:120,11,0,0
2802
+ BRDA:120,11,1,8
2803
+ BRDA:126,12,0,4
2804
+ BRDA:126,12,1,4
2805
+ BRDA:126,13,0,8
2806
+ BRDA:126,13,1,4
2807
+ BRDA:132,14,0,4
2808
+ BRDA:132,14,1,4
2809
+ BRDA:132,15,0,8
2810
+ BRDA:132,15,1,4
2811
+ BRF:32
2812
+ BRH:21
2791
2813
  end_of_record
2792
2814
  TN:
2793
2815
  SF:src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js
@@ -3504,7 +3526,7 @@ FN:63,(anonymous_5)
3504
3526
  FNF:6
3505
3527
  FNH:5
3506
3528
  FNDA:211,useMap
3507
- FNDA:39,(anonymous_1)
3529
+ FNDA:43,(anonymous_1)
3508
3530
  FNDA:57,(anonymous_2)
3509
3531
  FNDA:26,(anonymous_3)
3510
3532
  FNDA:114,(anonymous_4)
@@ -3517,9 +3539,9 @@ DA:34,211
3517
3539
  DA:36,211
3518
3540
  DA:38,211
3519
3541
  DA:40,211
3520
- DA:41,39
3521
- DA:42,29
3522
- DA:44,39
3542
+ DA:41,43
3543
+ DA:42,33
3544
+ DA:44,43
3523
3545
  DA:47,211
3524
3546
  DA:48,57
3525
3547
  DA:49,26
@@ -3543,7 +3565,7 @@ LF:30
3543
3565
  LH:24
3544
3566
  BRDA:24,0,0,0
3545
3567
  BRDA:24,0,1,211
3546
- BRDA:41,1,0,29
3568
+ BRDA:41,1,0,33
3547
3569
  BRDA:41,1,1,10
3548
3570
  BRDA:56,2,0,57
3549
3571
  BRDA:56,2,1,57
@@ -3789,13 +3811,185 @@ BRF:8
3789
3811
  BRH:0
3790
3812
  end_of_record
3791
3813
  TN:
3792
- SF:src/hooks/exportMap/index.ts
3793
- FN:13,exportMap
3814
+ SF:src/hooks/useCameraFollowPath/useCameraFollowPath.tsx
3815
+ FN:40,(anonymous_0)
3816
+ FN:60,(anonymous_1)
3817
+ FN:66,(anonymous_2)
3818
+ FN:73,(anonymous_3)
3819
+ FN:80,(anonymous_4)
3820
+ FN:84,(anonymous_5)
3821
+ FN:94,(anonymous_6)
3822
+ FN:105,centerRoute
3823
+ FN:117,play
3824
+ FN:145,(anonymous_9)
3825
+ FN:160,reset
3826
+ FN:167,(anonymous_11)
3827
+ FN:173,(anonymous_12)
3828
+ FN:174,(anonymous_13)
3829
+ FNF:14
3830
+ FNH:0
3831
+ FNDA:0,(anonymous_0)
3832
+ FNDA:0,(anonymous_1)
3833
+ FNDA:0,(anonymous_2)
3834
+ FNDA:0,(anonymous_3)
3835
+ FNDA:0,(anonymous_4)
3836
+ FNDA:0,(anonymous_5)
3837
+ FNDA:0,(anonymous_6)
3838
+ FNDA:0,centerRoute
3839
+ FNDA:0,play
3840
+ FNDA:0,(anonymous_9)
3841
+ FNDA:0,reset
3842
+ FNDA:0,(anonymous_11)
3843
+ FNDA:0,(anonymous_12)
3844
+ FNDA:0,(anonymous_13)
3845
+ DA:40,10
3846
+ DA:43,0
3847
+ DA:44,0
3848
+ DA:45,0
3849
+ DA:46,0
3850
+ DA:47,0
3851
+ DA:48,0
3852
+ DA:49,0
3853
+ DA:51,0
3854
+ DA:52,0
3855
+ DA:53,0
3856
+ DA:55,0
3857
+ DA:60,0
3858
+ DA:61,0
3859
+ DA:62,0
3860
+ DA:63,0
3861
+ DA:66,0
3862
+ DA:67,0
3863
+ DA:68,0
3864
+ DA:69,0
3865
+ DA:70,0
3866
+ DA:73,0
3867
+ DA:74,0
3868
+ DA:75,0
3869
+ DA:76,0
3870
+ DA:77,0
3871
+ DA:80,0
3872
+ DA:81,0
3873
+ DA:84,0
3874
+ DA:85,0
3875
+ DA:86,0
3876
+ DA:87,0
3877
+ DA:88,0
3878
+ DA:89,0
3879
+ DA:90,0
3880
+ DA:91,0
3881
+ DA:92,0
3882
+ DA:94,0
3883
+ DA:95,0
3884
+ DA:96,0
3885
+ DA:97,0
3886
+ DA:98,0
3887
+ DA:99,0
3888
+ DA:100,0
3889
+ DA:101,0
3890
+ DA:102,0
3891
+ DA:106,0
3892
+ DA:107,0
3893
+ DA:109,0
3894
+ DA:110,0
3895
+ DA:114,0
3896
+ DA:118,0
3897
+ DA:120,0
3898
+ DA:121,0
3899
+ DA:122,0
3900
+ DA:123,0
3901
+ DA:126,0
3902
+ DA:129,0
3903
+ DA:130,0
3904
+ DA:139,0
3905
+ DA:140,0
3906
+ DA:142,0
3907
+ DA:144,0
3908
+ DA:145,0
3909
+ DA:146,0
3910
+ DA:149,0
3911
+ DA:150,0
3912
+ DA:151,0
3913
+ DA:152,0
3914
+ DA:153,0
3915
+ DA:156,0
3916
+ DA:161,0
3917
+ DA:162,0
3918
+ DA:163,0
3919
+ DA:164,0
3920
+ DA:167,0
3921
+ DA:168,0
3922
+ DA:169,0
3923
+ DA:170,0
3924
+ DA:173,0
3925
+ DA:174,0
3926
+ DA:175,0
3927
+ DA:176,0
3928
+ DA:181,0
3929
+ DA:187,10
3930
+ LF:85
3931
+ LH:2
3932
+ BRDA:51,0,0,0
3933
+ BRDA:51,0,1,0
3934
+ BRDA:53,1,0,0
3935
+ BRDA:53,1,1,0
3936
+ BRDA:62,2,0,0
3937
+ BRDA:62,2,1,0
3938
+ BRDA:67,3,0,0
3939
+ BRDA:67,3,1,0
3940
+ BRDA:69,4,0,0
3941
+ BRDA:69,4,1,0
3942
+ BRDA:69,5,0,0
3943
+ BRDA:69,5,1,0
3944
+ BRDA:74,6,0,0
3945
+ BRDA:74,6,1,0
3946
+ BRDA:76,7,0,0
3947
+ BRDA:76,7,1,0
3948
+ BRDA:76,8,0,0
3949
+ BRDA:76,8,1,0
3950
+ BRDA:85,9,0,0
3951
+ BRDA:85,9,1,0
3952
+ BRDA:95,10,0,0
3953
+ BRDA:95,10,1,0
3954
+ BRDA:106,11,0,0
3955
+ BRDA:106,11,1,0
3956
+ BRDA:106,12,0,0
3957
+ BRDA:106,12,1,0
3958
+ BRDA:109,13,0,0
3959
+ BRDA:109,13,1,0
3960
+ BRDA:109,14,0,0
3961
+ BRDA:109,14,1,0
3962
+ BRDA:118,15,0,0
3963
+ BRDA:118,15,1,0
3964
+ BRDA:120,16,0,0
3965
+ BRDA:120,16,1,0
3966
+ BRDA:122,17,0,0
3967
+ BRDA:122,17,1,0
3968
+ BRDA:122,18,0,0
3969
+ BRDA:122,18,1,0
3970
+ BRDA:129,19,0,0
3971
+ BRDA:129,19,1,0
3972
+ BRDA:139,20,0,0
3973
+ BRDA:139,20,1,0
3974
+ BRDA:161,21,0,0
3975
+ BRDA:161,21,1,0
3976
+ BRDA:168,22,0,0
3977
+ BRDA:168,22,1,0
3978
+ BRDA:168,23,0,0
3979
+ BRDA:168,23,1,0
3980
+ BRDA:175,24,0,0
3981
+ BRDA:175,24,1,0
3982
+ BRF:50
3983
+ BRH:0
3984
+ end_of_record
3985
+ TN:
3986
+ SF:src/hooks/useExportMap/index.ts
3987
+ FN:13,useExportMap
3794
3988
  FN:16,(anonymous_1)
3795
3989
  FN:18,(anonymous_2)
3796
3990
  FNF:3
3797
3991
  FNH:0
3798
- FNDA:0,exportMap
3992
+ FNDA:0,useExportMap
3799
3993
  FNDA:0,(anonymous_1)
3800
3994
  FNDA:0,(anonymous_2)
3801
3995
  DA:14,0
@@ -3813,7 +4007,7 @@ BRF:2
3813
4007
  BRH:0
3814
4008
  end_of_record
3815
4009
  TN:
3816
- SF:src/hooks/exportMap/lib.ts
4010
+ SF:src/hooks/useExportMap/lib.ts
3817
4011
  FN:20,(anonymous_0)
3818
4012
  FN:39,(anonymous_1)
3819
4013
  FN:84,(anonymous_2)
@@ -1,4 +1,4 @@
1
- import { createPdfResolverParams } from '../../hooks/exportMap/lib';
1
+ import { createPdfResolverParams } from '../../hooks/useExportMap/lib';
2
2
  import { SxProps } from '@mui/material';
3
3
  interface MlCreatePdfFormProps {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createPdfResolverParams } from '../../../hooks/exportMap/lib';
1
+ import { createPdfResolverParams } from '../../../hooks/useExportMap/lib';
2
2
  interface PdfFormProps {
3
3
  /**
4
4
  * Id of the target MapLibre instance in mapContext
@@ -1,11 +1,12 @@
1
- import PropTypes from "prop-types";
1
+ import { LayerSpecification } from 'maplibre-gl';
2
+ import { VectorSourceSpecification } from 'maplibre-gl';
2
3
  interface MlVectorTileLayerProps {
3
4
  mapId?: string;
4
5
  insertBeforeLayer?: string;
5
6
  layerId?: string;
6
- sourceOptions?: any;
7
+ sourceOptions?: VectorSourceSpecification;
7
8
  url?: string;
8
- layers?: any;
9
+ layers: LayerSpecification[];
9
10
  }
10
11
  /**
11
12
  * Adds a vector-tile source and 0...n vector-tile-layers to the MapLibre instance referenced by
@@ -13,25 +14,5 @@ interface MlVectorTileLayerProps {
13
14
  *
14
15
  * @component
15
16
  */
16
- declare const MlVectorTileLayer: {
17
- (props: MlVectorTileLayerProps): JSX.Element;
18
- propTypes: {
19
- /**
20
- * Id of the target MapLibre instance in mapContext
21
- */
22
- mapId: PropTypes.Requireable<string>;
23
- /**
24
- * Options object that will be used as first parameter on the MapLibreGl.addSource call see MapLibre source options documentation.
25
- */
26
- sourceOptions: PropTypes.Requireable<object>;
27
- /**
28
- * Object that hold layers
29
- */
30
- layers: PropTypes.Requireable<object>;
31
- /**
32
- * String of the URL of a wms layer
33
- */
34
- url: PropTypes.Requireable<string>;
35
- };
36
- };
17
+ declare const MlVectorTileLayer: (props: MlVectorTileLayerProps) => JSX.Element;
37
18
  export default MlVectorTileLayer;