@mapcomponents/react-maplibre 0.1.40 → 0.1.41
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/coverage/clover.xml +86 -86
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +14 -14
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
- package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +51 -15
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
- package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
- package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
- package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
- package/coverage/lcov-report/src/contexts/index.html +1 -1
- package/coverage/lcov-report/src/hooks/index.html +17 -17
- package/coverage/lcov-report/src/hooks/useLayer.ts.html +10 -10
- package/coverage/lcov-report/src/hooks/useMap.ts.html +17 -11
- package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov.info +182 -178
- package/dist/index.esm.js +8 -3
- package/dist/index.esm.js.map +1 -1
- package/docs-build/{0.93d0ce3d.iframe.bundle.js → 0.b1b9b035.iframe.bundle.js} +2 -2
- package/docs-build/0.b1b9b035.iframe.bundle.js.map +1 -0
- package/docs-build/{1.2b1ae3fa.iframe.bundle.js → 1.c50fb367.iframe.bundle.js} +3 -3
- package/docs-build/1.c50fb367.iframe.bundle.js.map +1 -0
- package/docs-build/{16.2c8135a1.iframe.bundle.js → 17.2e544968.iframe.bundle.js} +2 -2
- package/docs-build/17.2e544968.iframe.bundle.js.map +1 -0
- package/docs-build/{17.9a16865a.iframe.bundle.js → 18.42087006.iframe.bundle.js} +3 -3
- package/docs-build/18.42087006.iframe.bundle.js.map +1 -0
- package/docs-build/{18.4c47f37e.iframe.bundle.js → 19.7e782442.iframe.bundle.js} +2 -2
- package/docs-build/19.7e782442.iframe.bundle.js.map +1 -0
- package/docs-build/{2.4518b817.iframe.bundle.js → 2.e58dc625.iframe.bundle.js} +2 -2
- package/docs-build/2.e58dc625.iframe.bundle.js.map +1 -0
- package/docs-build/{19.cdf25e28.iframe.bundle.js → 20.f009289a.iframe.bundle.js} +2 -2
- package/docs-build/20.f009289a.iframe.bundle.js.map +1 -0
- package/docs-build/{20.4c43e27c.iframe.bundle.js → 21.1cdc9040.iframe.bundle.js} +2 -2
- package/docs-build/21.1cdc9040.iframe.bundle.js.map +1 -0
- package/docs-build/{21.19c21085.iframe.bundle.js → 22.c9e6b2d7.iframe.bundle.js} +2 -2
- package/docs-build/22.c9e6b2d7.iframe.bundle.js.map +1 -0
- package/docs-build/{3.5dd9e88b.iframe.bundle.js → 3.a8172b89.iframe.bundle.js} +2 -2
- package/docs-build/3.a8172b89.iframe.bundle.js.map +1 -0
- package/docs-build/iframe.html +1 -1
- package/docs-build/main~24120820.edd86ba9.iframe.bundle.js +2 -0
- package/docs-build/main~24120820.edd86ba9.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~0ad7406a.22b96f8e.iframe.bundle.js → vendors~main~0ad7406a.2054ae7c.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~0ad7406a.2054ae7c.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js +2 -0
- package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js → vendors~main~41a6ab2c.a947ed53.iframe.bundle.js} +2 -2
- package/docs-build/vendors~main~41a6ab2c.a947ed53.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js +2 -0
- package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~73914085.3d4f5bbf.iframe.bundle.js → vendors~main~73914085.a8e03e3b.iframe.bundle.js} +6 -6
- package/docs-build/{vendors~main~73914085.3d4f5bbf.iframe.bundle.js.map → vendors~main~73914085.a8e03e3b.iframe.bundle.js.map} +1 -1
- package/docs-build/{vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js → vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b5906859.b606e812.iframe.bundle.js → vendors~main~b5906859.7f66dcaf.iframe.bundle.js} +5 -5
- package/docs-build/vendors~main~b5906859.7f66dcaf.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b8f44717.7a612c34.iframe.bundle.js → vendors~main~b8f44717.7053e467.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~b8f44717.7053e467.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b9cf3951.a6200a51.iframe.bundle.js → vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js} +11 -11
- package/docs-build/vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js +2 -0
- package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js +107 -0
- package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js.map +1 -0
- package/package.json +1 -1
- package/rollup.config.js +1 -1
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +2 -0
- package/src/components/MlWmsLoader/MlWmsLoader.tsx +25 -13
- package/src/hooks/useLayer.ts +4 -4
- package/src/hooks/useMap.ts +4 -2
- package/docs-build/0.93d0ce3d.iframe.bundle.js.map +0 -1
- package/docs-build/1.2b1ae3fa.iframe.bundle.js.map +0 -1
- package/docs-build/16.2c8135a1.iframe.bundle.js.map +0 -1
- package/docs-build/17.9a16865a.iframe.bundle.js.map +0 -1
- package/docs-build/18.4c47f37e.iframe.bundle.js.map +0 -1
- package/docs-build/19.cdf25e28.iframe.bundle.js.map +0 -1
- package/docs-build/2.4518b817.iframe.bundle.js.map +0 -1
- package/docs-build/20.4c43e27c.iframe.bundle.js.map +0 -1
- package/docs-build/21.19c21085.iframe.bundle.js.map +0 -1
- package/docs-build/3.5dd9e88b.iframe.bundle.js.map +0 -1
- package/docs-build/main~24120820.e0a66582.iframe.bundle.js +0 -2
- package/docs-build/main~24120820.e0a66582.iframe.bundle.js.map +0 -1
- package/docs-build/stories.json +0 -579
- package/docs-build/vendors~main~0ad7406a.22b96f8e.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b5906859.b606e812.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b8f44717.7a612c34.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b9cf3951.a6200a51.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~dab50aa4.277284e0.iframe.bundle.js +0 -107
- package/docs-build/vendors~main~dab50aa4.277284e0.iframe.bundle.js.map +0 -1
package/coverage/lcov.info
CHANGED
|
@@ -2630,25 +2630,25 @@ TN:
|
|
|
2630
2630
|
SF:src/components/MlWmsLoader/MlWmsLoader.tsx
|
|
2631
2631
|
FN:21,(anonymous_0)
|
|
2632
2632
|
FN:67,(anonymous_1)
|
|
2633
|
-
FN:
|
|
2634
|
-
FN:
|
|
2635
|
-
FN:
|
|
2636
|
-
FN:
|
|
2637
|
-
FN:
|
|
2638
|
-
FN:
|
|
2639
|
-
FN:
|
|
2640
|
-
FN:
|
|
2641
|
-
FN:
|
|
2642
|
-
FN:
|
|
2643
|
-
FN:
|
|
2644
|
-
FN:
|
|
2645
|
-
FN:
|
|
2646
|
-
FN:
|
|
2647
|
-
FN:
|
|
2648
|
-
FN:
|
|
2649
|
-
FN:
|
|
2650
|
-
FN:
|
|
2651
|
-
FN:
|
|
2633
|
+
FN:92,(anonymous_2)
|
|
2634
|
+
FN:95,(anonymous_3)
|
|
2635
|
+
FN:110,(anonymous_4)
|
|
2636
|
+
FN:117,(anonymous_5)
|
|
2637
|
+
FN:136,(anonymous_6)
|
|
2638
|
+
FN:139,(anonymous_7)
|
|
2639
|
+
FN:141,(anonymous_8)
|
|
2640
|
+
FN:144,(anonymous_9)
|
|
2641
|
+
FN:174,(anonymous_10)
|
|
2642
|
+
FN:180,(anonymous_11)
|
|
2643
|
+
FN:184,(anonymous_12)
|
|
2644
|
+
FN:189,(anonymous_13)
|
|
2645
|
+
FN:195,(anonymous_14)
|
|
2646
|
+
FN:200,(anonymous_15)
|
|
2647
|
+
FN:214,(anonymous_16)
|
|
2648
|
+
FN:236,(anonymous_17)
|
|
2649
|
+
FN:251,(anonymous_18)
|
|
2650
|
+
FN:264,(anonymous_19)
|
|
2651
|
+
FN:272,(anonymous_20)
|
|
2652
2652
|
FNF:21
|
|
2653
2653
|
FNH:0
|
|
2654
2654
|
FNDA:0,(anonymous_0)
|
|
@@ -2686,142 +2686,142 @@ DA:31,0
|
|
|
2686
2686
|
DA:67,0
|
|
2687
2687
|
DA:69,0
|
|
2688
2688
|
DA:70,0
|
|
2689
|
-
DA:
|
|
2690
|
-
DA:78,0
|
|
2691
|
-
DA:79,0
|
|
2692
|
-
DA:80,0
|
|
2693
|
-
DA:82,0
|
|
2694
|
-
DA:83,0
|
|
2689
|
+
DA:84,0
|
|
2695
2690
|
DA:85,0
|
|
2696
2691
|
DA:86,0
|
|
2697
|
-
DA:
|
|
2692
|
+
DA:87,0
|
|
2693
|
+
DA:89,0
|
|
2694
|
+
DA:90,0
|
|
2695
|
+
DA:92,0
|
|
2696
|
+
DA:93,0
|
|
2698
2697
|
DA:95,0
|
|
2699
|
-
DA:
|
|
2700
|
-
DA:97,0
|
|
2701
|
-
DA:99,0
|
|
2698
|
+
DA:102,0
|
|
2702
2699
|
DA:103,0
|
|
2703
2700
|
DA:104,0
|
|
2704
2701
|
DA:106,0
|
|
2705
|
-
DA:
|
|
2702
|
+
DA:110,0
|
|
2706
2703
|
DA:111,0
|
|
2707
|
-
DA:112,0
|
|
2708
2704
|
DA:113,0
|
|
2709
|
-
DA:114,0
|
|
2710
|
-
DA:115,0
|
|
2711
2705
|
DA:116,0
|
|
2712
|
-
DA:117,0
|
|
2713
2706
|
DA:118,0
|
|
2714
|
-
DA:
|
|
2715
|
-
DA:
|
|
2716
|
-
DA:
|
|
2717
|
-
DA:
|
|
2718
|
-
DA:
|
|
2719
|
-
DA:
|
|
2720
|
-
DA:
|
|
2721
|
-
DA:
|
|
2722
|
-
DA:
|
|
2723
|
-
DA:
|
|
2707
|
+
DA:119,0
|
|
2708
|
+
DA:120,0
|
|
2709
|
+
DA:121,0
|
|
2710
|
+
DA:122,0
|
|
2711
|
+
DA:123,0
|
|
2712
|
+
DA:124,0
|
|
2713
|
+
DA:125,0
|
|
2714
|
+
DA:137,0
|
|
2715
|
+
DA:139,0
|
|
2716
|
+
DA:142,0
|
|
2717
|
+
DA:144,0
|
|
2718
|
+
DA:157,0
|
|
2724
2719
|
DA:159,0
|
|
2720
|
+
DA:160,0
|
|
2725
2721
|
DA:161,0
|
|
2726
2722
|
DA:163,0
|
|
2727
|
-
DA:
|
|
2728
|
-
DA:
|
|
2729
|
-
DA:
|
|
2730
|
-
DA:
|
|
2731
|
-
DA:
|
|
2732
|
-
DA:177,0
|
|
2723
|
+
DA:165,0
|
|
2724
|
+
DA:171,0
|
|
2725
|
+
DA:173,0
|
|
2726
|
+
DA:175,0
|
|
2727
|
+
DA:176,0
|
|
2733
2728
|
DA:178,0
|
|
2734
|
-
DA:
|
|
2729
|
+
DA:181,0
|
|
2735
2730
|
DA:182,0
|
|
2736
|
-
DA:183,0
|
|
2737
2731
|
DA:184,0
|
|
2738
|
-
DA:188,0
|
|
2739
2732
|
DA:189,0
|
|
2740
|
-
DA:
|
|
2733
|
+
DA:190,0
|
|
2741
2734
|
DA:192,0
|
|
2735
|
+
DA:194,0
|
|
2736
|
+
DA:195,0
|
|
2742
2737
|
DA:196,0
|
|
2743
2738
|
DA:200,0
|
|
2744
2739
|
DA:201,0
|
|
2745
2740
|
DA:203,0
|
|
2746
2741
|
DA:204,0
|
|
2747
|
-
DA:
|
|
2748
|
-
DA:
|
|
2749
|
-
DA:
|
|
2750
|
-
DA:210,0
|
|
2742
|
+
DA:208,0
|
|
2743
|
+
DA:212,0
|
|
2744
|
+
DA:213,0
|
|
2751
2745
|
DA:215,0
|
|
2752
2746
|
DA:216,0
|
|
2753
|
-
DA:
|
|
2754
|
-
DA:
|
|
2747
|
+
DA:217,0
|
|
2748
|
+
DA:218,0
|
|
2749
|
+
DA:221,0
|
|
2750
|
+
DA:222,0
|
|
2751
|
+
DA:227,0
|
|
2755
2752
|
DA:228,0
|
|
2756
|
-
DA:
|
|
2757
|
-
DA:
|
|
2758
|
-
DA:231,0
|
|
2759
|
-
DA:234,0
|
|
2753
|
+
DA:236,0
|
|
2754
|
+
DA:237,0
|
|
2760
2755
|
DA:240,0
|
|
2761
|
-
DA:
|
|
2762
|
-
DA:
|
|
2763
|
-
DA:
|
|
2764
|
-
DA:
|
|
2765
|
-
DA:
|
|
2756
|
+
DA:241,0
|
|
2757
|
+
DA:242,0
|
|
2758
|
+
DA:243,0
|
|
2759
|
+
DA:246,0
|
|
2760
|
+
DA:252,0
|
|
2761
|
+
DA:265,0
|
|
2762
|
+
DA:273,0
|
|
2763
|
+
DA:274,0
|
|
2764
|
+
DA:275,0
|
|
2765
|
+
DA:305,0
|
|
2766
2766
|
LF:91
|
|
2767
2767
|
LH:0
|
|
2768
2768
|
BRDA:21,0,0,0
|
|
2769
2769
|
BRDA:27,1,0,0
|
|
2770
2770
|
BRDA:27,1,1,0
|
|
2771
|
-
BRDA:
|
|
2772
|
-
BRDA:
|
|
2773
|
-
BRDA:
|
|
2774
|
-
BRDA:
|
|
2775
|
-
BRDA:
|
|
2776
|
-
BRDA:
|
|
2777
|
-
BRDA:
|
|
2778
|
-
BRDA:
|
|
2779
|
-
BRDA:
|
|
2780
|
-
BRDA:
|
|
2781
|
-
BRDA:
|
|
2782
|
-
BRDA:
|
|
2783
|
-
BRDA:
|
|
2784
|
-
BRDA:
|
|
2785
|
-
BRDA:
|
|
2786
|
-
BRDA:
|
|
2787
|
-
BRDA:
|
|
2788
|
-
BRDA:
|
|
2789
|
-
BRDA:
|
|
2790
|
-
BRDA:
|
|
2791
|
-
BRDA:
|
|
2792
|
-
BRDA:
|
|
2793
|
-
BRDA:
|
|
2794
|
-
BRDA:
|
|
2795
|
-
BRDA:
|
|
2796
|
-
BRDA:
|
|
2797
|
-
BRDA:
|
|
2798
|
-
BRDA:
|
|
2799
|
-
BRDA:
|
|
2800
|
-
BRDA:
|
|
2801
|
-
BRDA:
|
|
2802
|
-
BRDA:
|
|
2803
|
-
BRDA:
|
|
2804
|
-
BRDA:
|
|
2805
|
-
BRDA:
|
|
2806
|
-
BRDA:
|
|
2807
|
-
BRDA:
|
|
2808
|
-
BRDA:
|
|
2809
|
-
BRDA:
|
|
2810
|
-
BRDA:
|
|
2811
|
-
BRDA:
|
|
2812
|
-
BRDA:
|
|
2813
|
-
BRDA:
|
|
2814
|
-
BRDA:
|
|
2815
|
-
BRDA:
|
|
2816
|
-
BRDA:
|
|
2817
|
-
BRDA:
|
|
2818
|
-
BRDA:
|
|
2819
|
-
BRDA:
|
|
2820
|
-
BRDA:
|
|
2821
|
-
BRDA:
|
|
2822
|
-
BRDA:
|
|
2823
|
-
BRDA:
|
|
2824
|
-
BRDA:
|
|
2771
|
+
BRDA:86,2,0,0
|
|
2772
|
+
BRDA:86,2,1,0
|
|
2773
|
+
BRDA:102,3,0,0
|
|
2774
|
+
BRDA:102,3,1,0
|
|
2775
|
+
BRDA:111,4,0,0
|
|
2776
|
+
BRDA:111,4,1,0
|
|
2777
|
+
BRDA:118,5,0,0
|
|
2778
|
+
BRDA:118,5,1,0
|
|
2779
|
+
BRDA:131,6,0,0
|
|
2780
|
+
BRDA:131,6,1,0
|
|
2781
|
+
BRDA:137,7,0,0
|
|
2782
|
+
BRDA:137,7,1,0
|
|
2783
|
+
BRDA:137,8,0,0
|
|
2784
|
+
BRDA:137,8,1,0
|
|
2785
|
+
BRDA:142,9,0,0
|
|
2786
|
+
BRDA:142,9,1,0
|
|
2787
|
+
BRDA:142,10,0,0
|
|
2788
|
+
BRDA:142,10,1,0
|
|
2789
|
+
BRDA:159,11,0,0
|
|
2790
|
+
BRDA:159,11,1,0
|
|
2791
|
+
BRDA:175,12,0,0
|
|
2792
|
+
BRDA:175,12,1,0
|
|
2793
|
+
BRDA:190,13,0,0
|
|
2794
|
+
BRDA:190,13,1,0
|
|
2795
|
+
BRDA:201,14,0,0
|
|
2796
|
+
BRDA:201,14,1,0
|
|
2797
|
+
BRDA:203,15,0,0
|
|
2798
|
+
BRDA:203,15,1,0
|
|
2799
|
+
BRDA:215,16,0,0
|
|
2800
|
+
BRDA:215,16,1,0
|
|
2801
|
+
BRDA:217,17,0,0
|
|
2802
|
+
BRDA:217,17,1,0
|
|
2803
|
+
BRDA:221,18,0,0
|
|
2804
|
+
BRDA:221,18,1,0
|
|
2805
|
+
BRDA:227,19,0,0
|
|
2806
|
+
BRDA:227,19,1,0
|
|
2807
|
+
BRDA:227,20,0,0
|
|
2808
|
+
BRDA:227,20,1,0
|
|
2809
|
+
BRDA:237,21,0,0
|
|
2810
|
+
BRDA:237,21,1,0
|
|
2811
|
+
BRDA:237,22,0,0
|
|
2812
|
+
BRDA:237,22,1,0
|
|
2813
|
+
BRDA:248,23,0,0
|
|
2814
|
+
BRDA:248,23,1,0
|
|
2815
|
+
BRDA:255,24,0,0
|
|
2816
|
+
BRDA:255,24,1,0
|
|
2817
|
+
BRDA:263,25,0,0
|
|
2818
|
+
BRDA:263,25,1,0
|
|
2819
|
+
BRDA:265,26,0,0
|
|
2820
|
+
BRDA:265,26,1,0
|
|
2821
|
+
BRDA:278,27,0,0
|
|
2822
|
+
BRDA:278,27,1,0
|
|
2823
|
+
BRDA:300,28,0,0
|
|
2824
|
+
BRDA:300,28,1,0
|
|
2825
2825
|
BRF:57
|
|
2826
2826
|
BRH:0
|
|
2827
2827
|
end_of_record
|
|
@@ -3004,7 +3004,7 @@ SF:src/hooks/useLayer.ts
|
|
|
3004
3004
|
FN:42,useLayer
|
|
3005
3005
|
FN:59,(anonymous_1)
|
|
3006
3006
|
FN:103,(anonymous_2)
|
|
3007
|
-
FN:
|
|
3007
|
+
FN:127,(anonymous_3)
|
|
3008
3008
|
FN:134,(anonymous_4)
|
|
3009
3009
|
FN:164,(anonymous_5)
|
|
3010
3010
|
FN:169,(anonymous_6)
|
|
@@ -3044,13 +3044,12 @@ DA:100,14
|
|
|
3044
3044
|
DA:103,60
|
|
3045
3045
|
DA:104,60
|
|
3046
3046
|
DA:106,32
|
|
3047
|
-
DA:
|
|
3048
|
-
DA:
|
|
3049
|
-
DA:
|
|
3050
|
-
DA:
|
|
3051
|
-
DA:
|
|
3052
|
-
DA:
|
|
3053
|
-
DA:128,16
|
|
3047
|
+
DA:114,0
|
|
3048
|
+
DA:115,32
|
|
3049
|
+
DA:121,18
|
|
3050
|
+
DA:124,14
|
|
3051
|
+
DA:127,60
|
|
3052
|
+
DA:128,28
|
|
3054
3053
|
DA:131,12
|
|
3055
3054
|
DA:134,60
|
|
3056
3055
|
DA:135,60
|
|
@@ -3076,8 +3075,8 @@ DA:169,60
|
|
|
3076
3075
|
DA:170,14
|
|
3077
3076
|
DA:171,7
|
|
3078
3077
|
DA:175,60
|
|
3079
|
-
LF:
|
|
3080
|
-
LH:
|
|
3078
|
+
LF:56
|
|
3079
|
+
LH:42
|
|
3081
3080
|
BRDA:56,0,0,60
|
|
3082
3081
|
BRDA:56,0,1,20
|
|
3083
3082
|
BRDA:56,1,0,20
|
|
@@ -3105,17 +3104,19 @@ BRDA:106,11,1,32
|
|
|
3105
3104
|
BRDA:107,12,0,32
|
|
3106
3105
|
BRDA:107,12,1,18
|
|
3107
3106
|
BRDA:107,12,2,18
|
|
3108
|
-
BRDA:107,12,3,
|
|
3109
|
-
BRDA:
|
|
3110
|
-
BRDA:
|
|
3111
|
-
BRDA:115,
|
|
3112
|
-
BRDA:115,
|
|
3113
|
-
BRDA:
|
|
3114
|
-
BRDA:
|
|
3115
|
-
BRDA:
|
|
3116
|
-
BRDA:
|
|
3117
|
-
BRDA:
|
|
3118
|
-
BRDA:
|
|
3107
|
+
BRDA:107,12,3,0
|
|
3108
|
+
BRDA:107,12,4,18
|
|
3109
|
+
BRDA:107,12,5,18
|
|
3110
|
+
BRDA:115,13,0,18
|
|
3111
|
+
BRDA:115,13,1,14
|
|
3112
|
+
BRDA:116,14,0,32
|
|
3113
|
+
BRDA:116,14,1,18
|
|
3114
|
+
BRDA:116,14,2,18
|
|
3115
|
+
BRDA:116,14,3,18
|
|
3116
|
+
BRDA:128,15,0,16
|
|
3117
|
+
BRDA:128,15,1,12
|
|
3118
|
+
BRDA:128,16,0,28
|
|
3119
|
+
BRDA:128,16,1,14
|
|
3119
3120
|
BRDA:135,17,0,28
|
|
3120
3121
|
BRDA:135,17,1,32
|
|
3121
3122
|
BRDA:135,18,0,60
|
|
@@ -3135,23 +3136,25 @@ BRDA:156,24,0,0
|
|
|
3135
3136
|
BRDA:156,24,1,0
|
|
3136
3137
|
BRDA:156,25,0,0
|
|
3137
3138
|
BRDA:156,25,1,0
|
|
3138
|
-
BRF:
|
|
3139
|
-
BRH:
|
|
3139
|
+
BRF:59
|
|
3140
|
+
BRH:41
|
|
3140
3141
|
end_of_record
|
|
3141
3142
|
TN:
|
|
3142
3143
|
SF:src/hooks/useMap.ts
|
|
3143
3144
|
FN:15,useMap
|
|
3144
3145
|
FN:39,(anonymous_1)
|
|
3145
|
-
FN:
|
|
3146
|
-
FN:
|
|
3147
|
-
FN:
|
|
3148
|
-
|
|
3149
|
-
|
|
3146
|
+
FN:47,(anonymous_2)
|
|
3147
|
+
FN:48,(anonymous_3)
|
|
3148
|
+
FN:54,(anonymous_4)
|
|
3149
|
+
FN:62,(anonymous_5)
|
|
3150
|
+
FNF:6
|
|
3151
|
+
FNH:5
|
|
3150
3152
|
FNDA:169,useMap
|
|
3151
3153
|
FNDA:30,(anonymous_1)
|
|
3152
3154
|
FNDA:48,(anonymous_2)
|
|
3153
|
-
FNDA:
|
|
3154
|
-
FNDA:
|
|
3155
|
+
FNDA:23,(anonymous_3)
|
|
3156
|
+
FNDA:96,(anonymous_4)
|
|
3157
|
+
FNDA:0,(anonymous_5)
|
|
3155
3158
|
DA:17,169
|
|
3156
3159
|
DA:18,169
|
|
3157
3160
|
DA:20,169
|
|
@@ -3164,39 +3167,40 @@ DA:40,30
|
|
|
3164
3167
|
DA:41,23
|
|
3165
3168
|
DA:42,23
|
|
3166
3169
|
DA:44,30
|
|
3167
|
-
DA:
|
|
3168
|
-
DA:48,
|
|
3169
|
-
DA:49,
|
|
3170
|
-
DA:
|
|
3171
|
-
DA:
|
|
3172
|
-
DA:
|
|
3173
|
-
DA:
|
|
3170
|
+
DA:47,169
|
|
3171
|
+
DA:48,48
|
|
3172
|
+
DA:49,23
|
|
3173
|
+
DA:50,23
|
|
3174
|
+
DA:54,169
|
|
3175
|
+
DA:55,96
|
|
3176
|
+
DA:59,48
|
|
3174
3177
|
DA:60,0
|
|
3175
|
-
DA:61,0
|
|
3176
3178
|
DA:62,0
|
|
3177
|
-
DA:
|
|
3178
|
-
DA:
|
|
3179
|
-
DA:
|
|
3180
|
-
DA:
|
|
3179
|
+
DA:63,0
|
|
3180
|
+
DA:64,0
|
|
3181
|
+
DA:67,0
|
|
3182
|
+
DA:68,0
|
|
3181
3183
|
DA:73,48
|
|
3182
3184
|
DA:74,48
|
|
3183
|
-
DA:
|
|
3184
|
-
|
|
3185
|
-
|
|
3185
|
+
DA:75,48
|
|
3186
|
+
DA:76,48
|
|
3187
|
+
DA:79,169
|
|
3188
|
+
LF:30
|
|
3189
|
+
LH:24
|
|
3186
3190
|
BRDA:24,0,0,0
|
|
3187
3191
|
BRDA:24,0,1,169
|
|
3188
3192
|
BRDA:40,1,0,23
|
|
3189
3193
|
BRDA:40,1,1,7
|
|
3190
|
-
BRDA:
|
|
3191
|
-
BRDA:
|
|
3192
|
-
BRDA:
|
|
3193
|
-
BRDA:
|
|
3194
|
-
BRDA:
|
|
3195
|
-
BRDA:
|
|
3196
|
-
BRDA:
|
|
3197
|
-
BRDA:
|
|
3198
|
-
BRDA:
|
|
3199
|
-
BRDA:
|
|
3194
|
+
BRDA:55,2,0,48
|
|
3195
|
+
BRDA:55,2,1,48
|
|
3196
|
+
BRDA:55,3,0,96
|
|
3197
|
+
BRDA:55,3,1,48
|
|
3198
|
+
BRDA:59,4,0,0
|
|
3199
|
+
BRDA:59,4,1,48
|
|
3200
|
+
BRDA:63,5,0,0
|
|
3201
|
+
BRDA:63,5,1,0
|
|
3202
|
+
BRDA:67,6,0,0
|
|
3203
|
+
BRDA:67,6,1,0
|
|
3200
3204
|
BRF:14
|
|
3201
3205
|
BRH:8
|
|
3202
3206
|
end_of_record
|
package/dist/index.esm.js
CHANGED
|
@@ -697,6 +697,8 @@ var MapLibreGlWrapper = /** @class */ (function () {
|
|
|
697
697
|
_a.label = 2;
|
|
698
698
|
case 2:
|
|
699
699
|
self.map = new Map$1(props.mapOptions);
|
|
700
|
+
//@ts-ignore
|
|
701
|
+
window._map = self.map;
|
|
700
702
|
self.addNativeMaplibreFunctionsAndProps();
|
|
701
703
|
self.wrapper.refreshViewport();
|
|
702
704
|
self.wrapper.fire("viewportchange");
|
|
@@ -953,10 +955,12 @@ function useMap(props) {
|
|
|
953
955
|
mapRef.current = undefined;
|
|
954
956
|
}
|
|
955
957
|
initializedRef.current = false;
|
|
956
|
-
setMapIsReady(false);
|
|
957
958
|
};
|
|
958
959
|
useEffect(function () {
|
|
959
|
-
return
|
|
960
|
+
return function () {
|
|
961
|
+
cleanup();
|
|
962
|
+
setMapIsReady(false);
|
|
963
|
+
};
|
|
960
964
|
}, []);
|
|
961
965
|
useEffect(function () {
|
|
962
966
|
var _a;
|
|
@@ -12249,7 +12253,8 @@ function useLayer(props) {
|
|
|
12249
12253
|
if (!mapHook.map)
|
|
12250
12254
|
return;
|
|
12251
12255
|
if (initializedRef.current &&
|
|
12252
|
-
legalLayerTypes.indexOf(props.options.type) !== -1
|
|
12256
|
+
((props.options.type && legalLayerTypes.indexOf(props.options.type) !== -1) ||
|
|
12257
|
+
!props.options.type) &&
|
|
12253
12258
|
layerTypeRef.current &&
|
|
12254
12259
|
props.options.type !== layerTypeRef.current) {
|
|
12255
12260
|
// remove (cleanup) & reinitialize the layer if type has changed
|