geojs 1.15.3 → 1.15.4
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 +17 -13
- package/geo.lean.js +17 -13
- package/geo.lean.min.js +2 -2
- package/geo.min.js +2 -2
- package/package.json +1 -1
- package/src/webgl/polygonFeature.js +16 -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.4";
|
|
26495
26495
|
|
|
26496
26496
|
/***/ }),
|
|
26497
26497
|
|
|
@@ -96228,6 +96228,8 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
96228
96228
|
uniform,
|
|
96229
96229
|
indices,
|
|
96230
96230
|
items = [],
|
|
96231
|
+
itemsk,
|
|
96232
|
+
itemsktri,
|
|
96231
96233
|
target_gcs = m_this.gcs(),
|
|
96232
96234
|
map_gcs = m_this.layer().map().gcs(),
|
|
96233
96235
|
numPts = 0,
|
|
@@ -96341,11 +96343,13 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
96341
96343
|
color = fillColorVal;
|
|
96342
96344
|
fill = fillVal;
|
|
96343
96345
|
for (k = 0; k < items.length; k += 1) {
|
|
96344
|
-
|
|
96345
|
-
|
|
96346
|
-
|
|
96347
|
-
|
|
96348
|
-
|
|
96346
|
+
itemsk = items[k];
|
|
96347
|
+
itemsktri = itemsk.triangles;
|
|
96348
|
+
n = itemsktri.length;
|
|
96349
|
+
vertices = itemsk.vertices;
|
|
96350
|
+
item = itemsk.item;
|
|
96351
|
+
itemIndex = itemsk.itemIndex;
|
|
96352
|
+
original = itemsk.original;
|
|
96349
96353
|
uniform = uniformVal === undefined ? uniformFunc(item, itemIndex) : uniformVal;
|
|
96350
96354
|
opacity = fillOpacityVal;
|
|
96351
96355
|
if (uniform) {
|
|
@@ -96362,7 +96366,7 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
96362
96366
|
if (!fill) {
|
|
96363
96367
|
opacity = 0;
|
|
96364
96368
|
}
|
|
96365
|
-
if (uniform && onlyStyle &&
|
|
96369
|
+
if (uniform && onlyStyle && itemsk.uniform && itemsk.color && color.r === itemsk.color.r && color.g === itemsk.color.g && color.b === itemsk.color.b && opacity === itemsk.opacity) {
|
|
96366
96370
|
d += n;
|
|
96367
96371
|
d3 += n * 3;
|
|
96368
96372
|
continue;
|
|
@@ -96374,7 +96378,7 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
96374
96378
|
fillColor[d3 + 2] = color.b;
|
|
96375
96379
|
fillOpacity[d] = opacity;
|
|
96376
96380
|
} else {
|
|
96377
|
-
j =
|
|
96381
|
+
j = itemsktri[i] * 3;
|
|
96378
96382
|
if (!onlyStyle) {
|
|
96379
96383
|
posBuf[d3] = vertices[j] - m_origin[0];
|
|
96380
96384
|
posBuf[d3 + 1] = vertices[j + 1] - m_origin[1];
|
|
@@ -96393,10 +96397,10 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
96393
96397
|
fillOpacity[d] = opacity;
|
|
96394
96398
|
}
|
|
96395
96399
|
}
|
|
96396
|
-
if (uniform ||
|
|
96397
|
-
|
|
96398
|
-
|
|
96399
|
-
|
|
96400
|
+
if (uniform || itemsk.uniform) {
|
|
96401
|
+
itemsk.uniform = uniform;
|
|
96402
|
+
itemsk.color = color;
|
|
96403
|
+
itemsk.opacity = opacity;
|
|
96400
96404
|
}
|
|
96401
96405
|
}
|
|
96402
96406
|
if (!onlyStyle) {
|
|
@@ -98037,7 +98041,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
98037
98041
|
* @constant
|
|
98038
98042
|
* @type {string}
|
|
98039
98043
|
*/
|
|
98040
|
-
module.exports = "
|
|
98044
|
+
module.exports = "da35de4852244121d7bfa904a6a1f9b5ab213a18";
|
|
98041
98045
|
|
|
98042
98046
|
/***/ }),
|
|
98043
98047
|
|
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.4";
|
|
23504
23504
|
|
|
23505
23505
|
/***/ }),
|
|
23506
23506
|
|
|
@@ -68414,6 +68414,8 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
68414
68414
|
uniform,
|
|
68415
68415
|
indices,
|
|
68416
68416
|
items = [],
|
|
68417
|
+
itemsk,
|
|
68418
|
+
itemsktri,
|
|
68417
68419
|
target_gcs = m_this.gcs(),
|
|
68418
68420
|
map_gcs = m_this.layer().map().gcs(),
|
|
68419
68421
|
numPts = 0,
|
|
@@ -68527,11 +68529,13 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
68527
68529
|
color = fillColorVal;
|
|
68528
68530
|
fill = fillVal;
|
|
68529
68531
|
for (k = 0; k < items.length; k += 1) {
|
|
68530
|
-
|
|
68531
|
-
|
|
68532
|
-
|
|
68533
|
-
|
|
68534
|
-
|
|
68532
|
+
itemsk = items[k];
|
|
68533
|
+
itemsktri = itemsk.triangles;
|
|
68534
|
+
n = itemsktri.length;
|
|
68535
|
+
vertices = itemsk.vertices;
|
|
68536
|
+
item = itemsk.item;
|
|
68537
|
+
itemIndex = itemsk.itemIndex;
|
|
68538
|
+
original = itemsk.original;
|
|
68535
68539
|
uniform = uniformVal === undefined ? uniformFunc(item, itemIndex) : uniformVal;
|
|
68536
68540
|
opacity = fillOpacityVal;
|
|
68537
68541
|
if (uniform) {
|
|
@@ -68548,7 +68552,7 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
68548
68552
|
if (!fill) {
|
|
68549
68553
|
opacity = 0;
|
|
68550
68554
|
}
|
|
68551
|
-
if (uniform && onlyStyle &&
|
|
68555
|
+
if (uniform && onlyStyle && itemsk.uniform && itemsk.color && color.r === itemsk.color.r && color.g === itemsk.color.g && color.b === itemsk.color.b && opacity === itemsk.opacity) {
|
|
68552
68556
|
d += n;
|
|
68553
68557
|
d3 += n * 3;
|
|
68554
68558
|
continue;
|
|
@@ -68560,7 +68564,7 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
68560
68564
|
fillColor[d3 + 2] = color.b;
|
|
68561
68565
|
fillOpacity[d] = opacity;
|
|
68562
68566
|
} else {
|
|
68563
|
-
j =
|
|
68567
|
+
j = itemsktri[i] * 3;
|
|
68564
68568
|
if (!onlyStyle) {
|
|
68565
68569
|
posBuf[d3] = vertices[j] - m_origin[0];
|
|
68566
68570
|
posBuf[d3 + 1] = vertices[j + 1] - m_origin[1];
|
|
@@ -68579,10 +68583,10 @@ var _webgl_polygonFeature = function webgl_polygonFeature(arg) {
|
|
|
68579
68583
|
fillOpacity[d] = opacity;
|
|
68580
68584
|
}
|
|
68581
68585
|
}
|
|
68582
|
-
if (uniform ||
|
|
68583
|
-
|
|
68584
|
-
|
|
68585
|
-
|
|
68586
|
+
if (uniform || itemsk.uniform) {
|
|
68587
|
+
itemsk.uniform = uniform;
|
|
68588
|
+
itemsk.color = color;
|
|
68589
|
+
itemsk.opacity = opacity;
|
|
68586
68590
|
}
|
|
68587
68591
|
}
|
|
68588
68592
|
if (!onlyStyle) {
|
|
@@ -70223,7 +70227,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
70223
70227
|
* @constant
|
|
70224
70228
|
* @type {string}
|
|
70225
70229
|
*/
|
|
70226
|
-
module.exports = "
|
|
70230
|
+
module.exports = "da35de4852244121d7bfa904a6a1f9b5ab213a18";
|
|
70227
70231
|
|
|
70228
70232
|
/***/ }),
|
|
70229
70233
|
|