igniteui-webcomponents-maps 4.3.3-beta.1 → 4.3.3-beta.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/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
|
@@ -587,10 +587,10 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
587
587
|
case "SeriesViewer":
|
|
588
588
|
this.qe.ce = this.ce;
|
|
589
589
|
if (c != null) {
|
|
590
|
-
c.
|
|
590
|
+
c.o0(this.qe);
|
|
591
591
|
}
|
|
592
592
|
if (d != null) {
|
|
593
|
-
this.ce.
|
|
593
|
+
this.ce.lp(this.qe);
|
|
594
594
|
}
|
|
595
595
|
this.qe.mc(this.p7);
|
|
596
596
|
this.qe.index = this.index;
|
|
@@ -689,7 +689,7 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
689
689
|
return;
|
|
690
690
|
}
|
|
691
691
|
if (!isNaN_(this.qg)) {
|
|
692
|
-
if (this.ce.
|
|
692
|
+
if (this.ce.tk.width > this.qg) {
|
|
693
693
|
let hs_ = this.qe;
|
|
694
694
|
let v_ = 1;
|
|
695
695
|
hs_.visibility = v_;
|
|
@@ -852,22 +852,22 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
852
852
|
class XamGeographicMap extends SeriesViewer {
|
|
853
853
|
constructor() {
|
|
854
854
|
super();
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
864
|
-
this.
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
855
|
+
this.uw = null;
|
|
856
|
+
this.ul = false;
|
|
857
|
+
this.ud = 1;
|
|
858
|
+
this.us = 0;
|
|
859
|
+
this.v3 = null;
|
|
860
|
+
this.ua = null;
|
|
861
|
+
this.t6 = null;
|
|
862
|
+
this.t8 = null;
|
|
863
|
+
this.uc = null;
|
|
864
|
+
this.vz = { $type: Point_$type, x: NaN, y: NaN };
|
|
865
|
+
this.v6 = null;
|
|
866
|
+
this.ur = 1;
|
|
867
867
|
this.imageTilesReady = null;
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
868
|
+
this.uk = null;
|
|
869
|
+
this.v5 = Rect.empty;
|
|
870
|
+
this.us = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
871
871
|
this.ab = XamGeographicMap.$;
|
|
872
872
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
873
873
|
let a = ((() => {
|
|
@@ -876,70 +876,70 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
876
876
|
return $ret;
|
|
877
877
|
})());
|
|
878
878
|
a.cf = true;
|
|
879
|
-
this.
|
|
880
|
-
this.
|
|
879
|
+
this.t7 = a;
|
|
880
|
+
this.t7.nl = new SphericalMercatorHorizontalScaler();
|
|
881
881
|
let b = ((() => {
|
|
882
882
|
let $ret = new NumericYAxis();
|
|
883
883
|
$ret.bi = this;
|
|
884
884
|
return $ret;
|
|
885
885
|
})());
|
|
886
886
|
b.cf = true;
|
|
887
|
-
this.
|
|
888
|
-
this.
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
887
|
+
this.t9 = b;
|
|
888
|
+
this.t9.nl = new SphericalMercatorVerticalScaler();
|
|
889
|
+
this.ve();
|
|
890
|
+
this.vl();
|
|
891
|
+
this.mb();
|
|
892
892
|
}
|
|
893
893
|
provideContainer(a) {
|
|
894
894
|
super.provideContainer(a);
|
|
895
|
-
this.
|
|
896
|
-
this.
|
|
895
|
+
this.t7.provideRenderer(a);
|
|
896
|
+
this.t9.provideRenderer(a);
|
|
897
897
|
}
|
|
898
|
-
|
|
899
|
-
super.
|
|
900
|
-
this.
|
|
901
|
-
}
|
|
902
|
-
es() {
|
|
903
|
-
return this.uo;
|
|
898
|
+
mb() {
|
|
899
|
+
super.mb();
|
|
900
|
+
this.uj.fv(this.gg);
|
|
904
901
|
}
|
|
905
902
|
et() {
|
|
906
|
-
return this.
|
|
903
|
+
return this.up;
|
|
904
|
+
}
|
|
905
|
+
eu() {
|
|
906
|
+
return this.up;
|
|
907
907
|
}
|
|
908
|
-
|
|
909
|
-
if (this.
|
|
910
|
-
if (this.
|
|
908
|
+
ug() {
|
|
909
|
+
if (this.ue == 0) {
|
|
910
|
+
if (this.ul) {
|
|
911
911
|
return 2;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
return 1;
|
|
915
915
|
}
|
|
916
|
-
get
|
|
917
|
-
return this.
|
|
916
|
+
get uf() {
|
|
917
|
+
return this.ud;
|
|
918
918
|
}
|
|
919
|
-
set
|
|
920
|
-
this.
|
|
919
|
+
set uf(a) {
|
|
920
|
+
this.ud = a;
|
|
921
921
|
}
|
|
922
|
-
get
|
|
923
|
-
return this.
|
|
922
|
+
get v8() {
|
|
923
|
+
return this.v3;
|
|
924
924
|
}
|
|
925
|
-
set
|
|
926
|
-
let b = Rect.l_op_Inequality(this.
|
|
925
|
+
set v8(a) {
|
|
926
|
+
let b = Rect.l_op_Inequality(this.v3, a);
|
|
927
927
|
if (b) {
|
|
928
|
-
let c = this.
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
928
|
+
let c = this.v3;
|
|
929
|
+
this.v3 = a;
|
|
930
|
+
this.oj("ActualWorldRect", c, a);
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
|
-
|
|
934
|
-
return this.
|
|
933
|
+
wc() {
|
|
934
|
+
return this.v8;
|
|
935
935
|
}
|
|
936
|
-
|
|
937
|
-
if (this.
|
|
936
|
+
ve() {
|
|
937
|
+
if (this.wk.isEmpty) {
|
|
938
938
|
return;
|
|
939
939
|
}
|
|
940
|
-
this.
|
|
940
|
+
this.v8 = this.wi(this.wk, this.cd == 1);
|
|
941
941
|
}
|
|
942
|
-
|
|
942
|
+
wi(a, b) {
|
|
943
943
|
let c = a.top;
|
|
944
944
|
let d = a.left;
|
|
945
945
|
let e = a.width;
|
|
@@ -947,25 +947,25 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
947
947
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
948
948
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
949
949
|
let i = g - h;
|
|
950
|
-
let j = a.width / XamGeographicMap.
|
|
951
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
950
|
+
let j = a.width / XamGeographicMap.v4.width;
|
|
951
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
952
952
|
let l = i / j;
|
|
953
|
-
if (i / j > this.
|
|
954
|
-
let m = i / this.
|
|
953
|
+
if (i / j > this.us) {
|
|
954
|
+
let m = i / this.us;
|
|
955
955
|
let n = m - j;
|
|
956
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
957
|
-
e = m * XamGeographicMap.
|
|
956
|
+
d = d - (n / 2) * XamGeographicMap.v4.width;
|
|
957
|
+
e = m * XamGeographicMap.v4.width;
|
|
958
958
|
if (b) {
|
|
959
|
-
if (d < XamGeographicMap.
|
|
960
|
-
d += (XamGeographicMap.
|
|
959
|
+
if (d < XamGeographicMap.v4.left) {
|
|
960
|
+
d += (XamGeographicMap.v4.left - d);
|
|
961
961
|
}
|
|
962
|
-
else if ((d + e) > XamGeographicMap.
|
|
963
|
-
d -= ((d + e) - XamGeographicMap.
|
|
962
|
+
else if ((d + e) > XamGeographicMap.v4.right) {
|
|
963
|
+
d -= ((d + e) - XamGeographicMap.v4.right);
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
|
-
else if (i / j < this.
|
|
968
|
-
let o = this.
|
|
967
|
+
else if (i / j < this.us) {
|
|
968
|
+
let o = this.us * j;
|
|
969
969
|
let p = o - i;
|
|
970
970
|
let q = h - (p / 2);
|
|
971
971
|
let r = g + (p / 2);
|
|
@@ -974,9 +974,9 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
974
974
|
q += (k - q);
|
|
975
975
|
r += (k - q);
|
|
976
976
|
}
|
|
977
|
-
else if (r > (k + this.
|
|
978
|
-
q -= ((r) - (k + this.
|
|
979
|
-
r -= ((r) - (k + this.
|
|
977
|
+
else if (r > (k + this.us)) {
|
|
978
|
+
q -= ((r) - (k + this.us));
|
|
979
|
+
r -= ((r) - (k + this.us));
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -986,76 +986,76 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
986
986
|
return s;
|
|
987
987
|
}
|
|
988
988
|
get backgroundContent() {
|
|
989
|
-
return this.
|
|
989
|
+
return this.ua;
|
|
990
990
|
}
|
|
991
991
|
set backgroundContent(a) {
|
|
992
992
|
let b = a != this.backgroundContent;
|
|
993
993
|
if (b) {
|
|
994
994
|
let c = this.backgroundContent;
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
995
|
+
this.ua = a;
|
|
996
|
+
this.oj("BackgroundContent", c, a);
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
|
-
get
|
|
1000
|
-
return this.
|
|
999
|
+
get t7() {
|
|
1000
|
+
return this.t6;
|
|
1001
1001
|
}
|
|
1002
|
-
set
|
|
1003
|
-
let b = a != this.
|
|
1002
|
+
set t7(a) {
|
|
1003
|
+
let b = a != this.t7;
|
|
1004
1004
|
if (b) {
|
|
1005
|
-
let c = this.
|
|
1006
|
-
this.
|
|
1007
|
-
this.
|
|
1005
|
+
let c = this.t7;
|
|
1006
|
+
this.t6 = a;
|
|
1007
|
+
this.oj("XAxis", c, a);
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
|
-
get
|
|
1011
|
-
return this.
|
|
1010
|
+
get t9() {
|
|
1011
|
+
return this.t8;
|
|
1012
1012
|
}
|
|
1013
|
-
set
|
|
1014
|
-
let b = a != this.
|
|
1013
|
+
set t9(a) {
|
|
1014
|
+
let b = a != this.t9;
|
|
1015
1015
|
if (b) {
|
|
1016
|
-
let c = this.
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1016
|
+
let c = this.t9;
|
|
1017
|
+
this.t8 = a;
|
|
1018
|
+
this.oj("YAxis", c, a);
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
getZoomRectFromGeoRect(a) {
|
|
1022
1022
|
return this.getZoomFromGeographicRect(a);
|
|
1023
1023
|
}
|
|
1024
|
-
|
|
1025
|
-
this.
|
|
1024
|
+
vo(a) {
|
|
1025
|
+
this.t0 = a;
|
|
1026
1026
|
}
|
|
1027
|
-
|
|
1028
|
-
this.
|
|
1027
|
+
vn(a) {
|
|
1028
|
+
this.wk = a;
|
|
1029
1029
|
}
|
|
1030
1030
|
getZoomFromGeographicRect(a) {
|
|
1031
|
-
return this.
|
|
1031
|
+
return this.wa(a, true, 0);
|
|
1032
1032
|
}
|
|
1033
|
-
|
|
1034
|
-
return this.
|
|
1033
|
+
v9(a, b) {
|
|
1034
|
+
return this.wa(a, false, b);
|
|
1035
1035
|
}
|
|
1036
|
-
|
|
1036
|
+
wa(a, b, c) {
|
|
1037
1037
|
let d = a;
|
|
1038
1038
|
if (b) {
|
|
1039
|
-
d = this.
|
|
1040
|
-
}
|
|
1041
|
-
let e = this.
|
|
1042
|
-
let f = this.
|
|
1043
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1044
|
-
g.c = this.
|
|
1045
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
1046
|
-
h.c = this.
|
|
1047
|
-
let i = this.
|
|
1048
|
-
let j = this.
|
|
1049
|
-
let k = this.
|
|
1050
|
-
let l = this.
|
|
1051
|
-
let m = (i - c) / this.
|
|
1052
|
-
let n = (l - c) / this.
|
|
1053
|
-
let o = (j - i + (c * 2)) / this.
|
|
1054
|
-
let p = (k - l + (c * 2)) / this.
|
|
1039
|
+
d = this.wi(a, false);
|
|
1040
|
+
}
|
|
1041
|
+
let e = this.t7;
|
|
1042
|
+
let f = this.t9;
|
|
1043
|
+
let g = new ScalerParams(1, XamGeographicMap.v7, this.tz, e.ch);
|
|
1044
|
+
g.c = this.to;
|
|
1045
|
+
let h = new ScalerParams(1, XamGeographicMap.v7, this.tz, f.ch);
|
|
1046
|
+
h.c = this.to;
|
|
1047
|
+
let i = this.t7.ej(d.left, g);
|
|
1048
|
+
let j = this.t7.ej(d.right, g);
|
|
1049
|
+
let k = this.t9.ej(d.top, h);
|
|
1050
|
+
let l = this.t9.ej(d.bottom, h);
|
|
1051
|
+
let m = (i - c) / this.tz.width;
|
|
1052
|
+
let n = (l - c) / this.tz.height;
|
|
1053
|
+
let o = (j - i + (c * 2)) / this.tz.width;
|
|
1054
|
+
let p = (k - l + (c * 2)) / this.tz.height;
|
|
1055
1055
|
let q = new Rect(0, m, n, o, p);
|
|
1056
|
-
q.intersect(XamGeographicMap.
|
|
1056
|
+
q.intersect(XamGeographicMap.v7);
|
|
1057
1057
|
if (q.isEmpty) {
|
|
1058
|
-
q = XamGeographicMap.
|
|
1058
|
+
q = XamGeographicMap.v7;
|
|
1059
1059
|
}
|
|
1060
1060
|
return q;
|
|
1061
1061
|
}
|
|
@@ -1065,21 +1065,21 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1065
1065
|
let e = b.x - a.x;
|
|
1066
1066
|
let f = a.y - b.y;
|
|
1067
1067
|
if (e < 0 || f < 0) {
|
|
1068
|
-
return XamGeographicMap.
|
|
1068
|
+
return XamGeographicMap.v7;
|
|
1069
1069
|
}
|
|
1070
1070
|
else {
|
|
1071
1071
|
let g = new Rect(0, c, d, e, f);
|
|
1072
1072
|
return this.getZoomFromGeographicRect(g);
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
|
-
|
|
1076
|
-
let b = this.
|
|
1077
|
-
let c = this.
|
|
1078
|
-
let d = new ScalerParams(1, a, this.
|
|
1079
|
-
d.c = this.
|
|
1080
|
-
let e = new ScalerParams(1, a, this.
|
|
1081
|
-
e.c = this.
|
|
1082
|
-
let f = this.
|
|
1075
|
+
we(a) {
|
|
1076
|
+
let b = this.t7;
|
|
1077
|
+
let c = this.t9;
|
|
1078
|
+
let d = new ScalerParams(1, a, this.tz, b.ch);
|
|
1079
|
+
d.c = this.to;
|
|
1080
|
+
let e = new ScalerParams(1, a, this.tz, c.ch);
|
|
1081
|
+
e.c = this.to;
|
|
1082
|
+
let f = this.tn;
|
|
1083
1083
|
let g = b.em(f.left, d);
|
|
1084
1084
|
let h = c.em(f.top, e);
|
|
1085
1085
|
let i = b.em(f.right, d);
|
|
@@ -1088,165 +1088,165 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1088
1088
|
let l = h - j;
|
|
1089
1089
|
let m = new Rect(0, g, j, k, l);
|
|
1090
1090
|
if (this.cd == 1) {
|
|
1091
|
-
m.intersect(XamGeographicMap.
|
|
1091
|
+
m.intersect(XamGeographicMap.v4);
|
|
1092
1092
|
if (m.isEmpty) {
|
|
1093
|
-
m = XamGeographicMap.
|
|
1093
|
+
m = XamGeographicMap.v4;
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
1096
|
return m;
|
|
1097
1097
|
}
|
|
1098
|
-
vz(a) {
|
|
1099
|
-
let b = this.t6.l8(a.x);
|
|
1100
|
-
let c = this.t8.l8(a.y);
|
|
1101
|
-
return { $type: Point_$type, x: b, y: c };
|
|
1102
|
-
}
|
|
1103
1098
|
v0(a) {
|
|
1104
|
-
let b = this.
|
|
1105
|
-
let c = this.
|
|
1099
|
+
let b = this.t7.l8(a.x);
|
|
1100
|
+
let c = this.t9.l8(a.y);
|
|
1106
1101
|
return { $type: Point_$type, x: b, y: c };
|
|
1107
1102
|
}
|
|
1108
1103
|
v1(a) {
|
|
1109
|
-
|
|
1104
|
+
let b = this.t7.e4(a.x);
|
|
1105
|
+
let c = this.t9.e4(a.y);
|
|
1106
|
+
return { $type: Point_$type, x: b, y: c };
|
|
1107
|
+
}
|
|
1108
|
+
v2(a) {
|
|
1109
|
+
return this.v1(a);
|
|
1110
1110
|
}
|
|
1111
|
-
|
|
1111
|
+
vb() {
|
|
1112
1112
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1113
1113
|
if (a != null) {
|
|
1114
1114
|
a.clearTileCache();
|
|
1115
1115
|
}
|
|
1116
1116
|
}
|
|
1117
|
-
|
|
1117
|
+
vh(a) {
|
|
1118
1118
|
}
|
|
1119
|
-
|
|
1119
|
+
fi() {
|
|
1120
1120
|
return true;
|
|
1121
1121
|
}
|
|
1122
|
-
|
|
1123
|
-
this.
|
|
1122
|
+
vj() {
|
|
1123
|
+
this.uj.ee();
|
|
1124
1124
|
for (let a of fromEnum(this.series)) {
|
|
1125
1125
|
a.mx();
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
|
-
|
|
1129
|
-
if (this.
|
|
1130
|
-
if (!this.
|
|
1131
|
-
let a = this.
|
|
1132
|
-
let b = this.
|
|
1133
|
-
this.
|
|
1128
|
+
vm() {
|
|
1129
|
+
if (this.ui == 2) {
|
|
1130
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1131
|
+
let a = this.t7.l8(this.tz.left + (this.tz.width / 2));
|
|
1132
|
+
let b = this.t9.l8(this.tz.top + (this.tz.height / 2));
|
|
1133
|
+
this.vz = { $type: Point_$type, x: a, y: b };
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
else {
|
|
1137
|
-
if (!this.
|
|
1138
|
-
let c = this.
|
|
1139
|
-
let d = this.
|
|
1140
|
-
this.
|
|
1137
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1138
|
+
let c = this.t7.l8(this.tz.left);
|
|
1139
|
+
let d = this.t9.l8(this.tz.top);
|
|
1140
|
+
this.vz = { $type: Point_$type, x: c, y: d };
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
1143
|
}
|
|
1144
|
-
|
|
1145
|
-
if (isNaN_(this.
|
|
1146
|
-
this.
|
|
1144
|
+
vi() {
|
|
1145
|
+
if (isNaN_(this.vz.x) || isNaN_(this.vz.y)) {
|
|
1146
|
+
this.vm();
|
|
1147
1147
|
}
|
|
1148
|
-
let a = this.
|
|
1149
|
-
let b = this.
|
|
1148
|
+
let a = this.vz.x;
|
|
1149
|
+
let b = this.vz.y;
|
|
1150
1150
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1151
|
-
let c = this.
|
|
1152
|
-
let d = this.
|
|
1153
|
-
let e = this.
|
|
1154
|
-
let f = this.
|
|
1155
|
-
if (e > this.
|
|
1151
|
+
let c = this.tk.left;
|
|
1152
|
+
let d = this.tk.top;
|
|
1153
|
+
let e = this.tk.width;
|
|
1154
|
+
let f = this.tk.height;
|
|
1155
|
+
if (e > this.v6.width) {
|
|
1156
1156
|
}
|
|
1157
1157
|
else {
|
|
1158
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1159
|
-
g.c = this.
|
|
1160
|
-
let h = this.
|
|
1161
|
-
if (this.
|
|
1162
|
-
let i = h / this.
|
|
1158
|
+
let g = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1159
|
+
g.c = this.to;
|
|
1160
|
+
let h = this.t7.ej(a, g);
|
|
1161
|
+
if (this.ui == 2) {
|
|
1162
|
+
let i = h / this.tz.width;
|
|
1163
1163
|
c = i - (e / 2);
|
|
1164
1164
|
}
|
|
1165
1165
|
else {
|
|
1166
|
-
c = h / this.
|
|
1166
|
+
c = h / this.tz.width;
|
|
1167
1167
|
}
|
|
1168
|
-
if (c + e > this.
|
|
1169
|
-
c = this.
|
|
1168
|
+
if (c + e > this.v6.right) {
|
|
1169
|
+
c = this.v6.right - e;
|
|
1170
1170
|
}
|
|
1171
|
-
else if (c < this.
|
|
1172
|
-
c = this.
|
|
1171
|
+
else if (c < this.v6.left) {
|
|
1172
|
+
c = this.v6.left;
|
|
1173
1173
|
}
|
|
1174
1174
|
}
|
|
1175
|
-
if (f > this.
|
|
1175
|
+
if (f > this.v6.height) {
|
|
1176
1176
|
}
|
|
1177
1177
|
else {
|
|
1178
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
1179
|
-
j.c = this.
|
|
1180
|
-
let k = this.
|
|
1181
|
-
if (this.
|
|
1182
|
-
let l = k / this.
|
|
1178
|
+
let j = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1179
|
+
j.c = this.to;
|
|
1180
|
+
let k = this.t9.ej(b, j);
|
|
1181
|
+
if (this.ui == 2) {
|
|
1182
|
+
let l = k / this.tz.height;
|
|
1183
1183
|
d = l - (f / 2);
|
|
1184
1184
|
}
|
|
1185
1185
|
else {
|
|
1186
|
-
d = k / this.
|
|
1186
|
+
d = k / this.tz.height;
|
|
1187
1187
|
}
|
|
1188
|
-
if (d + f > this.
|
|
1189
|
-
d = this.
|
|
1188
|
+
if (d + f > this.v6.bottom) {
|
|
1189
|
+
d = this.v6.bottom - f;
|
|
1190
1190
|
}
|
|
1191
|
-
else if (d < this.
|
|
1192
|
-
d = this.
|
|
1191
|
+
else if (d < this.v6.top) {
|
|
1192
|
+
d = this.v6.top;
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
|
-
this.
|
|
1195
|
+
this.ps(new Rect(0, c, d, e, f), false);
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
|
|
1198
|
+
get_el() {
|
|
1199
1199
|
return true;
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1202
|
-
let a = super.
|
|
1203
|
-
if (this.
|
|
1201
|
+
tl() {
|
|
1202
|
+
let a = super.tl();
|
|
1203
|
+
if (this.t7 == null || this.t9 == null) {
|
|
1204
1204
|
return a;
|
|
1205
1205
|
}
|
|
1206
|
-
this.
|
|
1206
|
+
this.tv();
|
|
1207
1207
|
let b = a.left;
|
|
1208
1208
|
let c = a.top;
|
|
1209
1209
|
if (this.cd == 1) {
|
|
1210
|
-
if (this.
|
|
1211
|
-
b = 0.5 - (this.
|
|
1210
|
+
if (this.t0.width > this.v6.width) {
|
|
1211
|
+
b = 0.5 - (this.t0.width / 2);
|
|
1212
1212
|
}
|
|
1213
|
-
else if (b + a.width > this.
|
|
1214
|
-
b = this.
|
|
1213
|
+
else if (b + a.width > this.v6.right) {
|
|
1214
|
+
b = this.v6.right - this.t0.width;
|
|
1215
1215
|
}
|
|
1216
|
-
else if (b < this.
|
|
1217
|
-
b = this.
|
|
1216
|
+
else if (b < this.v6.left) {
|
|
1217
|
+
b = this.v6.left;
|
|
1218
1218
|
}
|
|
1219
|
-
if (this.
|
|
1220
|
-
c = 0.5 - (this.
|
|
1219
|
+
if (this.t0.height > this.v6.height) {
|
|
1220
|
+
c = 0.5 - (this.t0.height / 2);
|
|
1221
1221
|
}
|
|
1222
|
-
else if (c + this.
|
|
1223
|
-
c = this.
|
|
1222
|
+
else if (c + this.t0.height > this.v6.bottom) {
|
|
1223
|
+
c = this.v6.bottom - this.t0.height;
|
|
1224
1224
|
}
|
|
1225
|
-
else if (c < this.
|
|
1226
|
-
c = this.
|
|
1225
|
+
else if (c < this.v6.top) {
|
|
1226
|
+
c = this.v6.top;
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
let d = false;
|
|
1230
|
-
if (!this.
|
|
1230
|
+
if (!this.uo && this.cd == 2 && this.ul) {
|
|
1231
1231
|
if (b > 1) {
|
|
1232
1232
|
b = (b - Math.floor(b)) + 1;
|
|
1233
1233
|
}
|
|
1234
1234
|
if (b < 0) {
|
|
1235
1235
|
b = 0 - (Math.ceil(b) - b);
|
|
1236
1236
|
}
|
|
1237
|
-
if ((a.right - this.
|
|
1238
|
-
b = this.
|
|
1237
|
+
if ((a.right - this.v6.right) > 0 && ((a.right - this.v6.right) / a.width) > 0.8) {
|
|
1238
|
+
b = this.v6.left - (a.width - (a.right - this.v6.right));
|
|
1239
1239
|
d = true;
|
|
1240
1240
|
}
|
|
1241
|
-
else if (a.left < this.
|
|
1242
|
-
b = this.
|
|
1241
|
+
else if (a.left < this.v6.left && (Math.abs(a.left - this.v6.left) / a.width) > 0.8) {
|
|
1242
|
+
b = this.v6.right - (Math.abs(a.left - this.v6.left));
|
|
1243
1243
|
d = true;
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
1246
1246
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
1247
|
-
if (this.
|
|
1248
|
-
let f = this.
|
|
1249
|
-
f = this.
|
|
1247
|
+
if (this.uo) {
|
|
1248
|
+
let f = this.v9(this.wk, 1);
|
|
1249
|
+
f = this.wb(f);
|
|
1250
1250
|
let g = e.left + e.width / 2;
|
|
1251
1251
|
let h = e.top + e.height / 2;
|
|
1252
1252
|
if (e.width > f.width) {
|
|
@@ -1281,17 +1281,17 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
}
|
|
1283
1283
|
if (d) {
|
|
1284
|
-
this.
|
|
1285
|
-
this.
|
|
1286
|
-
this.
|
|
1284
|
+
this.d8 = true;
|
|
1285
|
+
this.t0 = e;
|
|
1286
|
+
this.d8 = false;
|
|
1287
1287
|
}
|
|
1288
1288
|
return e;
|
|
1289
1289
|
}
|
|
1290
|
-
|
|
1290
|
+
lm(a, b) {
|
|
1291
1291
|
let c = true;
|
|
1292
1292
|
let d = true;
|
|
1293
1293
|
let e = 0;
|
|
1294
|
-
let f = this.
|
|
1294
|
+
let f = this.tv();
|
|
1295
1295
|
let g = 0;
|
|
1296
1296
|
let h = 0;
|
|
1297
1297
|
if ((a.right - f.right) > 0) {
|
|
@@ -1308,39 +1308,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
if (c) {
|
|
1310
1310
|
if (d) {
|
|
1311
|
-
let i = this.
|
|
1312
|
-
let j = this.
|
|
1311
|
+
let i = this.t6.ej(-180, b);
|
|
1312
|
+
let j = this.t6.ej(180, b);
|
|
1313
1313
|
e = j - i;
|
|
1314
1314
|
}
|
|
1315
1315
|
else {
|
|
1316
|
-
let k = this.
|
|
1317
|
-
let l = this.
|
|
1316
|
+
let k = this.t6.ej(-180, b);
|
|
1317
|
+
let l = this.t6.ej(180, b);
|
|
1318
1318
|
e = k - l;
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1322
1322
|
}
|
|
1323
|
-
|
|
1324
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
1325
|
-
a.c = this.
|
|
1326
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
1327
|
-
b.c = this.
|
|
1328
|
-
let c = this.
|
|
1329
|
-
let d = this.
|
|
1330
|
-
let e = this.
|
|
1331
|
-
let f = this.
|
|
1332
|
-
this.
|
|
1333
|
-
return this.
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
let b = this.
|
|
1323
|
+
tv() {
|
|
1324
|
+
let a = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1325
|
+
a.c = this.to;
|
|
1326
|
+
let b = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1327
|
+
b.c = this.to;
|
|
1328
|
+
let c = this.t7.ej(XamGeographicMap.v4.left, a);
|
|
1329
|
+
let d = this.t7.ej(XamGeographicMap.v4.right, a);
|
|
1330
|
+
let e = this.t9.ej(XamGeographicMap.v4.top, b);
|
|
1331
|
+
let f = this.t9.ej(XamGeographicMap.v4.bottom, b);
|
|
1332
|
+
this.v6 = new Rect(0, c / this.tz.width, f / this.tz.height, (d - c) / this.tz.width, (e - f) / this.tz.height);
|
|
1333
|
+
return this.v6;
|
|
1334
|
+
}
|
|
1335
|
+
wb(a) {
|
|
1336
|
+
let b = this.gk;
|
|
1337
1337
|
let c = 0.5 * (a.left + a.right);
|
|
1338
1338
|
let d = 0.5 * (a.top + a.bottom);
|
|
1339
1339
|
let e = a.width;
|
|
1340
1340
|
let f = a.height;
|
|
1341
1341
|
let g = MathUtil.d(a.width, b, 1);
|
|
1342
1342
|
let h = MathUtil.d(a.height, b, 1);
|
|
1343
|
-
let i = this.
|
|
1343
|
+
let i = this.tz;
|
|
1344
1344
|
let j = i.width / i.height;
|
|
1345
1345
|
let k = g * i.width;
|
|
1346
1346
|
let l = h * i.height;
|
|
@@ -1379,8 +1379,8 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
return new Rect(0, p, q, r - p, s - q);
|
|
1381
1381
|
}
|
|
1382
|
-
|
|
1383
|
-
super.
|
|
1382
|
+
tm(a) {
|
|
1383
|
+
super.tm(this.tz);
|
|
1384
1384
|
if (a.isEmpty) {
|
|
1385
1385
|
return Rect.empty;
|
|
1386
1386
|
}
|
|
@@ -1395,126 +1395,126 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
return b;
|
|
1397
1397
|
}
|
|
1398
|
-
|
|
1399
|
-
return this.
|
|
1398
|
+
wd(a) {
|
|
1399
|
+
return this.tm(a);
|
|
1400
1400
|
}
|
|
1401
1401
|
ct() {
|
|
1402
1402
|
return new XamGeographicMapView(this);
|
|
1403
1403
|
}
|
|
1404
|
-
|
|
1404
|
+
vd(a) {
|
|
1405
1405
|
if (a != null) {
|
|
1406
1406
|
a.bi = this;
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
|
-
|
|
1410
|
-
super.
|
|
1411
|
-
this.
|
|
1409
|
+
n2(a) {
|
|
1410
|
+
super.n2(a);
|
|
1411
|
+
this.uj = a;
|
|
1412
1412
|
}
|
|
1413
|
-
|
|
1414
|
-
super.
|
|
1415
|
-
this.
|
|
1416
|
-
this.
|
|
1413
|
+
od(a, b) {
|
|
1414
|
+
super.od(a, b);
|
|
1415
|
+
this.pf(this.t7);
|
|
1416
|
+
this.pf(this.t9);
|
|
1417
1417
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1418
|
-
this.
|
|
1418
|
+
this.vi();
|
|
1419
1419
|
}
|
|
1420
|
-
if (this.
|
|
1421
|
-
this.
|
|
1420
|
+
if (this.uo) {
|
|
1421
|
+
this.tk = this.tl();
|
|
1422
1422
|
}
|
|
1423
|
-
this.
|
|
1424
|
-
}
|
|
1425
|
-
get us() {
|
|
1426
|
-
return this.uq;
|
|
1423
|
+
this.vp();
|
|
1427
1424
|
}
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
this.uq = a;
|
|
1431
|
-
this.oi("ActualWindowScale", b, this.uq);
|
|
1425
|
+
get ut() {
|
|
1426
|
+
return this.ur;
|
|
1432
1427
|
}
|
|
1433
|
-
|
|
1434
|
-
|
|
1428
|
+
set ut(a) {
|
|
1429
|
+
let b = this.ur;
|
|
1430
|
+
this.ur = a;
|
|
1431
|
+
this.oj("ActualWindowScale", b, this.ur);
|
|
1435
1432
|
}
|
|
1436
1433
|
gq() {
|
|
1437
|
-
return this.
|
|
1434
|
+
return this.ut;
|
|
1438
1435
|
}
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
let a = Math.min(this.tj.width, this.tj.height);
|
|
1442
|
-
this.us = a;
|
|
1436
|
+
gr() {
|
|
1437
|
+
return this.ut;
|
|
1443
1438
|
}
|
|
1444
|
-
|
|
1445
|
-
|
|
1439
|
+
pe() {
|
|
1440
|
+
super.pe();
|
|
1441
|
+
let a = Math.min(this.tk.width, this.tk.height);
|
|
1442
|
+
this.ut = a;
|
|
1443
|
+
}
|
|
1444
|
+
fa() {
|
|
1445
|
+
return this.ul;
|
|
1446
1446
|
}
|
|
1447
1447
|
ce() {
|
|
1448
1448
|
if (this.cf == 0) {
|
|
1449
|
-
if (this.
|
|
1449
|
+
if (this.um) {
|
|
1450
1450
|
return 2;
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
return this.cf;
|
|
1454
1454
|
}
|
|
1455
|
-
|
|
1456
|
-
super.
|
|
1455
|
+
oe(a, b, c, d) {
|
|
1456
|
+
super.oe(a, b, c, d);
|
|
1457
1457
|
switch (b) {
|
|
1458
1458
|
case "ZoomCoercionMode":
|
|
1459
|
-
this.
|
|
1459
|
+
this.ve();
|
|
1460
1460
|
break;
|
|
1461
1461
|
case "WindowRect":
|
|
1462
|
-
this.
|
|
1462
|
+
this.vm();
|
|
1463
1463
|
break;
|
|
1464
1464
|
case XamGeographicMap.$$p[0]:
|
|
1465
|
-
this.
|
|
1466
|
-
if (this.
|
|
1467
|
-
this.
|
|
1465
|
+
this.uf = this.ug();
|
|
1466
|
+
if (this.uc != null) {
|
|
1467
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1468
1468
|
}
|
|
1469
1469
|
break;
|
|
1470
1470
|
case XamGeographicMap.$$p[1]:
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1471
|
+
this.ul = this.um;
|
|
1472
|
+
this.uf = this.ug();
|
|
1473
1473
|
this.cd = this.ce();
|
|
1474
|
-
if (this.
|
|
1475
|
-
this.
|
|
1474
|
+
if (this.uc != null) {
|
|
1475
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1476
1476
|
}
|
|
1477
1477
|
break;
|
|
1478
1478
|
case XamGeographicMap.$$p[4]:
|
|
1479
|
-
this.
|
|
1479
|
+
this.tk = this.tl();
|
|
1480
1480
|
break;
|
|
1481
1481
|
case "BackgroundContent":
|
|
1482
|
-
if (this.
|
|
1483
|
-
let e = this.
|
|
1484
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1485
|
-
this.
|
|
1482
|
+
if (this.uc != null) {
|
|
1483
|
+
let e = this.uc;
|
|
1484
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.vf));
|
|
1485
|
+
this.uc.deferralHandler = null;
|
|
1486
1486
|
}
|
|
1487
|
-
this.
|
|
1488
|
-
if (this.
|
|
1489
|
-
let f = this.
|
|
1490
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1491
|
-
this.
|
|
1492
|
-
this.
|
|
1487
|
+
this.uc = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1488
|
+
if (this.uc != null) {
|
|
1489
|
+
let f = this.uc;
|
|
1490
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.vf));
|
|
1491
|
+
this.uc.deferralHandler = this;
|
|
1492
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1493
1493
|
}
|
|
1494
|
-
this.
|
|
1495
|
-
if (this.
|
|
1496
|
-
this.
|
|
1497
|
-
this.
|
|
1498
|
-
this.
|
|
1494
|
+
this.uj.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1495
|
+
if (this.uc != null) {
|
|
1496
|
+
this.uc.geographicMap = this;
|
|
1497
|
+
this.uj.fr(this.tk);
|
|
1498
|
+
this.uj.fv(this.gg);
|
|
1499
1499
|
}
|
|
1500
1500
|
break;
|
|
1501
1501
|
case "YAxis":
|
|
1502
1502
|
case "XAxis":
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1503
|
+
this.vk(c);
|
|
1504
|
+
this.vd(d);
|
|
1505
1505
|
break;
|
|
1506
1506
|
case XamGeographicMap.$$p[6]:
|
|
1507
|
-
if (!this.
|
|
1508
|
-
this.
|
|
1507
|
+
if (!this.un) {
|
|
1508
|
+
this.t0 = XamGeographicMap.v7;
|
|
1509
1509
|
}
|
|
1510
|
-
this.
|
|
1511
|
-
this.vk();
|
|
1510
|
+
this.ve();
|
|
1512
1511
|
this.vl();
|
|
1513
|
-
this.
|
|
1514
|
-
this.
|
|
1512
|
+
this.vm();
|
|
1513
|
+
this.tk = this.tl();
|
|
1514
|
+
this.uj.fs();
|
|
1515
1515
|
break;
|
|
1516
1516
|
case "ActualWindowRect":
|
|
1517
|
-
this.
|
|
1517
|
+
this.uj.fr(this.tk);
|
|
1518
1518
|
break;
|
|
1519
1519
|
case "ActualWorldRect":
|
|
1520
1520
|
for (let g of fromEnum(this.series)) {
|
|
@@ -1522,30 +1522,30 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
break;
|
|
1524
1524
|
case XamGeographicMap.$$p[5]:
|
|
1525
|
-
this.
|
|
1525
|
+
this.ut = this.uu;
|
|
1526
1526
|
break;
|
|
1527
1527
|
case "ActualWindowScale":
|
|
1528
|
-
if (!this.
|
|
1529
|
-
this.
|
|
1528
|
+
if (!this.fh) {
|
|
1529
|
+
this.pq(this.gq(), this.gr());
|
|
1530
1530
|
}
|
|
1531
1531
|
break;
|
|
1532
1532
|
case "ActualPixelScalingRatio":
|
|
1533
|
-
this.
|
|
1533
|
+
this.uj.fv(this.gg);
|
|
1534
1534
|
break;
|
|
1535
1535
|
case "WindowRectMinWidth":
|
|
1536
1536
|
case "WindowRectMinHeight":
|
|
1537
1537
|
let h = d;
|
|
1538
1538
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1539
|
+
this.gk = 5E-06;
|
|
1539
1540
|
this.gj = 5E-06;
|
|
1540
|
-
this.gi = 5E-06;
|
|
1541
1541
|
}
|
|
1542
1542
|
else {
|
|
1543
|
+
this.gk = h;
|
|
1543
1544
|
this.gj = h;
|
|
1544
|
-
this.gi = h;
|
|
1545
1545
|
}
|
|
1546
1546
|
break;
|
|
1547
1547
|
case XamGeographicMap.$$p[7]:
|
|
1548
|
-
this.
|
|
1548
|
+
this.pm();
|
|
1549
1549
|
break;
|
|
1550
1550
|
case "MarkerAutomaticBehavior":
|
|
1551
1551
|
for (let i of fromEnum(this.series)) {
|
|
@@ -1554,39 +1554,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1554
1554
|
break;
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
|
-
|
|
1557
|
+
vf(a, b) {
|
|
1558
1558
|
if (this.imageTilesReady != null) {
|
|
1559
1559
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1560
1560
|
}
|
|
1561
1561
|
}
|
|
1562
|
-
|
|
1562
|
+
vk(a) {
|
|
1563
1563
|
if (a != null) {
|
|
1564
1564
|
a.bi = null;
|
|
1565
1565
|
}
|
|
1566
1566
|
}
|
|
1567
|
-
|
|
1568
|
-
if (this.
|
|
1569
|
-
this.
|
|
1570
|
-
this.
|
|
1567
|
+
vl() {
|
|
1568
|
+
if (this.t7 != null) {
|
|
1569
|
+
this.t7.l5 = this.v8.left;
|
|
1570
|
+
this.t7.l4 = this.v8.right;
|
|
1571
1571
|
}
|
|
1572
|
-
if (this.
|
|
1573
|
-
this.
|
|
1574
|
-
this.
|
|
1572
|
+
if (this.t9 != null) {
|
|
1573
|
+
this.t9.l5 = this.v8.top;
|
|
1574
|
+
this.t9.l4 = this.v8.bottom;
|
|
1575
1575
|
}
|
|
1576
|
-
this.
|
|
1577
|
-
this.
|
|
1576
|
+
this.t7.c2(true);
|
|
1577
|
+
this.t9.c2(true);
|
|
1578
1578
|
}
|
|
1579
1579
|
getFontInfo() {
|
|
1580
|
-
this.
|
|
1581
|
-
return this.
|
|
1580
|
+
this.uk = this.uj.fo;
|
|
1581
|
+
return this.uk;
|
|
1582
1582
|
}
|
|
1583
|
-
|
|
1584
|
-
return this.
|
|
1583
|
+
sp() {
|
|
1584
|
+
return this.uj.fw;
|
|
1585
1585
|
}
|
|
1586
1586
|
getFontBrush() {
|
|
1587
|
-
return this.
|
|
1587
|
+
return this.uj.fx;
|
|
1588
1588
|
}
|
|
1589
|
-
|
|
1589
|
+
o7(a, b) {
|
|
1590
1590
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1591
1591
|
let c = b;
|
|
1592
1592
|
let d = a;
|
|
@@ -1594,33 +1594,33 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1594
1594
|
d.qn = c.triangulationSource.triangles;
|
|
1595
1595
|
}
|
|
1596
1596
|
else {
|
|
1597
|
-
super.
|
|
1597
|
+
super.o7(a, b);
|
|
1598
1598
|
}
|
|
1599
1599
|
}
|
|
1600
1600
|
register(a, b) {
|
|
1601
|
-
this.
|
|
1601
|
+
this.ox(a, b);
|
|
1602
1602
|
}
|
|
1603
1603
|
unRegister(a) {
|
|
1604
|
-
this.
|
|
1604
|
+
this.pd(a);
|
|
1605
1605
|
}
|
|
1606
1606
|
deferredRefresh() {
|
|
1607
|
-
this.
|
|
1607
|
+
this.lz();
|
|
1608
1608
|
}
|
|
1609
1609
|
deferAction(a) {
|
|
1610
|
-
if (this.
|
|
1611
|
-
this.
|
|
1610
|
+
if (this.uw != null) {
|
|
1611
|
+
this.uw.setTimeout(a, 0);
|
|
1612
1612
|
}
|
|
1613
1613
|
else {
|
|
1614
1614
|
window.setTimeout(a, 0);
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
|
-
|
|
1618
|
-
this.
|
|
1617
|
+
vc(a) {
|
|
1618
|
+
this.pl(a);
|
|
1619
1619
|
}
|
|
1620
|
-
|
|
1620
|
+
ux() {
|
|
1621
1621
|
let a = new ChartVisualData();
|
|
1622
|
-
let b = this.
|
|
1623
|
-
let c = this.
|
|
1622
|
+
let b = this.t7.fw();
|
|
1623
|
+
let c = this.t9.fw();
|
|
1624
1624
|
a.axes.add1(b);
|
|
1625
1625
|
a.axes.add1(c);
|
|
1626
1626
|
for (let d = 0; d < this.series.count; d++) {
|
|
@@ -1628,42 +1628,42 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1628
1628
|
a.series.add1(e);
|
|
1629
1629
|
}
|
|
1630
1630
|
a.name = this.name;
|
|
1631
|
-
a.contentArea = RectData.b(this.
|
|
1632
|
-
a.centralArea = RectData.b(this.
|
|
1633
|
-
a.plotArea = RectData.b(this.
|
|
1631
|
+
a.contentArea = RectData.b(this.tz);
|
|
1632
|
+
a.centralArea = RectData.b(this.tz);
|
|
1633
|
+
a.plotArea = RectData.b(this.tz);
|
|
1634
1634
|
return a;
|
|
1635
1635
|
}
|
|
1636
|
-
|
|
1636
|
+
tr(a, b, c) {
|
|
1637
1637
|
return a;
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
vg() {
|
|
1640
1640
|
}
|
|
1641
|
-
get
|
|
1642
|
-
return this.
|
|
1641
|
+
get wj() {
|
|
1642
|
+
return this.v5;
|
|
1643
1643
|
}
|
|
1644
|
-
set
|
|
1645
|
-
this.
|
|
1644
|
+
set wj(a) {
|
|
1645
|
+
this.v5 = a;
|
|
1646
1646
|
}
|
|
1647
|
-
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1647
|
+
vq(a) {
|
|
1648
|
+
this.wj = a;
|
|
1649
|
+
this.vp();
|
|
1650
1650
|
}
|
|
1651
|
-
|
|
1652
|
-
if (this.
|
|
1653
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
1654
|
-
this.
|
|
1655
|
-
this.
|
|
1651
|
+
vp() {
|
|
1652
|
+
if (this.uq && !this.wj.isEmpty) {
|
|
1653
|
+
let a = this.getZoomFromGeographicRect(this.wj);
|
|
1654
|
+
this.wj = Rect.empty;
|
|
1655
|
+
this.ps(a, false);
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
|
-
get
|
|
1659
|
-
return !this.
|
|
1658
|
+
get uq() {
|
|
1659
|
+
return !this.tz.isEmpty && !this.to.isEmpty;
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
1662
|
XamGeographicMap.$t = /*@__PURE__*/ markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1663
|
-
XamGeographicMap.
|
|
1664
|
-
XamGeographicMap.
|
|
1665
|
-
XamGeographicMap.
|
|
1666
|
-
XamGeographicMap.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1663
|
+
XamGeographicMap.uh = 0;
|
|
1664
|
+
XamGeographicMap.v4 = /*@__PURE__*/ new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1665
|
+
XamGeographicMap.v7 = /*@__PURE__*/ new Rect(0, 0, 0, 1, 1);
|
|
1666
|
+
XamGeographicMap.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'oj', ['BackgroundTilingMode:ue:vr', [MapBackgroundTilingMode_$type, /*@__PURE__*/ enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:um:vs', [0, false], 'ResizeBehavior:ui:vt', [MapResizeBehavior_$type, /*@__PURE__*/ enumGetBox(MapResizeBehavior_$type, XamGeographicMap.uh)], 'SuppressZoomResetOnWorldRectChange:un:vu', [0, false], 'UseWorldRectForZoomBounds:uo:vv', [0, false], 'WindowScale:uu:vw', [1, NaN], 'WorldRect:wk:vx', [Rect.$, XamGeographicMap.v4], 'Zoomable:up:vy', [0, true]]);
|
|
1667
1667
|
return XamGeographicMap;
|
|
1668
1668
|
})();
|
|
1669
1669
|
/**
|
|
@@ -1793,14 +1793,14 @@ let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
1793
1793
|
return a;
|
|
1794
1794
|
}
|
|
1795
1795
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
1796
|
-
let c = this.geographicMap.
|
|
1797
|
-
let d = XamGeographicMap.
|
|
1798
|
-
let e = this.geographicMap.
|
|
1796
|
+
let c = this.geographicMap.wd(b);
|
|
1797
|
+
let d = XamGeographicMap.v4;
|
|
1798
|
+
let e = this.geographicMap.v8;
|
|
1799
1799
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1800
1800
|
let g = e.width / d.width;
|
|
1801
1801
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1802
|
-
let h = this.geographicMap.
|
|
1803
|
-
let i = this.geographicMap.
|
|
1802
|
+
let h = this.geographicMap.t7;
|
|
1803
|
+
let i = this.geographicMap.t9;
|
|
1804
1804
|
let j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1805
1805
|
j.c = c;
|
|
1806
1806
|
let k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -1915,8 +1915,8 @@ let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1915
1915
|
a.qd = null;
|
|
1916
1916
|
return;
|
|
1917
1917
|
}
|
|
1918
|
-
a.qc = this.ce.ce.
|
|
1919
|
-
a.qd = this.ce.ce.
|
|
1918
|
+
a.qc = this.ce.ce.t7;
|
|
1919
|
+
a.qd = this.ce.ce.t9;
|
|
1920
1920
|
}
|
|
1921
1921
|
cg() {
|
|
1922
1922
|
this.ce.qe.re = this.ce.qq;
|
|
@@ -1991,15 +1991,15 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1991
1991
|
this.fp = NaN;
|
|
1992
1992
|
this.fz = Rect.empty;
|
|
1993
1993
|
this.fn = a;
|
|
1994
|
-
this.fn.
|
|
1995
|
-
this.fn.
|
|
1994
|
+
this.fn.sk = 2;
|
|
1995
|
+
this.fn.hp = 5E-06;
|
|
1996
1996
|
}
|
|
1997
1997
|
m(a) {
|
|
1998
1998
|
return 2;
|
|
1999
1999
|
}
|
|
2000
2000
|
bk(a) {
|
|
2001
2001
|
this.j.bw(a);
|
|
2002
|
-
this.fn.
|
|
2002
|
+
this.fn.vc(a);
|
|
2003
2003
|
this.el();
|
|
2004
2004
|
}
|
|
2005
2005
|
get_ap() {
|
|
@@ -2062,13 +2062,13 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
2064
|
fr(a) {
|
|
2065
|
-
if (this.fn.
|
|
2066
|
-
this.fn.
|
|
2065
|
+
if (this.fn.uc != null) {
|
|
2066
|
+
this.fn.uc.windowRect = a;
|
|
2067
2067
|
}
|
|
2068
2068
|
}
|
|
2069
2069
|
fu(a, b) {
|
|
2070
|
-
if (this.fn.
|
|
2071
|
-
this.fn.
|
|
2070
|
+
if (this.fn.uc != null) {
|
|
2071
|
+
this.fn.uc.windowRect = this.fn.tk;
|
|
2072
2072
|
}
|
|
2073
2073
|
if (a != null) {
|
|
2074
2074
|
let c = a.ao;
|
|
@@ -2095,7 +2095,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
ft(a) {
|
|
2098
|
-
let b = this.fn.
|
|
2098
|
+
let b = this.fn.gg;
|
|
2099
2099
|
if (b != 1) {
|
|
2100
2100
|
a.aa();
|
|
2101
2101
|
a.ab(b, b);
|
|
@@ -2649,88 +2649,88 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2649
2649
|
* Gets or sets zoomability of the current control
|
|
2650
2650
|
*/
|
|
2651
2651
|
get zoomable() {
|
|
2652
|
-
return this.i.
|
|
2652
|
+
return this.i.up;
|
|
2653
2653
|
}
|
|
2654
2654
|
set zoomable(v) {
|
|
2655
|
-
this.i.
|
|
2656
|
-
this._a("zoomable", this.i.
|
|
2655
|
+
this.i.up = ensureBool(v);
|
|
2656
|
+
this._a("zoomable", this.i.up);
|
|
2657
2657
|
}
|
|
2658
2658
|
/**
|
|
2659
2659
|
* Gets or sets the behavior to use during resize.
|
|
2660
2660
|
*/
|
|
2661
2661
|
get resizeBehavior() {
|
|
2662
|
-
return this.i.
|
|
2662
|
+
return this.i.ui;
|
|
2663
2663
|
}
|
|
2664
2664
|
set resizeBehavior(v) {
|
|
2665
|
-
this.i.
|
|
2666
|
-
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.
|
|
2665
|
+
this.i.ui = ensureEnum(MapResizeBehavior_$type, v);
|
|
2666
|
+
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.ui));
|
|
2667
2667
|
}
|
|
2668
2668
|
/**
|
|
2669
2669
|
* Gets or sets if the map should horizontally wrap.
|
|
2670
2670
|
*/
|
|
2671
2671
|
get isHorizontalWrappingEnabled() {
|
|
2672
|
-
return this.i.
|
|
2672
|
+
return this.i.um;
|
|
2673
2673
|
}
|
|
2674
2674
|
set isHorizontalWrappingEnabled(v) {
|
|
2675
|
-
this.i.
|
|
2676
|
-
this._a("isHorizontalWrappingEnabled", this.i.
|
|
2675
|
+
this.i.um = ensureBool(v);
|
|
2676
|
+
this._a("isHorizontalWrappingEnabled", this.i.um);
|
|
2677
2677
|
}
|
|
2678
2678
|
/**
|
|
2679
2679
|
* Gets or sets if the map should horizontally wrap.
|
|
2680
2680
|
*/
|
|
2681
2681
|
get backgroundTilingMode() {
|
|
2682
|
-
return this.i.
|
|
2682
|
+
return this.i.ue;
|
|
2683
2683
|
}
|
|
2684
2684
|
set backgroundTilingMode(v) {
|
|
2685
|
-
this.i.
|
|
2686
|
-
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.
|
|
2685
|
+
this.i.ue = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2686
|
+
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.ue));
|
|
2687
2687
|
}
|
|
2688
2688
|
/**
|
|
2689
2689
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2690
2690
|
*/
|
|
2691
2691
|
get useWorldRectForZoomBounds() {
|
|
2692
|
-
return this.i.
|
|
2692
|
+
return this.i.uo;
|
|
2693
2693
|
}
|
|
2694
2694
|
set useWorldRectForZoomBounds(v) {
|
|
2695
|
-
this.i.
|
|
2696
|
-
this._a("useWorldRectForZoomBounds", this.i.
|
|
2695
|
+
this.i.uo = ensureBool(v);
|
|
2696
|
+
this._a("useWorldRectForZoomBounds", this.i.uo);
|
|
2697
2697
|
}
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2700
2700
|
*/
|
|
2701
2701
|
get suppressZoomResetOnWorldRectChange() {
|
|
2702
|
-
return this.i.
|
|
2702
|
+
return this.i.un;
|
|
2703
2703
|
}
|
|
2704
2704
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
2705
|
-
this.i.
|
|
2706
|
-
this._a("suppressZoomResetOnWorldRectChange", this.i.
|
|
2705
|
+
this.i.un = ensureBool(v);
|
|
2706
|
+
this._a("suppressZoomResetOnWorldRectChange", this.i.un);
|
|
2707
2707
|
}
|
|
2708
2708
|
/**
|
|
2709
2709
|
* Gets or sets the world bounding rectangle.
|
|
2710
2710
|
*/
|
|
2711
2711
|
get worldRect() {
|
|
2712
|
-
return fromRect(this.i.
|
|
2712
|
+
return fromRect(this.i.wk);
|
|
2713
2713
|
}
|
|
2714
2714
|
set worldRect(v) {
|
|
2715
|
-
this.i.
|
|
2716
|
-
this._a("worldRect", rectToString(this.i.
|
|
2715
|
+
this.i.wk = toRect(v);
|
|
2716
|
+
this._a("worldRect", rectToString(this.i.wk));
|
|
2717
2717
|
}
|
|
2718
2718
|
/**
|
|
2719
2719
|
* Gets the actual value of the WorldRect.
|
|
2720
2720
|
*/
|
|
2721
2721
|
get actualWorldRect() {
|
|
2722
|
-
return fromRect(this.i.
|
|
2722
|
+
return fromRect(this.i.v8);
|
|
2723
2723
|
}
|
|
2724
2724
|
set actualWorldRect(v) {
|
|
2725
|
-
this.i.
|
|
2726
|
-
this._a("actualWorldRect", rectToString(this.i.
|
|
2725
|
+
this.i.v8 = toRect(v);
|
|
2726
|
+
this._a("actualWorldRect", rectToString(this.i.v8));
|
|
2727
2727
|
}
|
|
2728
2728
|
/**
|
|
2729
2729
|
* The X-axis for this IgxGeographicMap.Component
|
|
2730
2730
|
* 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.
|
|
2731
2731
|
*/
|
|
2732
2732
|
get xAxis() {
|
|
2733
|
-
const r = this.i.
|
|
2733
|
+
const r = this.i.t7;
|
|
2734
2734
|
if (r == null) {
|
|
2735
2735
|
return null;
|
|
2736
2736
|
}
|
|
@@ -2746,14 +2746,14 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2746
2746
|
set xAxis(v) {
|
|
2747
2747
|
if (v != null && this._stylingContainer && v._styling)
|
|
2748
2748
|
v._styling(this._stylingContainer, this, this);
|
|
2749
|
-
v == null ? this.i.
|
|
2749
|
+
v == null ? this.i.t7 = null : this.i.t7 = v.i;
|
|
2750
2750
|
}
|
|
2751
2751
|
/**
|
|
2752
2752
|
* The Y-axis for this IgxGeographicMap.Component
|
|
2753
2753
|
* 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.
|
|
2754
2754
|
*/
|
|
2755
2755
|
get yAxis() {
|
|
2756
|
-
const r = this.i.
|
|
2756
|
+
const r = this.i.t9;
|
|
2757
2757
|
if (r == null) {
|
|
2758
2758
|
return null;
|
|
2759
2759
|
}
|
|
@@ -2769,41 +2769,41 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2769
2769
|
set yAxis(v) {
|
|
2770
2770
|
if (v != null && this._stylingContainer && v._styling)
|
|
2771
2771
|
v._styling(this._stylingContainer, this, this);
|
|
2772
|
-
v == null ? this.i.
|
|
2772
|
+
v == null ? this.i.t9 = null : this.i.t9 = v.i;
|
|
2773
2773
|
}
|
|
2774
2774
|
/**
|
|
2775
2775
|
* Indicates if this SeriesViewer is a map.
|
|
2776
2776
|
*/
|
|
2777
2777
|
get isMap() {
|
|
2778
|
-
return this.i.
|
|
2778
|
+
return this.i.el;
|
|
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 WindowRect property.
|
|
2783
2783
|
*/
|
|
2784
2784
|
get windowScale() {
|
|
2785
|
-
return this.i.
|
|
2785
|
+
return this.i.uu;
|
|
2786
2786
|
}
|
|
2787
2787
|
set windowScale(v) {
|
|
2788
|
-
this.i.
|
|
2789
|
-
this._a("windowScale", this.i.
|
|
2788
|
+
this.i.uu = +v;
|
|
2789
|
+
this._a("windowScale", this.i.uu);
|
|
2790
2790
|
}
|
|
2791
2791
|
/**
|
|
2792
2792
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2793
2793
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2794
2794
|
*/
|
|
2795
2795
|
get actualWindowScale() {
|
|
2796
|
-
return this.i.
|
|
2796
|
+
return this.i.ut;
|
|
2797
2797
|
}
|
|
2798
2798
|
set actualWindowScale(v) {
|
|
2799
|
-
this.i.
|
|
2800
|
-
this._a("actualWindowScale", this.i.
|
|
2799
|
+
this.i.ut = +v;
|
|
2800
|
+
this._a("actualWindowScale", this.i.ut);
|
|
2801
2801
|
}
|
|
2802
2802
|
/**
|
|
2803
2803
|
* Gets whether or not the control is ready for zooming
|
|
2804
2804
|
*/
|
|
2805
2805
|
get zoomIsReady() {
|
|
2806
|
-
return this.i.
|
|
2806
|
+
return this.i.uq;
|
|
2807
2807
|
}
|
|
2808
2808
|
findByName(name) {
|
|
2809
2809
|
var baseResult = super.findByName(name);
|
|
@@ -2831,7 +2831,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2831
2831
|
|
|
2832
2832
|
*/
|
|
2833
2833
|
getCurrentActualWorldRect() {
|
|
2834
|
-
let iv = this.i.
|
|
2834
|
+
let iv = this.i.wc();
|
|
2835
2835
|
return fromRect(iv);
|
|
2836
2836
|
}
|
|
2837
2837
|
/**
|
|
@@ -2848,14 +2848,14 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2848
2848
|
|
|
2849
2849
|
*/
|
|
2850
2850
|
updateZoomWindow(zoomWindow) {
|
|
2851
|
-
this.i.
|
|
2851
|
+
this.i.vo(toRect(zoomWindow));
|
|
2852
2852
|
}
|
|
2853
2853
|
/**
|
|
2854
2854
|
* Updates world rect in geographic coordinates
|
|
2855
2855
|
|
|
2856
2856
|
*/
|
|
2857
2857
|
updateWorldRect(worldRect) {
|
|
2858
|
-
this.i.
|
|
2858
|
+
this.i.vn(toRect(worldRect));
|
|
2859
2859
|
}
|
|
2860
2860
|
/**
|
|
2861
2861
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -2867,7 +2867,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2867
2867
|
return fromRect(iv);
|
|
2868
2868
|
}
|
|
2869
2869
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
2870
|
-
let iv = this.i.
|
|
2870
|
+
let iv = this.i.v9(toRect(geographic), extraPixelPadding);
|
|
2871
2871
|
return fromRect(iv);
|
|
2872
2872
|
}
|
|
2873
2873
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -2880,7 +2880,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2880
2880
|
* @param windowRect * The zoom area.
|
|
2881
2881
|
*/
|
|
2882
2882
|
getGeographicFromZoom(windowRect) {
|
|
2883
|
-
let iv = this.i.
|
|
2883
|
+
let iv = this.i.we(toRect(windowRect));
|
|
2884
2884
|
return fromRect(iv);
|
|
2885
2885
|
}
|
|
2886
2886
|
/**
|
|
@@ -2889,7 +2889,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2889
2889
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
2890
2890
|
*/
|
|
2891
2891
|
getGeographicPoint(pixelCoordinate) {
|
|
2892
|
-
let iv = this.i.
|
|
2892
|
+
let iv = this.i.v0(toPoint(pixelCoordinate));
|
|
2893
2893
|
return fromPoint(iv);
|
|
2894
2894
|
}
|
|
2895
2895
|
/**
|
|
@@ -2898,7 +2898,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2898
2898
|
* @param geographicCoordinate * A geographic coordinate
|
|
2899
2899
|
*/
|
|
2900
2900
|
getPixelPoint(geographicCoordinate) {
|
|
2901
|
-
let iv = this.i.
|
|
2901
|
+
let iv = this.i.v1(toPoint(geographicCoordinate));
|
|
2902
2902
|
return fromPoint(iv);
|
|
2903
2903
|
}
|
|
2904
2904
|
/**
|
|
@@ -2907,7 +2907,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2907
2907
|
* @param geographicCoordinate * A geographic coordinate
|
|
2908
2908
|
*/
|
|
2909
2909
|
getWindowPoint(geographicCoordinate) {
|
|
2910
|
-
let iv = this.i.
|
|
2910
|
+
let iv = this.i.v2(toPoint(geographicCoordinate));
|
|
2911
2911
|
return fromPoint(iv);
|
|
2912
2912
|
}
|
|
2913
2913
|
/**
|
|
@@ -2915,21 +2915,21 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2915
2915
|
|
|
2916
2916
|
*/
|
|
2917
2917
|
clearTileCache() {
|
|
2918
|
-
this.i.
|
|
2918
|
+
this.i.vb();
|
|
2919
2919
|
}
|
|
2920
2920
|
/**
|
|
2921
2921
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
2922
2922
|
|
|
2923
2923
|
*/
|
|
2924
2924
|
styleUpdated() {
|
|
2925
|
-
this.i.
|
|
2925
|
+
this.i.vj();
|
|
2926
2926
|
}
|
|
2927
2927
|
/**
|
|
2928
2928
|
* Gets actual window scale for horizontal dimension of the control
|
|
2929
2929
|
|
|
2930
2930
|
*/
|
|
2931
2931
|
getActualWindowScaleHorizontal() {
|
|
2932
|
-
let iv = this.i.
|
|
2932
|
+
let iv = this.i.gq();
|
|
2933
2933
|
return (iv);
|
|
2934
2934
|
}
|
|
2935
2935
|
/**
|
|
@@ -2937,7 +2937,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2937
2937
|
|
|
2938
2938
|
*/
|
|
2939
2939
|
getActualWindowScaleVertical() {
|
|
2940
|
-
let iv = this.i.
|
|
2940
|
+
let iv = this.i.gr();
|
|
2941
2941
|
return (iv);
|
|
2942
2942
|
}
|
|
2943
2943
|
/**
|
|
@@ -2952,7 +2952,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2952
2952
|
|
|
2953
2953
|
*/
|
|
2954
2954
|
exportVisualData() {
|
|
2955
|
-
let iv = this.i.
|
|
2955
|
+
let iv = this.i.ux();
|
|
2956
2956
|
return (iv);
|
|
2957
2957
|
}
|
|
2958
2958
|
/**
|
|
@@ -2961,7 +2961,7 @@ let IgcGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2961
2961
|
* @param geographic * The geographic region to zoom to.
|
|
2962
2962
|
*/
|
|
2963
2963
|
zoomToGeographic(geographic) {
|
|
2964
|
-
this.i.
|
|
2964
|
+
this.i.vq(toRect(geographic));
|
|
2965
2965
|
}
|
|
2966
2966
|
/**
|
|
2967
2967
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -4928,8 +4928,8 @@ let GeographicShapeSeriesBaseView = /*@__PURE__*/ (() => {
|
|
|
4928
4928
|
a.qv = null;
|
|
4929
4929
|
return;
|
|
4930
4930
|
}
|
|
4931
|
-
a.qt = this.ce.ce.
|
|
4932
|
-
a.qv = this.ce.ce.
|
|
4931
|
+
a.qt = this.ce.ce.t7;
|
|
4932
|
+
a.qv = this.ce.ce.t9;
|
|
4933
4933
|
}
|
|
4934
4934
|
ch() {
|
|
4935
4935
|
this.ce.qe.r5 = this.ce.q7;
|
|
@@ -5817,7 +5817,7 @@ let TileSeries = /*@__PURE__*/ (() => {
|
|
|
5817
5817
|
if (f != null && typeCast(XamGeographicMap.$, this.ce) !== null) {
|
|
5818
5818
|
f.geographicMap = this.ce;
|
|
5819
5819
|
this.tb(this.b1);
|
|
5820
|
-
this.sz.da(this.ce.
|
|
5820
|
+
this.sz.da(this.ce.tk);
|
|
5821
5821
|
}
|
|
5822
5822
|
this.lu();
|
|
5823
5823
|
break;
|
|
@@ -6700,10 +6700,10 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6700
6700
|
this.ce.qe.tb = this.ce.qq;
|
|
6701
6701
|
}
|
|
6702
6702
|
cv() {
|
|
6703
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
6703
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
6704
6704
|
}
|
|
6705
6705
|
cw() {
|
|
6706
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
6706
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
6707
6707
|
}
|
|
6708
6708
|
cu() {
|
|
6709
6709
|
let a = this.ce.qe;
|
|
@@ -6712,8 +6712,8 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6712
6712
|
a.yAxis = null;
|
|
6713
6713
|
return;
|
|
6714
6714
|
}
|
|
6715
|
-
a.xAxis = this.ce.ce.
|
|
6716
|
-
a.yAxis = this.ce.ce.
|
|
6715
|
+
a.xAxis = this.ce.ce.t7;
|
|
6716
|
+
a.yAxis = this.ce.ce.t9;
|
|
6717
6717
|
}
|
|
6718
6718
|
co() {
|
|
6719
6719
|
this.ce.qe.rn = this.ce.ri;
|
|
@@ -7294,10 +7294,10 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7294
7294
|
this.ce.qe.tb = this.ce.qq;
|
|
7295
7295
|
}
|
|
7296
7296
|
cp() {
|
|
7297
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
7297
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
7298
7298
|
}
|
|
7299
7299
|
cq() {
|
|
7300
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
7300
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
7301
7301
|
}
|
|
7302
7302
|
co() {
|
|
7303
7303
|
let a = this.ce.qe;
|
|
@@ -7306,8 +7306,8 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7306
7306
|
a.yAxis = null;
|
|
7307
7307
|
return;
|
|
7308
7308
|
}
|
|
7309
|
-
a.xAxis = this.ce.ce.
|
|
7310
|
-
a.yAxis = this.ce.ce.
|
|
7309
|
+
a.xAxis = this.ce.ce.t7;
|
|
7310
|
+
a.yAxis = this.ce.ce.t9;
|
|
7311
7311
|
}
|
|
7312
7312
|
ci() {
|
|
7313
7313
|
this.ce.qe.rx = this.ce.rm;
|
|
@@ -8004,14 +8004,14 @@ let GeographicHighDensityScatterSeriesView = /*@__PURE__*/ (() => {
|
|
|
8004
8004
|
a.ql = null;
|
|
8005
8005
|
return;
|
|
8006
8006
|
}
|
|
8007
|
-
a.qj = this.ce.ce.
|
|
8008
|
-
a.ql = this.ce.ce.
|
|
8007
|
+
a.qj = this.ce.ce.t7;
|
|
8008
|
+
a.ql = this.ce.ce.t9;
|
|
8009
8009
|
}
|
|
8010
8010
|
cq() {
|
|
8011
|
-
this.ce.qe.qj = this.ce.ce.
|
|
8011
|
+
this.ce.qe.qj = this.ce.ce.t7;
|
|
8012
8012
|
}
|
|
8013
8013
|
cr() {
|
|
8014
|
-
this.ce.qe.ql = this.ce.ce.
|
|
8014
|
+
this.ce.qe.ql = this.ce.ce.t9;
|
|
8015
8015
|
}
|
|
8016
8016
|
ch() {
|
|
8017
8017
|
this.ce.qe.ts = this.ce.rm;
|