@mapcomponents/react-maplibre 0.1.62 → 0.1.63

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 (185) hide show
  1. package/.babelrc +21 -2
  2. package/.eslintrc.js +8 -1
  3. package/.storybook/main.js +0 -1
  4. package/.storybook/preview.js +0 -2
  5. package/CHANGELOG.md +18 -0
  6. package/coverage/clover.xml +232 -44
  7. package/coverage/coverage-final.json +11 -3
  8. package/coverage/lcov-report/favicon.png +0 -0
  9. package/coverage/lcov-report/index.html +70 -25
  10. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  11. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  13. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +1 -1
  15. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  16. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  17. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx.html +148 -0
  18. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/MlCreatePdfForm/index.html +22 -7
  20. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +73 -40
  21. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +15 -15
  22. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  23. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  24. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  26. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +9 -3
  27. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  28. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  29. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +59 -29
  30. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  31. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js.html +652 -0
  32. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js.html +649 -0
  33. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/index.html +131 -0
  34. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +1 -1
  35. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
  36. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  37. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  39. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  40. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  41. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  42. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  43. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  44. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  45. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  46. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  48. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  49. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  51. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  52. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  53. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
  55. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  57. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  58. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  59. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  60. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  61. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  62. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  63. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/ColorPicker.tsx.html +214 -0
  64. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerList.tsx.html +121 -0
  65. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerListItem.tsx.html +412 -0
  66. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx.html +463 -0
  67. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +161 -0
  68. package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +898 -0
  69. package/coverage/lcov-report/src/components/MlSketchTool/index.html +116 -0
  70. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  71. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  72. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  73. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  74. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  75. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  76. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  77. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  78. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
  79. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
  80. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  81. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  82. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  83. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  84. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  85. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  86. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
  87. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  88. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  89. package/coverage/lcov-report/src/contexts/index.html +1 -1
  90. package/coverage/lcov-report/src/hooks/index.html +1 -1
  91. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +1 -1
  92. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +1 -1
  93. package/coverage/lcov-report/src/hooks/useExportMap/index.html +1 -1
  94. package/coverage/lcov-report/src/hooks/useExportMap/index.ts.html +1 -1
  95. package/coverage/lcov-report/src/hooks/useExportMap/lib.ts.html +1 -1
  96. package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
  97. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +1 -1
  98. package/coverage/lcov-report/src/hooks/useMap.ts.html +1 -1
  99. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  100. package/coverage/lcov-report/src/hooks/useSource.ts.html +1 -1
  101. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  102. package/coverage/lcov-report/src/index.html +1 -1
  103. package/coverage/lcov-report/src/index.ts.html +1 -1
  104. package/coverage/lcov.info +514 -89
  105. package/cypress/support/commands.ts +37 -0
  106. package/cypress/support/component-index.html +12 -0
  107. package/cypress/support/component.ts +46 -0
  108. package/cypress.config.ts +101 -0
  109. package/dist/components/MapLibreMap/MapLibreMap.d.ts +1 -1
  110. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +3 -3
  111. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.cy.d.ts +1 -0
  112. package/dist/components/MlCreatePdfForm/lib/PdfPreview.d.ts +1 -1
  113. package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +10 -4
  114. package/dist/components/MlFeatureEditor/lib/double_click_zoom.d.ts +0 -2
  115. package/dist/components/MlFeatureEditor/lib/theme.d.ts +1 -1
  116. package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +1 -1
  117. package/dist/components/MlGPXViewer/util/MlGPXViewerInstructions.d.ts +1 -0
  118. package/dist/components/MlGPXViewer/util/SampleLayer.d.ts +0 -0
  119. package/dist/components/MlGPXViewer/util/demoViewer.d.ts +5 -0
  120. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +4 -4
  121. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +103 -11
  122. package/dist/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.d.ts +2 -0
  123. package/dist/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.d.ts +2 -0
  124. package/dist/components/MlSketchTool/LayerList/ColorPicker.d.ts +9 -0
  125. package/dist/components/MlSketchTool/LayerList/LayerList.d.ts +5 -0
  126. package/dist/components/MlSketchTool/LayerList/LayerListItem.d.ts +11 -0
  127. package/dist/components/MlSketchTool/LayerList/LayerPropertyForm.d.ts +9 -0
  128. package/dist/components/MlSketchTool/MlSketchTool.d.ts +29 -0
  129. package/dist/components/MlSketchTool/MlSketchTool.stories.d.ts +10 -0
  130. package/dist/contexts/SimpleDataProvider.d.ts +1 -1
  131. package/dist/custom.d.d.ts +1 -1
  132. package/dist/hooks/useLayer.d.ts +1 -1
  133. package/dist/hooks/useMap.d.ts +1 -1
  134. package/dist/hooks/useMapState.d.ts +3 -3
  135. package/dist/hooks/useSource.d.ts +1 -1
  136. package/dist/index.esm.css +1 -1
  137. package/dist/index.esm.js +2736 -3557
  138. package/dist/index.esm.js.map +1 -1
  139. package/dist/ui_components/LoadingOverlayContext.d.ts +1 -1
  140. package/dist/ui_components/Sidebar.d.ts +9 -1
  141. package/dist/ui_components/TopToolbar.d.ts +6 -1
  142. package/package.json +21 -15
  143. package/public/assets/sample1.gpx +3003 -0
  144. package/public/assets/sample2.gpx +1264 -0
  145. package/public/assets/sample3.gpx +912 -0
  146. package/public/index.html +0 -4
  147. package/public/thumbnails/MlSketchTool.png +0 -0
  148. package/public/thumbnails/useCameraFollowPath.png +0 -0
  149. package/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx +21 -0
  150. package/src/components/MlCreatePdfForm/MlCreatePdfForm.stories.tsx +1 -3
  151. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +1 -1
  152. package/src/components/MlFeatureEditor/MlFeatureEditor.meta.json +1 -1
  153. package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +39 -28
  154. package/src/components/MlGPXViewer/MlGPXViewer.stories.js +75 -15
  155. package/src/components/MlGPXViewer/MlGPXViewer.tsx +3 -1
  156. package/src/components/MlGPXViewer/util/MlGPXViewerInstructions.js +145 -0
  157. package/src/components/MlGPXViewer/util/SampleLayer.js +2 -0
  158. package/src/components/MlGPXViewer/util/demoViewer.js +254 -0
  159. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.tsx +102 -0
  160. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +33 -23
  161. package/src/components/MlGeoJsonLayer/assets/sample_1.json +138 -24
  162. package/src/components/MlGeoJsonLayer/assets/sample_2.json +140 -20
  163. package/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js +189 -0
  164. package/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js +188 -0
  165. package/src/components/MlSketchTool/LayerList/ColorPicker.tsx +43 -0
  166. package/src/components/MlSketchTool/LayerList/LayerList.tsx +12 -0
  167. package/src/components/MlSketchTool/LayerList/LayerListItem.tsx +109 -0
  168. package/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx +126 -0
  169. package/src/components/MlSketchTool/MlSketchTool.doc.de.md +3 -0
  170. package/src/components/MlSketchTool/MlSketchTool.meta.json +15 -0
  171. package/src/components/MlSketchTool/MlSketchTool.stories.js +26 -0
  172. package/src/components/MlSketchTool/MlSketchTool.tsx +271 -0
  173. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.meta.json +2 -2
  174. package/src/ui_components/Sidebar.tsx +80 -0
  175. package/src/ui_components/TopToolbar.tsx +24 -0
  176. package/tsconfig.json +39 -58
  177. package/config/getHttpsConfig.js +0 -66
  178. package/config/modules.js +0 -134
  179. package/config/pnpTs.js +0 -35
  180. package/config/webpack.config.js +0 -757
  181. package/config/webpackDevServer.config.js +0 -130
  182. package/scripts/start.js +0 -166
  183. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.js +0 -66
  184. package/src/ui_components/Sidebar.js +0 -100
  185. package/src/ui_components/TopToolbar.js +0 -29
