@open-pioneer/map 1.3.0-dev.20260225104836 → 1.3.0-dev.20260303160408

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @open-pioneer/map
2
2
 
3
- ## 1.3.0-dev.20260225104836
3
+ ## 1.3.0-dev.20260303160408
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,6 +9,7 @@
9
9
  - 2ceb1ca: MapModel: implement new `loading` property.
10
10
  This property is `true` if the map is currently loading any resources, `false` otherwise.
11
11
  The property is based on OpenLayers `loadstart` and `loadend` events (see [Documentation](https://openlayers.org/en/latest/apidoc/module-ol_MapEvent-MapEvent.html#event:loadstart)).
12
+ - 73453af: Update OpenLayers to 10.8.0
12
13
  - fcbd505: Sanitize HTML used for layer attributions.
13
14
  - d54ccfd: Update to Chakra UI 3.32.0
14
15
  - 2ceb1ca: MapContainer: allow configuration of `rootProps` and `containerProps`.
package/MapRegistry.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { batch } from '@conterra/reactivity-core';
2
2
  import { on } from '@conterra/reactivity-events';
3
3
  import { createLogger } from '@open-pioneer/core';
4
- import { sourceId } from './_virtual/source-info.js';
4
+ import { sourceId$9 as sourceId } from './_virtual/source-info.js';
5
5
  import { createMapModel } from './model/createMapModel.js';
6
6
 
7
7
  const LOG = createLogger(sourceId);
@@ -18,5 +18,5 @@ const sourceId$1 = "@open-pioneer/map/MapRegistry";
18
18
 
19
19
  const sourceId = "@open-pioneer/map/model/createMapModel";
20
20
 
21
- export { sourceId$1 as sourceId, sourceId$7 as sourceId$1, sourceId$5 as sourceId$2, sourceId$3, sourceId$4, sourceId$2 as sourceId$5, sourceId$6, sourceId$8 as sourceId$7, sourceId as sourceId$8, sourceId$9 };
21
+ export { sourceId$7 as sourceId, sourceId$6 as sourceId$1, sourceId$8 as sourceId$2, sourceId$9 as sourceId$3, sourceId$4, sourceId$5, sourceId$2 as sourceId$6, sourceId$3 as sourceId$7, sourceId as sourceId$8, sourceId$1 as sourceId$9 };
22
22
  //# sourceMappingURL=source-info.js.map
@@ -2,7 +2,7 @@ import { synchronized, reactive, computed } from '@conterra/reactivity-core';
2
2
  import { createLogger, destroyResource } from '@open-pioneer/core';
3
3
  import OlLayer from 'ol/layer/Layer.js';
4
4
  import { unByKey } from 'ol/Observable.js';
5
- import { sourceId$1 as sourceId } from '../_virtual/source-info.js';
5
+ import { sourceId } from '../_virtual/source-info.js';
6
6
  import { AbstractLayerBase } from './AbstractLayerBase.js';
7
7
  import { getLayerDependencies, SET_VISIBLE, ATTACH_TO_MAP, GET_DEPS, LAYER_DEPS } from './shared/internals.js';
8
8
 
@@ -3,7 +3,7 @@ import { createLogger, deprecated, destroyResource, isAbortError } from '@open-p
3
3
  import WMSCapabilities from 'ol/format/WMSCapabilities.js';
4
4
  import ImageLayer from 'ol/layer/Image.js';
5
5
  import ImageWMS from 'ol/source/ImageWMS.js';
6
- import { sourceId$2 as sourceId } from '../_virtual/source-info.js';
6
+ import { sourceId$5 as sourceId } from '../_virtual/source-info.js';
7
7
  import { fetchText } from '../utils/fetch.js';
8
8
  import { INTERNAL_CONSTRUCTOR_TAG } from '../utils/InternalConstructorTag.js';
9
9
  import { AbstractLayer } from './AbstractLayer.js';
@@ -5,7 +5,7 @@ import TileState from 'ol/TileState.js';
5
5
  import WMTSCapabilities from 'ol/format/WMTSCapabilities.js';
6
6
  import TileLayer from 'ol/layer/Tile.js';
7
7
  import WMTS, { optionsFromCapabilities } from 'ol/source/WMTS.js';
8
- import { sourceId$3 as sourceId } from '../_virtual/source-info.js';
8
+ import { sourceId$7 as sourceId } from '../_virtual/source-info.js';
9
9
  import { fetchText } from '../utils/fetch.js';
10
10
  import { AbstractLayer } from './AbstractLayer.js';
11
11
  import { ATTACH_TO_MAP, GET_DEPS } from './shared/internals.js';
@@ -1,5 +1,5 @@
1
1
  import { createLogger } from '@open-pioneer/core';
2
- import { sourceId$5 as sourceId } from '../../_virtual/source-info.js';
2
+ import { sourceId$6 as sourceId } from '../../_virtual/source-info.js';
3
3
 
4
4
  const LOG = createLogger(sourceId);
5
5
  function getLegendUrl(capabilities, activeLayerId, activeStyleId) {
@@ -16,7 +16,11 @@ export declare class Highlights {
16
16
  /**
17
17
  * Returns the layer used for highlights.
18
18
  */
19
- getLayer(): VectorLayer<VectorSource<Feature<Geometry>>, Feature<Geometry>>;
19
+ getLayer(): VectorLayer<VectorSource<Feature<Geometry, {
20
+ [x: string]: any;
21
+ }>>, Feature<Geometry, {
22
+ [x: string]: any;
23
+ }>>;
20
24
  /**
21
25
  * This method removes all highlights before destroying the class
22
26
  */
@@ -1,6 +1,6 @@
1
1
  import { reactiveSet, reactiveMap, reactive, reactiveArray, effect, batch } from '@conterra/reactivity-core';
2
2
  import { createLogger } from '@open-pioneer/core';
3
- import { sourceId$6 as sourceId } from '../_virtual/source-info.js';
3
+ import { sourceId$1 as sourceId } from '../_virtual/source-info.js';
4
4
  import { AbstractLayer } from '../layers/AbstractLayer.js';
5
5
  import { getRecursiveLayers } from '../layers/shared/getRecursiveLayers.js';
6
6
  import { ATTACH_TO_MAP, DETACH_FROM_MAP, SET_VISIBLE, GET_RAW_LAYERS, GET_RAW_SUBLAYERS } from '../layers/shared/internals.js';
package/model/MapModel.js CHANGED
@@ -4,7 +4,7 @@ import { createLogger, isAbortError, createManualPromise, createAbortError } fro
4
4
  import { unByKey } from 'ol/Observable.js';
5
5
  import { getCenter } from 'ol/extent.js';
6
6
  import { getPointResolution } from 'ol/proj.js';
7
- import { sourceId$7 as sourceId } from '../_virtual/source-info.js';
7
+ import { sourceId$2 as sourceId } from '../_virtual/source-info.js';
8
8
  import { LAYER_DEPS } from '../layers/shared/internals.js';
9
9
  import { INTERNAL_CONSTRUCTOR_TAG, assertInternalConstructor } from '../utils/InternalConstructorTag.js';
10
10
  import { Highlights } from './Highlights.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@open-pioneer/map",
4
- "version": "1.3.0-dev.20260225104836",
4
+ "version": "1.3.0-dev.20260303160408",
5
5
  "description": "This package integrates OpenLayers maps into an open pioneer trails application.",
6
6
  "keywords": [
7
7
  "open-pioneer-trails"
@@ -18,12 +18,12 @@
18
18
  "@conterra/reactivity-core": "^0.8.1",
19
19
  "@conterra/reactivity-events": "^0.8.1",
20
20
  "@esri/arcgis-html-sanitizer": "^4.1.0",
21
- "@open-pioneer/core": "4.5.0-dev.20260211105402",
22
- "@open-pioneer/http": "4.5.0-dev.20260211105402",
23
- "@open-pioneer/react-utils": "4.5.0-dev.20260211105402",
24
- "@open-pioneer/reactivity": "4.5.0-dev.20260211105402",
25
- "@open-pioneer/runtime": "4.5.0-dev.20260211105402",
26
- "ol": "^10.7.0",
21
+ "@open-pioneer/core": "4.5.0-dev.20260225121659",
22
+ "@open-pioneer/http": "4.5.0-dev.20260225121659",
23
+ "@open-pioneer/react-utils": "4.5.0-dev.20260225121659",
24
+ "@open-pioneer/reactivity": "4.5.0-dev.20260225121659",
25
+ "@open-pioneer/runtime": "4.5.0-dev.20260225121659",
26
+ "ol": "^10.8.0",
27
27
  "proj4": "^2.20.2",
28
28
  "react-dom": "^19.2.4",
29
29
  "react-use": "^17.6.0",
@@ -3,7 +3,7 @@ import { chakra } from '@chakra-ui/react';
3
3
  import { createLogger } from '@open-pioneer/core';
4
4
  import { useCommonComponentProps, mergeChakraProps } from '@open-pioneer/react-utils';
5
5
  import { useReactiveSnapshot } from '@open-pioneer/reactivity';
6
- import { sourceId$9 as sourceId } from '../_virtual/source-info.js';
6
+ import { sourceId$3 as sourceId } from '../_virtual/source-info.js';
7
7
  import { useRef, useState, useEffect, useMemo } from 'react';
8
8
  import { MapContainerContextProvider } from './MapContainerContext.js';
9
9
  import { useMapModelValue } from './hooks/useMapModel.js';