geojs 1.15.0 → 1.15.1
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/geo.js +12 -18
- package/geo.lean.js +12 -18
- package/geo.lean.min.js +3 -3
- package/geo.min.js +3 -3
- package/package.json +1 -1
- package/src/webgl/lineFeature.js +11 -14
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.1";
|
|
26495
26495
|
|
|
26496
26496
|
/***/ }),
|
|
26497
26497
|
|
|
@@ -71284,9 +71284,6 @@ var _webgl_lineFeature = function webgl_lineFeature(arg) {
|
|
|
71284
71284
|
uniform,
|
|
71285
71285
|
order = m_this.featureVertices(),
|
|
71286
71286
|
orderk0,
|
|
71287
|
-
prevkey,
|
|
71288
|
-
nextkey,
|
|
71289
|
-
offkey,
|
|
71290
71287
|
orderLen = order.length,
|
|
71291
71288
|
// webgl buffers; see _init for details
|
|
71292
71289
|
posBuf,
|
|
@@ -71481,21 +71478,18 @@ var _webgl_lineFeature = function webgl_lineFeature(arg) {
|
|
|
71481
71478
|
posBuf[dest3] = position[v1.pos];
|
|
71482
71479
|
posBuf[dest3 + 1] = position[v1.pos + 1];
|
|
71483
71480
|
posBuf[dest3 + 2] = 0; // position[v1.pos + 2];
|
|
71484
|
-
|
|
71485
|
-
|
|
71486
|
-
prevBuf[dest3] = position[v1
|
|
71487
|
-
|
|
71488
|
-
|
|
71489
|
-
nextBuf[dest3] = position[v1
|
|
71490
|
-
|
|
71491
|
-
|
|
71492
|
-
farBuf[dest3] = position[v2
|
|
71493
|
-
farBuf[dest3 + 1] = position[v2[nextkey] + 1];
|
|
71494
|
-
farBuf[dest3 + 2] = 0; // position[v2[nextkey] + 2];
|
|
71481
|
+
prevBuf[dest3] = position[orderk0 ? v1.next : v1.prev];
|
|
71482
|
+
prevBuf[dest3 + 1] = position[(orderk0 ? v1.next : v1.prev) + 1];
|
|
71483
|
+
prevBuf[dest3 + 2] = 0; // position[(orderk0 ? v1.next : v1.prev) + 2];
|
|
71484
|
+
nextBuf[dest3] = position[orderk0 ? v1.prev : v1.next];
|
|
71485
|
+
nextBuf[dest3 + 1] = position[(orderk0 ? v1.prev : v1.next) + 1];
|
|
71486
|
+
nextBuf[dest3 + 2] = 0; // position[(orderk0 ? v1.prev : v1.next) + 2];
|
|
71487
|
+
farBuf[dest3] = position[orderk0 ? v2.prev : v2.next];
|
|
71488
|
+
farBuf[dest3 + 1] = position[(orderk0 ? v2.prev : v2.next) + 1];
|
|
71489
|
+
farBuf[dest3 + 2] = 0; // position[(orderk0 ? v2.prev : v2.next) + 2];
|
|
71495
71490
|
}
|
|
71496
71491
|
if (updateFlags) {
|
|
71497
|
-
|
|
71498
|
-
flagsBuf[dest] = order[k][3] + v1.flags * flagsNearLineMult + v2.flags * flagsFarLineMult + v1[offkey] * flagsNearOffsetMult;
|
|
71492
|
+
flagsBuf[dest] = order[k][3] + v1.flags * flagsNearLineMult + v2.flags * flagsFarLineMult + (orderk0 ? v1.posStrokeOffset : v1.negStrokeOffset) * flagsNearOffsetMult;
|
|
71499
71493
|
}
|
|
71500
71494
|
strokeWidthBuf[dest] = v1.strokeWidth;
|
|
71501
71495
|
strokeColorBuf[dest3] = v1.strokeColor.r;
|
|
@@ -98036,7 +98030,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
98036
98030
|
* @constant
|
|
98037
98031
|
* @type {string}
|
|
98038
98032
|
*/
|
|
98039
|
-
module.exports = "
|
|
98033
|
+
module.exports = "031fc05c42a19c3f13758a862fec39354ac376c9";
|
|
98040
98034
|
|
|
98041
98035
|
/***/ }),
|
|
98042
98036
|
|
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.1";
|
|
23504
23504
|
|
|
23505
23505
|
/***/ }),
|
|
23506
23506
|
|
|
@@ -43460,9 +43460,6 @@ var _webgl_lineFeature = function webgl_lineFeature(arg) {
|
|
|
43460
43460
|
uniform,
|
|
43461
43461
|
order = m_this.featureVertices(),
|
|
43462
43462
|
orderk0,
|
|
43463
|
-
prevkey,
|
|
43464
|
-
nextkey,
|
|
43465
|
-
offkey,
|
|
43466
43463
|
orderLen = order.length,
|
|
43467
43464
|
// webgl buffers; see _init for details
|
|
43468
43465
|
posBuf,
|
|
@@ -43657,21 +43654,18 @@ var _webgl_lineFeature = function webgl_lineFeature(arg) {
|
|
|
43657
43654
|
posBuf[dest3] = position[v1.pos];
|
|
43658
43655
|
posBuf[dest3 + 1] = position[v1.pos + 1];
|
|
43659
43656
|
posBuf[dest3 + 2] = 0; // position[v1.pos + 2];
|
|
43660
|
-
|
|
43661
|
-
|
|
43662
|
-
prevBuf[dest3] = position[v1
|
|
43663
|
-
|
|
43664
|
-
|
|
43665
|
-
nextBuf[dest3] = position[v1
|
|
43666
|
-
|
|
43667
|
-
|
|
43668
|
-
farBuf[dest3] = position[v2
|
|
43669
|
-
farBuf[dest3 + 1] = position[v2[nextkey] + 1];
|
|
43670
|
-
farBuf[dest3 + 2] = 0; // position[v2[nextkey] + 2];
|
|
43657
|
+
prevBuf[dest3] = position[orderk0 ? v1.next : v1.prev];
|
|
43658
|
+
prevBuf[dest3 + 1] = position[(orderk0 ? v1.next : v1.prev) + 1];
|
|
43659
|
+
prevBuf[dest3 + 2] = 0; // position[(orderk0 ? v1.next : v1.prev) + 2];
|
|
43660
|
+
nextBuf[dest3] = position[orderk0 ? v1.prev : v1.next];
|
|
43661
|
+
nextBuf[dest3 + 1] = position[(orderk0 ? v1.prev : v1.next) + 1];
|
|
43662
|
+
nextBuf[dest3 + 2] = 0; // position[(orderk0 ? v1.prev : v1.next) + 2];
|
|
43663
|
+
farBuf[dest3] = position[orderk0 ? v2.prev : v2.next];
|
|
43664
|
+
farBuf[dest3 + 1] = position[(orderk0 ? v2.prev : v2.next) + 1];
|
|
43665
|
+
farBuf[dest3 + 2] = 0; // position[(orderk0 ? v2.prev : v2.next) + 2];
|
|
43671
43666
|
}
|
|
43672
43667
|
if (updateFlags) {
|
|
43673
|
-
|
|
43674
|
-
flagsBuf[dest] = order[k][3] + v1.flags * flagsNearLineMult + v2.flags * flagsFarLineMult + v1[offkey] * flagsNearOffsetMult;
|
|
43668
|
+
flagsBuf[dest] = order[k][3] + v1.flags * flagsNearLineMult + v2.flags * flagsFarLineMult + (orderk0 ? v1.posStrokeOffset : v1.negStrokeOffset) * flagsNearOffsetMult;
|
|
43675
43669
|
}
|
|
43676
43670
|
strokeWidthBuf[dest] = v1.strokeWidth;
|
|
43677
43671
|
strokeColorBuf[dest3] = v1.strokeColor.r;
|
|
@@ -70222,7 +70216,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
70222
70216
|
* @constant
|
|
70223
70217
|
* @type {string}
|
|
70224
70218
|
*/
|
|
70225
|
-
module.exports = "
|
|
70219
|
+
module.exports = "031fc05c42a19c3f13758a862fec39354ac376c9";
|
|
70226
70220
|
|
|
70227
70221
|
/***/ }),
|
|
70228
70222
|
|