@@ -128,6 +128,28 @@ BRF:2
128
128
  BRH:0
129
129
  end_of_record
130
130
  TN:
131
+ SF:src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx
132
+ FN:9,(anonymous_0)
133
+ FN:10,(anonymous_1)
134
+ FNF:2
135
+ FNH:0
136
+ FNDA:0,(anonymous_0)
137
+ FNDA:0,(anonymous_1)
138
+ DA:7,0
139
+ DA:9,0
140
+ DA:10,0
141
+ DA:12,0
142
+ DA:14,0
143
+ DA:16,0
144
+ DA:17,0
145
+ DA:18,0
146
+ DA:19,0
147
+ LF:9
148
+ LH:0
149
+ BRF:0
150
+ BRH:0
151
+ end_of_record
152
+ TN:
131
153
  SF:src/components/MlCreatePdfForm/MlCreatePdfForm.tsx
132
154
  FN:24,(anonymous_0)
133
155
  FNF:1
@@ -143,14 +165,14 @@ BRH:0
143
165
  end_of_record
144
166
  TN:
145
167
  SF:src/components/MlFeatureEditor/MlFeatureEditor.tsx
146
- FN:44,(anonymous_0)
147
- FN:55,(anonymous_1)
148
- FN:60,(anonymous_2)
149
- FN:97,(anonymous_3)
150
- FN:100,(anonymous_4)
151
- FN:114,(anonymous_5)
152
- FN:124,(anonymous_6)
153
- FN:130,(anonymous_7)
168
+ FN:50,(anonymous_0)
169
+ FN:60,(anonymous_1)
170
+ FN:71,(anonymous_2)
171
+ FN:109,(anonymous_3)
172
+ FN:112,(anonymous_4)
173
+ FN:126,(anonymous_5)
174
+ FN:134,(anonymous_6)
175
+ FN:140,(anonymous_7)
154
176
  FNF:8
