igniteui-angular-maps 17.0.0 → 17.1.0
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-angular-maps.umd.js +418 -418
- package/bundles/igniteui-angular-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/igx-geographic-map-component.js +40 -40
- 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/igx-geographic-map-component.js +40 -40
- package/fesm2015/igniteui-angular-maps.js +424 -424
- package/fesm5/igniteui-angular-maps.js +418 -418
- package/lib/XamGeographicMap_combined.d.ts +78 -78
- package/package.json +2 -2
|
@@ -590,10 +590,10 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
590
590
|
case "SeriesViewer":
|
|
591
591
|
this.qe.ce = this.ce;
|
|
592
592
|
if (c != null) {
|
|
593
|
-
c.
|
|
593
|
+
c.o0(this.qe);
|
|
594
594
|
}
|
|
595
595
|
if (d != null) {
|
|
596
|
-
this.ce.
|
|
596
|
+
this.ce.lp(this.qe);
|
|
597
597
|
}
|
|
598
598
|
this.qe.mc(this.p7);
|
|
599
599
|
this.qe.index = this.index;
|
|
@@ -692,7 +692,7 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
692
692
|
return;
|
|
693
693
|
}
|
|
694
694
|
if (!isNaN_(this.qg)) {
|
|
695
|
-
if (this.ce.
|
|
695
|
+
if (this.ce.tk.width > this.qg) {
|
|
696
696
|
let hs_ = this.qe;
|
|
697
697
|
let v_ = 1;
|
|
698
698
|
hs_.visibility = v_;
|
|
@@ -855,22 +855,22 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
855
855
|
class XamGeographicMap extends SeriesViewer {
|
|
856
856
|
constructor() {
|
|
857
857
|
super();
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
864
|
-
this.
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
858
|
+
this.uw = null;
|
|
859
|
+
this.ul = false;
|
|
860
|
+
this.ud = 1;
|
|
861
|
+
this.us = 0;
|
|
862
|
+
this.v3 = null;
|
|
863
|
+
this.ua = null;
|
|
864
|
+
this.t6 = null;
|
|
865
|
+
this.t8 = null;
|
|
866
|
+
this.uc = null;
|
|
867
|
+
this.vz = { $type: Point_$type, x: NaN, y: NaN };
|
|
868
|
+
this.v6 = null;
|
|
869
|
+
this.ur = 1;
|
|
870
870
|
this.imageTilesReady = null;
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
871
|
+
this.uk = null;
|
|
872
|
+
this.v5 = Rect.empty;
|
|
873
|
+
this.us = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
874
874
|
this.ab = XamGeographicMap.$;
|
|
875
875
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
876
876
|
let a = ((() => {
|
|
@@ -879,70 +879,70 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
879
879
|
return $ret;
|
|
880
880
|
})());
|
|
881
881
|
a.cf = true;
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
882
|
+
this.t7 = a;
|
|
883
|
+
this.t7.nl = new SphericalMercatorHorizontalScaler();
|
|
884
884
|
let b = ((() => {
|
|
885
885
|
let $ret = new NumericYAxis();
|
|
886
886
|
$ret.bi = this;
|
|
887
887
|
return $ret;
|
|
888
888
|
})());
|
|
889
889
|
b.cf = true;
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
890
|
+
this.t9 = b;
|
|
891
|
+
this.t9.nl = new SphericalMercatorVerticalScaler();
|
|
892
|
+
this.ve();
|
|
893
|
+
this.vl();
|
|
894
|
+
this.mb();
|
|
895
895
|
}
|
|
896
896
|
provideContainer(a) {
|
|
897
897
|
super.provideContainer(a);
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
898
|
+
this.t7.provideRenderer(a);
|
|
899
|
+
this.t9.provideRenderer(a);
|
|
900
900
|
}
|
|
901
|
-
|
|
902
|
-
super.
|
|
903
|
-
this.
|
|
904
|
-
}
|
|
905
|
-
es() {
|
|
906
|
-
return this.uo;
|
|
901
|
+
mb() {
|
|
902
|
+
super.mb();
|
|
903
|
+
this.uj.fv(this.gg);
|
|
907
904
|
}
|
|
908
905
|
et() {
|
|
909
|
-
return this.
|
|
906
|
+
return this.up;
|
|
907
|
+
}
|
|
908
|
+
eu() {
|
|
909
|
+
return this.up;
|
|
910
910
|
}
|
|
911
|
-
|
|
912
|
-
if (this.
|
|
913
|
-
if (this.
|
|
911
|
+
ug() {
|
|
912
|
+
if (this.ue == 0) {
|
|
913
|
+
if (this.ul) {
|
|
914
914
|
return 2;
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
917
|
return 1;
|
|
918
918
|
}
|
|
919
|
-
get
|
|
920
|
-
return this.
|
|
919
|
+
get uf() {
|
|
920
|
+
return this.ud;
|
|
921
921
|
}
|
|
922
|
-
set
|
|
923
|
-
this.
|
|
922
|
+
set uf(a) {
|
|
923
|
+
this.ud = a;
|
|
924
924
|
}
|
|
925
|
-
get
|
|
926
|
-
return this.
|
|
925
|
+
get v8() {
|
|
926
|
+
return this.v3;
|
|
927
927
|
}
|
|
928
|
-
set
|
|
929
|
-
let b = Rect.l_op_Inequality(this.
|
|
928
|
+
set v8(a) {
|
|
929
|
+
let b = Rect.l_op_Inequality(this.v3, a);
|
|
930
930
|
if (b) {
|
|
931
|
-
let c = this.
|
|
932
|
-
this.
|
|
933
|
-
this.
|
|
931
|
+
let c = this.v3;
|
|
932
|
+
this.v3 = a;
|
|
933
|
+
this.oj("ActualWorldRect", c, a);
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
|
-
|
|
937
|
-
return this.
|
|
936
|
+
wc() {
|
|
937
|
+
return this.v8;
|
|
938
938
|
}
|
|
939
|
-
|
|
940
|
-
if (this.
|
|
939
|
+
ve() {
|
|
940
|
+
if (this.wk.isEmpty) {
|
|
941
941
|
return;
|
|
942
942
|
}
|
|
943
|
-
this.
|
|
943
|
+
this.v8 = this.wi(this.wk, this.cd == 1);
|
|
944
944
|
}
|
|
945
|
-
|
|
945
|
+
wi(a, b) {
|
|
946
946
|
let c = a.top;
|
|
947
947
|
let d = a.left;
|
|
948
948
|
let e = a.width;
|
|
@@ -950,25 +950,25 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
950
950
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
951
951
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
952
952
|
let i = g - h;
|
|
953
|
-
let j = a.width / XamGeographicMap.
|
|
954
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
953
|
+
let j = a.width / XamGeographicMap.v4.width;
|
|
954
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
955
955
|
let l = i / j;
|
|
956
|
-
if (i / j > this.
|
|
957
|
-
let m = i / this.
|
|
956
|
+
if (i / j > this.us) {
|
|
957
|
+
let m = i / this.us;
|
|
958
958
|
let n = m - j;
|
|
959
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
960
|
-
e = m * XamGeographicMap.
|
|
959
|
+
d = d - (n / 2) * XamGeographicMap.v4.width;
|
|
960
|
+
e = m * XamGeographicMap.v4.width;
|
|
961
961
|
if (b) {
|
|
962
|
-
if (d < XamGeographicMap.
|
|
963
|
-
d += (XamGeographicMap.
|
|
962
|
+
if (d < XamGeographicMap.v4.left) {
|
|
963
|
+
d += (XamGeographicMap.v4.left - d);
|
|
964
964
|
}
|
|
965
|
-
else if ((d + e) > XamGeographicMap.
|
|
966
|
-
d -= ((d + e) - XamGeographicMap.
|
|
965
|
+
else if ((d + e) > XamGeographicMap.v4.right) {
|
|
966
|
+
d -= ((d + e) - XamGeographicMap.v4.right);
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
else if (i / j < this.
|
|
971
|
-
let o = this.
|
|
970
|
+
else if (i / j < this.us) {
|
|
971
|
+
let o = this.us * j;
|
|
972
972
|
let p = o - i;
|
|
973
973
|
let q = h - (p / 2);
|
|
974
974
|
let r = g + (p / 2);
|
|
@@ -977,9 +977,9 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
977
977
|
q += (k - q);
|
|
978
978
|
r += (k - q);
|
|
979
979
|
}
|
|
980
|
-
else if (r > (k + this.
|
|
981
|
-
q -= ((r) - (k + this.
|
|
982
|
-
r -= ((r) - (k + this.
|
|
980
|
+
else if (r > (k + this.us)) {
|
|
981
|
+
q -= ((r) - (k + this.us));
|
|
982
|
+
r -= ((r) - (k + this.us));
|
|
983
983
|
}
|
|
984
984
|
}
|
|
985
985
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -989,76 +989,76 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
989
989
|
return s;
|
|
990
990
|
}
|
|
991
991
|
get backgroundContent() {
|
|
992
|
-
return this.
|
|
992
|
+
return this.ua;
|
|
993
993
|
}
|
|
994
994
|
set backgroundContent(a) {
|
|
995
995
|
let b = a != this.backgroundContent;
|
|
996
996
|
if (b) {
|
|
997
997
|
let c = this.backgroundContent;
|
|
998
|
-
this.
|
|
999
|
-
this.
|
|
998
|
+
this.ua = a;
|
|
999
|
+
this.oj("BackgroundContent", c, a);
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
|
-
get
|
|
1003
|
-
return this.
|
|
1002
|
+
get t7() {
|
|
1003
|
+
return this.t6;
|
|
1004
1004
|
}
|
|
1005
|
-
set
|
|
1006
|
-
let b = a != this.
|
|
1005
|
+
set t7(a) {
|
|
1006
|
+
let b = a != this.t7;
|
|
1007
1007
|
if (b) {
|
|
1008
|
-
let c = this.
|
|
1009
|
-
this.
|
|
1010
|
-
this.
|
|
1008
|
+
let c = this.t7;
|
|
1009
|
+
this.t6 = a;
|
|
1010
|
+
this.oj("XAxis", c, a);
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
|
-
get
|
|
1014
|
-
return this.
|
|
1013
|
+
get t9() {
|
|
1014
|
+
return this.t8;
|
|
1015
1015
|
}
|
|
1016
|
-
set
|
|
1017
|
-
let b = a != this.
|
|
1016
|
+
set t9(a) {
|
|
1017
|
+
let b = a != this.t9;
|
|
1018
1018
|
if (b) {
|
|
1019
|
-
let c = this.
|
|
1020
|
-
this.
|
|
1021
|
-
this.
|
|
1019
|
+
let c = this.t9;
|
|
1020
|
+
this.t8 = a;
|
|
1021
|
+
this.oj("YAxis", c, a);
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
1024
|
getZoomRectFromGeoRect(a) {
|
|
1025
1025
|
return this.getZoomFromGeographicRect(a);
|
|
1026
1026
|
}
|
|
1027
|
-
|
|
1028
|
-
this.
|
|
1027
|
+
vo(a) {
|
|
1028
|
+
this.t0 = a;
|
|
1029
1029
|
}
|
|
1030
|
-
|
|
1031
|
-
this.
|
|
1030
|
+
vn(a) {
|
|
1031
|
+
this.wk = a;
|
|
1032
1032
|
}
|
|
1033
1033
|
getZoomFromGeographicRect(a) {
|
|
1034
|
-
return this.
|
|
1034
|
+
return this.wa(a, true, 0);
|
|
1035
1035
|
}
|
|
1036
|
-
|
|
1037
|
-
return this.
|
|
1036
|
+
v9(a, b) {
|
|
1037
|
+
return this.wa(a, false, b);
|
|
1038
1038
|
}
|
|
1039
|
-
|
|
1039
|
+
wa(a, b, c) {
|
|
1040
1040
|
let d = a;
|
|
1041
1041
|
if (b) {
|
|
1042
|
-
d = this.
|
|
1043
|
-
}
|
|
1044
|
-
let e = this.
|
|
1045
|
-
let f = this.
|
|
1046
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1047
|
-
g.c = this.
|
|
1048
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
1049
|
-
h.c = this.
|
|
1050
|
-
let i = this.
|
|
1051
|
-
let j = this.
|
|
1052
|
-
let k = this.
|
|
1053
|
-
let l = this.
|
|
1054
|
-
let m = (i - c) / this.
|
|
1055
|
-
let n = (l - c) / this.
|
|
1056
|
-
let o = (j - i + (c * 2)) / this.
|
|
1057
|
-
let p = (k - l + (c * 2)) / this.
|
|
1042
|
+
d = this.wi(a, false);
|
|
1043
|
+
}
|
|
1044
|
+
let e = this.t7;
|
|
1045
|
+
let f = this.t9;
|
|
1046
|
+
let g = new ScalerParams(1, XamGeographicMap.v7, this.tz, e.ch);
|
|
1047
|
+
g.c = this.to;
|
|
1048
|
+
let h = new ScalerParams(1, XamGeographicMap.v7, this.tz, f.ch);
|
|
1049
|
+
h.c = this.to;
|
|
1050
|
+
let i = this.t7.ej(d.left, g);
|
|
1051
|
+
let j = this.t7.ej(d.right, g);
|
|
1052
|
+
let k = this.t9.ej(d.top, h);
|
|
1053
|
+
let l = this.t9.ej(d.bottom, h);
|
|
1054
|
+
let m = (i - c) / this.tz.width;
|
|
1055
|
+
let n = (l - c) / this.tz.height;
|
|
1056
|
+
let o = (j - i + (c * 2)) / this.tz.width;
|
|
1057
|
+
let p = (k - l + (c * 2)) / this.tz.height;
|
|
1058
1058
|
let q = new Rect(0, m, n, o, p);
|
|
1059
|
-
q.intersect(XamGeographicMap.
|
|
1059
|
+
q.intersect(XamGeographicMap.v7);
|
|
1060
1060
|
if (q.isEmpty) {
|
|
1061
|
-
q = XamGeographicMap.
|
|
1061
|
+
q = XamGeographicMap.v7;
|
|
1062
1062
|
}
|
|
1063
1063
|
return q;
|
|
1064
1064
|
}
|
|
@@ -1068,21 +1068,21 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1068
1068
|
let e = b.x - a.x;
|
|
1069
1069
|
let f = a.y - b.y;
|
|
1070
1070
|
if (e < 0 || f < 0) {
|
|
1071
|
-
return XamGeographicMap.
|
|
1071
|
+
return XamGeographicMap.v7;
|
|
1072
1072
|
}
|
|
1073
1073
|
else {
|
|
1074
1074
|
let g = new Rect(0, c, d, e, f);
|
|
1075
1075
|
return this.getZoomFromGeographicRect(g);
|
|
1076
1076
|
}
|
|
1077
1077
|
}
|
|
1078
|
-
|
|
1079
|
-
let b = this.
|
|
1080
|
-
let c = this.
|
|
1081
|
-
let d = new ScalerParams(1, a, this.
|
|
1082
|
-
d.c = this.
|
|
1083
|
-
let e = new ScalerParams(1, a, this.
|
|
1084
|
-
e.c = this.
|
|
1085
|
-
let f = this.
|
|
1078
|
+
we(a) {
|
|
1079
|
+
let b = this.t7;
|
|
1080
|
+
let c = this.t9;
|
|
1081
|
+
let d = new ScalerParams(1, a, this.tz, b.ch);
|
|
1082
|
+
d.c = this.to;
|
|
1083
|
+
let e = new ScalerParams(1, a, this.tz, c.ch);
|
|
1084
|
+
e.c = this.to;
|
|
1085
|
+
let f = this.tn;
|
|
1086
1086
|
let g = b.em(f.left, d);
|
|
1087
1087
|
let h = c.em(f.top, e);
|
|
1088
1088
|
let i = b.em(f.right, d);
|
|
@@ -1091,165 +1091,165 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1091
1091
|
let l = h - j;
|
|
1092
1092
|
let m = new Rect(0, g, j, k, l);
|
|
1093
1093
|
if (this.cd == 1) {
|
|
1094
|
-
m.intersect(XamGeographicMap.
|
|
1094
|
+
m.intersect(XamGeographicMap.v4);
|
|
1095
1095
|
if (m.isEmpty) {
|
|
1096
|
-
m = XamGeographicMap.
|
|
1096
|
+
m = XamGeographicMap.v4;
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
1099
1099
|
return m;
|
|
1100
1100
|
}
|
|
1101
|
-
vz(a) {
|
|
1102
|
-
let b = this.t6.l8(a.x);
|
|
1103
|
-
let c = this.t8.l8(a.y);
|
|
1104
|
-
return { $type: Point_$type, x: b, y: c };
|
|
1105
|
-
}
|
|
1106
1101
|
v0(a) {
|
|
1107
|
-
let b = this.
|
|
1108
|
-
let c = this.
|
|
1102
|
+
let b = this.t7.l8(a.x);
|
|
1103
|
+
let c = this.t9.l8(a.y);
|
|
1109
1104
|
return { $type: Point_$type, x: b, y: c };
|
|
1110
1105
|
}
|
|
1111
1106
|
v1(a) {
|
|
1112
|
-
|
|
1107
|
+
let b = this.t7.e4(a.x);
|
|
1108
|
+
let c = this.t9.e4(a.y);
|
|
1109
|
+
return { $type: Point_$type, x: b, y: c };
|
|
1110
|
+
}
|
|
1111
|
+
v2(a) {
|
|
1112
|
+
return this.v1(a);
|
|
1113
1113
|
}
|
|
1114
|
-
|
|
1114
|
+
vb() {
|
|
1115
1115
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1116
1116
|
if (a != null) {
|
|
1117
1117
|
a.clearTileCache();
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
|
-
|
|
1120
|
+
vh(a) {
|
|
1121
1121
|
}
|
|
1122
|
-
|
|
1122
|
+
fi() {
|
|
1123
1123
|
return true;
|
|
1124
1124
|
}
|
|
1125
|
-
|
|
1126
|
-
this.
|
|
1125
|
+
vj() {
|
|
1126
|
+
this.uj.ee();
|
|
1127
1127
|
for (let a of fromEnum(this.series)) {
|
|
1128
1128
|
a.mx();
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
|
|
1132
|
-
if (this.
|
|
1133
|
-
if (!this.
|
|
1134
|
-
let a = this.
|
|
1135
|
-
let b = this.
|
|
1136
|
-
this.
|
|
1131
|
+
vm() {
|
|
1132
|
+
if (this.ui == 2) {
|
|
1133
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1134
|
+
let a = this.t7.l8(this.tz.left + (this.tz.width / 2));
|
|
1135
|
+
let b = this.t9.l8(this.tz.top + (this.tz.height / 2));
|
|
1136
|
+
this.vz = { $type: Point_$type, x: a, y: b };
|
|
1137
1137
|
}
|
|
1138
1138
|
}
|
|
1139
1139
|
else {
|
|
1140
|
-
if (!this.
|
|
1141
|
-
let c = this.
|
|
1142
|
-
let d = this.
|
|
1143
|
-
this.
|
|
1140
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1141
|
+
let c = this.t7.l8(this.tz.left);
|
|
1142
|
+
let d = this.t9.l8(this.tz.top);
|
|
1143
|
+
this.vz = { $type: Point_$type, x: c, y: d };
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
|
-
|
|
1148
|
-
if (isNaN_(this.
|
|
1149
|
-
this.
|
|
1147
|
+
vi() {
|
|
1148
|
+
if (isNaN_(this.vz.x) || isNaN_(this.vz.y)) {
|
|
1149
|
+
this.vm();
|
|
1150
1150
|
}
|
|
1151
|
-
let a = this.
|
|
1152
|
-
let b = this.
|
|
1151
|
+
let a = this.vz.x;
|
|
1152
|
+
let b = this.vz.y;
|
|
1153
1153
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1154
|
-
let c = this.
|
|
1155
|
-
let d = this.
|
|
1156
|
-
let e = this.
|
|
1157
|
-
let f = this.
|
|
1158
|
-
if (e > this.
|
|
1154
|
+
let c = this.tk.left;
|
|
1155
|
+
let d = this.tk.top;
|
|
1156
|
+
let e = this.tk.width;
|
|
1157
|
+
let f = this.tk.height;
|
|
1158
|
+
if (e > this.v6.width) {
|
|
1159
1159
|
}
|
|
1160
1160
|
else {
|
|
1161
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1162
|
-
g.c = this.
|
|
1163
|
-
let h = this.
|
|
1164
|
-
if (this.
|
|
1165
|
-
let i = h / this.
|
|
1161
|
+
let g = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1162
|
+
g.c = this.to;
|
|
1163
|
+
let h = this.t7.ej(a, g);
|
|
1164
|
+
if (this.ui == 2) {
|
|
1165
|
+
let i = h / this.tz.width;
|
|
1166
1166
|
c = i - (e / 2);
|
|
1167
1167
|
}
|
|
1168
1168
|
else {
|
|
1169
|
-
c = h / this.
|
|
1169
|
+
c = h / this.tz.width;
|
|
1170
1170
|
}
|
|
1171
|
-
if (c + e > this.
|
|
1172
|
-
c = this.
|
|
1171
|
+
if (c + e > this.v6.right) {
|
|
1172
|
+
c = this.v6.right - e;
|
|
1173
1173
|
}
|
|
1174
|
-
else if (c < this.
|
|
1175
|
-
c = this.
|
|
1174
|
+
else if (c < this.v6.left) {
|
|
1175
|
+
c = this.v6.left;
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
if (f > this.
|
|
1178
|
+
if (f > this.v6.height) {
|
|
1179
1179
|
}
|
|
1180
1180
|
else {
|
|
1181
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
1182
|
-
j.c = this.
|
|
1183
|
-
let k = this.
|
|
1184
|
-
if (this.
|
|
1185
|
-
let l = k / this.
|
|
1181
|
+
let j = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1182
|
+
j.c = this.to;
|
|
1183
|
+
let k = this.t9.ej(b, j);
|
|
1184
|
+
if (this.ui == 2) {
|
|
1185
|
+
let l = k / this.tz.height;
|
|
1186
1186
|
d = l - (f / 2);
|
|
1187
1187
|
}
|
|
1188
1188
|
else {
|
|
1189
|
-
d = k / this.
|
|
1189
|
+
d = k / this.tz.height;
|
|
1190
1190
|
}
|
|
1191
|
-
if (d + f > this.
|
|
1192
|
-
d = this.
|
|
1191
|
+
if (d + f > this.v6.bottom) {
|
|
1192
|
+
d = this.v6.bottom - f;
|
|
1193
1193
|
}
|
|
1194
|
-
else if (d < this.
|
|
1195
|
-
d = this.
|
|
1194
|
+
else if (d < this.v6.top) {
|
|
1195
|
+
d = this.v6.top;
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
this.
|
|
1198
|
+
this.ps(new Rect(0, c, d, e, f), false);
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1201
|
+
get_el() {
|
|
1202
1202
|
return true;
|
|
1203
1203
|
}
|
|
1204
|
-
|
|
1205
|
-
let a = super.
|
|
1206
|
-
if (this.
|
|
1204
|
+
tl() {
|
|
1205
|
+
let a = super.tl();
|
|
1206
|
+
if (this.t7 == null || this.t9 == null) {
|
|
1207
1207
|
return a;
|
|
1208
1208
|
}
|
|
1209
|
-
this.
|
|
1209
|
+
this.tv();
|
|
1210
1210
|
let b = a.left;
|
|
1211
1211
|
let c = a.top;
|
|
1212
1212
|
if (this.cd == 1) {
|
|
1213
|
-
if (this.
|
|
1214
|
-
b = 0.5 - (this.
|
|
1213
|
+
if (this.t0.width > this.v6.width) {
|
|
1214
|
+
b = 0.5 - (this.t0.width / 2);
|
|
1215
1215
|
}
|
|
1216
|
-
else if (b + a.width > this.
|
|
1217
|
-
b = this.
|
|
1216
|
+
else if (b + a.width > this.v6.right) {
|
|
1217
|
+
b = this.v6.right - this.t0.width;
|
|
1218
1218
|
}
|
|
1219
|
-
else if (b < this.
|
|
1220
|
-
b = this.
|
|
1219
|
+
else if (b < this.v6.left) {
|
|
1220
|
+
b = this.v6.left;
|
|
1221
1221
|
}
|
|
1222
|
-
if (this.
|
|
1223
|
-
c = 0.5 - (this.
|
|
1222
|
+
if (this.t0.height > this.v6.height) {
|
|
1223
|
+
c = 0.5 - (this.t0.height / 2);
|
|
1224
1224
|
}
|
|
1225
|
-
else if (c + this.
|
|
1226
|
-
c = this.
|
|
1225
|
+
else if (c + this.t0.height > this.v6.bottom) {
|
|
1226
|
+
c = this.v6.bottom - this.t0.height;
|
|
1227
1227
|
}
|
|
1228
|
-
else if (c < this.
|
|
1229
|
-
c = this.
|
|
1228
|
+
else if (c < this.v6.top) {
|
|
1229
|
+
c = this.v6.top;
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
let d = false;
|
|
1233
|
-
if (!this.
|
|
1233
|
+
if (!this.uo && this.cd == 2 && this.ul) {
|
|
1234
1234
|
if (b > 1) {
|
|
1235
1235
|
b = (b - Math.floor(b)) + 1;
|
|
1236
1236
|
}
|
|
1237
1237
|
if (b < 0) {
|
|
1238
1238
|
b = 0 - (Math.ceil(b) - b);
|
|
1239
1239
|
}
|
|
1240
|
-
if ((a.right - this.
|
|
1241
|
-
b = this.
|
|
1240
|
+
if ((a.right - this.v6.right) > 0 && ((a.right - this.v6.right) / a.width) > 0.8) {
|
|
1241
|
+
b = this.v6.left - (a.width - (a.right - this.v6.right));
|
|
1242
1242
|
d = true;
|
|
1243
1243
|
}
|
|
1244
|
-
else if (a.left < this.
|
|
1245
|
-
b = this.
|
|
1244
|
+
else if (a.left < this.v6.left && (Math.abs(a.left - this.v6.left) / a.width) > 0.8) {
|
|
1245
|
+
b = this.v6.right - (Math.abs(a.left - this.v6.left));
|
|
1246
1246
|
d = true;
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
1250
|
-
if (this.
|
|
1251
|
-
let f = this.
|
|
1252
|
-
f = this.
|
|
1250
|
+
if (this.uo) {
|
|
1251
|
+
let f = this.v9(this.wk, 1);
|
|
1252
|
+
f = this.wb(f);
|
|
1253
1253
|
let g = e.left + e.width / 2;
|
|
1254
1254
|
let h = e.top + e.height / 2;
|
|
1255
1255
|
if (e.width > f.width) {
|
|
@@ -1284,17 +1284,17 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
1286
|
if (d) {
|
|
1287
|
-
this.
|
|
1288
|
-
this.
|
|
1289
|
-
this.
|
|
1287
|
+
this.d8 = true;
|
|
1288
|
+
this.t0 = e;
|
|
1289
|
+
this.d8 = false;
|
|
1290
1290
|
}
|
|
1291
1291
|
return e;
|
|
1292
1292
|
}
|
|
1293
|
-
|
|
1293
|
+
lm(a, b) {
|
|
1294
1294
|
let c = true;
|
|
1295
1295
|
let d = true;
|
|
1296
1296
|
let e = 0;
|
|
1297
|
-
let f = this.
|
|
1297
|
+
let f = this.tv();
|
|
1298
1298
|
let g = 0;
|
|
1299
1299
|
let h = 0;
|
|
1300
1300
|
if ((a.right - f.right) > 0) {
|
|
@@ -1311,39 +1311,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
if (c) {
|
|
1313
1313
|
if (d) {
|
|
1314
|
-
let i = this.
|
|
1315
|
-
let j = this.
|
|
1314
|
+
let i = this.t6.ej(-180, b);
|
|
1315
|
+
let j = this.t6.ej(180, b);
|
|
1316
1316
|
e = j - i;
|
|
1317
1317
|
}
|
|
1318
1318
|
else {
|
|
1319
|
-
let k = this.
|
|
1320
|
-
let l = this.
|
|
1319
|
+
let k = this.t6.ej(-180, b);
|
|
1320
|
+
let l = this.t6.ej(180, b);
|
|
1321
1321
|
e = k - l;
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
1324
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1325
1325
|
}
|
|
1326
|
-
|
|
1327
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
1328
|
-
a.c = this.
|
|
1329
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
1330
|
-
b.c = this.
|
|
1331
|
-
let c = this.
|
|
1332
|
-
let d = this.
|
|
1333
|
-
let e = this.
|
|
1334
|
-
let f = this.
|
|
1335
|
-
this.
|
|
1336
|
-
return this.
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
let b = this.
|
|
1326
|
+
tv() {
|
|
1327
|
+
let a = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1328
|
+
a.c = this.to;
|
|
1329
|
+
let b = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1330
|
+
b.c = this.to;
|
|
1331
|
+
let c = this.t7.ej(XamGeographicMap.v4.left, a);
|
|
1332
|
+
let d = this.t7.ej(XamGeographicMap.v4.right, a);
|
|
1333
|
+
let e = this.t9.ej(XamGeographicMap.v4.top, b);
|
|
1334
|
+
let f = this.t9.ej(XamGeographicMap.v4.bottom, b);
|
|
1335
|
+
this.v6 = new Rect(0, c / this.tz.width, f / this.tz.height, (d - c) / this.tz.width, (e - f) / this.tz.height);
|
|
1336
|
+
return this.v6;
|
|
1337
|
+
}
|
|
1338
|
+
wb(a) {
|
|
1339
|
+
let b = this.gk;
|
|
1340
1340
|
let c = 0.5 * (a.left + a.right);
|
|
1341
1341
|
let d = 0.5 * (a.top + a.bottom);
|
|
1342
1342
|
let e = a.width;
|
|
1343
1343
|
let f = a.height;
|
|
1344
1344
|
let g = MathUtil.d(a.width, b, 1);
|
|
1345
1345
|
let h = MathUtil.d(a.height, b, 1);
|
|
1346
|
-
let i = this.
|
|
1346
|
+
let i = this.tz;
|
|
1347
1347
|
let j = i.width / i.height;
|
|
1348
1348
|
let k = g * i.width;
|
|
1349
1349
|
let l = h * i.height;
|
|
@@ -1382,8 +1382,8 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1382
1382
|
}
|
|
1383
1383
|
return new Rect(0, p, q, r - p, s - q);
|
|
1384
1384
|
}
|
|
1385
|
-
|
|
1386
|
-
super.
|
|
1385
|
+
tm(a) {
|
|
1386
|
+
super.tm(this.tz);
|
|
1387
1387
|
if (a.isEmpty) {
|
|
1388
1388
|
return Rect.empty;
|
|
1389
1389
|
}
|
|
@@ -1398,126 +1398,126 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
return b;
|
|
1400
1400
|
}
|
|
1401
|
-
|
|
1402
|
-
return this.
|
|
1401
|
+
wd(a) {
|
|
1402
|
+
return this.tm(a);
|
|
1403
1403
|
}
|
|
1404
1404
|
ct() {
|
|
1405
1405
|
return new XamGeographicMapView(this);
|
|
1406
1406
|
}
|
|
1407
|
-
|
|
1407
|
+
vd(a) {
|
|
1408
1408
|
if (a != null) {
|
|
1409
1409
|
a.bi = this;
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
|
-
|
|
1413
|
-
super.
|
|
1414
|
-
this.
|
|
1412
|
+
n2(a) {
|
|
1413
|
+
super.n2(a);
|
|
1414
|
+
this.uj = a;
|
|
1415
1415
|
}
|
|
1416
|
-
|
|
1417
|
-
super.
|
|
1418
|
-
this.
|
|
1419
|
-
this.
|
|
1416
|
+
od(a, b) {
|
|
1417
|
+
super.od(a, b);
|
|
1418
|
+
this.pf(this.t7);
|
|
1419
|
+
this.pf(this.t9);
|
|
1420
1420
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1421
|
-
this.
|
|
1421
|
+
this.vi();
|
|
1422
1422
|
}
|
|
1423
|
-
if (this.
|
|
1424
|
-
this.
|
|
1423
|
+
if (this.uo) {
|
|
1424
|
+
this.tk = this.tl();
|
|
1425
1425
|
}
|
|
1426
|
-
this.
|
|
1427
|
-
}
|
|
1428
|
-
get us() {
|
|
1429
|
-
return this.uq;
|
|
1426
|
+
this.vp();
|
|
1430
1427
|
}
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
this.uq = a;
|
|
1434
|
-
this.oi("ActualWindowScale", b, this.uq);
|
|
1428
|
+
get ut() {
|
|
1429
|
+
return this.ur;
|
|
1435
1430
|
}
|
|
1436
|
-
|
|
1437
|
-
|
|
1431
|
+
set ut(a) {
|
|
1432
|
+
let b = this.ur;
|
|
1433
|
+
this.ur = a;
|
|
1434
|
+
this.oj("ActualWindowScale", b, this.ur);
|
|
1438
1435
|
}
|
|
1439
1436
|
gq() {
|
|
1440
|
-
return this.
|
|
1437
|
+
return this.ut;
|
|
1441
1438
|
}
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
let a = Math.min(this.tj.width, this.tj.height);
|
|
1445
|
-
this.us = a;
|
|
1439
|
+
gr() {
|
|
1440
|
+
return this.ut;
|
|
1446
1441
|
}
|
|
1447
|
-
|
|
1448
|
-
|
|
1442
|
+
pe() {
|
|
1443
|
+
super.pe();
|
|
1444
|
+
let a = Math.min(this.tk.width, this.tk.height);
|
|
1445
|
+
this.ut = a;
|
|
1446
|
+
}
|
|
1447
|
+
fa() {
|
|
1448
|
+
return this.ul;
|
|
1449
1449
|
}
|
|
1450
1450
|
ce() {
|
|
1451
1451
|
if (this.cf == 0) {
|
|
1452
|
-
if (this.
|
|
1452
|
+
if (this.um) {
|
|
1453
1453
|
return 2;
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
1456
|
return this.cf;
|
|
1457
1457
|
}
|
|
1458
|
-
|
|
1459
|
-
super.
|
|
1458
|
+
oe(a, b, c, d) {
|
|
1459
|
+
super.oe(a, b, c, d);
|
|
1460
1460
|
switch (b) {
|
|
1461
1461
|
case "ZoomCoercionMode":
|
|
1462
|
-
this.
|
|
1462
|
+
this.ve();
|
|
1463
1463
|
break;
|
|
1464
1464
|
case "WindowRect":
|
|
1465
|
-
this.
|
|
1465
|
+
this.vm();
|
|
1466
1466
|
break;
|
|
1467
1467
|
case XamGeographicMap.$$p[0]:
|
|
1468
|
-
this.
|
|
1469
|
-
if (this.
|
|
1470
|
-
this.
|
|
1468
|
+
this.uf = this.ug();
|
|
1469
|
+
if (this.uc != null) {
|
|
1470
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1471
1471
|
}
|
|
1472
1472
|
break;
|
|
1473
1473
|
case XamGeographicMap.$$p[1]:
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1474
|
+
this.ul = this.um;
|
|
1475
|
+
this.uf = this.ug();
|
|
1476
1476
|
this.cd = this.ce();
|
|
1477
|
-
if (this.
|
|
1478
|
-
this.
|
|
1477
|
+
if (this.uc != null) {
|
|
1478
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1479
1479
|
}
|
|
1480
1480
|
break;
|
|
1481
1481
|
case XamGeographicMap.$$p[4]:
|
|
1482
|
-
this.
|
|
1482
|
+
this.tk = this.tl();
|
|
1483
1483
|
break;
|
|
1484
1484
|
case "BackgroundContent":
|
|
1485
|
-
if (this.
|
|
1486
|
-
let e = this.
|
|
1487
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1488
|
-
this.
|
|
1485
|
+
if (this.uc != null) {
|
|
1486
|
+
let e = this.uc;
|
|
1487
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.vf));
|
|
1488
|
+
this.uc.deferralHandler = null;
|
|
1489
1489
|
}
|
|
1490
|
-
this.
|
|
1491
|
-
if (this.
|
|
1492
|
-
let f = this.
|
|
1493
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1490
|
+
this.uc = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1491
|
+
if (this.uc != null) {
|
|
1492
|
+
let f = this.uc;
|
|
1493
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.vf));
|
|
1494
|
+
this.uc.deferralHandler = this;
|
|
1495
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1496
1496
|
}
|
|
1497
|
-
this.
|
|
1498
|
-
if (this.
|
|
1499
|
-
this.
|
|
1500
|
-
this.
|
|
1501
|
-
this.
|
|
1497
|
+
this.uj.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1498
|
+
if (this.uc != null) {
|
|
1499
|
+
this.uc.geographicMap = this;
|
|
1500
|
+
this.uj.fr(this.tk);
|
|
1501
|
+
this.uj.fv(this.gg);
|
|
1502
1502
|
}
|
|
1503
1503
|
break;
|
|
1504
1504
|
case "YAxis":
|
|
1505
1505
|
case "XAxis":
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1506
|
+
this.vk(c);
|
|
1507
|
+
this.vd(d);
|
|
1508
1508
|
break;
|
|
1509
1509
|
case XamGeographicMap.$$p[6]:
|
|
1510
|
-
if (!this.
|
|
1511
|
-
this.
|
|
1510
|
+
if (!this.un) {
|
|
1511
|
+
this.t0 = XamGeographicMap.v7;
|
|
1512
1512
|
}
|
|
1513
|
-
this.
|
|
1514
|
-
this.vk();
|
|
1513
|
+
this.ve();
|
|
1515
1514
|
this.vl();
|
|
1516
|
-
this.
|
|
1517
|
-
this.
|
|
1515
|
+
this.vm();
|
|
1516
|
+
this.tk = this.tl();
|
|
1517
|
+
this.uj.fs();
|
|
1518
1518
|
break;
|
|
1519
1519
|
case "ActualWindowRect":
|
|
1520
|
-
this.
|
|
1520
|
+
this.uj.fr(this.tk);
|
|
1521
1521
|
break;
|
|
1522
1522
|
case "ActualWorldRect":
|
|
1523
1523
|
for (let g of fromEnum(this.series)) {
|
|
@@ -1525,30 +1525,30 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
break;
|
|
1527
1527
|
case XamGeographicMap.$$p[5]:
|
|
1528
|
-
this.
|
|
1528
|
+
this.ut = this.uu;
|
|
1529
1529
|
break;
|
|
1530
1530
|
case "ActualWindowScale":
|
|
1531
|
-
if (!this.
|
|
1532
|
-
this.
|
|
1531
|
+
if (!this.fh) {
|
|
1532
|
+
this.pq(this.gq(), this.gr());
|
|
1533
1533
|
}
|
|
1534
1534
|
break;
|
|
1535
1535
|
case "ActualPixelScalingRatio":
|
|
1536
|
-
this.
|
|
1536
|
+
this.uj.fv(this.gg);
|
|
1537
1537
|
break;
|
|
1538
1538
|
case "WindowRectMinWidth":
|
|
1539
1539
|
case "WindowRectMinHeight":
|
|
1540
1540
|
let h = d;
|
|
1541
1541
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1542
|
+
this.gk = 5E-06;
|
|
1542
1543
|
this.gj = 5E-06;
|
|
1543
|
-
this.gi = 5E-06;
|
|
1544
1544
|
}
|
|
1545
1545
|
else {
|
|
1546
|
+
this.gk = h;
|
|
1546
1547
|
this.gj = h;
|
|
1547
|
-
this.gi = h;
|
|
1548
1548
|
}
|
|
1549
1549
|
break;
|
|
1550
1550
|
case XamGeographicMap.$$p[7]:
|
|
1551
|
-
this.
|
|
1551
|
+
this.pm();
|
|
1552
1552
|
break;
|
|
1553
1553
|
case "MarkerAutomaticBehavior":
|
|
1554
1554
|
for (let i of fromEnum(this.series)) {
|
|
@@ -1557,39 +1557,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1557
1557
|
break;
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
|
-
|
|
1560
|
+
vf(a, b) {
|
|
1561
1561
|
if (this.imageTilesReady != null) {
|
|
1562
1562
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
|
-
|
|
1565
|
+
vk(a) {
|
|
1566
1566
|
if (a != null) {
|
|
1567
1567
|
a.bi = null;
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
|
|
1571
|
-
if (this.
|
|
1572
|
-
this.
|
|
1573
|
-
this.
|
|
1570
|
+
vl() {
|
|
1571
|
+
if (this.t7 != null) {
|
|
1572
|
+
this.t7.l5 = this.v8.left;
|
|
1573
|
+
this.t7.l4 = this.v8.right;
|
|
1574
1574
|
}
|
|
1575
|
-
if (this.
|
|
1576
|
-
this.
|
|
1577
|
-
this.
|
|
1575
|
+
if (this.t9 != null) {
|
|
1576
|
+
this.t9.l5 = this.v8.top;
|
|
1577
|
+
this.t9.l4 = this.v8.bottom;
|
|
1578
1578
|
}
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1579
|
+
this.t7.c2(true);
|
|
1580
|
+
this.t9.c2(true);
|
|
1581
1581
|
}
|
|
1582
1582
|
getFontInfo() {
|
|
1583
|
-
this.
|
|
1584
|
-
return this.
|
|
1583
|
+
this.uk = this.uj.fo;
|
|
1584
|
+
return this.uk;
|
|
1585
1585
|
}
|
|
1586
|
-
|
|
1587
|
-
return this.
|
|
1586
|
+
sp() {
|
|
1587
|
+
return this.uj.fw;
|
|
1588
1588
|
}
|
|
1589
1589
|
getFontBrush() {
|
|
1590
|
-
return this.
|
|
1590
|
+
return this.uj.fx;
|
|
1591
1591
|
}
|
|
1592
|
-
|
|
1592
|
+
o7(a, b) {
|
|
1593
1593
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1594
1594
|
let c = b;
|
|
1595
1595
|
let d = a;
|
|
@@ -1597,33 +1597,33 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1597
1597
|
d.qn = c.triangulationSource.triangles;
|
|
1598
1598
|
}
|
|
1599
1599
|
else {
|
|
1600
|
-
super.
|
|
1600
|
+
super.o7(a, b);
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
1603
|
register(a, b) {
|
|
1604
|
-
this.
|
|
1604
|
+
this.ox(a, b);
|
|
1605
1605
|
}
|
|
1606
1606
|
unRegister(a) {
|
|
1607
|
-
this.
|
|
1607
|
+
this.pd(a);
|
|
1608
1608
|
}
|
|
1609
1609
|
deferredRefresh() {
|
|
1610
|
-
this.
|
|
1610
|
+
this.lz();
|
|
1611
1611
|
}
|
|
1612
1612
|
deferAction(a) {
|
|
1613
|
-
if (this.
|
|
1614
|
-
this.
|
|
1613
|
+
if (this.uw != null) {
|
|
1614
|
+
this.uw.setTimeout(a, 0);
|
|
1615
1615
|
}
|
|
1616
1616
|
else {
|
|
1617
1617
|
window.setTimeout(a, 0);
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
-
|
|
1621
|
-
this.
|
|
1620
|
+
vc(a) {
|
|
1621
|
+
this.pl(a);
|
|
1622
1622
|
}
|
|
1623
|
-
|
|
1623
|
+
ux() {
|
|
1624
1624
|
let a = new ChartVisualData();
|
|
1625
|
-
let b = this.
|
|
1626
|
-
let c = this.
|
|
1625
|
+
let b = this.t7.fw();
|
|
1626
|
+
let c = this.t9.fw();
|
|
1627
1627
|
a.axes.add1(b);
|
|
1628
1628
|
a.axes.add1(c);
|
|
1629
1629
|
for (let d = 0; d < this.series.count; d++) {
|
|
@@ -1631,42 +1631,42 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1631
1631
|
a.series.add1(e);
|
|
1632
1632
|
}
|
|
1633
1633
|
a.name = this.name;
|
|
1634
|
-
a.contentArea = RectData.b(this.
|
|
1635
|
-
a.centralArea = RectData.b(this.
|
|
1636
|
-
a.plotArea = RectData.b(this.
|
|
1634
|
+
a.contentArea = RectData.b(this.tz);
|
|
1635
|
+
a.centralArea = RectData.b(this.tz);
|
|
1636
|
+
a.plotArea = RectData.b(this.tz);
|
|
1637
1637
|
return a;
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
tr(a, b, c) {
|
|
1640
1640
|
return a;
|
|
1641
1641
|
}
|
|
1642
|
-
|
|
1642
|
+
vg() {
|
|
1643
1643
|
}
|
|
1644
|
-
get
|
|
1645
|
-
return this.
|
|
1644
|
+
get wj() {
|
|
1645
|
+
return this.v5;
|
|
1646
1646
|
}
|
|
1647
|
-
set
|
|
1648
|
-
this.
|
|
1647
|
+
set wj(a) {
|
|
1648
|
+
this.v5 = a;
|
|
1649
1649
|
}
|
|
1650
|
-
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1650
|
+
vq(a) {
|
|
1651
|
+
this.wj = a;
|
|
1652
|
+
this.vp();
|
|
1653
1653
|
}
|
|
1654
|
-
|
|
1655
|
-
if (this.
|
|
1656
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1654
|
+
vp() {
|
|
1655
|
+
if (this.uq && !this.wj.isEmpty) {
|
|
1656
|
+
let a = this.getZoomFromGeographicRect(this.wj);
|
|
1657
|
+
this.wj = Rect.empty;
|
|
1658
|
+
this.ps(a, false);
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
get
|
|
1662
|
-
return !this.
|
|
1661
|
+
get uq() {
|
|
1662
|
+
return !this.tz.isEmpty && !this.to.isEmpty;
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
1665
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1666
|
-
XamGeographicMap.
|
|
1667
|
-
XamGeographicMap.
|
|
1668
|
-
XamGeographicMap.
|
|
1669
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1666
|
+
XamGeographicMap.uh = 0;
|
|
1667
|
+
XamGeographicMap.v4 = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1668
|
+
XamGeographicMap.v7 = new Rect(0, 0, 0, 1, 1);
|
|
1669
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'oj', ['BackgroundTilingMode:ue:vr', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:um:vs', [0, false], 'ResizeBehavior:ui:vt', [MapResizeBehavior_$type, 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]]);
|
|
1670
1670
|
return XamGeographicMap;
|
|
1671
1671
|
})();
|
|
1672
1672
|
/**
|
|
@@ -1796,14 +1796,14 @@ let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
1796
1796
|
return a;
|
|
1797
1797
|
}
|
|
1798
1798
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
1799
|
-
let c = this.geographicMap.
|
|
1800
|
-
let d = XamGeographicMap.
|
|
1801
|
-
let e = this.geographicMap.
|
|
1799
|
+
let c = this.geographicMap.wd(b);
|
|
1800
|
+
let d = XamGeographicMap.v4;
|
|
1801
|
+
let e = this.geographicMap.v8;
|
|
1802
1802
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1803
1803
|
let g = e.width / d.width;
|
|
1804
1804
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1805
|
-
let h = this.geographicMap.
|
|
1806
|
-
let i = this.geographicMap.
|
|
1805
|
+
let h = this.geographicMap.t7;
|
|
1806
|
+
let i = this.geographicMap.t9;
|
|
1807
1807
|
let j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1808
1808
|
j.c = c;
|
|
1809
1809
|
let k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -1918,8 +1918,8 @@ let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1918
1918
|
a.qd = null;
|
|
1919
1919
|
return;
|
|
1920
1920
|
}
|
|
1921
|
-
a.qc = this.ce.ce.
|
|
1922
|
-
a.qd = this.ce.ce.
|
|
1921
|
+
a.qc = this.ce.ce.t7;
|
|
1922
|
+
a.qd = this.ce.ce.t9;
|
|
1923
1923
|
}
|
|
1924
1924
|
cg() {
|
|
1925
1925
|
this.ce.qe.re = this.ce.qq;
|
|
@@ -1994,15 +1994,15 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1994
1994
|
this.fp = NaN;
|
|
1995
1995
|
this.fz = Rect.empty;
|
|
1996
1996
|
this.fn = a;
|
|
1997
|
-
this.fn.
|
|
1998
|
-
this.fn.
|
|
1997
|
+
this.fn.sk = 2;
|
|
1998
|
+
this.fn.hp = 5E-06;
|
|
1999
1999
|
}
|
|
2000
2000
|
m(a) {
|
|
2001
2001
|
return 2;
|
|
2002
2002
|
}
|
|
2003
2003
|
bk(a) {
|
|
2004
2004
|
this.j.bw(a);
|
|
2005
|
-
this.fn.
|
|
2005
|
+
this.fn.vc(a);
|
|
2006
2006
|
this.el();
|
|
2007
2007
|
}
|
|
2008
2008
|
get_ap() {
|
|
@@ -2065,13 +2065,13 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2065
2065
|
}
|
|
2066
2066
|
}
|
|
2067
2067
|
fr(a) {
|
|
2068
|
-
if (this.fn.
|
|
2069
|
-
this.fn.
|
|
2068
|
+
if (this.fn.uc != null) {
|
|
2069
|
+
this.fn.uc.windowRect = a;
|
|
2070
2070
|
}
|
|
2071
2071
|
}
|
|
2072
2072
|
fu(a, b) {
|
|
2073
|
-
if (this.fn.
|
|
2074
|
-
this.fn.
|
|
2073
|
+
if (this.fn.uc != null) {
|
|
2074
|
+
this.fn.uc.windowRect = this.fn.tk;
|
|
2075
2075
|
}
|
|
2076
2076
|
if (a != null) {
|
|
2077
2077
|
let c = a.ao;
|
|
@@ -2098,7 +2098,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
}
|
|
2100
2100
|
ft(a) {
|
|
2101
|
-
let b = this.fn.
|
|
2101
|
+
let b = this.fn.gg;
|
|
2102
2102
|
if (b != 1) {
|
|
2103
2103
|
a.aa();
|
|
2104
2104
|
a.ab(b, b);
|
|
@@ -2575,80 +2575,80 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2575
2575
|
* Gets or sets zoomability of the current control
|
|
2576
2576
|
*/
|
|
2577
2577
|
get zoomable() {
|
|
2578
|
-
return this.i.
|
|
2578
|
+
return this.i.up;
|
|
2579
2579
|
}
|
|
2580
2580
|
set zoomable(v) {
|
|
2581
|
-
this.i.
|
|
2581
|
+
this.i.up = ensureBool(v);
|
|
2582
2582
|
}
|
|
2583
2583
|
/**
|
|
2584
2584
|
* Gets or sets the behavior to use during resize.
|
|
2585
2585
|
*/
|
|
2586
2586
|
get resizeBehavior() {
|
|
2587
|
-
return this.i.
|
|
2587
|
+
return this.i.ui;
|
|
2588
2588
|
}
|
|
2589
2589
|
set resizeBehavior(v) {
|
|
2590
|
-
this.i.
|
|
2590
|
+
this.i.ui = ensureEnum(MapResizeBehavior_$type, v);
|
|
2591
2591
|
}
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Gets or sets if the map should horizontally wrap.
|
|
2594
2594
|
*/
|
|
2595
2595
|
get isHorizontalWrappingEnabled() {
|
|
2596
|
-
return this.i.
|
|
2596
|
+
return this.i.um;
|
|
2597
2597
|
}
|
|
2598
2598
|
set isHorizontalWrappingEnabled(v) {
|
|
2599
|
-
this.i.
|
|
2599
|
+
this.i.um = ensureBool(v);
|
|
2600
2600
|
}
|
|
2601
2601
|
/**
|
|
2602
2602
|
* Gets or sets if the map should horizontally wrap.
|
|
2603
2603
|
*/
|
|
2604
2604
|
get backgroundTilingMode() {
|
|
2605
|
-
return this.i.
|
|
2605
|
+
return this.i.ue;
|
|
2606
2606
|
}
|
|
2607
2607
|
set backgroundTilingMode(v) {
|
|
2608
|
-
this.i.
|
|
2608
|
+
this.i.ue = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2609
2609
|
}
|
|
2610
2610
|
/**
|
|
2611
2611
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2612
2612
|
*/
|
|
2613
2613
|
get useWorldRectForZoomBounds() {
|
|
2614
|
-
return this.i.
|
|
2614
|
+
return this.i.uo;
|
|
2615
2615
|
}
|
|
2616
2616
|
set useWorldRectForZoomBounds(v) {
|
|
2617
|
-
this.i.
|
|
2617
|
+
this.i.uo = ensureBool(v);
|
|
2618
2618
|
}
|
|
2619
2619
|
/**
|
|
2620
2620
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2621
2621
|
*/
|
|
2622
2622
|
get suppressZoomResetOnWorldRectChange() {
|
|
2623
|
-
return this.i.
|
|
2623
|
+
return this.i.un;
|
|
2624
2624
|
}
|
|
2625
2625
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
2626
|
-
this.i.
|
|
2626
|
+
this.i.un = ensureBool(v);
|
|
2627
2627
|
}
|
|
2628
2628
|
/**
|
|
2629
2629
|
* Gets or sets the world bounding rectangle.
|
|
2630
2630
|
*/
|
|
2631
2631
|
get worldRect() {
|
|
2632
|
-
return fromRect(this.i.
|
|
2632
|
+
return fromRect(this.i.wk);
|
|
2633
2633
|
}
|
|
2634
2634
|
set worldRect(v) {
|
|
2635
|
-
this.i.
|
|
2635
|
+
this.i.wk = toRect(v);
|
|
2636
2636
|
}
|
|
2637
2637
|
/**
|
|
2638
2638
|
* Gets the actual value of the WorldRect.
|
|
2639
2639
|
*/
|
|
2640
2640
|
get actualWorldRect() {
|
|
2641
|
-
return fromRect(this.i.
|
|
2641
|
+
return fromRect(this.i.v8);
|
|
2642
2642
|
}
|
|
2643
2643
|
set actualWorldRect(v) {
|
|
2644
|
-
this.i.
|
|
2644
|
+
this.i.v8 = toRect(v);
|
|
2645
2645
|
}
|
|
2646
2646
|
/**
|
|
2647
2647
|
* The X-axis for this IgxGeographicMap.Component
|
|
2648
2648
|
* 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.
|
|
2649
2649
|
*/
|
|
2650
2650
|
get xAxis() {
|
|
2651
|
-
const r = this.i.
|
|
2651
|
+
const r = this.i.t7;
|
|
2652
2652
|
if (r == null) {
|
|
2653
2653
|
return null;
|
|
2654
2654
|
}
|
|
@@ -2664,14 +2664,14 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2664
2664
|
set xAxis(v) {
|
|
2665
2665
|
if (v != null && this._stylingContainer && v._styling)
|
|
2666
2666
|
v._styling(this._stylingContainer, this, this);
|
|
2667
|
-
v == null ? this.i.
|
|
2667
|
+
v == null ? this.i.t7 = null : this.i.t7 = v.i;
|
|
2668
2668
|
}
|
|
2669
2669
|
/**
|
|
2670
2670
|
* The Y-axis for this IgxGeographicMap.Component
|
|
2671
2671
|
* 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.
|
|
2672
2672
|
*/
|
|
2673
2673
|
get yAxis() {
|
|
2674
|
-
const r = this.i.
|
|
2674
|
+
const r = this.i.t9;
|
|
2675
2675
|
if (r == null) {
|
|
2676
2676
|
return null;
|
|
2677
2677
|
}
|
|
@@ -2687,39 +2687,39 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2687
2687
|
set yAxis(v) {
|
|
2688
2688
|
if (v != null && this._stylingContainer && v._styling)
|
|
2689
2689
|
v._styling(this._stylingContainer, this, this);
|
|
2690
|
-
v == null ? this.i.
|
|
2690
|
+
v == null ? this.i.t9 = null : this.i.t9 = v.i;
|
|
2691
2691
|
}
|
|
2692
2692
|
/**
|
|
2693
2693
|
* Indicates if this SeriesViewer is a map.
|
|
2694
2694
|
*/
|
|
2695
2695
|
get isMap() {
|
|
2696
|
-
return this.i.
|
|
2696
|
+
return this.i.el;
|
|
2697
2697
|
}
|
|
2698
2698
|
/**
|
|
2699
2699
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2700
2700
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
2701
2701
|
*/
|
|
2702
2702
|
get windowScale() {
|
|
2703
|
-
return this.i.
|
|
2703
|
+
return this.i.uu;
|
|
2704
2704
|
}
|
|
2705
2705
|
set windowScale(v) {
|
|
2706
|
-
this.i.
|
|
2706
|
+
this.i.uu = +v;
|
|
2707
2707
|
}
|
|
2708
2708
|
/**
|
|
2709
2709
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2710
2710
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2711
2711
|
*/
|
|
2712
2712
|
get actualWindowScale() {
|
|
2713
|
-
return this.i.
|
|
2713
|
+
return this.i.ut;
|
|
2714
2714
|
}
|
|
2715
2715
|
set actualWindowScale(v) {
|
|
2716
|
-
this.i.
|
|
2716
|
+
this.i.ut = +v;
|
|
2717
2717
|
}
|
|
2718
2718
|
/**
|
|
2719
2719
|
* Gets whether or not the control is ready for zooming
|
|
2720
2720
|
*/
|
|
2721
2721
|
get zoomIsReady() {
|
|
2722
|
-
return this.i.
|
|
2722
|
+
return this.i.uq;
|
|
2723
2723
|
}
|
|
2724
2724
|
findByName(name) {
|
|
2725
2725
|
var baseResult = super.findByName(name);
|
|
@@ -2747,7 +2747,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2747
2747
|
|
|
2748
2748
|
*/
|
|
2749
2749
|
getCurrentActualWorldRect() {
|
|
2750
|
-
let iv = this.i.
|
|
2750
|
+
let iv = this.i.wc();
|
|
2751
2751
|
return fromRect(iv);
|
|
2752
2752
|
}
|
|
2753
2753
|
/**
|
|
@@ -2764,14 +2764,14 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2764
2764
|
|
|
2765
2765
|
*/
|
|
2766
2766
|
updateZoomWindow(zoomWindow) {
|
|
2767
|
-
this.i.
|
|
2767
|
+
this.i.vo(toRect(zoomWindow));
|
|
2768
2768
|
}
|
|
2769
2769
|
/**
|
|
2770
2770
|
* Updates world rect in geographic coordinates
|
|
2771
2771
|
|
|
2772
2772
|
*/
|
|
2773
2773
|
updateWorldRect(worldRect) {
|
|
2774
|
-
this.i.
|
|
2774
|
+
this.i.vn(toRect(worldRect));
|
|
2775
2775
|
}
|
|
2776
2776
|
/**
|
|
2777
2777
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -2783,7 +2783,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2783
2783
|
return fromRect(iv);
|
|
2784
2784
|
}
|
|
2785
2785
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
2786
|
-
let iv = this.i.
|
|
2786
|
+
let iv = this.i.v9(toRect(geographic), extraPixelPadding);
|
|
2787
2787
|
return fromRect(iv);
|
|
2788
2788
|
}
|
|
2789
2789
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -2796,7 +2796,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2796
2796
|
* @param windowRect * The zoom area.
|
|
2797
2797
|
*/
|
|
2798
2798
|
getGeographicFromZoom(windowRect) {
|
|
2799
|
-
let iv = this.i.
|
|
2799
|
+
let iv = this.i.we(toRect(windowRect));
|
|
2800
2800
|
return fromRect(iv);
|
|
2801
2801
|
}
|
|
2802
2802
|
/**
|
|
@@ -2805,7 +2805,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2805
2805
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
2806
2806
|
*/
|
|
2807
2807
|
getGeographicPoint(pixelCoordinate) {
|
|
2808
|
-
let iv = this.i.
|
|
2808
|
+
let iv = this.i.v0(toPoint(pixelCoordinate));
|
|
2809
2809
|
return fromPoint(iv);
|
|
2810
2810
|
}
|
|
2811
2811
|
/**
|
|
@@ -2814,7 +2814,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2814
2814
|
* @param geographicCoordinate * A geographic coordinate
|
|
2815
2815
|
*/
|
|
2816
2816
|
getPixelPoint(geographicCoordinate) {
|
|
2817
|
-
let iv = this.i.
|
|
2817
|
+
let iv = this.i.v1(toPoint(geographicCoordinate));
|
|
2818
2818
|
return fromPoint(iv);
|
|
2819
2819
|
}
|
|
2820
2820
|
/**
|
|
@@ -2823,7 +2823,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2823
2823
|
* @param geographicCoordinate * A geographic coordinate
|
|
2824
2824
|
*/
|
|
2825
2825
|
getWindowPoint(geographicCoordinate) {
|
|
2826
|
-
let iv = this.i.
|
|
2826
|
+
let iv = this.i.v2(toPoint(geographicCoordinate));
|
|
2827
2827
|
return fromPoint(iv);
|
|
2828
2828
|
}
|
|
2829
2829
|
/**
|
|
@@ -2831,21 +2831,21 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2831
2831
|
|
|
2832
2832
|
*/
|
|
2833
2833
|
clearTileCache() {
|
|
2834
|
-
this.i.
|
|
2834
|
+
this.i.vb();
|
|
2835
2835
|
}
|
|
2836
2836
|
/**
|
|
2837
2837
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
2838
2838
|
|
|
2839
2839
|
*/
|
|
2840
2840
|
styleUpdated() {
|
|
2841
|
-
this.i.
|
|
2841
|
+
this.i.vj();
|
|
2842
2842
|
}
|
|
2843
2843
|
/**
|
|
2844
2844
|
* Gets actual window scale for horizontal dimension of the control
|
|
2845
2845
|
|
|
2846
2846
|
*/
|
|
2847
2847
|
getActualWindowScaleHorizontal() {
|
|
2848
|
-
let iv = this.i.
|
|
2848
|
+
let iv = this.i.gq();
|
|
2849
2849
|
return (iv);
|
|
2850
2850
|
}
|
|
2851
2851
|
/**
|
|
@@ -2853,7 +2853,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2853
2853
|
|
|
2854
2854
|
*/
|
|
2855
2855
|
getActualWindowScaleVertical() {
|
|
2856
|
-
let iv = this.i.
|
|
2856
|
+
let iv = this.i.gr();
|
|
2857
2857
|
return (iv);
|
|
2858
2858
|
}
|
|
2859
2859
|
/**
|
|
@@ -2868,7 +2868,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2868
2868
|
|
|
2869
2869
|
*/
|
|
2870
2870
|
exportVisualData() {
|
|
2871
|
-
let iv = this.i.
|
|
2871
|
+
let iv = this.i.ux();
|
|
2872
2872
|
return (iv);
|
|
2873
2873
|
}
|
|
2874
2874
|
/**
|
|
@@ -2877,7 +2877,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2877
2877
|
* @param geographic * The geographic region to zoom to.
|
|
2878
2878
|
*/
|
|
2879
2879
|
zoomToGeographic(geographic) {
|
|
2880
|
-
this.i.
|
|
2880
|
+
this.i.vq(toRect(geographic));
|
|
2881
2881
|
}
|
|
2882
2882
|
/**
|
|
2883
2883
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -5057,8 +5057,8 @@ let GeographicShapeSeriesBaseView = /*@__PURE__*/ (() => {
|
|
|
5057
5057
|
a.qv = null;
|
|
5058
5058
|
return;
|
|
5059
5059
|
}
|
|
5060
|
-
a.qt = this.ce.ce.
|
|
5061
|
-
a.qv = this.ce.ce.
|
|
5060
|
+
a.qt = this.ce.ce.t7;
|
|
5061
|
+
a.qv = this.ce.ce.t9;
|
|
5062
5062
|
}
|
|
5063
5063
|
ch() {
|
|
5064
5064
|
this.ce.qe.r5 = this.ce.q7;
|
|
@@ -6016,7 +6016,7 @@ let TileSeries = /*@__PURE__*/ (() => {
|
|
|
6016
6016
|
if (f != null && typeCast(XamGeographicMap.$, this.ce) !== null) {
|
|
6017
6017
|
f.geographicMap = this.ce;
|
|
6018
6018
|
this.tb(this.b1);
|
|
6019
|
-
this.sz.da(this.ce.
|
|
6019
|
+
this.sz.da(this.ce.tk);
|
|
6020
6020
|
}
|
|
6021
6021
|
this.lu();
|
|
6022
6022
|
break;
|
|
@@ -6900,10 +6900,10 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6900
6900
|
this.ce.qe.tb = this.ce.qq;
|
|
6901
6901
|
}
|
|
6902
6902
|
cv() {
|
|
6903
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
6903
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
6904
6904
|
}
|
|
6905
6905
|
cw() {
|
|
6906
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
6906
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
6907
6907
|
}
|
|
6908
6908
|
cu() {
|
|
6909
6909
|
let a = this.ce.qe;
|
|
@@ -6912,8 +6912,8 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6912
6912
|
a.yAxis = null;
|
|
6913
6913
|
return;
|
|
6914
6914
|
}
|
|
6915
|
-
a.xAxis = this.ce.ce.
|
|
6916
|
-
a.yAxis = this.ce.ce.
|
|
6915
|
+
a.xAxis = this.ce.ce.t7;
|
|
6916
|
+
a.yAxis = this.ce.ce.t9;
|
|
6917
6917
|
}
|
|
6918
6918
|
co() {
|
|
6919
6919
|
this.ce.qe.rn = this.ce.ri;
|
|
@@ -7513,10 +7513,10 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7513
7513
|
this.ce.qe.tb = this.ce.qq;
|
|
7514
7514
|
}
|
|
7515
7515
|
cp() {
|
|
7516
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
7516
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
7517
7517
|
}
|
|
7518
7518
|
cq() {
|
|
7519
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
7519
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
7520
7520
|
}
|
|
7521
7521
|
co() {
|
|
7522
7522
|
let a = this.ce.qe;
|
|
@@ -7525,8 +7525,8 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7525
7525
|
a.yAxis = null;
|
|
7526
7526
|
return;
|
|
7527
7527
|
}
|
|
7528
|
-
a.xAxis = this.ce.ce.
|
|
7529
|
-
a.yAxis = this.ce.ce.
|
|
7528
|
+
a.xAxis = this.ce.ce.t7;
|
|
7529
|
+
a.yAxis = this.ce.ce.t9;
|
|
7530
7530
|
}
|
|
7531
7531
|
ci() {
|
|
7532
7532
|
this.ce.qe.rx = this.ce.rm;
|
|
@@ -8248,14 +8248,14 @@ let GeographicHighDensityScatterSeriesView = /*@__PURE__*/ (() => {
|
|
|
8248
8248
|
a.ql = null;
|
|
8249
8249
|
return;
|
|
8250
8250
|
}
|
|
8251
|
-
a.qj = this.ce.ce.
|
|
8252
|
-
a.ql = this.ce.ce.
|
|
8251
|
+
a.qj = this.ce.ce.t7;
|
|
8252
|
+
a.ql = this.ce.ce.t9;
|
|
8253
8253
|
}
|
|
8254
8254
|
cq() {
|
|
8255
|
-
this.ce.qe.qj = this.ce.ce.
|
|
8255
|
+
this.ce.qe.qj = this.ce.ce.t7;
|
|
8256
8256
|
}
|
|
8257
8257
|
cr() {
|
|
8258
|
-
this.ce.qe.ql = this.ce.ce.
|
|
8258
|
+
this.ce.qe.ql = this.ce.ce.t9;
|
|
8259
8259
|
}
|
|
8260
8260
|
ch() {
|
|
8261
8261
|
this.ce.qe.ts = this.ce.rm;
|