geojs 1.15.4 → 1.15.5
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/.github/workflows/main.yml +8 -8
- package/geo.js +7 -3
- package/geo.lean.js +7 -3
- package/geo.lean.min.js +2 -2
- package/geo.min.js +2 -2
- package/package.json +1 -1
- package/src/pixelmapFeature.js +2 -1
- package/src/webgl/pixelmapFeature.js +3 -0
|
@@ -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@
|
|
21
|
+
- uses: actions/setup-node@v6
|
|
22
22
|
with:
|
|
23
23
|
node-version: '20'
|
|
24
24
|
- uses: browser-actions/setup-firefox@latest
|
|
@@ -45,7 +45,7 @@ jobs:
|
|
|
45
45
|
python3 tests/runners/baseline_images.py -cevb _build
|
|
46
46
|
- name: Upload test images on failure
|
|
47
47
|
if: ${{ failure() }}
|
|
48
|
-
uses: actions/upload-artifact@
|
|
48
|
+
uses: actions/upload-artifact@v5
|
|
49
49
|
with:
|
|
50
50
|
name: images
|
|
51
51
|
path: |
|
|
@@ -53,7 +53,7 @@ jobs:
|
|
|
53
53
|
_build/Baseline*tgz
|
|
54
54
|
- name: Upload artifacts
|
|
55
55
|
if: ${{ always() }}
|
|
56
|
-
uses: actions/upload-artifact@
|
|
56
|
+
uses: actions/upload-artifact@v5
|
|
57
57
|
with:
|
|
58
58
|
name: dist
|
|
59
59
|
path: |
|
|
@@ -61,7 +61,7 @@ jobs:
|
|
|
61
61
|
dist/built
|
|
62
62
|
- name: Upload built website
|
|
63
63
|
if: ${{ success() }}
|
|
64
|
-
uses: actions/upload-artifact@
|
|
64
|
+
uses: actions/upload-artifact@v5
|
|
65
65
|
with:
|
|
66
66
|
name: website
|
|
67
67
|
path: |
|
|
@@ -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@
|
|
74
|
+
- uses: actions/setup-node@v6
|
|
75
75
|
with:
|
|
76
76
|
node-version: 'lts/*'
|
|
77
77
|
- run: npm --version && node --version
|
|
@@ -95,7 +95,7 @@ jobs:
|
|
|
95
95
|
runs-on: ubuntu-latest
|
|
96
96
|
steps:
|
|
97
97
|
- name: Import artifacts
|
|
98
|
-
uses: actions/download-artifact@
|
|
98
|
+
uses: actions/download-artifact@v6
|
|
99
99
|
with:
|
|
100
100
|
name: website
|
|
101
101
|
path: website/public
|
|
@@ -110,14 +110,14 @@ jobs:
|
|
|
110
110
|
runs-on: ubuntu-latest
|
|
111
111
|
steps:
|
|
112
112
|
- uses: actions/checkout@v5
|
|
113
|
-
- uses: actions/setup-node@
|
|
113
|
+
- uses: actions/setup-node@v6
|
|
114
114
|
with:
|
|
115
115
|
node-version: 'lts/*'
|
|
116
116
|
- run: sudo apt-get update
|
|
117
117
|
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev liblzma-dev
|
|
118
118
|
- run: npm ci
|
|
119
119
|
- name: Import artifacts
|
|
120
|
-
uses: actions/download-artifact@
|
|
120
|
+
uses: actions/download-artifact@v6
|
|
121
121
|
with:
|
|
122
122
|
name: dist
|
|
123
123
|
path: dist
|
package/geo.js
CHANGED
|
@@ -26491,7 +26491,7 @@ module.exports = svg_tileLayer;
|
|
|
26491
26491
|
* @constant
|
|
26492
26492
|
* @type {string}
|
|
26493
26493
|
*/
|
|
26494
|
-
module.exports = "1.15.
|
|
26494
|
+
module.exports = "1.15.5";
|
|
26495
26495
|
|
|
26496
26496
|
/***/ }),
|
|
26497
26497
|
|
|
@@ -91919,6 +91919,9 @@ var _webgl_pixelmapFeature = function webgl_pixelmapFeature(arg) {
|
|
|
91919
91919
|
context.drawImage(img, x, y, 1, 1, 0, 0, 1, 1);
|
|
91920
91920
|
var pixel = context.getImageData(0, 0, 1, 1).data;
|
|
91921
91921
|
var idx = pixel[0] + pixel[1] * 256 + pixel[2] * 256 * 256;
|
|
91922
|
+
if (idx === 16777215) {
|
|
91923
|
+
continue;
|
|
91924
|
+
}
|
|
91922
91925
|
result = {
|
|
91923
91926
|
index: [idx],
|
|
91924
91927
|
found: [m_this.data()[idx]]
|
|
@@ -92073,7 +92076,8 @@ var util = __webpack_require__(642);
|
|
|
92073
92076
|
* @extends geo.feature.spec
|
|
92074
92077
|
* @property {string|function|HTMLImageElement} [url] URL of a pixel map or an
|
|
92075
92078
|
* HTML Image element. The rgb data is interpreted as an index of the form
|
|
92076
|
-
* 0xbbggrr. The alpha channel is ignored.
|
|
92079
|
+
* 0xbbggrr. The alpha channel is ignored. An index of 0xffffff is treated
|
|
92080
|
+
* as a no-data value for hit-tests.
|
|
92077
92081
|
* @property {geo.geoColor|function} [color] The color that should be used
|
|
92078
92082
|
* for each data element. Data elements correspond to the indices in the
|
|
92079
92083
|
* pixel map. If an index is larger than the number of data elements, it will
|
|
@@ -98041,7 +98045,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
98041
98045
|
* @constant
|
|
98042
98046
|
* @type {string}
|
|
98043
98047
|
*/
|
|
98044
|
-
module.exports = "
|
|
98048
|
+
module.exports = "7e5d31a4b54e0b11df0181c56998d36dd8b8988d";
|
|
98045
98049
|
|
|
98046
98050
|
/***/ }),
|
|
98047
98051
|
|
package/geo.lean.js
CHANGED
|
@@ -23500,7 +23500,7 @@ module.exports = svg_tileLayer;
|
|
|
23500
23500
|
* @constant
|
|
23501
23501
|
* @type {string}
|
|
23502
23502
|
*/
|
|
23503
|
-
module.exports = "1.15.
|
|
23503
|
+
module.exports = "1.15.5";
|
|
23504
23504
|
|
|
23505
23505
|
/***/ }),
|
|
23506
23506
|
|
|
@@ -64105,6 +64105,9 @@ var _webgl_pixelmapFeature = function webgl_pixelmapFeature(arg) {
|
|
|
64105
64105
|
context.drawImage(img, x, y, 1, 1, 0, 0, 1, 1);
|
|
64106
64106
|
var pixel = context.getImageData(0, 0, 1, 1).data;
|
|
64107
64107
|
var idx = pixel[0] + pixel[1] * 256 + pixel[2] * 256 * 256;
|
|
64108
|
+
if (idx === 16777215) {
|
|
64109
|
+
continue;
|
|
64110
|
+
}
|
|
64108
64111
|
result = {
|
|
64109
64112
|
index: [idx],
|
|
64110
64113
|
found: [m_this.data()[idx]]
|
|
@@ -64259,7 +64262,8 @@ var util = __webpack_require__(642);
|
|
|
64259
64262
|
* @extends geo.feature.spec
|
|
64260
64263
|
* @property {string|function|HTMLImageElement} [url] URL of a pixel map or an
|
|
64261
64264
|
* HTML Image element. The rgb data is interpreted as an index of the form
|
|
64262
|
-
* 0xbbggrr. The alpha channel is ignored.
|
|
64265
|
+
* 0xbbggrr. The alpha channel is ignored. An index of 0xffffff is treated
|
|
64266
|
+
* as a no-data value for hit-tests.
|
|
64263
64267
|
* @property {geo.geoColor|function} [color] The color that should be used
|
|
64264
64268
|
* for each data element. Data elements correspond to the indices in the
|
|
64265
64269
|
* pixel map. If an index is larger than the number of data elements, it will
|
|
@@ -70227,7 +70231,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
70227
70231
|
* @constant
|
|
70228
70232
|
* @type {string}
|
|
70229
70233
|
*/
|
|
70230
|
-
module.exports = "
|
|
70234
|
+
module.exports = "7e5d31a4b54e0b11df0181c56998d36dd8b8988d";
|
|
70231
70235
|
|
|
70232
70236
|
/***/ }),
|
|
70233
70237
|
|