155
177
  FNH:6
156
178
  FNDA:16,(anonymous_0)
@@ -161,74 +183,81 @@ FNDA:0,(anonymous_4)
161
183
  FNDA:2,(anonymous_5)
162
184
  FNDA:8,(anonymous_6)
163
185
  FNDA:4,(anonymous_7)
164
- DA:44,11
165
- DA:45,16
166
- DA:46,16
186
+ DA:50,11
167
187
  DA:51,16
168
188
  DA:52,16
169
- DA:55,16
170
- DA:56,0
189
+ DA:57,16
190
+ DA:58,16
171
191
  DA:60,16
172
- DA:61,12
173
- DA:62,4
174
- DA:64,4
175
- DA:71,0
176
- DA:74,4
177
- DA:88,4
178
- DA:91,4
179
- DA:93,4
180
- DA:97,16
181
- DA:98,12
182
- DA:100,4
183
- DA:101,0
184
- DA:103,0
185
- DA:104,0
186
- DA:105,0
187
- DA:110,4
192
+ DA:61,0
193
+ DA:63,0
194
+ DA:67,0
195
+ DA:71,16
196
+ DA:72,12
197
+ DA:73,4
198
+ DA:75,4
199
+ DA:83,0
200
+ DA:86,4
201
+ DA:101,4
202
+ DA:103,4
203
+ DA:105,4
204
+ DA:109,16
205
+ DA:110,12
188
206
  DA:112,4
189
- DA:114,4
190
- DA:115,2
191
- DA:117,2
192
- DA:119,2
193
- DA:124,16
194
- DA:125,8
207
+ DA:113,0
208
+ DA:115,0
209
+ DA:116,0
210
+ DA:117,0
211
+ DA:122,4
212
+ DA:124,4
195
213
  DA:126,4
196
- DA:130,16
197
- DA:131,4
198
- DA:133,0
199
- DA:137,16
200
- LF:36
214
+ DA:127,2
215
+ DA:129,2
216
+ DA:130,2
217
+ DA:134,16
218
+ DA:135,8
219
+ DA:136,4
220
+ DA:140,16
221
+ DA:141,4
222
+ DA:144,0
223
+ DA:148,16
224
+ LF:38
201
225
  LH:29
