geojs 1.14.13 → 1.14.15

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.
@@ -18,7 +18,7 @@ jobs:
18
18
  runs-on: ubuntu-latest
19
19
  steps:
20
20
  - uses: actions/checkout@v5
21
- - uses: actions/setup-node@v4
21
+ - uses: actions/setup-node@v5
22
22
  with:
23
23
  node-version: '20'
24
24
  - uses: browser-actions/setup-firefox@latest
@@ -71,7 +71,7 @@ jobs:
71
71
  steps:
72
72
  - uses: actions/checkout@v5
73
73
  # Don't pin version to test with the latest common version
74
- - uses: actions/setup-node@v4
74
+ - uses: actions/setup-node@v5
75
75
  with:
76
76
  node-version: 'lts/*'
77
77
  - run: npm --version && node --version
@@ -110,7 +110,7 @@ jobs:
110
110
  runs-on: ubuntu-latest
111
111
  steps:
112
112
  - uses: actions/checkout@v5
113
- - uses: actions/setup-node@v4
113
+ - uses: actions/setup-node@v5
114
114
  with:
115
115
  node-version: 'lts/*'
116
116
  - run: sudo apt-get update
package/README.md CHANGED
@@ -37,7 +37,7 @@ For live examples visit [Github.io](https://opengeoscience.github.io/geojs/examp
37
37
 
38
38
  Documentation
39
39
  =============
40
- You can find more information on GeoJS installation and usage in our [Documentation](https://geojs.readthedocs.org/en/latest/index.html).
40
+ You can find more information on GeoJS installation and usage in our [Documentation](https://opengeoscience.github.io/geojs).
41
41
 
42
42
  There are some additional resources:
43
43
 
package/geo.js CHANGED
@@ -10554,9 +10554,10 @@ var _annotationLayer = function annotationLayer(arg) {
10554
10554
  } else {
10555
10555
  m_keyHandler.unbind('esc');
10556
10556
  }
10557
- var oldState;
10557
+ var oldState, oldCoordinates;
10558
10558
  if (m_this.currentAnnotation) {
10559
10559
  oldState = m_this.currentAnnotation.state();
10560
+ oldCoordinates = m_this.currentAnnotation._copyOfCoordinates();
10560
10561
  switch (m_this.currentAnnotation.state()) {
10561
10562
  case geo_annotation.state.create:
10562
10563
  m_this.removeAnnotation(m_this.currentAnnotation);
@@ -10607,6 +10608,7 @@ var _annotationLayer = function annotationLayer(arg) {
10607
10608
  mode: m_mode,
10608
10609
  oldMode: oldMode,
10609
10610
  oldState: oldState,
10611
+ oldCoordinates: oldCoordinates,
10610
10612
  reason: reason
10611
10613
  });
10612
10614
  if (oldMode === m_this.modes.edit || oldMode === m_this.modes.cursor) {
@@ -26472,7 +26474,7 @@ module.exports = svg_tileLayer;
26472
26474
  * @constant
26473
26475
  * @type {string}
26474
26476
  */
26475
- module.exports = "1.14.13";
26477
+ module.exports = "1.14.15";
26476
26478
 
26477
26479
  /***/ }),
26478
26480
 
@@ -83079,6 +83081,10 @@ geo_event.annotation.state = 'geo_annotation_state';
83079
83081
  * @property {string?} oldState If there was an active annotation before the
83080
83082
  * mode change, this is the annotation state before the change. This is
83081
83083
  * one of the values from {@link geo.annotation.state}.
83084
+ * @property {string?} oldCoordinates If there was an active annotation before
83085
+ * the mode change, these are the annotation's coordinates before the
83086
+ * change. This will be an empty list if an annotation in create state
83087
+ * had not been started and a non-empty list if it is partially created.
83082
83088
  * @property {string?} reason An optional string that was passed to the mode
83083
83089
  * change method.
83084
83090
  */
@@ -97947,7 +97953,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
97947
97953
  * @constant
97948
97954
  * @type {string}
97949
97955
  */
97950
- module.exports = "f795280c0f9543f402b7e5240cc9b2698c80e89b";
97956
+ module.exports = "c37fd1a90378b236110a378ee95ff6e5e3bb7eb2";
97951
97957
 
97952
97958
  /***/ }),
97953
97959
 
package/geo.lean.js CHANGED
@@ -10554,9 +10554,10 @@ var _annotationLayer = function annotationLayer(arg) {
10554
10554
  } else {
10555
10555
  m_keyHandler.unbind('esc');
10556
10556
  }
10557
- var oldState;
10557
+ var oldState, oldCoordinates;
10558
10558
  if (m_this.currentAnnotation) {
10559
10559
  oldState = m_this.currentAnnotation.state();
10560
+ oldCoordinates = m_this.currentAnnotation._copyOfCoordinates();
10560
10561
  switch (m_this.currentAnnotation.state()) {
10561
10562
  case geo_annotation.state.create:
10562
10563
  m_this.removeAnnotation(m_this.currentAnnotation);
@@ -10607,6 +10608,7 @@ var _annotationLayer = function annotationLayer(arg) {
10607
10608
  mode: m_mode,
10608
10609
  oldMode: oldMode,
10609
10610
  oldState: oldState,
10611
+ oldCoordinates: oldCoordinates,
10610
10612
  reason: reason
10611
10613
  });
10612
10614
  if (oldMode === m_this.modes.edit || oldMode === m_this.modes.cursor) {
@@ -23481,7 +23483,7 @@ module.exports = svg_tileLayer;
23481
23483
  * @constant
23482
23484
  * @type {string}
23483
23485
  */
23484
- module.exports = "1.14.13";
23486
+ module.exports = "1.14.15";
23485
23487
 
23486
23488
  /***/ }),
23487
23489
 
@@ -55255,6 +55257,10 @@ geo_event.annotation.state = 'geo_annotation_state';
55255
55257
  * @property {string?} oldState If there was an active annotation before the
55256
55258
  * mode change, this is the annotation state before the change. This is
55257
55259
  * one of the values from {@link geo.annotation.state}.
55260
+ * @property {string?} oldCoordinates If there was an active annotation before
55261
+ * the mode change, these are the annotation's coordinates before the
55262
+ * change. This will be an empty list if an annotation in create state
55263
+ * had not been started and a non-empty list if it is partially created.
55258
55264
  * @property {string?} reason An optional string that was passed to the mode
55259
55265
  * change method.
55260
55266
  */
@@ -70133,7 +70139,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
70133
70139
  * @constant
70134
70140
  * @type {string}
70135
70141
  */
70136
- module.exports = "f795280c0f9543f402b7e5240cc9b2698c80e89b";
70142
+ module.exports = "c37fd1a90378b236110a378ee95ff6e5e3bb7eb2";
70137
70143
 
70138
70144
  /***/ }),
70139
70145