plotly.js 2.16.0 → 2.16.2
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/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/dist/README.md +19 -19
- package/dist/plotly-basic.js +2 -2
- package/dist/plotly-basic.min.js +2 -2
- package/dist/plotly-cartesian.js +2 -2
- package/dist/plotly-cartesian.min.js +2 -2
- package/dist/plotly-finance.js +2 -2
- package/dist/plotly-finance.min.js +2 -2
- package/dist/plotly-geo-assets.js +2 -2
- package/dist/plotly-geo.js +2 -2
- package/dist/plotly-geo.min.js +2 -2
- package/dist/plotly-gl2d.js +2 -2
- package/dist/plotly-gl2d.min.js +2 -2
- package/dist/plotly-gl3d.js +2 -2
- package/dist/plotly-gl3d.min.js +2 -2
- package/dist/plotly-mapbox.js +8 -5
- package/dist/plotly-mapbox.min.js +2 -2
- package/dist/plotly-strict.js +8 -5
- package/dist/plotly-strict.min.js +2 -2
- package/dist/plotly-with-meta.js +8 -5
- package/dist/plotly.js +8 -5
- package/dist/plotly.min.js +2 -2
- package/package.json +4 -4
- package/src/plots/mapbox/mapbox.js +2 -2
- package/src/traces/choroplethmapbox/plot.js +3 -0
- package/src/traces/scattermapbox/plot.js +1 -1
- package/src/version.js +1 -1
package/dist/plotly-mapbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* plotly.js (mapbox) v2.16.
|
|
2
|
+
* plotly.js (mapbox) v2.16.2
|
|
3
3
|
* Copyright 2012-2022, Plotly, Inc.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Licensed under the MIT license
|
|
@@ -121268,7 +121268,7 @@ proto.updateFx = function(fullLayout) {
|
|
|
121268
121268
|
map.off('click', self.onClickInPanHandler);
|
|
121269
121269
|
if(selectMode(dragMode) || drawMode(dragMode)) {
|
|
121270
121270
|
map.dragPan.disable();
|
|
121271
|
-
map.on('zoomstart', self.
|
|
121271
|
+
map.on('zoomstart', self.clearOutline);
|
|
121272
121272
|
|
|
121273
121273
|
self.dragOptions.prepFn = function(e, startX, startY) {
|
|
121274
121274
|
prepSelect(e, startX, startY, self.dragOptions, dragMode);
|
|
@@ -121277,7 +121277,7 @@ proto.updateFx = function(fullLayout) {
|
|
|
121277
121277
|
dragElement.init(self.dragOptions);
|
|
121278
121278
|
} else {
|
|
121279
121279
|
map.dragPan.enable();
|
|
121280
|
-
map.off('zoomstart', self.
|
|
121280
|
+
map.off('zoomstart', self.clearOutline);
|
|
121281
121281
|
self.div.onmousedown = null;
|
|
121282
121282
|
self.div.ontouchstart = null;
|
|
121283
121283
|
self.div.removeEventListener('touchstart', self.div._ontouchstart);
|
|
@@ -126947,6 +126947,9 @@ var proto = ChoroplethMapbox.prototype;
|
|
|
126947
126947
|
|
|
126948
126948
|
proto.update = function(calcTrace) {
|
|
126949
126949
|
this._update(convert(calcTrace));
|
|
126950
|
+
|
|
126951
|
+
// link ref for quick update during selections
|
|
126952
|
+
calcTrace[0].trace._glTrace = this;
|
|
126950
126953
|
};
|
|
126951
126954
|
|
|
126952
126955
|
proto.updateOnSelect = function(calcTrace) {
|
|
@@ -131643,7 +131646,7 @@ proto.update = function update(calcTrace) {
|
|
|
131643
131646
|
this.clusterEnabled = hasCluster;
|
|
131644
131647
|
}
|
|
131645
131648
|
|
|
131646
|
-
|
|
131649
|
+
// link ref for quick update during selections
|
|
131647
131650
|
calcTrace[0].trace._glTrace = this;
|
|
131648
131651
|
};
|
|
131649
131652
|
|
|
@@ -132807,7 +132810,7 @@ function getSortFunc(opts, d2c) {
|
|
|
132807
132810
|
'use strict';
|
|
132808
132811
|
|
|
132809
132812
|
// package version injected by `npm run preprocess`
|
|
132810
|
-
exports.version = '2.16.
|
|
132813
|
+
exports.version = '2.16.2';
|
|
132811
132814
|
|
|
132812
132815
|
},{}]},{},[9])(9)
|
|
132813
132816
|
});
|