202
- BRDA:61,0,0,4
203
- BRDA:61,0,1,8
204
- BRDA:61,1,0,12
205
- BRDA:61,1,1,4
206
- BRDA:64,2,0,0
207
- BRDA:64,2,1,4
208
- BRDA:65,3,0,4
209
- BRDA:65,3,1,4
210
- BRDA:65,3,2,0
211
- BRDA:76,4,0,4
212
- BRDA:76,4,1,0
213
- BRDA:98,5,0,8
214
- BRDA:98,5,1,4
215
- BRDA:98,6,0,12
216
- BRDA:98,6,1,8
217
- BRDA:101,7,0,0
218
- BRDA:101,7,1,0
219
- BRDA:103,8,0,0
220
- BRDA:103,8,1,0
221
- BRDA:115,9,0,0
222
- BRDA:115,9,1,2
223
- BRDA:125,10,0,4
224
- BRDA:125,10,1,4
225
- BRDA:125,11,0,8
226
- BRDA:125,11,1,4
227
- BRDA:131,12,0,0
228
- BRDA:131,12,1,4
229
- BRDA:131,13,0,4
230
- BRDA:131,13,1,4
231
- BRF:29
226
+ BRDA:63,0,0,0
227
+ BRDA:63,0,1,0
228
+ BRDA:64,1,0,0
229
+ BRDA:64,1,1,0
230
+ BRDA:64,1,2,0
231
+ BRDA:72,2,0,4
232
+ BRDA:72,2,1,8
233
+ BRDA:72,3,0,12
234
+ BRDA:72,3,1,4
235
+ BRDA:75,4,0,0
236
+ BRDA:75,4,1,4
237
+ BRDA:76,5,0,4
238
+ BRDA:76,5,1,4
239
+ BRDA:76,5,2,0
240
+ BRDA:88,6,0,4
241
+ BRDA:88,6,1,0
242
+ BRDA:110,7,0,8
243
+ BRDA:110,7,1,4
244
+ BRDA:110,8,0,12
245
+ BRDA:110,8,1,8
246
+ BRDA:113,9,0,0
247
+ BRDA:113,9,1,0
248
+ BRDA:115,10,0,0
249
+ BRDA:115,10,1,0
250
+ BRDA:127,11,0,0
251
+ BRDA:127,11,1,2
252
+ BRDA:135,12,0,4
253
+ BRDA:135,12,1,4
254
+ BRDA:135,13,0,8
255
+ BRDA:135,13,1,4
256
+ BRDA:141,14,0,0
257
+ BRDA:141,14,1,4
258
+ BRDA:141,15,0,4
259
+ BRDA:141,15,1,4
260
+ BRF:34
232
261
  BRH:20
233
262
  end_of_record
234
263
  TN:
@@ -394,7 +423,7 @@ FN:256,(anonymous_19)
394
423
  FN:259,(anonymous_20)
395
424
  FN:265,(anonymous_21)
396
425
  FN:276,(anonymous_22)
397
- FN:334,(anonymous_23)
426
+ FN:336,(anonymous_23)
398
427
  FNF:24
399
428
  FNH:6
400
429
  FNDA:18,(anonymous_0)
@@ -533,9 +562,9 @@ DA:273,0
533
562
  DA:276,18
534
563
  DA:277,0
535
564
  DA:279,0
536
- DA:281,18
537
- DA:335,0
538
- DA:372,10
565
+ DA:283,18
566
+ DA:337,0
567
+ DA:374,10
539
568
  LF:115
540
569
  LH:50
541
570
  BRDA:65,0,0,6
@@ -580,8 +609,8 @@ BRDA:266,19,0,0
580
609
  BRDA:266,19,1,0
581
610
  BRDA:277,20,0,0
582
611
  BRDA:277,20,1,0
583
- BRDA:287,21,0,0
584
- BRDA:287,21,1,18
612
+ BRDA:289,21,0,0
613
+ BRDA:289,21,1,18
585
614
  BRF:44
586
615
  BRH:7
587
616
  end_of_record
@@ -1135,28 +1164,148 @@ BRH:1
1135
1164
  end_of_record
1136
1165
  TN:
1137
1166
  SF:src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx
1138
- FN:83,(anonymous_0)
1167
+ FN:99,(anonymous_0)
1139
1168
  FNF:1
1140
1169
  FNH:1
1141
1170
  FNDA:32,(anonymous_0)
1142
- DA:83,11
1143
- DA:84,32
1144
- DA:86,32
1145
- DA:107,32
1171
+ DA:99,11
1172
+ DA:100,32
1173
+ DA:102,32
1174
+ DA:118,32
1146
1175
  LF:4
1147
1176
  LH:4
1148
- BRDA:84,0,0,32
1149
- BRDA:84,0,1,0
1150
- BRDA:88,1,0,32
1151
- BRDA:88,1,1,32
1152
- BRDA:92,2,0,32
1153
- BRDA:92,2,1,32
1154
- BRDA:97,3,0,32
1155
- BRDA:97,3,1,32
1177
+ BRDA:100,0,0,32
1178
+ BRDA:100,0,1,0
1179
+ BRDA:104,1,0,32
1180
+ BRDA:104,1,1,32
1181
+ BRDA:107,2,0,32
1182
+ BRDA:107,2,1,32
1183
+ BRDA:108,3,0,32
1184
+ BRDA:108,3,1,32
1156
1185
  BRF:8
