@mapcatch/util 2.0.5 → 2.0.6
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/dist/catchUtil.min.esm.js +10 -10
- package/dist/catchUtil.min.js +2 -2
- package/package.json +6 -22
- package/src/constants/default_layers.js +6 -6
- package/src/event/event.js +4 -5
- package/CHANGELOG.md +0 -72
|
@@ -6609,7 +6609,7 @@ const layerGroups = [
|
|
|
6609
6609
|
opacity: 1,
|
|
6610
6610
|
class: "tmp",
|
|
6611
6611
|
metadata: {
|
|
6612
|
-
folder: "
|
|
6612
|
+
folder: "tem",
|
|
6613
6613
|
borderStyle: "transparent",
|
|
6614
6614
|
colorType: "turbo",
|
|
6615
6615
|
show_annotations: !0,
|
|
@@ -6663,7 +6663,7 @@ const layerGroups = [
|
|
|
6663
6663
|
opacity: 1,
|
|
6664
6664
|
class: "ndvi",
|
|
6665
6665
|
metadata: {
|
|
6666
|
-
folder: "
|
|
6666
|
+
folder: "ndvi",
|
|
6667
6667
|
borderStyle: "transparent",
|
|
6668
6668
|
colorType: "red-green",
|
|
6669
6669
|
bands: ["NIR", "Red"],
|
|
@@ -6679,7 +6679,7 @@ const layerGroups = [
|
|
|
6679
6679
|
opacity: 1,
|
|
6680
6680
|
class: "gndvi",
|
|
6681
6681
|
metadata: {
|
|
6682
|
-
folder: "
|
|
6682
|
+
folder: "gndvi",
|
|
6683
6683
|
borderStyle: "transparent",
|
|
6684
6684
|
colorType: "glow",
|
|
6685
6685
|
bands: ["NIR", "Green"],
|
|
@@ -6695,7 +6695,7 @@ const layerGroups = [
|
|
|
6695
6695
|
opacity: 1,
|
|
6696
6696
|
class: "lci",
|
|
6697
6697
|
metadata: {
|
|
6698
|
-
folder: "
|
|
6698
|
+
folder: "lci",
|
|
6699
6699
|
borderStyle: "transparent",
|
|
6700
6700
|
colorType: "turbo",
|
|
6701
6701
|
bands: ["NIR", "RedEdge", "Red"],
|
|
@@ -6711,7 +6711,7 @@ const layerGroups = [
|
|
|
6711
6711
|
opacity: 1,
|
|
6712
6712
|
class: "ndre",
|
|
6713
6713
|
metadata: {
|
|
6714
|
-
folder: "
|
|
6714
|
+
folder: "ndre",
|
|
6715
6715
|
borderStyle: "transparent",
|
|
6716
6716
|
colorType: "gray",
|
|
6717
6717
|
bands: ["NIR", "RedEdge"],
|
|
@@ -6727,7 +6727,7 @@ const layerGroups = [
|
|
|
6727
6727
|
opacity: 1,
|
|
6728
6728
|
class: "osavi",
|
|
6729
6729
|
metadata: {
|
|
6730
|
-
folder: "
|
|
6730
|
+
folder: "osavi",
|
|
6731
6731
|
borderStyle: "transparent",
|
|
6732
6732
|
colorType: "red-green",
|
|
6733
6733
|
bands: ["NIR", "Red"],
|
|
@@ -55867,6 +55867,10 @@ function _addEventListener(t, o, R) {
|
|
|
55867
55867
|
}
|
|
55868
55868
|
function _removeEventListener(t, o, R) {
|
|
55869
55869
|
if (R && R[t]) {
|
|
55870
|
+
if (!o) {
|
|
55871
|
+
delete R[t];
|
|
55872
|
+
return;
|
|
55873
|
+
}
|
|
55870
55874
|
const c = R[t].indexOf(o);
|
|
55871
55875
|
c !== -1 && R[t].splice(c, 1);
|
|
55872
55876
|
}
|
|
@@ -55879,10 +55883,6 @@ class Event$1 {
|
|
|
55879
55883
|
return this._listeners = this._listeners || {}, _addEventListener(o, R, this._listeners), this;
|
|
55880
55884
|
}
|
|
55881
55885
|
off(o, R) {
|
|
55882
|
-
if (!R) {
|
|
55883
|
-
this._listeners = {}, this._oneTimeListeners = {};
|
|
55884
|
-
return;
|
|
55885
|
-
}
|
|
55886
55886
|
return _removeEventListener(o, R, this._listeners), _removeEventListener(o, R, this._oneTimeListeners), this;
|
|
55887
55887
|
}
|
|
55888
55888
|
once(o, R) {
|