geojs 1.14.9 → 1.14.10
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 +38 -2
- package/geo.lean.js +38 -2
- package/geo.lean.min.js +3 -3
- package/geo.min.js +3 -3
- package/package.json +1 -1
- package/src/ui/colorLegendWidget.js +36 -0
package/geo.js
CHANGED
|
@@ -26455,7 +26455,7 @@ module.exports = svg_tileLayer;
|
|
|
26455
26455
|
* @constant
|
|
26456
26456
|
* @type {string}
|
|
26457
26457
|
*/
|
|
26458
|
-
module.exports = "1.14.
|
|
26458
|
+
module.exports = "1.14.10";
|
|
26459
26459
|
|
|
26460
26460
|
/***/ }),
|
|
26461
26461
|
|
|
@@ -70266,6 +70266,42 @@ var _colorLegendWidget = function colorLegendWidget(arg) {
|
|
|
70266
70266
|
return d3.format('.' + precision + 'f')(number);
|
|
70267
70267
|
};
|
|
70268
70268
|
|
|
70269
|
+
/**
|
|
70270
|
+
* Get/Set width.
|
|
70271
|
+
*
|
|
70272
|
+
* @param {number} [width] If not specified, return the current width. If
|
|
70273
|
+
* specified, set a new width.
|
|
70274
|
+
* @returns {this|number}
|
|
70275
|
+
*/
|
|
70276
|
+
this.width = function (width) {
|
|
70277
|
+
if (width === undefined) {
|
|
70278
|
+
return m_width;
|
|
70279
|
+
} else if (width !== m_width) {
|
|
70280
|
+
m_width = width;
|
|
70281
|
+
m_this._prepareCategories(m_categories);
|
|
70282
|
+
m_this._draw();
|
|
70283
|
+
}
|
|
70284
|
+
return m_this;
|
|
70285
|
+
};
|
|
70286
|
+
|
|
70287
|
+
/**
|
|
70288
|
+
* Get/Set ticks.
|
|
70289
|
+
*
|
|
70290
|
+
* @param {number} [ticks] If not specified, return the current ticks. If
|
|
70291
|
+
* specified, set a new ticks.
|
|
70292
|
+
* @returns {this|number}
|
|
70293
|
+
*/
|
|
70294
|
+
this.ticks = function (ticks) {
|
|
70295
|
+
if (ticks === undefined) {
|
|
70296
|
+
return m_ticks;
|
|
70297
|
+
} else if (ticks !== m_ticks) {
|
|
70298
|
+
m_ticks = ticks;
|
|
70299
|
+
m_this._prepareCategories(m_categories);
|
|
70300
|
+
m_this._draw();
|
|
70301
|
+
}
|
|
70302
|
+
return m_this;
|
|
70303
|
+
};
|
|
70304
|
+
|
|
70269
70305
|
/**
|
|
70270
70306
|
* Show the popup based on current mouse event.
|
|
70271
70307
|
* @param {d3.event} event The triggering d3 event.
|
|
@@ -97873,7 +97909,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
97873
97909
|
* @constant
|
|
97874
97910
|
* @type {string}
|
|
97875
97911
|
*/
|
|
97876
|
-
module.exports = "
|
|
97912
|
+
module.exports = "2491144d1392414c721b090477fd5a80894538c4";
|
|
97877
97913
|
|
|
97878
97914
|
/***/ }),
|
|
97879
97915
|
|
package/geo.lean.js
CHANGED
|
@@ -23464,7 +23464,7 @@ module.exports = svg_tileLayer;
|
|
|
23464
23464
|
* @constant
|
|
23465
23465
|
* @type {string}
|
|
23466
23466
|
*/
|
|
23467
|
-
module.exports = "1.14.
|
|
23467
|
+
module.exports = "1.14.10";
|
|
23468
23468
|
|
|
23469
23469
|
/***/ }),
|
|
23470
23470
|
|
|
@@ -42442,6 +42442,42 @@ var _colorLegendWidget = function colorLegendWidget(arg) {
|
|
|
42442
42442
|
return d3.format('.' + precision + 'f')(number);
|
|
42443
42443
|
};
|
|
42444
42444
|
|
|
42445
|
+
/**
|
|
42446
|
+
* Get/Set width.
|
|
42447
|
+
*
|
|
42448
|
+
* @param {number} [width] If not specified, return the current width. If
|
|
42449
|
+
* specified, set a new width.
|
|
42450
|
+
* @returns {this|number}
|
|
42451
|
+
*/
|
|
42452
|
+
this.width = function (width) {
|
|
42453
|
+
if (width === undefined) {
|
|
42454
|
+
return m_width;
|
|
42455
|
+
} else if (width !== m_width) {
|
|
42456
|
+
m_width = width;
|
|
42457
|
+
m_this._prepareCategories(m_categories);
|
|
42458
|
+
m_this._draw();
|
|
42459
|
+
}
|
|
42460
|
+
return m_this;
|
|
42461
|
+
};
|
|
42462
|
+
|
|
42463
|
+
/**
|
|
42464
|
+
* Get/Set ticks.
|
|
42465
|
+
*
|
|
42466
|
+
* @param {number} [ticks] If not specified, return the current ticks. If
|
|
42467
|
+
* specified, set a new ticks.
|
|
42468
|
+
* @returns {this|number}
|
|
42469
|
+
*/
|
|
42470
|
+
this.ticks = function (ticks) {
|
|
42471
|
+
if (ticks === undefined) {
|
|
42472
|
+
return m_ticks;
|
|
42473
|
+
} else if (ticks !== m_ticks) {
|
|
42474
|
+
m_ticks = ticks;
|
|
42475
|
+
m_this._prepareCategories(m_categories);
|
|
42476
|
+
m_this._draw();
|
|
42477
|
+
}
|
|
42478
|
+
return m_this;
|
|
42479
|
+
};
|
|
42480
|
+
|
|
42445
42481
|
/**
|
|
42446
42482
|
* Show the popup based on current mouse event.
|
|
42447
42483
|
* @param {d3.event} event The triggering d3 event.
|
|
@@ -70059,7 +70095,7 @@ module.exports = "/* quadFeature Color fragment shader */\n\nvarying mediump vec
|
|
|
70059
70095
|
* @constant
|
|
70060
70096
|
* @type {string}
|
|
70061
70097
|
*/
|
|
70062
|
-
module.exports = "
|
|
70098
|
+
module.exports = "2491144d1392414c721b090477fd5a80894538c4";
|
|
70063
70099
|
|
|
70064
70100
|
/***/ }),
|
|
70065
70101
|
|