1157
1186
  BRH:7
1158
1187
  end_of_record
1159
1188
  TN:
1189
+ SF:src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js
1190
+ FN:74,(anonymous_0)
1191
+ FN:80,(anonymous_1)
1192
+ FN:86,(anonymous_2)
1193
+ FN:98,(anonymous_3)
1194
+ FN:109,(anonymous_4)
1195
+ FN:113,(anonymous_5)
1196
+ FN:131,(anonymous_6)
1197
+ FN:134,(anonymous_7)
1198
+ FN:154,(anonymous_8)
1199
+ FN:166,(anonymous_9)
1200
+ FNF:10
1201
+ FNH:0
1202
+ FNDA:0,(anonymous_0)
1203
+ FNDA:0,(anonymous_1)
1204
+ FNDA:0,(anonymous_2)
1205
+ FNDA:0,(anonymous_3)
1206
+ FNDA:0,(anonymous_4)
1207
+ FNDA:0,(anonymous_5)
1208
+ FNDA:0,(anonymous_6)
1209
+ FNDA:0,(anonymous_7)
1210
+ FNDA:0,(anonymous_8)
1211
+ FNDA:0,(anonymous_9)
1212
+ DA:17,0
1213
+ DA:26,0
1214
+ DA:48,0
1215
+ DA:63,0
1216
+ DA:64,0
1217
+ DA:65,0
1218
+ DA:74,0
1219
+ DA:75,0
1220
+ DA:76,0
1221
+ DA:77,0
1222
+ DA:78,0
1223
+ DA:80,0
1224
+ DA:81,0
1225
+ DA:82,0
1226
+ DA:84,0
1227
+ DA:87,0
1228
+ DA:88,0
1229
+ DA:89,0
1230
+ DA:96,0
1231
+ DA:98,0
1232
+ DA:101,0
1233
+ DA:102,0
1234
+ DA:106,0
1235
+ DA:109,0
1236
+ DA:110,0
1237
+ DA:113,0
1238
+ DA:114,0
1239
+ DA:115,0
1240
+ DA:118,0
1241
+ DA:131,0
1242
+ DA:135,0
1243
+ DA:155,0
1244
+ DA:167,0
1245
+ LF:33
1246
+ LH:0
1247
+ BRDA:81,0,0,0
1248
+ BRDA:81,0,1,0
1249
+ BRDA:88,1,0,0
1250
+ BRDA:88,1,1,0
1251
+ BRDA:104,2,0,0
1252
+ BRDA:104,2,1,0
1253
+ BRDA:136,3,0,0
1254
+ BRDA:136,3,1,0
1255
+ BRF:8
1256
+ BRH:0
1257
+ end_of_record
1258
+ TN:
1259
+ SF:src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js
1260
+ FN:61,(anonymous_0)
1261
+ FN:68,(anonymous_1)
1262
+ FN:74,(anonymous_2)
1263
+ FN:78,(anonymous_3)
1264
+ FN:90,(anonymous_4)
1265
+ FN:110,(anonymous_5)
1266
+ FN:144,(anonymous_6)
1267
+ FN:157,(anonymous_7)
1268
+ FNF:8
1269
+ FNH:0
1270
+ FNDA:0,(anonymous_0)
1271
+ FNDA:0,(anonymous_1)
1272
+ FNDA:0,(anonymous_2)
1273
+ FNDA:0,(anonymous_3)
1274
+ FNDA:0,(anonymous_4)
1275
+ FNDA:0,(anonymous_5)
1276
+ FNDA:0,(anonymous_6)
1277
+ FNDA:0,(anonymous_7)
1278
+ DA:23,0
1279
+ DA:46,0
1280
+ DA:61,0
1281
+ DA:62,0
1282
+ DA:63,0
1283
+ DA:64,0
1284
+ DA:65,0
1285
+ DA:66,0
1286
+ DA:68,0
1287
+ DA:69,0
1288
+ DA:70,0
1289
+ DA:72,0
1290
+ DA:74,0
1291
+ DA:78,0
1292
+ DA:79,0
1293
+ DA:82,0
1294
+ DA:91,0
1295
+ DA:92,0
1296
+ DA:111,0
1297
+ DA:112,0
1298
+ DA:145,0
1299
+ DA:146,0
1300
+ DA:158,0
1301
+ LF:23
1302
+ LH:0
1303
+ BRDA:69,0,0,0
1304
+ BRDA:69,0,1,0
1305
+ BRF:2
1306
+ BRH:0
1307
+ end_of_record
1308
+ TN:
1160
1309
  SF:src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx
