igniteui-webcomponents-maps 7.0.0 → 7.0.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/bundles/igniteui-webcomponents-maps.umd.js +428 -428
- package/bundles/igniteui-webcomponents-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +366 -366
- package/esm2015/lib/igc-geographic-map-component.js +50 -50
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +360 -360
- package/esm5/lib/igc-geographic-map-component.js +50 -50
- package/fesm2015/igniteui-webcomponents-maps.js +434 -434
- package/fesm5/igniteui-webcomponents-maps.js +428 -428
- package/lib/XamGeographicMap_combined.d.ts +78 -78
- package/package.json +3 -3
|
@@ -597,10 +597,10 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
597
597
|
case "SeriesViewer":
|
|
598
598
|
this.xm.dc = this.dc;
|
|
599
599
|
if (c != null) {
|
|
600
|
-
c.
|
|
600
|
+
c.ta(this.xm);
|
|
601
601
|
}
|
|
602
602
|
if (d != null) {
|
|
603
|
-
this.dc.
|
|
603
|
+
this.dc.oo(this.xm);
|
|
604
604
|
}
|
|
605
605
|
this.xm.ru(this.xe);
|
|
606
606
|
this.xm.index = this.index;
|
|
@@ -699,7 +699,7 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
699
699
|
return;
|
|
700
700
|
}
|
|
701
701
|
if (!isNaN_(this.xo)) {
|
|
702
|
-
if (this.dc.
|
|
702
|
+
if (this.dc.ys.width > this.xo) {
|
|
703
703
|
let hs_ = this.xm;
|
|
704
704
|
let v_ = 1;
|
|
705
705
|
hs_.visibility = v_;
|
|
@@ -862,22 +862,22 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
862
862
|
class XamGeographicMap extends SeriesViewer {
|
|
863
863
|
constructor() {
|
|
864
864
|
super();
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
874
|
-
this.
|
|
875
|
-
this.
|
|
876
|
-
this.
|
|
865
|
+
this.z7 = null;
|
|
866
|
+
this.zw = false;
|
|
867
|
+
this.zo = 1;
|
|
868
|
+
this.z3 = 0;
|
|
869
|
+
this.abe = null;
|
|
870
|
+
this.zl = null;
|
|
871
|
+
this.zh = null;
|
|
872
|
+
this.zj = null;
|
|
873
|
+
this.zn = null;
|
|
874
|
+
this.aba = { $type: Point_$type, x: NaN, y: NaN };
|
|
875
|
+
this.abh = null;
|
|
876
|
+
this.z2 = 1;
|
|
877
877
|
this.imageTilesReady = null;
|
|
878
|
-
this.
|
|
879
|
-
this.
|
|
880
|
-
this.
|
|
878
|
+
this.zv = null;
|
|
879
|
+
this.abg = Rect.empty;
|
|
880
|
+
this.z3 = SphericalMercatorVerticalScaler.am(XamGeographicMap.abf.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.abf.top);
|
|
881
881
|
this.ab = XamGeographicMap.$;
|
|
882
882
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
883
883
|
let a = ((() => {
|
|
@@ -886,70 +886,70 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
886
886
|
return $ret;
|
|
887
887
|
})());
|
|
888
888
|
a.dk = true;
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
889
|
+
this.zi = a;
|
|
890
|
+
this.zi.tf = new SphericalMercatorHorizontalScaler();
|
|
891
891
|
let b = ((() => {
|
|
892
892
|
let $ret = new NumericYAxis();
|
|
893
893
|
$ret.b7 = this;
|
|
894
894
|
return $ret;
|
|
895
895
|
})());
|
|
896
896
|
b.dk = true;
|
|
897
|
-
this.
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
900
|
-
this.
|
|
901
|
-
this.
|
|
897
|
+
this.zk = b;
|
|
898
|
+
this.zk.tf = new SphericalMercatorVerticalScaler();
|
|
899
|
+
this.aap();
|
|
900
|
+
this.aaw();
|
|
901
|
+
this.pp();
|
|
902
902
|
}
|
|
903
903
|
provideContainer(a) {
|
|
904
904
|
super.provideContainer(a);
|
|
905
|
-
this.
|
|
906
|
-
this.
|
|
905
|
+
this.zi.provideRenderer(a);
|
|
906
|
+
this.zk.provideRenderer(a);
|
|
907
907
|
}
|
|
908
|
-
|
|
909
|
-
super.
|
|
910
|
-
this.
|
|
911
|
-
}
|
|
912
|
-
gg() {
|
|
913
|
-
return this.zz;
|
|
908
|
+
pp() {
|
|
909
|
+
super.pp();
|
|
910
|
+
this.zu.fy(this.ik);
|
|
914
911
|
}
|
|
915
912
|
gh() {
|
|
916
|
-
return this.
|
|
913
|
+
return this.z0;
|
|
914
|
+
}
|
|
915
|
+
gi() {
|
|
916
|
+
return this.z0;
|
|
917
917
|
}
|
|
918
|
-
|
|
919
|
-
if (this.
|
|
920
|
-
if (this.
|
|
918
|
+
zr() {
|
|
919
|
+
if (this.zp == 0) {
|
|
920
|
+
if (this.zw) {
|
|
921
921
|
return 2;
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
924
|
return 1;
|
|
925
925
|
}
|
|
926
|
-
get
|
|
927
|
-
return this.
|
|
926
|
+
get zq() {
|
|
927
|
+
return this.zo;
|
|
928
928
|
}
|
|
929
|
-
set
|
|
930
|
-
this.
|
|
929
|
+
set zq(a) {
|
|
930
|
+
this.zo = a;
|
|
931
931
|
}
|
|
932
|
-
get
|
|
933
|
-
return this.
|
|
932
|
+
get abj() {
|
|
933
|
+
return this.abe;
|
|
934
934
|
}
|
|
935
|
-
set
|
|
936
|
-
let b = Rect.l_op_Inequality(this.
|
|
935
|
+
set abj(a) {
|
|
936
|
+
let b = Rect.l_op_Inequality(this.abe, a);
|
|
937
937
|
if (b) {
|
|
938
|
-
let c = this.
|
|
939
|
-
this.
|
|
940
|
-
this.
|
|
938
|
+
let c = this.abe;
|
|
939
|
+
this.abe = a;
|
|
940
|
+
this.ss("ActualWorldRect", c, a);
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
|
-
|
|
944
|
-
return this.
|
|
943
|
+
abn() {
|
|
944
|
+
return this.abj;
|
|
945
945
|
}
|
|
946
|
-
|
|
947
|
-
if (this.
|
|
946
|
+
aap() {
|
|
947
|
+
if (this.abv.isEmpty) {
|
|
948
948
|
return;
|
|
949
949
|
}
|
|
950
|
-
this.
|
|
950
|
+
this.abj = this.abt(this.abv, this.db == 1);
|
|
951
951
|
}
|
|
952
|
-
|
|
952
|
+
abt(a, b) {
|
|
953
953
|
let c = a.top;
|
|
954
954
|
let d = a.left;
|
|
955
955
|
let e = a.width;
|
|
@@ -957,25 +957,25 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
957
957
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
958
958
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
959
959
|
let i = g - h;
|
|
960
|
-
let j = a.width / XamGeographicMap.
|
|
961
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
960
|
+
let j = a.width / XamGeographicMap.abf.width;
|
|
961
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.abf.top);
|
|
962
962
|
let l = i / j;
|
|
963
|
-
if (i / j > this.
|
|
964
|
-
let m = i / this.
|
|
963
|
+
if (i / j > this.z3) {
|
|
964
|
+
let m = i / this.z3;
|
|
965
965
|
let n = m - j;
|
|
966
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
967
|
-
e = m * XamGeographicMap.
|
|
966
|
+
d = d - (n / 2) * XamGeographicMap.abf.width;
|
|
967
|
+
e = m * XamGeographicMap.abf.width;
|
|
968
968
|
if (b) {
|
|
969
|
-
if (d < XamGeographicMap.
|
|
970
|
-
d += (XamGeographicMap.
|
|
969
|
+
if (d < XamGeographicMap.abf.left) {
|
|
970
|
+
d += (XamGeographicMap.abf.left - d);
|
|
971
971
|
}
|
|
972
|
-
else if ((d + e) > XamGeographicMap.
|
|
973
|
-
d -= ((d + e) - XamGeographicMap.
|
|
972
|
+
else if ((d + e) > XamGeographicMap.abf.right) {
|
|
973
|
+
d -= ((d + e) - XamGeographicMap.abf.right);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
else if (i / j < this.
|
|
978
|
-
let o = this.
|
|
977
|
+
else if (i / j < this.z3) {
|
|
978
|
+
let o = this.z3 * j;
|
|
979
979
|
let p = o - i;
|
|
980
980
|
let q = h - (p / 2);
|
|
981
981
|
let r = g + (p / 2);
|
|
@@ -984,9 +984,9 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
984
984
|
q += (k - q);
|
|
985
985
|
r += (k - q);
|
|
986
986
|
}
|
|
987
|
-
else if (r > (k + this.
|
|
988
|
-
q -= ((r) - (k + this.
|
|
989
|
-
r -= ((r) - (k + this.
|
|
987
|
+
else if (r > (k + this.z3)) {
|
|
988
|
+
q -= ((r) - (k + this.z3));
|
|
989
|
+
r -= ((r) - (k + this.z3));
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -996,76 +996,76 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
996
996
|
return s;
|
|
997
997
|
}
|
|
998
998
|
get backgroundContent() {
|
|
999
|
-
return this.
|
|
999
|
+
return this.zl;
|
|
1000
1000
|
}
|
|
1001
1001
|
set backgroundContent(a) {
|
|
1002
1002
|
let b = a != this.backgroundContent;
|
|
1003
1003
|
if (b) {
|
|
1004
1004
|
let c = this.backgroundContent;
|
|
1005
|
-
this.
|
|
1006
|
-
this.
|
|
1005
|
+
this.zl = a;
|
|
1006
|
+
this.ss("BackgroundContent", c, a);
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
|
-
get
|
|
1010
|
-
return this.
|
|
1009
|
+
get zi() {
|
|
1010
|
+
return this.zh;
|
|
1011
1011
|
}
|
|
1012
|
-
set
|
|
1013
|
-
let b = a != this.
|
|
1012
|
+
set zi(a) {
|
|
1013
|
+
let b = a != this.zi;
|
|
1014
1014
|
if (b) {
|
|
1015
|
-
let c = this.
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1015
|
+
let c = this.zi;
|
|
1016
|
+
this.zh = a;
|
|
1017
|
+
this.ss("XAxis", c, a);
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
|
-
get
|
|
1021
|
-
return this.
|
|
1020
|
+
get zk() {
|
|
1021
|
+
return this.zj;
|
|
1022
1022
|
}
|
|
1023
|
-
set
|
|
1024
|
-
let b = a != this.
|
|
1023
|
+
set zk(a) {
|
|
1024
|
+
let b = a != this.zk;
|
|
1025
1025
|
if (b) {
|
|
1026
|
-
let c = this.
|
|
1027
|
-
this.
|
|
1028
|
-
this.
|
|
1026
|
+
let c = this.zk;
|
|
1027
|
+
this.zj = a;
|
|
1028
|
+
this.ss("YAxis", c, a);
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
1031
|
getZoomRectFromGeoRect(a) {
|
|
1032
1032
|
return this.getZoomFromGeographicRect(a);
|
|
1033
1033
|
}
|
|
1034
|
-
|
|
1035
|
-
this.
|
|
1034
|
+
aaz(a) {
|
|
1035
|
+
this.zb = a;
|
|
1036
1036
|
}
|
|
1037
|
-
|
|
1038
|
-
this.
|
|
1037
|
+
aay(a) {
|
|
1038
|
+
this.abv = a;
|
|
1039
1039
|
}
|
|
1040
1040
|
getZoomFromGeographicRect(a) {
|
|
1041
|
-
return this.
|
|
1041
|
+
return this.abl(a, true, 0);
|
|
1042
1042
|
}
|
|
1043
|
-
|
|
1044
|
-
return this.
|
|
1043
|
+
abk(a, b) {
|
|
1044
|
+
return this.abl(a, false, b);
|
|
1045
1045
|
}
|
|
1046
|
-
|
|
1046
|
+
abl(a, b, c) {
|
|
1047
1047
|
let d = a;
|
|
1048
1048
|
if (b) {
|
|
1049
|
-
d = this.
|
|
1050
|
-
}
|
|
1051
|
-
let e = this.
|
|
1052
|
-
let f = this.
|
|
1053
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1054
|
-
g.c = this.
|
|
1055
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
1056
|
-
h.c = this.
|
|
1057
|
-
let i = this.
|
|
1058
|
-
let j = this.
|
|
1059
|
-
let k = this.
|
|
1060
|
-
let l = this.
|
|
1061
|
-
let m = (i - c) / this.
|
|
1062
|
-
let n = (l - c) / this.
|
|
1063
|
-
let o = (j - i + (c * 2)) / this.
|
|
1064
|
-
let p = (k - l + (c * 2)) / this.
|
|
1049
|
+
d = this.abt(a, false);
|
|
1050
|
+
}
|
|
1051
|
+
let e = this.zi;
|
|
1052
|
+
let f = this.zk;
|
|
1053
|
+
let g = new ScalerParams(1, XamGeographicMap.abi, this.za, e.dn);
|
|
1054
|
+
g.c = this.yw;
|
|
1055
|
+
let h = new ScalerParams(1, XamGeographicMap.abi, this.za, f.dn);
|
|
1056
|
+
h.c = this.yw;
|
|
1057
|
+
let i = this.zi.f7(d.left, g);
|
|
1058
|
+
let j = this.zi.f7(d.right, g);
|
|
1059
|
+
let k = this.zk.f7(d.top, h);
|
|
1060
|
+
let l = this.zk.f7(d.bottom, h);
|
|
1061
|
+
let m = (i - c) / this.za.width;
|
|
1062
|
+
let n = (l - c) / this.za.height;
|
|
1063
|
+
let o = (j - i + (c * 2)) / this.za.width;
|
|
1064
|
+
let p = (k - l + (c * 2)) / this.za.height;
|
|
1065
1065
|
let q = new Rect(0, m, n, o, p);
|
|
1066
|
-
q.intersect(XamGeographicMap.
|
|
1066
|
+
q.intersect(XamGeographicMap.abi);
|
|
1067
1067
|
if (q.isEmpty) {
|
|
1068
|
-
q = XamGeographicMap.
|
|
1068
|
+
q = XamGeographicMap.abi;
|
|
1069
1069
|
}
|
|
1070
1070
|
return q;
|
|
1071
1071
|
}
|
|
@@ -1075,21 +1075,21 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1075
1075
|
let e = b.x - a.x;
|
|
1076
1076
|
let f = a.y - b.y;
|
|
1077
1077
|
if (e < 0 || f < 0) {
|
|
1078
|
-
return XamGeographicMap.
|
|
1078
|
+
return XamGeographicMap.abi;
|
|
1079
1079
|
}
|
|
1080
1080
|
else {
|
|
1081
1081
|
let g = new Rect(0, c, d, e, f);
|
|
1082
1082
|
return this.getZoomFromGeographicRect(g);
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
|
-
|
|
1086
|
-
let b = this.
|
|
1087
|
-
let c = this.
|
|
1088
|
-
let d = new ScalerParams(1, a, this.
|
|
1089
|
-
d.c = this.
|
|
1090
|
-
let e = new ScalerParams(1, a, this.
|
|
1091
|
-
e.c = this.
|
|
1092
|
-
let f = this.
|
|
1085
|
+
abp(a) {
|
|
1086
|
+
let b = this.zi;
|
|
1087
|
+
let c = this.zk;
|
|
1088
|
+
let d = new ScalerParams(1, a, this.za, b.dn);
|
|
1089
|
+
d.c = this.yw;
|
|
1090
|
+
let e = new ScalerParams(1, a, this.za, c.dn);
|
|
1091
|
+
e.c = this.yw;
|
|
1092
|
+
let f = this.yv;
|
|
1093
1093
|
let g = b.ga(f.left, d);
|
|
1094
1094
|
let h = c.ga(f.top, e);
|
|
1095
1095
|
let i = b.ga(f.right, d);
|
|
@@ -1098,165 +1098,165 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1098
1098
|
let l = h - j;
|
|
1099
1099
|
let m = new Rect(0, g, j, k, l);
|
|
1100
1100
|
if (this.db == 1) {
|
|
1101
|
-
m.intersect(XamGeographicMap.
|
|
1101
|
+
m.intersect(XamGeographicMap.abf);
|
|
1102
1102
|
if (m.isEmpty) {
|
|
1103
|
-
m = XamGeographicMap.
|
|
1103
|
+
m = XamGeographicMap.abf;
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
return m;
|
|
1107
1107
|
}
|
|
1108
|
-
aba(a) {
|
|
1109
|
-
let b = this.zh.re(a.x);
|
|
1110
|
-
let c = this.zj.re(a.y);
|
|
1111
|
-
return { $type: Point_$type, x: b, y: c };
|
|
1112
|
-
}
|
|
1113
1108
|
abb(a) {
|
|
1114
|
-
let b = this.
|
|
1115
|
-
let c = this.
|
|
1109
|
+
let b = this.zi.re(a.x);
|
|
1110
|
+
let c = this.zk.re(a.y);
|
|
1116
1111
|
return { $type: Point_$type, x: b, y: c };
|
|
1117
1112
|
}
|
|
1118
1113
|
abc(a) {
|
|
1119
|
-
|
|
1114
|
+
let b = this.zi.gv(a.x);
|
|
1115
|
+
let c = this.zk.gv(a.y);
|
|
1116
|
+
return { $type: Point_$type, x: b, y: c };
|
|
1117
|
+
}
|
|
1118
|
+
abd(a) {
|
|
1119
|
+
return this.abc(a);
|
|
1120
1120
|
}
|
|
1121
|
-
|
|
1121
|
+
aam() {
|
|
1122
1122
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1123
1123
|
if (a != null) {
|
|
1124
1124
|
a.clearTileCache();
|
|
1125
1125
|
}
|
|
1126
1126
|
}
|
|
1127
|
-
|
|
1127
|
+
aas(a) {
|
|
1128
1128
|
}
|
|
1129
|
-
|
|
1129
|
+
hd() {
|
|
1130
1130
|
return true;
|
|
1131
1131
|
}
|
|
1132
|
-
|
|
1133
|
-
this.
|
|
1132
|
+
aau() {
|
|
1133
|
+
this.zu.eh();
|
|
1134
1134
|
for (let a of fromEnum(this.b9)) {
|
|
1135
1135
|
a.sv();
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
|
|
1139
|
-
if (this.
|
|
1140
|
-
if (!this.
|
|
1141
|
-
let a = this.
|
|
1142
|
-
let b = this.
|
|
1143
|
-
this.
|
|
1138
|
+
aax() {
|
|
1139
|
+
if (this.zt == 2) {
|
|
1140
|
+
if (!this.za.isEmpty && this.za.width > 0 && this.za.height > 0) {
|
|
1141
|
+
let a = this.zi.re(this.za.left + (this.za.width / 2));
|
|
1142
|
+
let b = this.zk.re(this.za.top + (this.za.height / 2));
|
|
1143
|
+
this.aba = { $type: Point_$type, x: a, y: b };
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
else {
|
|
1147
|
-
if (!this.
|
|
1148
|
-
let c = this.
|
|
1149
|
-
let d = this.
|
|
1150
|
-
this.
|
|
1147
|
+
if (!this.za.isEmpty && this.za.width > 0 && this.za.height > 0) {
|
|
1148
|
+
let c = this.zi.re(this.za.left);
|
|
1149
|
+
let d = this.zk.re(this.za.top);
|
|
1150
|
+
this.aba = { $type: Point_$type, x: c, y: d };
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
|
|
1155
|
-
if (isNaN_(this.
|
|
1156
|
-
this.
|
|
1154
|
+
aat() {
|
|
1155
|
+
if (isNaN_(this.aba.x) || isNaN_(this.aba.y)) {
|
|
1156
|
+
this.aax();
|
|
1157
1157
|
}
|
|
1158
|
-
let a = this.
|
|
1159
|
-
let b = this.
|
|
1158
|
+
let a = this.aba.x;
|
|
1159
|
+
let b = this.aba.y;
|
|
1160
1160
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1161
|
-
let c = this.
|
|
1162
|
-
let d = this.
|
|
1163
|
-
let e = this.
|
|
1164
|
-
let f = this.
|
|
1165
|
-
if (e > this.
|
|
1161
|
+
let c = this.ys.left;
|
|
1162
|
+
let d = this.ys.top;
|
|
1163
|
+
let e = this.ys.width;
|
|
1164
|
+
let f = this.ys.height;
|
|
1165
|
+
if (e > this.abh.width) {
|
|
1166
1166
|
}
|
|
1167
1167
|
else {
|
|
1168
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1169
|
-
g.c = this.
|
|
1170
|
-
let h = this.
|
|
1171
|
-
if (this.
|
|
1172
|
-
let i = h / this.
|
|
1168
|
+
let g = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zi.dn);
|
|
1169
|
+
g.c = this.yw;
|
|
1170
|
+
let h = this.zi.f7(a, g);
|
|
1171
|
+
if (this.zt == 2) {
|
|
1172
|
+
let i = h / this.za.width;
|
|
1173
1173
|
c = i - (e / 2);
|
|
1174
1174
|
}
|
|
1175
1175
|
else {
|
|
1176
|
-
c = h / this.
|
|
1176
|
+
c = h / this.za.width;
|
|
1177
1177
|
}
|
|
1178
|
-
if (c + e > this.
|
|
1179
|
-
c = this.
|
|
1178
|
+
if (c + e > this.abh.right) {
|
|
1179
|
+
c = this.abh.right - e;
|
|
1180
1180
|
}
|
|
1181
|
-
else if (c < this.
|
|
1182
|
-
c = this.
|
|
1181
|
+
else if (c < this.abh.left) {
|
|
1182
|
+
c = this.abh.left;
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
|
-
if (f > this.
|
|
1185
|
+
if (f > this.abh.height) {
|
|
1186
1186
|
}
|
|
1187
1187
|
else {
|
|
1188
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
1189
|
-
j.c = this.
|
|
1190
|
-
let k = this.
|
|
1191
|
-
if (this.
|
|
1192
|
-
let l = k / this.
|
|
1188
|
+
let j = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zk.dn);
|
|
1189
|
+
j.c = this.yw;
|
|
1190
|
+
let k = this.zk.f7(b, j);
|
|
1191
|
+
if (this.zt == 2) {
|
|
1192
|
+
let l = k / this.za.height;
|
|
1193
1193
|
d = l - (f / 2);
|
|
1194
1194
|
}
|
|
1195
1195
|
else {
|
|
1196
|
-
d = k / this.
|
|
1196
|
+
d = k / this.za.height;
|
|
1197
1197
|
}
|
|
1198
|
-
if (d + f > this.
|
|
1199
|
-
d = this.
|
|
1198
|
+
if (d + f > this.abh.bottom) {
|
|
1199
|
+
d = this.abh.bottom - f;
|
|
1200
1200
|
}
|
|
1201
|
-
else if (d < this.
|
|
1202
|
-
d = this.
|
|
1201
|
+
else if (d < this.abh.top) {
|
|
1202
|
+
d = this.abh.top;
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
|
-
this.
|
|
1205
|
+
this.ue(new Rect(0, c, d, e, f), false);
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
1208
|
-
|
|
1208
|
+
get_f7() {
|
|
1209
1209
|
return true;
|
|
1210
1210
|
}
|
|
1211
|
-
|
|
1212
|
-
let a = super.
|
|
1213
|
-
if (this.
|
|
1211
|
+
yt() {
|
|
1212
|
+
let a = super.yt();
|
|
1213
|
+
if (this.zi == null || this.zk == null) {
|
|
1214
1214
|
return a;
|
|
1215
1215
|
}
|
|
1216
|
-
this.
|
|
1216
|
+
this.y4();
|
|
1217
1217
|
let b = a.left;
|
|
1218
1218
|
let c = a.top;
|
|
1219
1219
|
if (this.db == 1) {
|
|
1220
|
-
if (this.
|
|
1221
|
-
b = 0.5 - (this.
|
|
1220
|
+
if (this.zb.width > this.abh.width) {
|
|
1221
|
+
b = 0.5 - (this.zb.width / 2);
|
|
1222
1222
|
}
|
|
1223
|
-
else if (b + a.width > this.
|
|
1224
|
-
b = this.
|
|
1223
|
+
else if (b + a.width > this.abh.right) {
|
|
1224
|
+
b = this.abh.right - this.zb.width;
|
|
1225
1225
|
}
|
|
1226
|
-
else if (b < this.
|
|
1227
|
-
b = this.
|
|
1226
|
+
else if (b < this.abh.left) {
|
|
1227
|
+
b = this.abh.left;
|
|
1228
1228
|
}
|
|
1229
|
-
if (this.
|
|
1230
|
-
c = 0.5 - (this.
|
|
1229
|
+
if (this.zb.height > this.abh.height) {
|
|
1230
|
+
c = 0.5 - (this.zb.height / 2);
|
|
1231
1231
|
}
|
|
1232
|
-
else if (c + this.
|
|
1233
|
-
c = this.
|
|
1232
|
+
else if (c + this.zb.height > this.abh.bottom) {
|
|
1233
|
+
c = this.abh.bottom - this.zb.height;
|
|
1234
1234
|
}
|
|
1235
|
-
else if (c < this.
|
|
1236
|
-
c = this.
|
|
1235
|
+
else if (c < this.abh.top) {
|
|
1236
|
+
c = this.abh.top;
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
let d = false;
|
|
1240
|
-
if (!this.
|
|
1240
|
+
if (!this.zz && this.db == 2 && this.zw) {
|
|
1241
1241
|
if (b > 1) {
|
|
1242
1242
|
b = (b - Math.floor(b)) + 1;
|
|
1243
1243
|
}
|
|
1244
1244
|
if (b < 0) {
|
|
1245
1245
|
b = 0 - (Math.ceil(b) - b);
|
|
1246
1246
|
}
|
|
1247
|
-
if ((a.right - this.
|
|
1248
|
-
b = this.
|
|
1247
|
+
if ((a.right - this.abh.right) > 0 && ((a.right - this.abh.right) / a.width) > 0.8) {
|
|
1248
|
+
b = this.abh.left - (a.width - (a.right - this.abh.right));
|
|
1249
1249
|
d = true;
|
|
1250
1250
|
}
|
|
1251
|
-
else if (a.left < this.
|
|
1252
|
-
b = this.
|
|
1251
|
+
else if (a.left < this.abh.left && (Math.abs(a.left - this.abh.left) / a.width) > 0.8) {
|
|
1252
|
+
b = this.abh.right - (Math.abs(a.left - this.abh.left));
|
|
1253
1253
|
d = true;
|
|
1254
1254
|
}
|
|
1255
1255
|
}
|
|
1256
1256
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
1257
|
-
if (this.
|
|
1258
|
-
let f = this.
|
|
1259
|
-
f = this.
|
|
1257
|
+
if (this.zz) {
|
|
1258
|
+
let f = this.abk(this.abv, 1);
|
|
1259
|
+
f = this.abm(f);
|
|
1260
1260
|
let g = e.left + e.width / 2;
|
|
1261
1261
|
let h = e.top + e.height / 2;
|
|
1262
1262
|
if (e.width > f.width) {
|
|
@@ -1291,17 +1291,17 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
}
|
|
1293
1293
|
if (d) {
|
|
1294
|
-
this.
|
|
1295
|
-
this.
|
|
1296
|
-
this.
|
|
1294
|
+
this.fq = true;
|
|
1295
|
+
this.zb = e;
|
|
1296
|
+
this.fq = false;
|
|
1297
1297
|
}
|
|
1298
1298
|
return e;
|
|
1299
1299
|
}
|
|
1300
|
-
|
|
1300
|
+
ok(a, b) {
|
|
1301
1301
|
let c = true;
|
|
1302
1302
|
let d = true;
|
|
1303
1303
|
let e = 0;
|
|
1304
|
-
let f = this.
|
|
1304
|
+
let f = this.y4();
|
|
1305
1305
|
let g = 0;
|
|
1306
1306
|
let h = 0;
|
|
1307
1307
|
if ((a.right - f.right) > 0) {
|
|
@@ -1318,39 +1318,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
if (c) {
|
|
1320
1320
|
if (d) {
|
|
1321
|
-
let i = this.
|
|
1322
|
-
let j = this.
|
|
1321
|
+
let i = this.zh.f7(-180, b);
|
|
1322
|
+
let j = this.zh.f7(180, b);
|
|
1323
1323
|
e = j - i;
|
|
1324
1324
|
}
|
|
1325
1325
|
else {
|
|
1326
|
-
let k = this.
|
|
1327
|
-
let l = this.
|
|
1326
|
+
let k = this.zh.f7(-180, b);
|
|
1327
|
+
let l = this.zh.f7(180, b);
|
|
1328
1328
|
e = k - l;
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
1331
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1332
1332
|
}
|
|
1333
|
-
|
|
1334
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
1335
|
-
a.c = this.
|
|
1336
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
1337
|
-
b.c = this.
|
|
1338
|
-
let c = this.
|
|
1339
|
-
let d = this.
|
|
1340
|
-
let e = this.
|
|
1341
|
-
let f = this.
|
|
1342
|
-
this.
|
|
1343
|
-
return this.
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
let b = this.
|
|
1333
|
+
y4() {
|
|
1334
|
+
let a = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zi.dn);
|
|
1335
|
+
a.c = this.yw;
|
|
1336
|
+
let b = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zk.dn);
|
|
1337
|
+
b.c = this.yw;
|
|
1338
|
+
let c = this.zi.f7(XamGeographicMap.abf.left, a);
|
|
1339
|
+
let d = this.zi.f7(XamGeographicMap.abf.right, a);
|
|
1340
|
+
let e = this.zk.f7(XamGeographicMap.abf.top, b);
|
|
1341
|
+
let f = this.zk.f7(XamGeographicMap.abf.bottom, b);
|
|
1342
|
+
this.abh = new Rect(0, c / this.za.width, f / this.za.height, (d - c) / this.za.width, (e - f) / this.za.height);
|
|
1343
|
+
return this.abh;
|
|
1344
|
+
}
|
|
1345
|
+
abm(a) {
|
|
1346
|
+
let b = this.ip;
|
|
1347
1347
|
let c = 0.5 * (a.left + a.right);
|
|
1348
1348
|
let d = 0.5 * (a.top + a.bottom);
|
|
1349
1349
|
let e = a.width;
|
|
1350
1350
|
let f = a.height;
|
|
1351
1351
|
let g = MathUtil.e(a.width, b, 1);
|
|
1352
1352
|
let h = MathUtil.e(a.height, b, 1);
|
|
1353
|
-
let i = this.
|
|
1353
|
+
let i = this.za;
|
|
1354
1354
|
let j = i.width / i.height;
|
|
1355
1355
|
let k = g * i.width;
|
|
1356
1356
|
let l = h * i.height;
|
|
@@ -1389,8 +1389,8 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
return new Rect(0, p, q, r - p, s - q);
|
|
1391
1391
|
}
|
|
1392
|
-
|
|
1393
|
-
super.
|
|
1392
|
+
yu(a) {
|
|
1393
|
+
super.yu(this.za);
|
|
1394
1394
|
if (a.isEmpty) {
|
|
1395
1395
|
return Rect.empty;
|
|
1396
1396
|
}
|
|
@@ -1405,126 +1405,126 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
return b;
|
|
1407
1407
|
}
|
|
1408
|
-
|
|
1409
|
-
return this.
|
|
1408
|
+
abo(a) {
|
|
1409
|
+
return this.yu(a);
|
|
1410
1410
|
}
|
|
1411
1411
|
dv() {
|
|
1412
1412
|
return new XamGeographicMapView(this);
|
|
1413
1413
|
}
|
|
1414
|
-
|
|
1414
|
+
aao(a) {
|
|
1415
1415
|
if (a != null) {
|
|
1416
1416
|
a.b7 = this;
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
|
-
|
|
1420
|
-
super.
|
|
1421
|
-
this.
|
|
1419
|
+
rx(a) {
|
|
1420
|
+
super.rx(a);
|
|
1421
|
+
this.zu = a;
|
|
1422
1422
|
}
|
|
1423
|
-
|
|
1424
|
-
super.
|
|
1425
|
-
this.
|
|
1426
|
-
this.
|
|
1423
|
+
r8(a, b) {
|
|
1424
|
+
super.r8(a, b);
|
|
1425
|
+
this.t0(this.zi);
|
|
1426
|
+
this.t0(this.zk);
|
|
1427
1427
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1428
|
-
this.
|
|
1428
|
+
this.aat();
|
|
1429
1429
|
}
|
|
1430
|
-
if (this.
|
|
1431
|
-
this.
|
|
1430
|
+
if (this.zz) {
|
|
1431
|
+
this.ys = this.yt();
|
|
1432
1432
|
}
|
|
1433
|
-
this.
|
|
1434
|
-
}
|
|
1435
|
-
get z3() {
|
|
1436
|
-
return this.z1;
|
|
1433
|
+
this.aa0();
|
|
1437
1434
|
}
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
this.z1 = a;
|
|
1441
|
-
this.sr("ActualWindowScale", b, this.z1);
|
|
1435
|
+
get z4() {
|
|
1436
|
+
return this.z2;
|
|
1442
1437
|
}
|
|
1443
|
-
|
|
1444
|
-
|
|
1438
|
+
set z4(a) {
|
|
1439
|
+
let b = this.z2;
|
|
1440
|
+
this.z2 = a;
|
|
1441
|
+
this.ss("ActualWindowScale", b, this.z2);
|
|
1445
1442
|
}
|
|
1446
1443
|
iv() {
|
|
1447
|
-
return this.
|
|
1444
|
+
return this.z4;
|
|
1448
1445
|
}
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
let a = Math.min(this.yr.width, this.yr.height);
|
|
1452
|
-
this.z3 = a;
|
|
1446
|
+
iw() {
|
|
1447
|
+
return this.z4;
|
|
1453
1448
|
}
|
|
1454
|
-
|
|
1455
|
-
|
|
1449
|
+
tz() {
|
|
1450
|
+
super.tz();
|
|
1451
|
+
let a = Math.min(this.ys.width, this.ys.height);
|
|
1452
|
+
this.z4 = a;
|
|
1453
|
+
}
|
|
1454
|
+
g1() {
|
|
1455
|
+
return this.zw;
|
|
1456
1456
|
}
|
|
1457
1457
|
dc() {
|
|
1458
1458
|
if (this.dd == 0) {
|
|
1459
|
-
if (this.
|
|
1459
|
+
if (this.zx) {
|
|
1460
1460
|
return 2;
|
|
1461
1461
|
}
|
|
1462
1462
|
}
|
|
1463
1463
|
return this.dd;
|
|
1464
1464
|
}
|
|
1465
|
-
|
|
1466
|
-
super.
|
|
1465
|
+
r9(a, b, c, d) {
|
|
1466
|
+
super.r9(a, b, c, d);
|
|
1467
1467
|
switch (b) {
|
|
1468
1468
|
case "ZoomCoercionMode":
|
|
1469
|
-
this.
|
|
1469
|
+
this.aap();
|
|
1470
1470
|
break;
|
|
1471
1471
|
case "WindowRect":
|
|
1472
|
-
this.
|
|
1472
|
+
this.aax();
|
|
1473
1473
|
break;
|
|
1474
1474
|
case XamGeographicMap.$$p[0]:
|
|
1475
|
-
this.
|
|
1476
|
-
if (this.
|
|
1477
|
-
this.
|
|
1475
|
+
this.zq = this.zr();
|
|
1476
|
+
if (this.zn != null) {
|
|
1477
|
+
this.zn.isHorizontalWrappingEnabled = this.zq == 2;
|
|
1478
1478
|
}
|
|
1479
1479
|
break;
|
|
1480
1480
|
case XamGeographicMap.$$p[1]:
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1481
|
+
this.zw = this.zx;
|
|
1482
|
+
this.zq = this.zr();
|
|
1483
1483
|
this.db = this.dc();
|
|
1484
|
-
if (this.
|
|
1485
|
-
this.
|
|
1484
|
+
if (this.zn != null) {
|
|
1485
|
+
this.zn.isHorizontalWrappingEnabled = this.zq == 2;
|
|
1486
1486
|
}
|
|
1487
1487
|
break;
|
|
1488
1488
|
case XamGeographicMap.$$p[4]:
|
|
1489
|
-
this.
|
|
1489
|
+
this.ys = this.yt();
|
|
1490
1490
|
break;
|
|
1491
1491
|
case "BackgroundContent":
|
|
1492
|
-
if (this.
|
|
1493
|
-
let e = this.
|
|
1494
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1495
|
-
this.
|
|
1492
|
+
if (this.zn != null) {
|
|
1493
|
+
let e = this.zn;
|
|
1494
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.aaq));
|
|
1495
|
+
this.zn.deferralHandler = null;
|
|
1496
1496
|
}
|
|
1497
|
-
this.
|
|
1498
|
-
if (this.
|
|
1499
|
-
let f = this.
|
|
1500
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1501
|
-
this.
|
|
1502
|
-
this.
|
|
1497
|
+
this.zn = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1498
|
+
if (this.zn != null) {
|
|
1499
|
+
let f = this.zn;
|
|
1500
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.aaq));
|
|
1501
|
+
this.zn.deferralHandler = this;
|
|
1502
|
+
this.zn.isHorizontalWrappingEnabled = this.zq == 2;
|
|
1503
1503
|
}
|
|
1504
|
-
this.
|
|
1505
|
-
if (this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1504
|
+
this.zu.fx(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1505
|
+
if (this.zn != null) {
|
|
1506
|
+
this.zn.geographicMap = this;
|
|
1507
|
+
this.zu.fu(this.ys);
|
|
1508
|
+
this.zu.fy(this.ik);
|
|
1509
1509
|
}
|
|
1510
1510
|
break;
|
|
1511
1511
|
case "YAxis":
|
|
1512
1512
|
case "XAxis":
|
|
1513
|
-
this.
|
|
1514
|
-
this.
|
|
1513
|
+
this.aav(c);
|
|
1514
|
+
this.aao(d);
|
|
1515
1515
|
break;
|
|
1516
1516
|
case XamGeographicMap.$$p[6]:
|
|
1517
|
-
if (!this.
|
|
1518
|
-
this.
|
|
1517
|
+
if (!this.zy) {
|
|
1518
|
+
this.zb = XamGeographicMap.abi;
|
|
1519
1519
|
}
|
|
1520
|
-
this.
|
|
1521
|
-
this.aav();
|
|
1520
|
+
this.aap();
|
|
1522
1521
|
this.aaw();
|
|
1523
|
-
this.
|
|
1524
|
-
this.
|
|
1522
|
+
this.aax();
|
|
1523
|
+
this.ys = this.yt();
|
|
1524
|
+
this.zu.fv();
|
|
1525
1525
|
break;
|
|
1526
1526
|
case "ActualWindowRect":
|
|
1527
|
-
this.
|
|
1527
|
+
this.zu.fu(this.ys);
|
|
1528
1528
|
break;
|
|
1529
1529
|
case "ActualWorldRect":
|
|
1530
1530
|
for (let g of fromEnum(this.b9)) {
|
|
@@ -1532,30 +1532,30 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
break;
|
|
1534
1534
|
case XamGeographicMap.$$p[5]:
|
|
1535
|
-
this.
|
|
1535
|
+
this.z4 = this.z5;
|
|
1536
1536
|
break;
|
|
1537
1537
|
case "ActualWindowScale":
|
|
1538
|
-
if (!this.
|
|
1539
|
-
this.
|
|
1538
|
+
if (!this.g9) {
|
|
1539
|
+
this.ub(this.iv(), this.iw());
|
|
1540
1540
|
}
|
|
1541
1541
|
break;
|
|
1542
1542
|
case "ActualPixelScalingRatio":
|
|
1543
|
-
this.
|
|
1543
|
+
this.zu.fy(this.ik);
|
|
1544
1544
|
break;
|
|
1545
1545
|
case "WindowRectMinWidth":
|
|
1546
1546
|
case "WindowRectMinHeight":
|
|
1547
1547
|
let h = d;
|
|
1548
1548
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1549
|
+
this.ip = 5E-06;
|
|
1549
1550
|
this.io = 5E-06;
|
|
1550
|
-
this.im = 5E-06;
|
|
1551
1551
|
}
|
|
1552
1552
|
else {
|
|
1553
|
+
this.ip = h;
|
|
1553
1554
|
this.io = h;
|
|
1554
|
-
this.im = h;
|
|
1555
1555
|
}
|
|
1556
1556
|
break;
|
|
1557
1557
|
case XamGeographicMap.$$p[7]:
|
|
1558
|
-
this.
|
|
1558
|
+
this.t6();
|
|
1559
1559
|
break;
|
|
1560
1560
|
case "MarkerAutomaticBehavior":
|
|
1561
1561
|
for (let i of fromEnum(this.b9)) {
|
|
@@ -1564,39 +1564,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1564
1564
|
break;
|
|
1565
1565
|
}
|
|
1566
1566
|
}
|
|
1567
|
-
|
|
1567
|
+
aaq(a, b) {
|
|
1568
1568
|
if (this.imageTilesReady != null) {
|
|
1569
1569
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
|
-
|
|
1572
|
+
aav(a) {
|
|
1573
1573
|
if (a != null) {
|
|
1574
1574
|
a.b7 = null;
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
|
-
|
|
1578
|
-
if (this.
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1577
|
+
aaw() {
|
|
1578
|
+
if (this.zi != null) {
|
|
1579
|
+
this.zi.rb = this.abj.left;
|
|
1580
|
+
this.zi.ra = this.abj.right;
|
|
1581
1581
|
}
|
|
1582
|
-
if (this.
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1582
|
+
if (this.zk != null) {
|
|
1583
|
+
this.zk.rb = this.abj.top;
|
|
1584
|
+
this.zk.ra = this.abj.bottom;
|
|
1585
1585
|
}
|
|
1586
|
-
this.
|
|
1587
|
-
this.
|
|
1586
|
+
this.zi.ef(true);
|
|
1587
|
+
this.zk.ef(true);
|
|
1588
1588
|
}
|
|
1589
1589
|
getFontInfo() {
|
|
1590
|
-
this.
|
|
1591
|
-
return this.
|
|
1590
|
+
this.zv = this.zu.fr;
|
|
1591
|
+
return this.zv;
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1594
|
-
return this.
|
|
1593
|
+
xw() {
|
|
1594
|
+
return this.zu.fz;
|
|
1595
1595
|
}
|
|
1596
1596
|
getFontBrush() {
|
|
1597
|
-
return this.
|
|
1597
|
+
return this.zu.f0;
|
|
1598
1598
|
}
|
|
1599
|
-
|
|
1599
|
+
tl(a, b) {
|
|
1600
1600
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1601
1601
|
let c = b;
|
|
1602
1602
|
let d = a;
|
|
@@ -1604,33 +1604,33 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1604
1604
|
d.xv = c.triangulationSource.triangles;
|
|
1605
1605
|
}
|
|
1606
1606
|
else {
|
|
1607
|
-
super.
|
|
1607
|
+
super.tl(a, b);
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
1610
|
register(a, b) {
|
|
1611
|
-
this.
|
|
1611
|
+
this.s7(a, b);
|
|
1612
1612
|
}
|
|
1613
1613
|
unRegister(a) {
|
|
1614
|
-
this.
|
|
1614
|
+
this.ty(a);
|
|
1615
1615
|
}
|
|
1616
1616
|
deferredRefresh() {
|
|
1617
|
-
this.
|
|
1617
|
+
this.o1();
|
|
1618
1618
|
}
|
|
1619
1619
|
deferAction(a) {
|
|
1620
|
-
if (this.
|
|
1621
|
-
this.
|
|
1620
|
+
if (this.z7 != null) {
|
|
1621
|
+
this.z7.setTimeout(a, 0);
|
|
1622
1622
|
}
|
|
1623
1623
|
else {
|
|
1624
1624
|
window.setTimeout(a, 0);
|
|
1625
1625
|
}
|
|
1626
1626
|
}
|
|
1627
|
-
|
|
1628
|
-
this.
|
|
1627
|
+
aan(a) {
|
|
1628
|
+
this.t5(a);
|
|
1629
1629
|
}
|
|
1630
|
-
|
|
1630
|
+
z8() {
|
|
1631
1631
|
let a = new ChartVisualData();
|
|
1632
|
-
let b = this.
|
|
1633
|
-
let c = this.
|
|
1632
|
+
let b = this.zi.hu();
|
|
1633
|
+
let c = this.zk.hu();
|
|
1634
1634
|
a.axes.add1(b);
|
|
1635
1635
|
a.axes.add1(c);
|
|
1636
1636
|
for (let d = 0; d < this.b9.count; d++) {
|
|
@@ -1638,42 +1638,42 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1638
1638
|
a.series.add1(e);
|
|
1639
1639
|
}
|
|
1640
1640
|
a.name = this.name;
|
|
1641
|
-
a.contentArea = RectData.b(this.
|
|
1642
|
-
a.centralArea = RectData.b(this.
|
|
1643
|
-
a.plotArea = RectData.b(this.
|
|
1641
|
+
a.contentArea = RectData.b(this.za);
|
|
1642
|
+
a.centralArea = RectData.b(this.za);
|
|
1643
|
+
a.plotArea = RectData.b(this.za);
|
|
1644
1644
|
return a;
|
|
1645
1645
|
}
|
|
1646
|
-
|
|
1646
|
+
y0(a, b, c) {
|
|
1647
1647
|
return a;
|
|
1648
1648
|
}
|
|
1649
|
-
|
|
1649
|
+
aar() {
|
|
1650
1650
|
}
|
|
1651
|
-
get
|
|
1652
|
-
return this.
|
|
1651
|
+
get abu() {
|
|
1652
|
+
return this.abg;
|
|
1653
1653
|
}
|
|
1654
|
-
set
|
|
1655
|
-
this.
|
|
1654
|
+
set abu(a) {
|
|
1655
|
+
this.abg = a;
|
|
1656
1656
|
}
|
|
1657
|
-
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1657
|
+
aa1(a) {
|
|
1658
|
+
this.abu = a;
|
|
1659
|
+
this.aa0();
|
|
1660
1660
|
}
|
|
1661
|
-
|
|
1662
|
-
if (this.
|
|
1663
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
1664
|
-
this.
|
|
1665
|
-
this.
|
|
1661
|
+
aa0() {
|
|
1662
|
+
if (this.z1 && !this.abu.isEmpty) {
|
|
1663
|
+
let a = this.getZoomFromGeographicRect(this.abu);
|
|
1664
|
+
this.abu = Rect.empty;
|
|
1665
|
+
this.ue(a, false);
|
|
1666
1666
|
}
|
|
1667
1667
|
}
|
|
1668
|
-
get
|
|
1669
|
-
return !this.
|
|
1668
|
+
get z1() {
|
|
1669
|
+
return !this.za.isEmpty && !this.yw.isEmpty;
|
|
1670
1670
|
}
|
|
1671
1671
|
}
|
|
1672
1672
|
XamGeographicMap.$t = /*@__PURE__*/ markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1673
|
-
XamGeographicMap.
|
|
1674
|
-
XamGeographicMap.
|
|
1675
|
-
XamGeographicMap.
|
|
1676
|
-
XamGeographicMap.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1673
|
+
XamGeographicMap.zs = 0;
|
|
1674
|
+
XamGeographicMap.abf = /*@__PURE__*/ new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1675
|
+
XamGeographicMap.abi = /*@__PURE__*/ new Rect(0, 0, 0, 1, 1);
|
|
1676
|
+
XamGeographicMap.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'ss', ['BackgroundTilingMode:zp:aa2', [MapBackgroundTilingMode_$type, /*@__PURE__*/ enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:zx:aa3', [0, false], 'ResizeBehavior:zt:aa4', [MapResizeBehavior_$type, /*@__PURE__*/ enumGetBox(MapResizeBehavior_$type, XamGeographicMap.zs)], 'SuppressZoomResetOnWorldRectChange:zy:aa5', [0, false], 'UseWorldRectForZoomBounds:zz:aa6', [0, false], 'WindowScale:z5:aa7', [1, NaN], 'WorldRect:abv:aa8', [Rect.$, XamGeographicMap.abf], 'Zoomable:z0:aa9', [0, true]]);
|
|
1677
1677
|
return XamGeographicMap;
|
|
1678
1678
|
})();
|
|
1679
1679
|
let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
@@ -1800,14 +1800,14 @@ let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
1800
1800
|
return a;
|
|
1801
1801
|
}
|
|
1802
1802
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
1803
|
-
let c = this.geographicMap.
|
|
1804
|
-
let d = XamGeographicMap.
|
|
1805
|
-
let e = this.geographicMap.
|
|
1803
|
+
let c = this.geographicMap.abo(b);
|
|
1804
|
+
let d = XamGeographicMap.abf;
|
|
1805
|
+
let e = this.geographicMap.abj;
|
|
1806
1806
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1807
1807
|
let g = e.width / d.width;
|
|
1808
1808
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1809
|
-
let h = this.geographicMap.
|
|
1810
|
-
let i = this.geographicMap.
|
|
1809
|
+
let h = this.geographicMap.zi;
|
|
1810
|
+
let i = this.geographicMap.zk;
|
|
1811
1811
|
let j = new ScalerParams(1, this.windowRect, b, h.dn);
|
|
1812
1812
|
j.c = c;
|
|
1813
1813
|
let k = new ScalerParams(1, this.windowRect, b, i.dn);
|
|
@@ -1916,8 +1916,8 @@ let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1916
1916
|
a.xl = null;
|
|
1917
1917
|
return;
|
|
1918
1918
|
}
|
|
1919
|
-
a.xk = this.cu.dc.
|
|
1920
|
-
a.xl = this.cu.dc.
|
|
1919
|
+
a.xk = this.cu.dc.zi;
|
|
1920
|
+
a.xl = this.cu.dc.zk;
|
|
1921
1921
|
}
|
|
1922
1922
|
cw() {
|
|
1923
1923
|
this.cu.xm.ym = this.cu.xy;
|
|
@@ -1986,15 +1986,15 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1986
1986
|
this.fs = NaN;
|
|
1987
1987
|
this.f2 = Rect.empty;
|
|
1988
1988
|
this.fq = a;
|
|
1989
|
-
this.fq.
|
|
1990
|
-
this.fq.
|
|
1989
|
+
this.fq.xp = 2;
|
|
1990
|
+
this.fq.jx = 5E-06;
|
|
1991
1991
|
}
|
|
1992
1992
|
m(a) {
|
|
1993
1993
|
return 2;
|
|
1994
1994
|
}
|
|
1995
1995
|
bn(a) {
|
|
1996
1996
|
this.j.bw(a);
|
|
1997
|
-
this.fq.
|
|
1997
|
+
this.fq.aan(a);
|
|
1998
1998
|
this.eo();
|
|
1999
1999
|
}
|
|
2000
2000
|
get_aq() {
|
|
@@ -2057,13 +2057,13 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
fu(a) {
|
|
2060
|
-
if (this.fq.
|
|
2061
|
-
this.fq.
|
|
2060
|
+
if (this.fq.zn != null) {
|
|
2061
|
+
this.fq.zn.windowRect = a;
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
2064
|
fx(a, b) {
|
|
2065
|
-
if (this.fq.
|
|
2066
|
-
this.fq.
|
|
2065
|
+
if (this.fq.zn != null) {
|
|
2066
|
+
this.fq.zn.windowRect = this.fq.ys;
|
|
2067
2067
|
}
|
|
2068
2068
|
if (a != null) {
|
|
2069
2069
|
let c = a.ao;
|
|
@@ -2090,7 +2090,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
}
|
|
2092
2092
|
fw(a) {
|
|
2093
|
-
let b = this.fq.
|
|
2093
|
+
let b = this.fq.ik;
|
|
2094
2094
|
if (b != 1) {
|
|
2095
2095
|
a.aa();
|
|
2096
2096
|
a.ab(b, b);
|
|
@@ -2638,88 +2638,88 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2638
2638
|
* Gets or sets zoomability of the current control
|
|
2639
2639
|
*/
|
|
2640
2640
|
get zoomable() {
|
|
2641
|
-
return this.i.
|
|
2641
|
+
return this.i.z0;
|
|
2642
2642
|
}
|
|
2643
2643
|
set zoomable(v) {
|
|
2644
|
-
this.i.
|
|
2645
|
-
this._a("zoomable", this.i.
|
|
2644
|
+
this.i.z0 = ensureBool(v);
|
|
2645
|
+
this._a("zoomable", this.i.z0);
|
|
2646
2646
|
}
|
|
2647
2647
|
/**
|
|
2648
2648
|
* Gets or sets the behavior to use during resize.
|
|
2649
2649
|
*/
|
|
2650
2650
|
get resizeBehavior() {
|
|
2651
|
-
return this.i.
|
|
2651
|
+
return this.i.zt;
|
|
2652
2652
|
}
|
|
2653
2653
|
set resizeBehavior(v) {
|
|
2654
|
-
this.i.
|
|
2655
|
-
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.
|
|
2654
|
+
this.i.zt = ensureEnum(MapResizeBehavior_$type, v);
|
|
2655
|
+
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.zt));
|
|
2656
2656
|
}
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Gets or sets if the map should horizontally wrap.
|
|
2659
2659
|
*/
|
|
2660
2660
|
get isHorizontalWrappingEnabled() {
|
|
2661
|
-
return this.i.
|
|
2661
|
+
return this.i.zx;
|
|
2662
2662
|
}
|
|
2663
2663
|
set isHorizontalWrappingEnabled(v) {
|
|
2664
|
-
this.i.
|
|
2665
|
-
this._a("isHorizontalWrappingEnabled", this.i.
|
|
2664
|
+
this.i.zx = ensureBool(v);
|
|
2665
|
+
this._a("isHorizontalWrappingEnabled", this.i.zx);
|
|
2666
2666
|
}
|
|
2667
2667
|
/**
|
|
2668
2668
|
* Gets or sets if the map should horizontally wrap.
|
|
2669
2669
|
*/
|
|
2670
2670
|
get backgroundTilingMode() {
|
|
2671
|
-
return this.i.
|
|
2671
|
+
return this.i.zp;
|
|
2672
2672
|
}
|
|
2673
2673
|
set backgroundTilingMode(v) {
|
|
2674
|
-
this.i.
|
|
2675
|
-
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.
|
|
2674
|
+
this.i.zp = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2675
|
+
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.zp));
|
|
2676
2676
|
}
|
|
2677
2677
|
/**
|
|
2678
2678
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2679
2679
|
*/
|
|
2680
2680
|
get useWorldRectForZoomBounds() {
|
|
2681
|
-
return this.i.
|
|
2681
|
+
return this.i.zz;
|
|
2682
2682
|
}
|
|
2683
2683
|
set useWorldRectForZoomBounds(v) {
|
|
2684
|
-
this.i.
|
|
2685
|
-
this._a("useWorldRectForZoomBounds", this.i.
|
|
2684
|
+
this.i.zz = ensureBool(v);
|
|
2685
|
+
this._a("useWorldRectForZoomBounds", this.i.zz);
|
|
2686
2686
|
}
|
|
2687
2687
|
/**
|
|
2688
2688
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2689
2689
|
*/
|
|
2690
2690
|
get suppressZoomResetOnWorldRectChange() {
|
|
2691
|
-
return this.i.
|
|
2691
|
+
return this.i.zy;
|
|
2692
2692
|
}
|
|
2693
2693
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
2694
|
-
this.i.
|
|
2695
|
-
this._a("suppressZoomResetOnWorldRectChange", this.i.
|
|
2694
|
+
this.i.zy = ensureBool(v);
|
|
2695
|
+
this._a("suppressZoomResetOnWorldRectChange", this.i.zy);
|
|
2696
2696
|
}
|
|
2697
2697
|
/**
|
|
2698
2698
|
* Gets or sets the world bounding rectangle.
|
|
2699
2699
|
*/
|
|
2700
2700
|
get worldRect() {
|
|
2701
|
-
return fromRect(this.i.
|
|
2701
|
+
return fromRect(this.i.abv);
|
|
2702
2702
|
}
|
|
2703
2703
|
set worldRect(v) {
|
|
2704
|
-
this.i.
|
|
2705
|
-
this._a("worldRect", rectToString(this.i.
|
|
2704
|
+
this.i.abv = toRect(v);
|
|
2705
|
+
this._a("worldRect", rectToString(this.i.abv));
|
|
2706
2706
|
}
|
|
2707
2707
|
/**
|
|
2708
2708
|
* Gets the actual value of the WorldRect.
|
|
2709
2709
|
*/
|
|
2710
2710
|
get actualWorldRect() {
|
|
2711
|
-
return fromRect(this.i.
|
|
2711
|
+
return fromRect(this.i.abj);
|
|
2712
2712
|
}
|
|
2713
2713
|
set actualWorldRect(v) {
|
|
2714
|
-
this.i.
|
|
2715
|
-
this._a("actualWorldRect", rectToString(this.i.
|
|
2714
|
+
this.i.abj = toRect(v);
|
|
2715
|
+
this._a("actualWorldRect", rectToString(this.i.abj));
|
|
2716
2716
|
}
|
|
2717
2717
|
/**
|
|
2718
2718
|
* The X-axis for this IgxGeographicMap.Component
|
|
2719
2719
|
* Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
|
|
2720
2720
|
*/
|
|
2721
2721
|
get xAxis() {
|
|
2722
|
-
const r = this.i.
|
|
2722
|
+
const r = this.i.zi;
|
|
2723
2723
|
if (r == null) {
|
|
2724
2724
|
return null;
|
|
2725
2725
|
}
|
|
@@ -2735,14 +2735,14 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2735
2735
|
set xAxis(v) {
|
|
2736
2736
|
if (v != null && this._stylingContainer && v._styling)
|
|
2737
2737
|
v._styling(this._stylingContainer, this, this);
|
|
2738
|
-
v == null ? this.i.
|
|
2738
|
+
v == null ? this.i.zi = null : this.i.zi = v.i;
|
|
2739
2739
|
}
|
|
2740
2740
|
/**
|
|
2741
2741
|
* The Y-axis for this IgxGeographicMap.Component
|
|
2742
2742
|
* Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
|
|
2743
2743
|
*/
|
|
2744
2744
|
get yAxis() {
|
|
2745
|
-
const r = this.i.
|
|
2745
|
+
const r = this.i.zk;
|
|
2746
2746
|
if (r == null) {
|
|
2747
2747
|
return null;
|
|
2748
2748
|
}
|
|
@@ -2758,41 +2758,41 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2758
2758
|
set yAxis(v) {
|
|
2759
2759
|
if (v != null && this._stylingContainer && v._styling)
|
|
2760
2760
|
v._styling(this._stylingContainer, this, this);
|
|
2761
|
-
v == null ? this.i.
|
|
2761
|
+
v == null ? this.i.zk = null : this.i.zk = v.i;
|
|
2762
2762
|
}
|
|
2763
2763
|
/**
|
|
2764
2764
|
* Indicates if this SeriesViewer is a map.
|
|
2765
2765
|
*/
|
|
2766
2766
|
get isMap() {
|
|
2767
|
-
return this.i.
|
|
2767
|
+
return this.i.f7;
|
|
2768
2768
|
}
|
|
2769
2769
|
/**
|
|
2770
2770
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2771
2771
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
2772
2772
|
*/
|
|
2773
2773
|
get windowScale() {
|
|
2774
|
-
return this.i.
|
|
2774
|
+
return this.i.z5;
|
|
2775
2775
|
}
|
|
2776
2776
|
set windowScale(v) {
|
|
2777
|
-
this.i.
|
|
2778
|
-
this._a("windowScale", this.i.
|
|
2777
|
+
this.i.z5 = +v;
|
|
2778
|
+
this._a("windowScale", this.i.z5);
|
|
2779
2779
|
}
|
|
2780
2780
|
/**
|
|
2781
2781
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2782
2782
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2783
2783
|
*/
|
|
2784
2784
|
get actualWindowScale() {
|
|
2785
|
-
return this.i.
|
|
2785
|
+
return this.i.z4;
|
|
2786
2786
|
}
|
|
2787
2787
|
set actualWindowScale(v) {
|
|
2788
|
-
this.i.
|
|
2789
|
-
this._a("actualWindowScale", this.i.
|
|
2788
|
+
this.i.z4 = +v;
|
|
2789
|
+
this._a("actualWindowScale", this.i.z4);
|
|
2790
2790
|
}
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Gets whether or not the control is ready for zooming
|
|
2793
2793
|
*/
|
|
2794
2794
|
get zoomIsReady() {
|
|
2795
|
-
return this.i.
|
|
2795
|
+
return this.i.z1;
|
|
2796
2796
|
}
|
|
2797
2797
|
findByName(name) {
|
|
2798
2798
|
var baseResult = super.findByName(name);
|
|
@@ -2820,7 +2820,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2820
2820
|
|
|
2821
2821
|
*/
|
|
2822
2822
|
getCurrentActualWorldRect() {
|
|
2823
|
-
let iv = this.i.
|
|
2823
|
+
let iv = this.i.abn();
|
|
2824
2824
|
return fromRect(iv);
|
|
2825
2825
|
}
|
|
2826
2826
|
/**
|
|
@@ -2837,14 +2837,14 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2837
2837
|
|
|
2838
2838
|
*/
|
|
2839
2839
|
updateZoomWindow(zoomWindow) {
|
|
2840
|
-
this.i.
|
|
2840
|
+
this.i.aaz(toRect(zoomWindow));
|
|
2841
2841
|
}
|
|
2842
2842
|
/**
|
|
2843
2843
|
* Updates world rect in geographic coordinates
|
|
2844
2844
|
|
|
2845
2845
|
*/
|
|
2846
2846
|
updateWorldRect(worldRect) {
|
|
2847
|
-
this.i.
|
|
2847
|
+
this.i.aay(toRect(worldRect));
|
|
2848
2848
|
}
|
|
2849
2849
|
/**
|
|
2850
2850
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -2856,7 +2856,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2856
2856
|
return fromRect(iv);
|
|
2857
2857
|
}
|
|
2858
2858
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
2859
|
-
let iv = this.i.
|
|
2859
|
+
let iv = this.i.abk(toRect(geographic), extraPixelPadding);
|
|
2860
2860
|
return fromRect(iv);
|
|
2861
2861
|
}
|
|
2862
2862
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -2869,7 +2869,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2869
2869
|
* @param windowRect * The zoom area.
|
|
2870
2870
|
*/
|
|
2871
2871
|
getGeographicFromZoom(windowRect) {
|
|
2872
|
-
let iv = this.i.
|
|
2872
|
+
let iv = this.i.abp(toRect(windowRect));
|
|
2873
2873
|
return fromRect(iv);
|
|
2874
2874
|
}
|
|
2875
2875
|
/**
|
|
@@ -2878,7 +2878,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2878
2878
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
2879
2879
|
*/
|
|
2880
2880
|
getGeographicPoint(pixelCoordinate) {
|
|
2881
|
-
let iv = this.i.
|
|
2881
|
+
let iv = this.i.abb(toPoint(pixelCoordinate));
|
|
2882
2882
|
return fromPoint(iv);
|
|
2883
2883
|
}
|
|
2884
2884
|
/**
|
|
@@ -2887,7 +2887,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2887
2887
|
* @param geographicCoordinate * A geographic coordinate
|
|
2888
2888
|
*/
|
|
2889
2889
|
getPixelPoint(geographicCoordinate) {
|
|
2890
|
-
let iv = this.i.
|
|
2890
|
+
let iv = this.i.abc(toPoint(geographicCoordinate));
|
|
2891
2891
|
return fromPoint(iv);
|
|
2892
2892
|
}
|
|
2893
2893
|
/**
|
|
@@ -2896,7 +2896,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2896
2896
|
* @param geographicCoordinate * A geographic coordinate
|
|
2897
2897
|
*/
|
|
2898
2898
|
getWindowPoint(geographicCoordinate) {
|
|
2899
|
-
let iv = this.i.
|
|
2899
|
+
let iv = this.i.abd(toPoint(geographicCoordinate));
|
|
2900
2900
|
return fromPoint(iv);
|
|
2901
2901
|
}
|
|
2902
2902
|
/**
|
|
@@ -2904,21 +2904,21 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2904
2904
|
|
|
2905
2905
|
*/
|
|
2906
2906
|
clearTileCache() {
|
|
2907
|
-
this.i.
|
|
2907
|
+
this.i.aam();
|
|
2908
2908
|
}
|
|
2909
2909
|
/**
|
|
2910
2910
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
2911
2911
|
|
|
2912
2912
|
*/
|
|
2913
2913
|
styleUpdated() {
|
|
2914
|
-
this.i.
|
|
2914
|
+
this.i.aau();
|
|
2915
2915
|
}
|
|
2916
2916
|
/**
|
|
2917
2917
|
* Gets actual window scale for horizontal dimension of the control
|
|
2918
2918
|
|
|
2919
2919
|
*/
|
|
2920
2920
|
getActualWindowScaleHorizontal() {
|
|
2921
|
-
let iv = this.i.
|
|
2921
|
+
let iv = this.i.iv();
|
|
2922
2922
|
return (iv);
|
|
2923
2923
|
}
|
|
2924
2924
|
/**
|
|
@@ -2926,7 +2926,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2926
2926
|
|
|
2927
2927
|
*/
|
|
2928
2928
|
getActualWindowScaleVertical() {
|
|
2929
|
-
let iv = this.i.
|
|
2929
|
+
let iv = this.i.iw();
|
|
2930
2930
|
return (iv);
|
|
2931
2931
|
}
|
|
2932
2932
|
/**
|
|
@@ -2941,7 +2941,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2941
2941
|
|
|
2942
2942
|
*/
|
|
2943
2943
|
exportVisualData() {
|
|
2944
|
-
let iv = this.i.
|
|
2944
|
+
let iv = this.i.z8();
|
|
2945
2945
|
return (iv);
|
|
2946
2946
|
}
|
|
2947
2947
|
/**
|
|
@@ -2950,7 +2950,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2950
2950
|
* @param geographic * The geographic region to zoom to.
|
|
2951
2951
|
*/
|
|
2952
2952
|
zoomToGeographic(geographic) {
|
|
2953
|
-
this.i.
|
|
2953
|
+
this.i.aa1(toRect(geographic));
|
|
2954
2954
|
}
|
|
2955
2955
|
/**
|
|
2956
2956
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -4958,8 +4958,8 @@ let GeographicShapeSeriesBaseView = /*@__PURE__*/ (() => {
|
|
|
4958
4958
|
a.x2 = null;
|
|
4959
4959
|
return;
|
|
4960
4960
|
}
|
|
4961
|
-
a.x0 = this.cu.dc.
|
|
4962
|
-
a.x2 = this.cu.dc.
|
|
4961
|
+
a.x0 = this.cu.dc.zi;
|
|
4962
|
+
a.x2 = this.cu.dc.zk;
|
|
4963
4963
|
}
|
|
4964
4964
|
cx() {
|
|
4965
4965
|
this.cu.xm.zt = this.cu.yl;
|
|
@@ -5832,7 +5832,7 @@ let TileSeries = /*@__PURE__*/ (() => {
|
|
|
5832
5832
|
if (f != null && typeCast(XamGeographicMap.$, this.dc) !== null) {
|
|
5833
5833
|
f.geographicMap = this.dc;
|
|
5834
5834
|
this.aa5(this.cw);
|
|
5835
|
-
this.aat.dr(this.dc.
|
|
5835
|
+
this.aat.dr(this.dc.ys);
|
|
5836
5836
|
}
|
|
5837
5837
|
this.q1();
|
|
5838
5838
|
break;
|
|
@@ -6697,10 +6697,10 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6697
6697
|
this.cu.xm.aav = this.cu.xy;
|
|
6698
6698
|
}
|
|
6699
6699
|
db() {
|
|
6700
|
-
this.cu.xm.xAxis = this.cu.dc.
|
|
6700
|
+
this.cu.xm.xAxis = this.cu.dc.zi;
|
|
6701
6701
|
}
|
|
6702
6702
|
dc() {
|
|
6703
|
-
this.cu.xm.yAxis = this.cu.dc.
|
|
6703
|
+
this.cu.xm.yAxis = this.cu.dc.zk;
|
|
6704
6704
|
}
|
|
6705
6705
|
da() {
|
|
6706
6706
|
let a = this.cu.xm;
|
|
@@ -6709,8 +6709,8 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6709
6709
|
a.yAxis = null;
|
|
6710
6710
|
return;
|
|
6711
6711
|
}
|
|
6712
|
-
a.xAxis = this.cu.dc.
|
|
6713
|
-
a.yAxis = this.cu.dc.
|
|
6712
|
+
a.xAxis = this.cu.dc.zi;
|
|
6713
|
+
a.yAxis = this.cu.dc.zk;
|
|
6714
6714
|
}
|
|
6715
6715
|
c4() {
|
|
6716
6716
|
this.cu.xm.y5 = this.cu.yq;
|
|
@@ -7284,10 +7284,10 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7284
7284
|
this.cu.xm.aav = this.cu.xy;
|
|
7285
7285
|
}
|
|
7286
7286
|
c5() {
|
|
7287
|
-
this.cu.xm.xAxis = this.cu.dc.
|
|
7287
|
+
this.cu.xm.xAxis = this.cu.dc.zi;
|
|
7288
7288
|
}
|
|
7289
7289
|
c6() {
|
|
7290
|
-
this.cu.xm.yAxis = this.cu.dc.
|
|
7290
|
+
this.cu.xm.yAxis = this.cu.dc.zk;
|
|
7291
7291
|
}
|
|
7292
7292
|
c4() {
|
|
7293
7293
|
let a = this.cu.xm;
|
|
@@ -7296,8 +7296,8 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7296
7296
|
a.yAxis = null;
|
|
7297
7297
|
return;
|
|
7298
7298
|
}
|
|
7299
|
-
a.xAxis = this.cu.dc.
|
|
7300
|
-
a.yAxis = this.cu.dc.
|
|
7299
|
+
a.xAxis = this.cu.dc.zi;
|
|
7300
|
+
a.yAxis = this.cu.dc.zk;
|
|
7301
7301
|
}
|
|
7302
7302
|
cy() {
|
|
7303
7303
|
this.cu.xm.zf = this.cu.yu;
|
|
@@ -7981,14 +7981,14 @@ let GeographicHighDensityScatterSeriesView = /*@__PURE__*/ (() => {
|
|
|
7981
7981
|
a.xt = null;
|
|
7982
7982
|
return;
|
|
7983
7983
|
}
|
|
7984
|
-
a.xr = this.cu.dc.
|
|
7985
|
-
a.xt = this.cu.dc.
|
|
7984
|
+
a.xr = this.cu.dc.zi;
|
|
7985
|
+
a.xt = this.cu.dc.zk;
|
|
7986
7986
|
}
|
|
7987
7987
|
c6() {
|
|
7988
|
-
this.cu.xm.xr = this.cu.dc.
|
|
7988
|
+
this.cu.xm.xr = this.cu.dc.zi;
|
|
7989
7989
|
}
|
|
7990
7990
|
c7() {
|
|
7991
|
-
this.cu.xm.xt = this.cu.dc.
|
|
7991
|
+
this.cu.xm.xt = this.cu.dc.zk;
|
|
7992
7992
|
}
|
|
7993
7993
|
cx() {
|
|
7994
7994
|
this.cu.xm.aa1 = this.cu.yu;
|