@opengeoweb/sigmet-airmet 9.34.0 → 9.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +4 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4450,6 +4450,7 @@ var MapViewGeoJson = function MapViewGeoJson(_ref) {
|
|
|
4450
4450
|
_ref$geoJSONLayers = _ref.geoJSONLayers,
|
|
4451
4451
|
geoJSONLayers = _ref$geoJSONLayers === void 0 ? [] : _ref$geoJSONLayers;
|
|
4452
4452
|
var dispatch = useDispatch();
|
|
4453
|
+
var mapWindowRef = React.useRef(null);
|
|
4453
4454
|
var firstMap = useSelector(function (store) {
|
|
4454
4455
|
return mapSelectors.getFirstMap(store);
|
|
4455
4456
|
}, shallowEqual);
|
|
@@ -4523,6 +4524,7 @@ var MapViewGeoJson = function MapViewGeoJson(_ref) {
|
|
|
4523
4524
|
height: '100%'
|
|
4524
4525
|
},
|
|
4525
4526
|
"data-testid": "MapView",
|
|
4527
|
+
ref: mapWindowRef,
|
|
4526
4528
|
children: [jsxs(MapControls, {
|
|
4527
4529
|
children: [jsx(LayerManagerMapButtonConnect, {
|
|
4528
4530
|
source: source,
|
|
@@ -4549,7 +4551,8 @@ var MapViewGeoJson = function MapViewGeoJson(_ref) {
|
|
|
4549
4551
|
},
|
|
4550
4552
|
children: jsx(TimeSliderConnect, {
|
|
4551
4553
|
sourceId: timesliderId,
|
|
4552
|
-
mapId: mapId
|
|
4554
|
+
mapId: mapId,
|
|
4555
|
+
mapWindowRef: mapWindowRef
|
|
4553
4556
|
})
|
|
4554
4557
|
}), jsx(LegendConnect, {
|
|
4555
4558
|
showMapId: true,
|