1161
1310
  FN:22,(anonymous_0)
1162
1311
  FN:112,(anonymous_1)
@@ -2372,6 +2521,282 @@ BRF:54
2372
2521
  BRH:0
2373
2522
  end_of_record
2374
2523
  TN:
2524
+ SF:src/components/MlSketchTool/MlSketchTool.tsx
2525
+ FN:46,(anonymous_0)
2526
+ FN:71,(anonymous_1)
2527
+ FN:74,(anonymous_2)
2528
+ FN:80,(anonymous_3)
2529
+ FN:90,(anonymous_4)
2530
+ FN:91,(anonymous_5)
2531
+ FN:112,(anonymous_6)
2532
+ FN:117,(anonymous_7)
2533
+ FN:122,(anonymous_8)
2534
+ FN:139,(anonymous_9)
2535
+ FN:140,(anonymous_10)
2536
+ FN:164,(anonymous_11)
2537
+ FN:165,(anonymous_12)
2538
+ FN:178,(anonymous_13)
2539
+ FN:189,(anonymous_14)
2540
+ FN:192,(anonymous_15)
2541
+ FN:212,(anonymous_16)
2542
+ FN:224,(anonymous_17)
2543
+ FN:225,(anonymous_18)
2544
+ FN:236,(anonymous_19)
2545
+ FNF:20
2546
+ FNH:0
2547
+ FNDA:0,(anonymous_0)
2548
+ FNDA:0,(anonymous_1)
2549
+ FNDA:0,(anonymous_2)
2550
+ FNDA:0,(anonymous_3)
2551
+ FNDA:0,(anonymous_4)
2552
+ FNDA:0,(anonymous_5)
2553
+ FNDA:0,(anonymous_6)
2554
+ FNDA:0,(anonymous_7)
2555
+ FNDA:0,(anonymous_8)
2556
+ FNDA:0,(anonymous_9)
2557
+ FNDA:0,(anonymous_10)
2558
+ FNDA:0,(anonymous_11)
2559
+ FNDA:0,(anonymous_12)
2560
+ FNDA:0,(anonymous_13)
2561
+ FNDA:0,(anonymous_14)
2562
+ FNDA:0,(anonymous_15)
2563
+ FNDA:0,(anonymous_16)
2564
+ FNDA:0,(anonymous_17)
2565
+ FNDA:0,(anonymous_18)
2566
+ FNDA:0,(anonymous_19)
2567
+ DA:46,0
2568
+ DA:53,0
2569
+ DA:58,0
2570
+ DA:59,0
2571
+ DA:66,0
2572
+ DA:70,0
2573
+ DA:72,0
2574
+ DA:73,0
2575
+ DA:74,0
2576
+ DA:80,0
2577
+ DA:90,0
2578
+ DA:91,0
2579
+ DA:92,0
2580
+ DA:93,0
2581
+ DA:95,0
2582
+ DA:103,0
2583
+ DA:112,0
2584
+ DA:117,0
2585
+ DA:122,0
2586
+ DA:140,0
2587
+ DA:141,0
2588
+ DA:142,0
2589
+ DA:143,0
2590
+ DA:145,0
2591
+ DA:146,0
2592
+ DA:147,0
2593
+ DA:149,0
2594
+ DA:151,0
2595
+ DA:154,0
2596
+ DA:165,0
2597
+ DA:179,0
2598
+ DA:190,0
2599
+ DA:193,0
2600
+ DA:213,0
2601
+ DA:225,0
2602
+ DA:237,0
2603
+ DA:267,0
2604
+ LF:37
2605
+ LH:0
2606
+ BRDA:73,0,0,0
2607
+ BRDA:73,0,1,0
2608
+ BRDA:129,1,0,0
2609
+ BRDA:129,1,1,0
2610
+ BRDA:132,2,0,0
2611
+ BRDA:132,2,1,0
2612
+ BRDA:133,3,0,0
2613
+ BRDA:133,3,1,0
2614
+ BRDA:138,4,0,0
2615
+ BRDA:138,4,1,0
2616
+ BRDA:142,5,0,0
2617
+ BRDA:142,5,1,0
2618
+ BRDA:142,6,0,0
2619
+ BRDA:142,6,1,0
2620
+ BRDA:145,7,0,0
2621
+ BRDA:145,7,1,0
2622
+ BRDA:157,8,0,0
2623
+ BRDA:157,8,1,0
2624
+ BRDA:157,9,0,0
2625
+ BRDA:157,9,1,0
2626
+ BRDA:169,10,0,0
2627
+ BRDA:169,10,1,0
2628
+ BRDA:171,11,0,0
2629
+ BRDA:171,11,1,0
2630
+ BRDA:214,12,0,0
2631
+ BRDA:214,12,1,0
2632
+ BRDA:246,13,0,0
2633
+ BRDA:246,13,1,0
2634
+ BRDA:260,14,0,0
2635
+ BRDA:260,14,1,0
2636
+ BRF:30
2637
+ BRH:0
2638
+ end_of_record
2639
+ TN:
2640
+ SF:src/components/MlSketchTool/LayerList/ColorPicker.tsx
2641
+ FN:14,PaintPropsColorPicker
2642
+ FN:18,(anonymous_1)
2643
+ FN:19,(anonymous_2)
2644
+ FNF:3
2645
+ FNH:0
2646
+ FNDA:0,PaintPropsColorPicker
2647
+ FNDA:0,(anonymous_1)
2648
+ FNDA:0,(anonymous_2)
2649
+ DA:15,0
2650
+ DA:19,0
2651
+ DA:20,0
2652
+ DA:21,0
2653
+ DA:24,0
2654
+ DA:38,0
2655
+ LF:6
2656
+ LH:0
2657
+ BRDA:20,0,0,0
2658
+ BRDA:20,0,1,0
2659
+ BRF:2
2660
+ BRH:0
2661
+ end_of_record
2662
+ TN:
2663
+ SF:src/components/MlSketchTool/LayerList/LayerList.tsx
2664
+ FN:8,LayerList
2665
+ FNF:1
2666
+ FNH:0
2667
+ FNDA:0,LayerList
2668
+ DA:9,0
2669
+ LF:1
2670
+ LH:0
2671
+ BRF:0
2672
+ BRH:0
2673
+ end_of_record
2674
+ TN:
2675
+ SF:src/components/MlSketchTool/LayerList/LayerListItem.tsx
2676
+ FN:18,LayerListItem
2677
+ FN:35,(anonymous_1)
2678
+ FN:42,(anonymous_2)
2679
+ FN:54,(anonymous_3)
2680
+ FN:75,(anonymous_4)
2681
+ FN:76,(anonymous_5)
2682
+ FN:90,(anonymous_6)
2683
+ FN:91,(anonymous_7)
2684
+ FNF:8
2685
+ FNH:0
2686
+ FNDA:0,LayerListItem
2687
+ FNDA:0,(anonymous_1)
2688
+ FNDA:0,(anonymous_2)
2689
+ FNDA:0,(anonymous_3)
2690
+ FNDA:0,(anonymous_4)
2691
+ FNDA:0,(anonymous_5)
2692
+ FNDA:0,(anonymous_6)
2693
+ FNDA:0,(anonymous_7)
2694
+ DA:26,0
2695
+ DA:27,0
2696
+ DA:28,0
2697
+ DA:35,0
2698
+ DA:36,0
2699
+ DA:37,0
2700
+ DA:39,0
2701
+ DA:42,0
2702
+ DA:43,0
2703
+ DA:44,0
2704
+ DA:51,0
2705
+ DA:54,0
2706
+ DA:55,0
2707
+ DA:56,0
2708
+ DA:57,0
2709
+ DA:59,0
2710
+ DA:60,0
2711
+ DA:64,0
2712
+ DA:67,0
2713
+ DA:76,0
2714
+ DA:77,0
2715
+ DA:91,0
2716
+ LF:22
2717
+ LH:0
2718
+ BRDA:20,0,0,0
2719
+ BRDA:21,1,0,0
2720
+ BRDA:29,2,0,0
2721
+ BRDA:29,2,1,0
2722
+ BRDA:31,3,0,0
2723
+ BRDA:31,3,1,0
2724
+ BRDA:36,4,0,0
2725
+ BRDA:36,4,1,0
2726
+ BRDA:43,5,0,0
2727
+ BRDA:43,5,1,0
2728
+ BRDA:46,6,0,0
2729
+ BRDA:46,6,1,0
2730
+ BRDA:55,7,0,0
2731
+ BRDA:55,7,1,0
2732
+ BRDA:56,8,0,0
2733
+ BRDA:56,8,1,0
2734
+ BRDA:59,9,0,0
2735
+ BRDA:59,9,1,0
2736
+ BRDA:71,10,0,0
2737
+ BRDA:71,10,1,0
2738
+ BRDA:98,11,0,0
2739
+ BRDA:98,11,1,0
2740
+ BRDA:98,11,2,0
2741
+ BRF:23
2742
+ BRH:0
2743
+ end_of_record
2744
+ TN:
2745
+ SF:src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx
2746
+ FN:51,LayerPropertyForm
2747
+ FN:55,(anonymous_1)
2748
+ FN:71,(anonymous_2)
2749
+ FN:73,(anonymous_3)
2750
+ FN:87,(anonymous_4)
2751
+ FN:89,(anonymous_5)
2752
+ FN:121,(anonymous_6)
2753
+ FNF:7
2754
+ FNH:0
2755
+ FNDA:0,LayerPropertyForm
2756
+ FNDA:0,(anonymous_1)
2757
+ FNDA:0,(anonymous_2)
2758
+ FNDA:0,(anonymous_3)
2759
+ FNDA:0,(anonymous_4)
2760
+ FNDA:0,(anonymous_5)
2761
+ FNDA:0,(anonymous_6)
2762
+ DA:24,0
2763
+ DA:29,0
2764
+ DA:36,0
2765
+ DA:38,0
2766
+ DA:52,0
2767
+ DA:55,0
2768
+ DA:56,0
2769
+ DA:58,0
2770
+ DA:62,0
2771
+ DA:64,0
2772
+ DA:72,0
2773
+ DA:73,0
2774
+ DA:79,0
2775
+ DA:81,0
2776
+ DA:88,0
2777
+ DA:89,0
2778
+ DA:95,0
2779
+ DA:97,0
2780
+ DA:108,0
2781
+ DA:111,0
2782
+ DA:114,0
2783
+ DA:121,0
2784
+ LF:22
2785
+ LH:0
2786
+ BRDA:51,0,0,0
2787
+ BRDA:56,1,0,0
2788
+ BRDA:56,1,1,0
2789
+ BRDA:62,2,0,0
2790
+ BRDA:62,2,1,0
2791
+ BRDA:62,2,2,0
2792
+ BRDA:72,3,0,0
2793
+ BRDA:72,3,1,0
2794
+ BRDA:88,4,0,0
2795
+ BRDA:88,4,1,0
2796
+ BRF:10
2797
+ BRH:0
2798
+ end_of_record
2799
+ TN:
2375
2800
  SF:src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js
2376
2801
  FN:14,(anonymous_0)
2377
2802
  FN:28,(anonymous_1)
@@ -0,0 +1,37 @@
1
+ /// <reference types="cypress" />
2
+ // ***********************************************
3
+ // This example commands.ts shows you how to
4
+ // create various custom commands and overwrite
5
+ // existing commands.
6
+ //
7
+ // For more comprehensive examples of custom
8
+ // commands please read more here:
9
+ // https://on.cypress.io/custom-commands
10
+ // ***********************************************
11
+ //
12
+ //
13
+ // -- This is a parent command --
14
+ // Cypress.Commands.add('login', (email, password) => { ... })
15
+ //
16
+ //
17
+ // -- This is a child command --
18
+ // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19
+ //
20
+ //
21
+ // -- This is a dual command --
22
+ // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23
+ //
24
+ //
25
+ // -- This will overwrite an existing command --
26
+ // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27
+ //
28
+ // declare global {
29
+ // namespace Cypress {
30
+ // interface Chainable {
31
+ // login(email: string, password: string): Chainable<void>
32
+ // drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
33
+ // dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
34
+ // visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
35
+ // }
36
+ // }
37
+ // }
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <title>Components App</title>
8
+ </head>
9
+ <body>
10
+ <div data-cy-root></div>
11
+ </body>
12
+ </html>