igniteui-angular-maps 20.0.0-beta.1 → 20.0.1-beta.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 +428 -428
- 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 +376 -376
- 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 +370 -370
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/fesm2015/igniteui-angular-maps.js +434 -434
- package/fesm5/igniteui-angular-maps.js +428 -428
- package/lib/XamGeographicMap_combined.d.ts +88 -88
- package/package.json +2 -2
|
@@ -615,10 +615,10 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
615
615
|
case "SeriesViewer":
|
|
616
616
|
this.w5.dc = this.dc;
|
|
617
617
|
if (c != null) {
|
|
618
|
-
c.
|
|
618
|
+
c.rn(this.w5);
|
|
619
619
|
}
|
|
620
620
|
if (d != null) {
|
|
621
|
-
this.dc.
|
|
621
|
+
this.dc.nq(this.w5);
|
|
622
622
|
}
|
|
623
623
|
this.w5.rf(this.wx);
|
|
624
624
|
this.w5.index = this.index;
|
|
@@ -717,7 +717,7 @@ let GeographicMapSeriesHost = /*@__PURE__*/ (() => {
|
|
|
717
717
|
return;
|
|
718
718
|
}
|
|
719
719
|
if (!isNaN_(this.w7)) {
|
|
720
|
-
if (this.dc.
|
|
720
|
+
if (this.dc.wt.width > this.w7) {
|
|
721
721
|
let hs_ = this.w5;
|
|
722
722
|
let v_ = 1;
|
|
723
723
|
hs_.visibility = v_;
|
|
@@ -886,22 +886,22 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
886
886
|
class XamGeographicMap extends SeriesViewer {
|
|
887
887
|
constructor() {
|
|
888
888
|
super();
|
|
889
|
-
this.
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
895
|
-
this.
|
|
896
|
-
this.w8 = null;
|
|
897
|
-
this.xc = null;
|
|
898
|
-
this.yz = { $type: Point_$type, x: NaN, y: NaN };
|
|
899
|
-
this.y6 = null;
|
|
900
|
-
this.xr = 1;
|
|
901
|
-
this.imageTilesReady = null;
|
|
889
|
+
this.x8 = null;
|
|
890
|
+
this.xx = false;
|
|
891
|
+
this.xp = 1;
|
|
892
|
+
this.x4 = 0;
|
|
893
|
+
this.zf = null;
|
|
894
|
+
this.xm = null;
|
|
895
|
+
this.xi = null;
|
|
902
896
|
this.xk = null;
|
|
903
|
-
this.
|
|
904
|
-
this.
|
|
897
|
+
this.xo = null;
|
|
898
|
+
this.zb = { $type: Point_$type, x: NaN, y: NaN };
|
|
899
|
+
this.zi = null;
|
|
900
|
+
this.x3 = 1;
|
|
901
|
+
this.imageTilesReady = null;
|
|
902
|
+
this.xw = null;
|
|
903
|
+
this.zh = Rect.empty;
|
|
904
|
+
this.x4 = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
905
905
|
this.ab = XamGeographicMap.$;
|
|
906
906
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
907
907
|
let a = ((() => {
|
|
@@ -910,70 +910,70 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
910
910
|
return $ret;
|
|
911
911
|
})());
|
|
912
912
|
a.cf = true;
|
|
913
|
-
this.
|
|
914
|
-
this.
|
|
913
|
+
this.xj = a;
|
|
914
|
+
this.xj.n4 = new SphericalMercatorHorizontalScaler();
|
|
915
915
|
let b = ((() => {
|
|
916
916
|
let $ret = new NumericYAxis();
|
|
917
917
|
$ret.bi = this;
|
|
918
918
|
return $ret;
|
|
919
919
|
})());
|
|
920
920
|
b.cf = true;
|
|
921
|
-
this.
|
|
922
|
-
this.
|
|
923
|
-
this.
|
|
924
|
-
this.
|
|
925
|
-
this.
|
|
921
|
+
this.xl = b;
|
|
922
|
+
this.xl.n4 = new SphericalMercatorVerticalScaler();
|
|
923
|
+
this.yq();
|
|
924
|
+
this.yx();
|
|
925
|
+
this.oi();
|
|
926
926
|
}
|
|
927
927
|
provideContainer(a) {
|
|
928
928
|
super.provideContainer(a);
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
929
|
+
this.xj.provideRenderer(a);
|
|
930
|
+
this.xl.provideRenderer(a);
|
|
931
931
|
}
|
|
932
|
-
|
|
933
|
-
super.
|
|
934
|
-
this.
|
|
932
|
+
oi() {
|
|
933
|
+
super.oi();
|
|
934
|
+
this.xv.fv(this.hp);
|
|
935
935
|
}
|
|
936
|
-
|
|
937
|
-
return this.
|
|
936
|
+
fp() {
|
|
937
|
+
return this.x1;
|
|
938
938
|
}
|
|
939
|
-
|
|
940
|
-
return this.
|
|
939
|
+
fq() {
|
|
940
|
+
return this.x1;
|
|
941
941
|
}
|
|
942
|
-
|
|
943
|
-
if (this.
|
|
944
|
-
if (this.
|
|
942
|
+
xs() {
|
|
943
|
+
if (this.xq == 0) {
|
|
944
|
+
if (this.xx) {
|
|
945
945
|
return 2;
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
return 1;
|
|
949
949
|
}
|
|
950
|
-
get
|
|
951
|
-
return this.
|
|
950
|
+
get xr() {
|
|
951
|
+
return this.xp;
|
|
952
952
|
}
|
|
953
|
-
set
|
|
954
|
-
this.
|
|
953
|
+
set xr(a) {
|
|
954
|
+
this.xp = a;
|
|
955
955
|
}
|
|
956
|
-
get
|
|
957
|
-
return this.
|
|
956
|
+
get zk() {
|
|
957
|
+
return this.zf;
|
|
958
958
|
}
|
|
959
|
-
set
|
|
960
|
-
let b = Rect.l_op_Inequality(this.
|
|
959
|
+
set zk(a) {
|
|
960
|
+
let b = Rect.l_op_Inequality(this.zf, a);
|
|
961
961
|
if (b) {
|
|
962
|
-
let c = this.
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
962
|
+
let c = this.zf;
|
|
963
|
+
this.zf = a;
|
|
964
|
+
this.q5("ActualWorldRect", c, a);
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
|
-
|
|
968
|
-
return this.
|
|
967
|
+
zo() {
|
|
968
|
+
return this.zk;
|
|
969
969
|
}
|
|
970
|
-
|
|
971
|
-
if (this.
|
|
970
|
+
yq() {
|
|
971
|
+
if (this.zw.isEmpty) {
|
|
972
972
|
return;
|
|
973
973
|
}
|
|
974
|
-
this.
|
|
974
|
+
this.zk = this.zu(this.zw, this.cs == 1);
|
|
975
975
|
}
|
|
976
|
-
|
|
976
|
+
zu(a, b) {
|
|
977
977
|
let c = a.top;
|
|
978
978
|
let d = a.left;
|
|
979
979
|
let e = a.width;
|
|
@@ -981,25 +981,25 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
981
981
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
982
982
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
983
983
|
let i = g - h;
|
|
984
|
-
let j = a.width / XamGeographicMap.
|
|
985
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
984
|
+
let j = a.width / XamGeographicMap.zg.width;
|
|
985
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
986
986
|
let l = i / j;
|
|
987
|
-
if (i / j > this.
|
|
988
|
-
let m = i / this.
|
|
987
|
+
if (i / j > this.x4) {
|
|
988
|
+
let m = i / this.x4;
|
|
989
989
|
let n = m - j;
|
|
990
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
991
|
-
e = m * XamGeographicMap.
|
|
990
|
+
d = d - (n / 2) * XamGeographicMap.zg.width;
|
|
991
|
+
e = m * XamGeographicMap.zg.width;
|
|
992
992
|
if (b) {
|
|
993
|
-
if (d < XamGeographicMap.
|
|
994
|
-
d += (XamGeographicMap.
|
|
993
|
+
if (d < XamGeographicMap.zg.left) {
|
|
994
|
+
d += (XamGeographicMap.zg.left - d);
|
|
995
995
|
}
|
|
996
|
-
else if ((d + e) > XamGeographicMap.
|
|
997
|
-
d -= ((d + e) - XamGeographicMap.
|
|
996
|
+
else if ((d + e) > XamGeographicMap.zg.right) {
|
|
997
|
+
d -= ((d + e) - XamGeographicMap.zg.right);
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
|
-
else if (i / j < this.
|
|
1002
|
-
let o = this.
|
|
1001
|
+
else if (i / j < this.x4) {
|
|
1002
|
+
let o = this.x4 * j;
|
|
1003
1003
|
let p = o - i;
|
|
1004
1004
|
let q = h - (p / 2);
|
|
1005
1005
|
let r = g + (p / 2);
|
|
@@ -1008,9 +1008,9 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1008
1008
|
q += (k - q);
|
|
1009
1009
|
r += (k - q);
|
|
1010
1010
|
}
|
|
1011
|
-
else if (r > (k + this.
|
|
1012
|
-
q -= ((r) - (k + this.
|
|
1013
|
-
r -= ((r) - (k + this.
|
|
1011
|
+
else if (r > (k + this.x4)) {
|
|
1012
|
+
q -= ((r) - (k + this.x4));
|
|
1013
|
+
r -= ((r) - (k + this.x4));
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
1016
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -1020,76 +1020,76 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1020
1020
|
return s;
|
|
1021
1021
|
}
|
|
1022
1022
|
get backgroundContent() {
|
|
1023
|
-
return this.
|
|
1023
|
+
return this.xm;
|
|
1024
1024
|
}
|
|
1025
1025
|
set backgroundContent(a) {
|
|
1026
1026
|
let b = a != this.backgroundContent;
|
|
1027
1027
|
if (b) {
|
|
1028
1028
|
let c = this.backgroundContent;
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1029
|
+
this.xm = a;
|
|
1030
|
+
this.q5("BackgroundContent", c, a);
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
|
-
get
|
|
1034
|
-
return this.
|
|
1033
|
+
get xj() {
|
|
1034
|
+
return this.xi;
|
|
1035
1035
|
}
|
|
1036
|
-
set
|
|
1037
|
-
let b = a != this.
|
|
1036
|
+
set xj(a) {
|
|
1037
|
+
let b = a != this.xj;
|
|
1038
1038
|
if (b) {
|
|
1039
|
-
let c = this.
|
|
1040
|
-
this.
|
|
1041
|
-
this.
|
|
1039
|
+
let c = this.xj;
|
|
1040
|
+
this.xi = a;
|
|
1041
|
+
this.q5("XAxis", c, a);
|
|
1042
1042
|
}
|
|
1043
1043
|
}
|
|
1044
|
-
get
|
|
1045
|
-
return this.
|
|
1044
|
+
get xl() {
|
|
1045
|
+
return this.xk;
|
|
1046
1046
|
}
|
|
1047
|
-
set
|
|
1048
|
-
let b = a != this.
|
|
1047
|
+
set xl(a) {
|
|
1048
|
+
let b = a != this.xl;
|
|
1049
1049
|
if (b) {
|
|
1050
|
-
let c = this.
|
|
1051
|
-
this.
|
|
1052
|
-
this.
|
|
1050
|
+
let c = this.xl;
|
|
1051
|
+
this.xk = a;
|
|
1052
|
+
this.q5("YAxis", c, a);
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
getZoomRectFromGeoRect(a) {
|
|
1056
1056
|
return this.getZoomFromGeographicRect(a);
|
|
1057
1057
|
}
|
|
1058
|
-
|
|
1059
|
-
this.
|
|
1058
|
+
y0(a) {
|
|
1059
|
+
this.xc = a;
|
|
1060
1060
|
}
|
|
1061
|
-
|
|
1062
|
-
this.
|
|
1061
|
+
yz(a) {
|
|
1062
|
+
this.zw = a;
|
|
1063
1063
|
}
|
|
1064
1064
|
getZoomFromGeographicRect(a) {
|
|
1065
|
-
return this.
|
|
1065
|
+
return this.zm(a, true, 0);
|
|
1066
1066
|
}
|
|
1067
|
-
|
|
1068
|
-
return this.
|
|
1067
|
+
zl(a, b) {
|
|
1068
|
+
return this.zm(a, false, b);
|
|
1069
1069
|
}
|
|
1070
|
-
|
|
1070
|
+
zm(a, b, c) {
|
|
1071
1071
|
let d = a;
|
|
1072
1072
|
if (b) {
|
|
1073
|
-
d = this.
|
|
1074
|
-
}
|
|
1075
|
-
let e = this.
|
|
1076
|
-
let f = this.
|
|
1077
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1078
|
-
g.c = this.
|
|
1079
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
1080
|
-
h.c = this.
|
|
1081
|
-
let i = this.
|
|
1082
|
-
let j = this.
|
|
1083
|
-
let k = this.
|
|
1084
|
-
let l = this.
|
|
1085
|
-
let m = (i - c) / this.
|
|
1086
|
-
let n = (l - c) / this.
|
|
1087
|
-
let o = (j - i + (c * 2)) / this.
|
|
1088
|
-
let p = (k - l + (c * 2)) / this.
|
|
1073
|
+
d = this.zu(a, false);
|
|
1074
|
+
}
|
|
1075
|
+
let e = this.xj;
|
|
1076
|
+
let f = this.xl;
|
|
1077
|
+
let g = new ScalerParams(1, XamGeographicMap.zj, this.xb, e.ch);
|
|
1078
|
+
g.c = this.wx;
|
|
1079
|
+
let h = new ScalerParams(1, XamGeographicMap.zj, this.xb, f.ch);
|
|
1080
|
+
h.c = this.wx;
|
|
1081
|
+
let i = this.xj.el(d.left, g);
|
|
1082
|
+
let j = this.xj.el(d.right, g);
|
|
1083
|
+
let k = this.xl.el(d.top, h);
|
|
1084
|
+
let l = this.xl.el(d.bottom, h);
|
|
1085
|
+
let m = (i - c) / this.xb.width;
|
|
1086
|
+
let n = (l - c) / this.xb.height;
|
|
1087
|
+
let o = (j - i + (c * 2)) / this.xb.width;
|
|
1088
|
+
let p = (k - l + (c * 2)) / this.xb.height;
|
|
1089
1089
|
let q = new Rect(0, m, n, o, p);
|
|
1090
|
-
q.intersect(XamGeographicMap.
|
|
1090
|
+
q.intersect(XamGeographicMap.zj);
|
|
1091
1091
|
if (q.isEmpty) {
|
|
1092
|
-
q = XamGeographicMap.
|
|
1092
|
+
q = XamGeographicMap.zj;
|
|
1093
1093
|
}
|
|
1094
1094
|
return q;
|
|
1095
1095
|
}
|
|
@@ -1099,21 +1099,21 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1099
1099
|
let e = b.x - a.x;
|
|
1100
1100
|
let f = a.y - b.y;
|
|
1101
1101
|
if (e < 0 || f < 0) {
|
|
1102
|
-
return XamGeographicMap.
|
|
1102
|
+
return XamGeographicMap.zj;
|
|
1103
1103
|
}
|
|
1104
1104
|
else {
|
|
1105
1105
|
let g = new Rect(0, c, d, e, f);
|
|
1106
1106
|
return this.getZoomFromGeographicRect(g);
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
|
-
|
|
1110
|
-
let b = this.
|
|
1111
|
-
let c = this.
|
|
1112
|
-
let d = new ScalerParams(1, a, this.
|
|
1113
|
-
d.c = this.
|
|
1114
|
-
let e = new ScalerParams(1, a, this.
|
|
1115
|
-
e.c = this.
|
|
1116
|
-
let f = this.
|
|
1109
|
+
zq(a) {
|
|
1110
|
+
let b = this.xj;
|
|
1111
|
+
let c = this.xl;
|
|
1112
|
+
let d = new ScalerParams(1, a, this.xb, b.ch);
|
|
1113
|
+
d.c = this.wx;
|
|
1114
|
+
let e = new ScalerParams(1, a, this.xb, c.ch);
|
|
1115
|
+
e.c = this.wx;
|
|
1116
|
+
let f = this.ww;
|
|
1117
1117
|
let g = b.eo(f.left, d);
|
|
1118
1118
|
let h = c.eo(f.top, e);
|
|
1119
1119
|
let i = b.eo(f.right, d);
|
|
@@ -1121,166 +1121,166 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1121
1121
|
let k = i - g;
|
|
1122
1122
|
let l = h - j;
|
|
1123
1123
|
let m = new Rect(0, g, j, k, l);
|
|
1124
|
-
if (this.
|
|
1125
|
-
m.intersect(XamGeographicMap.
|
|
1124
|
+
if (this.cs == 1) {
|
|
1125
|
+
m.intersect(XamGeographicMap.zg);
|
|
1126
1126
|
if (m.isEmpty) {
|
|
1127
|
-
m = XamGeographicMap.
|
|
1127
|
+
m = XamGeographicMap.zg;
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
return m;
|
|
1131
1131
|
}
|
|
1132
|
-
|
|
1133
|
-
let b = this.
|
|
1134
|
-
let c = this.
|
|
1132
|
+
zc(a) {
|
|
1133
|
+
let b = this.xj.mf(a.x);
|
|
1134
|
+
let c = this.xl.mf(a.y);
|
|
1135
1135
|
return { $type: Point_$type, x: b, y: c };
|
|
1136
1136
|
}
|
|
1137
|
-
|
|
1138
|
-
let b = this.
|
|
1139
|
-
let c = this.
|
|
1137
|
+
zd(a) {
|
|
1138
|
+
let b = this.xj.e6(a.x);
|
|
1139
|
+
let c = this.xl.e6(a.y);
|
|
1140
1140
|
return { $type: Point_$type, x: b, y: c };
|
|
1141
1141
|
}
|
|
1142
|
-
|
|
1143
|
-
return this.
|
|
1142
|
+
ze(a) {
|
|
1143
|
+
return this.zd(a);
|
|
1144
1144
|
}
|
|
1145
|
-
|
|
1145
|
+
yn() {
|
|
1146
1146
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1147
1147
|
if (a != null) {
|
|
1148
1148
|
a.clearTileCache();
|
|
1149
1149
|
}
|
|
1150
1150
|
}
|
|
1151
|
-
|
|
1151
|
+
yt(a) {
|
|
1152
1152
|
}
|
|
1153
|
-
|
|
1153
|
+
gk() {
|
|
1154
1154
|
return true;
|
|
1155
1155
|
}
|
|
1156
|
-
|
|
1157
|
-
this.
|
|
1156
|
+
yv() {
|
|
1157
|
+
this.xv.ee();
|
|
1158
1158
|
for (let a of fromEnum(this.series)) {
|
|
1159
1159
|
a.sg();
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
|
-
|
|
1163
|
-
if (this.
|
|
1164
|
-
if (!this.
|
|
1165
|
-
let a = this.
|
|
1166
|
-
let b = this.
|
|
1167
|
-
this.
|
|
1162
|
+
yy() {
|
|
1163
|
+
if (this.xu == 2) {
|
|
1164
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
1165
|
+
let a = this.xj.mf(this.xb.left + (this.xb.width / 2));
|
|
1166
|
+
let b = this.xl.mf(this.xb.top + (this.xb.height / 2));
|
|
1167
|
+
this.zb = { $type: Point_$type, x: a, y: b };
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
1170
|
else {
|
|
1171
|
-
if (!this.
|
|
1172
|
-
let c = this.
|
|
1173
|
-
let d = this.
|
|
1174
|
-
this.
|
|
1171
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
1172
|
+
let c = this.xj.mf(this.xb.left);
|
|
1173
|
+
let d = this.xl.mf(this.xb.top);
|
|
1174
|
+
this.zb = { $type: Point_$type, x: c, y: d };
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
|
|
1179
|
-
if (isNaN_(this.
|
|
1180
|
-
this.
|
|
1178
|
+
yu() {
|
|
1179
|
+
if (isNaN_(this.zb.x) || isNaN_(this.zb.y)) {
|
|
1180
|
+
this.yy();
|
|
1181
1181
|
}
|
|
1182
|
-
let a = this.
|
|
1183
|
-
let b = this.
|
|
1182
|
+
let a = this.zb.x;
|
|
1183
|
+
let b = this.zb.y;
|
|
1184
1184
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1185
|
-
let c = this.
|
|
1186
|
-
let d = this.
|
|
1187
|
-
let e = this.
|
|
1188
|
-
let f = this.
|
|
1189
|
-
if (e > this.
|
|
1185
|
+
let c = this.wt.left;
|
|
1186
|
+
let d = this.wt.top;
|
|
1187
|
+
let e = this.wt.width;
|
|
1188
|
+
let f = this.wt.height;
|
|
1189
|
+
if (e > this.zi.width) {
|
|
1190
1190
|
}
|
|
1191
1191
|
else {
|
|
1192
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
1193
|
-
g.c = this.
|
|
1194
|
-
let h = this.
|
|
1195
|
-
if (this.
|
|
1196
|
-
let i = h / this.
|
|
1192
|
+
let g = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
1193
|
+
g.c = this.wx;
|
|
1194
|
+
let h = this.xj.el(a, g);
|
|
1195
|
+
if (this.xu == 2) {
|
|
1196
|
+
let i = h / this.xb.width;
|
|
1197
1197
|
c = i - (e / 2);
|
|
1198
1198
|
}
|
|
1199
1199
|
else {
|
|
1200
|
-
c = h / this.
|
|
1200
|
+
c = h / this.xb.width;
|
|
1201
1201
|
}
|
|
1202
|
-
if (c + e > this.
|
|
1203
|
-
c = this.
|
|
1202
|
+
if (c + e > this.zi.right) {
|
|
1203
|
+
c = this.zi.right - e;
|
|
1204
1204
|
}
|
|
1205
|
-
else if (c < this.
|
|
1206
|
-
c = this.
|
|
1205
|
+
else if (c < this.zi.left) {
|
|
1206
|
+
c = this.zi.left;
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
|
-
if (f > this.
|
|
1209
|
+
if (f > this.zi.height) {
|
|
1210
1210
|
}
|
|
1211
1211
|
else {
|
|
1212
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
1213
|
-
j.c = this.
|
|
1214
|
-
let k = this.
|
|
1215
|
-
if (this.
|
|
1216
|
-
let l = k / this.
|
|
1212
|
+
let j = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
1213
|
+
j.c = this.wx;
|
|
1214
|
+
let k = this.xl.el(b, j);
|
|
1215
|
+
if (this.xu == 2) {
|
|
1216
|
+
let l = k / this.xb.height;
|
|
1217
1217
|
d = l - (f / 2);
|
|
1218
1218
|
}
|
|
1219
1219
|
else {
|
|
1220
|
-
d = k / this.
|
|
1220
|
+
d = k / this.xb.height;
|
|
1221
1221
|
}
|
|
1222
|
-
if (d + f > this.
|
|
1223
|
-
d = this.
|
|
1222
|
+
if (d + f > this.zi.bottom) {
|
|
1223
|
+
d = this.zi.bottom - f;
|
|
1224
1224
|
}
|
|
1225
|
-
else if (d < this.
|
|
1226
|
-
d = this.
|
|
1225
|
+
else if (d < this.zi.top) {
|
|
1226
|
+
d = this.zi.top;
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
|
-
this.
|
|
1229
|
+
this.sh(new Rect(0, c, d, e, f), false);
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
|
|
1232
|
+
get_fh() {
|
|
1233
1233
|
return true;
|
|
1234
1234
|
}
|
|
1235
|
-
|
|
1236
|
-
let a = super.
|
|
1237
|
-
if (this.
|
|
1235
|
+
wu() {
|
|
1236
|
+
let a = super.wu();
|
|
1237
|
+
if (this.xj == null || this.xl == null) {
|
|
1238
1238
|
return a;
|
|
1239
1239
|
}
|
|
1240
|
-
this.
|
|
1240
|
+
this.w5();
|
|
1241
1241
|
let b = a.left;
|
|
1242
1242
|
let c = a.top;
|
|
1243
|
-
if (this.
|
|
1244
|
-
if (this.
|
|
1245
|
-
b = 0.5 - (this.
|
|
1243
|
+
if (this.cs == 1) {
|
|
1244
|
+
if (this.xc.width > this.zi.width) {
|
|
1245
|
+
b = 0.5 - (this.xc.width / 2);
|
|
1246
1246
|
}
|
|
1247
|
-
else if (b + a.width > this.
|
|
1248
|
-
b = this.
|
|
1247
|
+
else if (b + a.width > this.zi.right) {
|
|
1248
|
+
b = this.zi.right - this.xc.width;
|
|
1249
1249
|
}
|
|
1250
|
-
else if (b < this.
|
|
1251
|
-
b = this.
|
|
1250
|
+
else if (b < this.zi.left) {
|
|
1251
|
+
b = this.zi.left;
|
|
1252
1252
|
}
|
|
1253
|
-
if (this.
|
|
1254
|
-
c = 0.5 - (this.
|
|
1253
|
+
if (this.xc.height > this.zi.height) {
|
|
1254
|
+
c = 0.5 - (this.xc.height / 2);
|
|
1255
1255
|
}
|
|
1256
|
-
else if (c + this.
|
|
1257
|
-
c = this.
|
|
1256
|
+
else if (c + this.xc.height > this.zi.bottom) {
|
|
1257
|
+
c = this.zi.bottom - this.xc.height;
|
|
1258
1258
|
}
|
|
1259
|
-
else if (c < this.
|
|
1260
|
-
c = this.
|
|
1259
|
+
else if (c < this.zi.top) {
|
|
1260
|
+
c = this.zi.top;
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
1263
|
let d = false;
|
|
1264
|
-
if (!this.
|
|
1264
|
+
if (!this.x0 && this.cs == 2 && this.xx) {
|
|
1265
1265
|
if (b > 1) {
|
|
1266
1266
|
b = (b - Math.floor(b)) + 1;
|
|
1267
1267
|
}
|
|
1268
1268
|
if (b < 0) {
|
|
1269
1269
|
b = 0 - (Math.ceil(b) - b);
|
|
1270
1270
|
}
|
|
1271
|
-
if ((a.right - this.
|
|
1272
|
-
b = this.
|
|
1271
|
+
if ((a.right - this.zi.right) > 0 && ((a.right - this.zi.right) / a.width) > 0.8) {
|
|
1272
|
+
b = this.zi.left - (a.width - (a.right - this.zi.right));
|
|
1273
1273
|
d = true;
|
|
1274
1274
|
}
|
|
1275
|
-
else if (a.left < this.
|
|
1276
|
-
b = this.
|
|
1275
|
+
else if (a.left < this.zi.left && (Math.abs(a.left - this.zi.left) / a.width) > 0.8) {
|
|
1276
|
+
b = this.zi.right - (Math.abs(a.left - this.zi.left));
|
|
1277
1277
|
d = true;
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
1280
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
1281
|
-
if (this.
|
|
1282
|
-
let f = this.
|
|
1283
|
-
f = this.
|
|
1281
|
+
if (this.x0) {
|
|
1282
|
+
let f = this.zl(this.zw, 1);
|
|
1283
|
+
f = this.zn(f);
|
|
1284
1284
|
let g = e.left + e.width / 2;
|
|
1285
1285
|
let h = e.top + e.height / 2;
|
|
1286
1286
|
if (e.width > f.width) {
|
|
@@ -1315,17 +1315,17 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
}
|
|
1317
1317
|
if (d) {
|
|
1318
|
-
this.
|
|
1319
|
-
this.
|
|
1320
|
-
this.
|
|
1318
|
+
this.e3 = true;
|
|
1319
|
+
this.xc = e;
|
|
1320
|
+
this.e3 = false;
|
|
1321
1321
|
}
|
|
1322
1322
|
return e;
|
|
1323
1323
|
}
|
|
1324
|
-
|
|
1324
|
+
nm(a, b) {
|
|
1325
1325
|
let c = true;
|
|
1326
1326
|
let d = true;
|
|
1327
1327
|
let e = 0;
|
|
1328
|
-
let f = this.
|
|
1328
|
+
let f = this.w5();
|
|
1329
1329
|
let g = 0;
|
|
1330
1330
|
let h = 0;
|
|
1331
1331
|
if ((a.right - f.right) > 0) {
|
|
@@ -1342,39 +1342,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1342
1342
|
}
|
|
1343
1343
|
if (c) {
|
|
1344
1344
|
if (d) {
|
|
1345
|
-
let i = this.
|
|
1346
|
-
let j = this.
|
|
1345
|
+
let i = this.xi.el(-180, b);
|
|
1346
|
+
let j = this.xi.el(180, b);
|
|
1347
1347
|
e = j - i;
|
|
1348
1348
|
}
|
|
1349
1349
|
else {
|
|
1350
|
-
let k = this.
|
|
1351
|
-
let l = this.
|
|
1350
|
+
let k = this.xi.el(-180, b);
|
|
1351
|
+
let l = this.xi.el(180, b);
|
|
1352
1352
|
e = k - l;
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1356
1356
|
}
|
|
1357
|
-
|
|
1358
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
1359
|
-
a.c = this.
|
|
1360
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
1361
|
-
b.c = this.
|
|
1362
|
-
let c = this.
|
|
1363
|
-
let d = this.
|
|
1364
|
-
let e = this.
|
|
1365
|
-
let f = this.
|
|
1366
|
-
this.
|
|
1367
|
-
return this.
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
let b = this.
|
|
1357
|
+
w5() {
|
|
1358
|
+
let a = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
1359
|
+
a.c = this.wx;
|
|
1360
|
+
let b = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
1361
|
+
b.c = this.wx;
|
|
1362
|
+
let c = this.xj.el(XamGeographicMap.zg.left, a);
|
|
1363
|
+
let d = this.xj.el(XamGeographicMap.zg.right, a);
|
|
1364
|
+
let e = this.xl.el(XamGeographicMap.zg.top, b);
|
|
1365
|
+
let f = this.xl.el(XamGeographicMap.zg.bottom, b);
|
|
1366
|
+
this.zi = new Rect(0, c / this.xb.width, f / this.xb.height, (d - c) / this.xb.width, (e - f) / this.xb.height);
|
|
1367
|
+
return this.zi;
|
|
1368
|
+
}
|
|
1369
|
+
zn(a) {
|
|
1370
|
+
let b = this.ht;
|
|
1371
1371
|
let c = 0.5 * (a.left + a.right);
|
|
1372
1372
|
let d = 0.5 * (a.top + a.bottom);
|
|
1373
1373
|
let e = a.width;
|
|
1374
1374
|
let f = a.height;
|
|
1375
1375
|
let g = MathUtil.d(a.width, b, 1);
|
|
1376
1376
|
let h = MathUtil.d(a.height, b, 1);
|
|
1377
|
-
let i = this.
|
|
1377
|
+
let i = this.xb;
|
|
1378
1378
|
let j = i.width / i.height;
|
|
1379
1379
|
let k = g * i.width;
|
|
1380
1380
|
let l = h * i.height;
|
|
@@ -1413,8 +1413,8 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1413
1413
|
}
|
|
1414
1414
|
return new Rect(0, p, q, r - p, s - q);
|
|
1415
1415
|
}
|
|
1416
|
-
|
|
1417
|
-
super.
|
|
1416
|
+
wv(a) {
|
|
1417
|
+
super.wv(this.xb);
|
|
1418
1418
|
if (a.isEmpty) {
|
|
1419
1419
|
return Rect.empty;
|
|
1420
1420
|
}
|
|
@@ -1429,126 +1429,126 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
return b;
|
|
1431
1431
|
}
|
|
1432
|
-
|
|
1433
|
-
return this.
|
|
1432
|
+
zp(a) {
|
|
1433
|
+
return this.wv(a);
|
|
1434
1434
|
}
|
|
1435
|
-
|
|
1435
|
+
db() {
|
|
1436
1436
|
return new XamGeographicMapView(this);
|
|
1437
1437
|
}
|
|
1438
|
-
|
|
1438
|
+
yp(a) {
|
|
1439
1439
|
if (a != null) {
|
|
1440
1440
|
a.bi = this;
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
|
-
|
|
1444
|
-
super.
|
|
1445
|
-
this.
|
|
1443
|
+
qo(a) {
|
|
1444
|
+
super.qo(a);
|
|
1445
|
+
this.xv = a;
|
|
1446
1446
|
}
|
|
1447
|
-
|
|
1448
|
-
super.
|
|
1449
|
-
this.
|
|
1450
|
-
this.
|
|
1447
|
+
qz(a, b) {
|
|
1448
|
+
super.qz(a, b);
|
|
1449
|
+
this.r5(this.xj);
|
|
1450
|
+
this.r5(this.xl);
|
|
1451
1451
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1452
|
-
this.
|
|
1452
|
+
this.yu();
|
|
1453
1453
|
}
|
|
1454
|
-
if (this.
|
|
1455
|
-
this.
|
|
1454
|
+
if (this.x0) {
|
|
1455
|
+
this.wt = this.wu();
|
|
1456
1456
|
}
|
|
1457
|
-
this.
|
|
1457
|
+
this.y1();
|
|
1458
1458
|
}
|
|
1459
|
-
get
|
|
1460
|
-
return this.
|
|
1459
|
+
get x5() {
|
|
1460
|
+
return this.x3;
|
|
1461
1461
|
}
|
|
1462
|
-
set
|
|
1463
|
-
let b = this.
|
|
1464
|
-
this.
|
|
1465
|
-
this.
|
|
1462
|
+
set x5(a) {
|
|
1463
|
+
let b = this.x3;
|
|
1464
|
+
this.x3 = a;
|
|
1465
|
+
this.q5("ActualWindowScale", b, this.x3);
|
|
1466
1466
|
}
|
|
1467
|
-
|
|
1468
|
-
return this.
|
|
1467
|
+
hz() {
|
|
1468
|
+
return this.x5;
|
|
1469
1469
|
}
|
|
1470
|
-
|
|
1471
|
-
return this.
|
|
1470
|
+
h0() {
|
|
1471
|
+
return this.x5;
|
|
1472
1472
|
}
|
|
1473
|
-
|
|
1474
|
-
super.
|
|
1475
|
-
let a = Math.min(this.
|
|
1476
|
-
this.
|
|
1473
|
+
r4() {
|
|
1474
|
+
super.r4();
|
|
1475
|
+
let a = Math.min(this.wt.width, this.wt.height);
|
|
1476
|
+
this.x5 = a;
|
|
1477
1477
|
}
|
|
1478
|
-
|
|
1479
|
-
return this.
|
|
1478
|
+
f8() {
|
|
1479
|
+
return this.xx;
|
|
1480
1480
|
}
|
|
1481
|
-
|
|
1482
|
-
if (this.
|
|
1483
|
-
if (this.
|
|
1481
|
+
ct() {
|
|
1482
|
+
if (this.cu == 0) {
|
|
1483
|
+
if (this.xy) {
|
|
1484
1484
|
return 2;
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
|
-
return this.
|
|
1487
|
+
return this.cu;
|
|
1488
1488
|
}
|
|
1489
|
-
|
|
1490
|
-
super.
|
|
1489
|
+
q0(a, b, c, d) {
|
|
1490
|
+
super.q0(a, b, c, d);
|
|
1491
1491
|
switch (b) {
|
|
1492
1492
|
case "ZoomCoercionMode":
|
|
1493
|
-
this.
|
|
1493
|
+
this.yq();
|
|
1494
1494
|
break;
|
|
1495
1495
|
case "WindowRect":
|
|
1496
|
-
this.
|
|
1496
|
+
this.yy();
|
|
1497
1497
|
break;
|
|
1498
1498
|
case XamGeographicMap.$$p[0]:
|
|
1499
|
-
this.
|
|
1500
|
-
if (this.
|
|
1501
|
-
this.
|
|
1499
|
+
this.xr = this.xs();
|
|
1500
|
+
if (this.xo != null) {
|
|
1501
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1502
1502
|
}
|
|
1503
1503
|
break;
|
|
1504
1504
|
case XamGeographicMap.$$p[1]:
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
if (this.
|
|
1509
|
-
this.
|
|
1505
|
+
this.xx = this.xy;
|
|
1506
|
+
this.xr = this.xs();
|
|
1507
|
+
this.cs = this.ct();
|
|
1508
|
+
if (this.xo != null) {
|
|
1509
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1510
1510
|
}
|
|
1511
1511
|
break;
|
|
1512
1512
|
case XamGeographicMap.$$p[4]:
|
|
1513
|
-
this.
|
|
1513
|
+
this.wt = this.wu();
|
|
1514
1514
|
break;
|
|
1515
1515
|
case "BackgroundContent":
|
|
1516
|
-
if (this.
|
|
1517
|
-
let e = this.
|
|
1518
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1519
|
-
this.
|
|
1516
|
+
if (this.xo != null) {
|
|
1517
|
+
let e = this.xo;
|
|
1518
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.yr));
|
|
1519
|
+
this.xo.deferralHandler = null;
|
|
1520
1520
|
}
|
|
1521
|
-
this.
|
|
1522
|
-
if (this.
|
|
1523
|
-
let f = this.
|
|
1524
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1525
|
-
this.
|
|
1526
|
-
this.
|
|
1521
|
+
this.xo = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1522
|
+
if (this.xo != null) {
|
|
1523
|
+
let f = this.xo;
|
|
1524
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.yr));
|
|
1525
|
+
this.xo.deferralHandler = this;
|
|
1526
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1527
1527
|
}
|
|
1528
|
-
this.
|
|
1529
|
-
if (this.
|
|
1530
|
-
this.
|
|
1531
|
-
this.
|
|
1532
|
-
this.
|
|
1528
|
+
this.xv.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1529
|
+
if (this.xo != null) {
|
|
1530
|
+
this.xo.geographicMap = this;
|
|
1531
|
+
this.xv.fr(this.wt);
|
|
1532
|
+
this.xv.fv(this.hp);
|
|
1533
1533
|
}
|
|
1534
1534
|
break;
|
|
1535
1535
|
case "YAxis":
|
|
1536
1536
|
case "XAxis":
|
|
1537
|
-
this.
|
|
1538
|
-
this.
|
|
1537
|
+
this.yw(c);
|
|
1538
|
+
this.yp(d);
|
|
1539
1539
|
break;
|
|
1540
1540
|
case XamGeographicMap.$$p[6]:
|
|
1541
|
-
if (!this.
|
|
1542
|
-
this.
|
|
1541
|
+
if (!this.xz) {
|
|
1542
|
+
this.xc = XamGeographicMap.zj;
|
|
1543
1543
|
}
|
|
1544
|
-
this.
|
|
1545
|
-
this.
|
|
1546
|
-
this.
|
|
1547
|
-
this.
|
|
1548
|
-
this.
|
|
1544
|
+
this.yq();
|
|
1545
|
+
this.yx();
|
|
1546
|
+
this.yy();
|
|
1547
|
+
this.wt = this.wu();
|
|
1548
|
+
this.xv.fs();
|
|
1549
1549
|
break;
|
|
1550
1550
|
case "ActualWindowRect":
|
|
1551
|
-
this.
|
|
1551
|
+
this.xv.fr(this.wt);
|
|
1552
1552
|
break;
|
|
1553
1553
|
case "ActualWorldRect":
|
|
1554
1554
|
for (let g of fromEnum(this.series)) {
|
|
@@ -1556,30 +1556,30 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1556
1556
|
}
|
|
1557
1557
|
break;
|
|
1558
1558
|
case XamGeographicMap.$$p[5]:
|
|
1559
|
-
this.
|
|
1559
|
+
this.x5 = this.x6;
|
|
1560
1560
|
break;
|
|
1561
1561
|
case "ActualWindowScale":
|
|
1562
|
-
if (!this.
|
|
1563
|
-
this.
|
|
1562
|
+
if (!this.gg) {
|
|
1563
|
+
this.sf(this.hz(), this.h0());
|
|
1564
1564
|
}
|
|
1565
1565
|
break;
|
|
1566
1566
|
case "ActualPixelScalingRatio":
|
|
1567
|
-
this.
|
|
1567
|
+
this.xv.fv(this.hp);
|
|
1568
1568
|
break;
|
|
1569
1569
|
case "WindowRectMinWidth":
|
|
1570
1570
|
case "WindowRectMinHeight":
|
|
1571
1571
|
let h = d;
|
|
1572
1572
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1573
|
-
this.
|
|
1574
|
-
this.
|
|
1573
|
+
this.ht = 5E-06;
|
|
1574
|
+
this.hs = 5E-06;
|
|
1575
1575
|
}
|
|
1576
1576
|
else {
|
|
1577
|
-
this.
|
|
1578
|
-
this.
|
|
1577
|
+
this.ht = h;
|
|
1578
|
+
this.hs = h;
|
|
1579
1579
|
}
|
|
1580
1580
|
break;
|
|
1581
1581
|
case XamGeographicMap.$$p[7]:
|
|
1582
|
-
this.
|
|
1582
|
+
this.sb();
|
|
1583
1583
|
break;
|
|
1584
1584
|
case "MarkerAutomaticBehavior":
|
|
1585
1585
|
for (let i of fromEnum(this.series)) {
|
|
@@ -1588,39 +1588,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1588
1588
|
break;
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
|
-
|
|
1591
|
+
yr(a, b) {
|
|
1592
1592
|
if (this.imageTilesReady != null) {
|
|
1593
1593
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
1596
|
-
|
|
1596
|
+
yw(a) {
|
|
1597
1597
|
if (a != null) {
|
|
1598
1598
|
a.bi = null;
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
|
-
|
|
1602
|
-
if (this.
|
|
1603
|
-
this.
|
|
1604
|
-
this.
|
|
1601
|
+
yx() {
|
|
1602
|
+
if (this.xj != null) {
|
|
1603
|
+
this.xj.mc = this.zk.left;
|
|
1604
|
+
this.xj.mb = this.zk.right;
|
|
1605
1605
|
}
|
|
1606
|
-
if (this.
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1606
|
+
if (this.xl != null) {
|
|
1607
|
+
this.xl.mc = this.zk.top;
|
|
1608
|
+
this.xl.mb = this.zk.bottom;
|
|
1609
1609
|
}
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1610
|
+
this.xj.c2(true);
|
|
1611
|
+
this.xl.c2(true);
|
|
1612
1612
|
}
|
|
1613
1613
|
getFontInfo() {
|
|
1614
|
-
this.
|
|
1615
|
-
return this.
|
|
1614
|
+
this.xw = this.xv.fo;
|
|
1615
|
+
return this.xw;
|
|
1616
1616
|
}
|
|
1617
|
-
|
|
1618
|
-
return this.
|
|
1617
|
+
vx() {
|
|
1618
|
+
return this.xv.fw;
|
|
1619
1619
|
}
|
|
1620
1620
|
getFontBrush() {
|
|
1621
|
-
return this.
|
|
1621
|
+
return this.xv.fx;
|
|
1622
1622
|
}
|
|
1623
|
-
|
|
1623
|
+
rx(a, b) {
|
|
1624
1624
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1625
1625
|
let c = b;
|
|
1626
1626
|
let d = a;
|
|
@@ -1628,33 +1628,33 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1628
1628
|
d.xe = c.triangulationSource.triangles;
|
|
1629
1629
|
}
|
|
1630
1630
|
else {
|
|
1631
|
-
super.
|
|
1631
|
+
super.rx(a, b);
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
register(a, b) {
|
|
1635
|
-
this.
|
|
1635
|
+
this.rk(a, b);
|
|
1636
1636
|
}
|
|
1637
1637
|
unRegister(a) {
|
|
1638
|
-
this.
|
|
1638
|
+
this.r3(a);
|
|
1639
1639
|
}
|
|
1640
1640
|
deferredRefresh() {
|
|
1641
|
-
this.
|
|
1641
|
+
this.n0();
|
|
1642
1642
|
}
|
|
1643
1643
|
deferAction(a) {
|
|
1644
|
-
if (this.
|
|
1645
|
-
this.
|
|
1644
|
+
if (this.x8 != null) {
|
|
1645
|
+
this.x8.setTimeout(a, 0);
|
|
1646
1646
|
}
|
|
1647
1647
|
else {
|
|
1648
1648
|
window.setTimeout(a, 0);
|
|
1649
1649
|
}
|
|
1650
1650
|
}
|
|
1651
|
-
|
|
1652
|
-
this.
|
|
1651
|
+
yo(a) {
|
|
1652
|
+
this.sa(a);
|
|
1653
1653
|
}
|
|
1654
|
-
|
|
1654
|
+
x9() {
|
|
1655
1655
|
let a = new ChartVisualData();
|
|
1656
|
-
let b = this.
|
|
1657
|
-
let c = this.
|
|
1656
|
+
let b = this.xj.fy();
|
|
1657
|
+
let c = this.xl.fy();
|
|
1658
1658
|
a.axes.add1(b);
|
|
1659
1659
|
a.axes.add1(c);
|
|
1660
1660
|
for (let d = 0; d < this.series.count; d++) {
|
|
@@ -1662,42 +1662,42 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
1662
1662
|
a.series.add1(e);
|
|
1663
1663
|
}
|
|
1664
1664
|
a.name = this.name;
|
|
1665
|
-
a.contentArea = RectData.b(this.
|
|
1666
|
-
a.centralArea = RectData.b(this.
|
|
1667
|
-
a.plotArea = RectData.b(this.
|
|
1665
|
+
a.contentArea = RectData.b(this.xb);
|
|
1666
|
+
a.centralArea = RectData.b(this.xb);
|
|
1667
|
+
a.plotArea = RectData.b(this.xb);
|
|
1668
1668
|
return a;
|
|
1669
1669
|
}
|
|
1670
|
-
|
|
1670
|
+
w1(a, b, c) {
|
|
1671
1671
|
return a;
|
|
1672
1672
|
}
|
|
1673
|
-
|
|
1673
|
+
ys() {
|
|
1674
1674
|
}
|
|
1675
|
-
get
|
|
1676
|
-
return this.
|
|
1675
|
+
get zv() {
|
|
1676
|
+
return this.zh;
|
|
1677
1677
|
}
|
|
1678
|
-
set
|
|
1679
|
-
this.
|
|
1678
|
+
set zv(a) {
|
|
1679
|
+
this.zh = a;
|
|
1680
1680
|
}
|
|
1681
|
-
|
|
1682
|
-
this.
|
|
1683
|
-
this.
|
|
1681
|
+
y2(a) {
|
|
1682
|
+
this.zv = a;
|
|
1683
|
+
this.y1();
|
|
1684
1684
|
}
|
|
1685
|
-
|
|
1686
|
-
if (this.
|
|
1687
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
1688
|
-
this.
|
|
1689
|
-
this.
|
|
1685
|
+
y1() {
|
|
1686
|
+
if (this.x2 && !this.zv.isEmpty) {
|
|
1687
|
+
let a = this.getZoomFromGeographicRect(this.zv);
|
|
1688
|
+
this.zv = Rect.empty;
|
|
1689
|
+
this.sh(a, false);
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
get
|
|
1693
|
-
return !this.
|
|
1692
|
+
get x2() {
|
|
1693
|
+
return !this.xb.isEmpty && !this.wx.isEmpty;
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1697
|
-
XamGeographicMap.
|
|
1698
|
-
XamGeographicMap.
|
|
1699
|
-
XamGeographicMap.
|
|
1700
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1697
|
+
XamGeographicMap.xt = 0;
|
|
1698
|
+
XamGeographicMap.zg = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1699
|
+
XamGeographicMap.zj = new Rect(0, 0, 0, 1, 1);
|
|
1700
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'q5', ['BackgroundTilingMode:xq:y3', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:xy:y4', [0, false], 'ResizeBehavior:xu:y5', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.xt)], 'SuppressZoomResetOnWorldRectChange:xz:y6', [0, false], 'UseWorldRectForZoomBounds:x0:y7', [0, false], 'WindowScale:x6:y8', [1, NaN], 'WorldRect:zw:y9', [Rect.$, XamGeographicMap.zg], 'Zoomable:x1:za', [0, true]]);
|
|
1701
1701
|
return XamGeographicMap;
|
|
1702
1702
|
})();
|
|
1703
1703
|
/**
|
|
@@ -1827,14 +1827,14 @@ let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
1827
1827
|
return a;
|
|
1828
1828
|
}
|
|
1829
1829
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
1830
|
-
let c = this.geographicMap.
|
|
1831
|
-
let d = XamGeographicMap.
|
|
1832
|
-
let e = this.geographicMap.
|
|
1830
|
+
let c = this.geographicMap.zp(b);
|
|
1831
|
+
let d = XamGeographicMap.zg;
|
|
1832
|
+
let e = this.geographicMap.zk;
|
|
1833
1833
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1834
1834
|
let g = e.width / d.width;
|
|
1835
1835
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1836
|
-
let h = this.geographicMap.
|
|
1837
|
-
let i = this.geographicMap.
|
|
1836
|
+
let h = this.geographicMap.xj;
|
|
1837
|
+
let i = this.geographicMap.xl;
|
|
1838
1838
|
let j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1839
1839
|
j.c = c;
|
|
1840
1840
|
let k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -1949,8 +1949,8 @@ let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1949
1949
|
a.w4 = null;
|
|
1950
1950
|
return;
|
|
1951
1951
|
}
|
|
1952
|
-
a.w3 = this.cu.dc.
|
|
1953
|
-
a.w4 = this.cu.dc.
|
|
1952
|
+
a.w3 = this.cu.dc.xj;
|
|
1953
|
+
a.w4 = this.cu.dc.xl;
|
|
1954
1954
|
}
|
|
1955
1955
|
cw() {
|
|
1956
1956
|
this.cu.w5.x5 = this.cu.xh;
|
|
@@ -2025,15 +2025,15 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2025
2025
|
this.fp = NaN;
|
|
2026
2026
|
this.fz = Rect.empty;
|
|
2027
2027
|
this.fn = a;
|
|
2028
|
-
this.fn.
|
|
2029
|
-
this.fn.
|
|
2028
|
+
this.fn.vq = 2;
|
|
2029
|
+
this.fn.i2 = 5E-06;
|
|
2030
2030
|
}
|
|
2031
2031
|
m(a) {
|
|
2032
2032
|
return 2;
|
|
2033
2033
|
}
|
|
2034
2034
|
bk(a) {
|
|
2035
2035
|
this.j.bw(a);
|
|
2036
|
-
this.fn.
|
|
2036
|
+
this.fn.yo(a);
|
|
2037
2037
|
this.el();
|
|
2038
2038
|
}
|
|
2039
2039
|
get_ap() {
|
|
@@ -2096,13 +2096,13 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2096
2096
|
}
|
|
2097
2097
|
}
|
|
2098
2098
|
fr(a) {
|
|
2099
|
-
if (this.fn.
|
|
2100
|
-
this.fn.
|
|
2099
|
+
if (this.fn.xo != null) {
|
|
2100
|
+
this.fn.xo.windowRect = a;
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
2103
|
fu(a, b) {
|
|
2104
|
-
if (this.fn.
|
|
2105
|
-
this.fn.
|
|
2104
|
+
if (this.fn.xo != null) {
|
|
2105
|
+
this.fn.xo.windowRect = this.fn.wt;
|
|
2106
2106
|
}
|
|
2107
2107
|
if (a != null) {
|
|
2108
2108
|
let c = a.ao;
|
|
@@ -2129,7 +2129,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
}
|
|
2131
2131
|
ft(a) {
|
|
2132
|
-
let b = this.fn.
|
|
2132
|
+
let b = this.fn.hp;
|
|
2133
2133
|
if (b != 1) {
|
|
2134
2134
|
a.aa();
|
|
2135
2135
|
a.ab(b, b);
|
|
@@ -2609,80 +2609,80 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2609
2609
|
* Gets or sets zoomability of the current control
|
|
2610
2610
|
*/
|
|
2611
2611
|
get zoomable() {
|
|
2612
|
-
return this.i.
|
|
2612
|
+
return this.i.x1;
|
|
2613
2613
|
}
|
|
2614
2614
|
set zoomable(v) {
|
|
2615
|
-
this.i.
|
|
2615
|
+
this.i.x1 = ensureBool(v);
|
|
2616
2616
|
}
|
|
2617
2617
|
/**
|
|
2618
2618
|
* Gets or sets the behavior to use during resize.
|
|
2619
2619
|
*/
|
|
2620
2620
|
get resizeBehavior() {
|
|
2621
|
-
return this.i.
|
|
2621
|
+
return this.i.xu;
|
|
2622
2622
|
}
|
|
2623
2623
|
set resizeBehavior(v) {
|
|
2624
|
-
this.i.
|
|
2624
|
+
this.i.xu = ensureEnum(MapResizeBehavior_$type, v);
|
|
2625
2625
|
}
|
|
2626
2626
|
/**
|
|
2627
2627
|
* Gets or sets if the map should horizontally wrap.
|
|
2628
2628
|
*/
|
|
2629
2629
|
get isHorizontalWrappingEnabled() {
|
|
2630
|
-
return this.i.
|
|
2630
|
+
return this.i.xy;
|
|
2631
2631
|
}
|
|
2632
2632
|
set isHorizontalWrappingEnabled(v) {
|
|
2633
|
-
this.i.
|
|
2633
|
+
this.i.xy = ensureBool(v);
|
|
2634
2634
|
}
|
|
2635
2635
|
/**
|
|
2636
2636
|
* Gets or sets if the map should horizontally wrap.
|
|
2637
2637
|
*/
|
|
2638
2638
|
get backgroundTilingMode() {
|
|
2639
|
-
return this.i.
|
|
2639
|
+
return this.i.xq;
|
|
2640
2640
|
}
|
|
2641
2641
|
set backgroundTilingMode(v) {
|
|
2642
|
-
this.i.
|
|
2642
|
+
this.i.xq = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2643
2643
|
}
|
|
2644
2644
|
/**
|
|
2645
2645
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2646
2646
|
*/
|
|
2647
2647
|
get useWorldRectForZoomBounds() {
|
|
2648
|
-
return this.i.
|
|
2648
|
+
return this.i.x0;
|
|
2649
2649
|
}
|
|
2650
2650
|
set useWorldRectForZoomBounds(v) {
|
|
2651
|
-
this.i.
|
|
2651
|
+
this.i.x0 = ensureBool(v);
|
|
2652
2652
|
}
|
|
2653
2653
|
/**
|
|
2654
2654
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2655
2655
|
*/
|
|
2656
2656
|
get suppressZoomResetOnWorldRectChange() {
|
|
2657
|
-
return this.i.
|
|
2657
|
+
return this.i.xz;
|
|
2658
2658
|
}
|
|
2659
2659
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
2660
|
-
this.i.
|
|
2660
|
+
this.i.xz = ensureBool(v);
|
|
2661
2661
|
}
|
|
2662
2662
|
/**
|
|
2663
2663
|
* Gets or sets the world bounding rectangle.
|
|
2664
2664
|
*/
|
|
2665
2665
|
get worldRect() {
|
|
2666
|
-
return fromRect(this.i.
|
|
2666
|
+
return fromRect(this.i.zw);
|
|
2667
2667
|
}
|
|
2668
2668
|
set worldRect(v) {
|
|
2669
|
-
this.i.
|
|
2669
|
+
this.i.zw = toRect(v);
|
|
2670
2670
|
}
|
|
2671
2671
|
/**
|
|
2672
2672
|
* Gets the actual value of the WorldRect.
|
|
2673
2673
|
*/
|
|
2674
2674
|
get actualWorldRect() {
|
|
2675
|
-
return fromRect(this.i.
|
|
2675
|
+
return fromRect(this.i.zk);
|
|
2676
2676
|
}
|
|
2677
2677
|
set actualWorldRect(v) {
|
|
2678
|
-
this.i.
|
|
2678
|
+
this.i.zk = toRect(v);
|
|
2679
2679
|
}
|
|
2680
2680
|
/**
|
|
2681
2681
|
* The X-axis for this IgxGeographicMap.Component
|
|
2682
2682
|
* 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.
|
|
2683
2683
|
*/
|
|
2684
2684
|
get xAxis() {
|
|
2685
|
-
const r = this.i.
|
|
2685
|
+
const r = this.i.xj;
|
|
2686
2686
|
if (r == null) {
|
|
2687
2687
|
return null;
|
|
2688
2688
|
}
|
|
@@ -2698,14 +2698,14 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2698
2698
|
set xAxis(v) {
|
|
2699
2699
|
if (v != null && this._stylingContainer && v._styling)
|
|
2700
2700
|
v._styling(this._stylingContainer, this, this);
|
|
2701
|
-
v == null ? this.i.
|
|
2701
|
+
v == null ? this.i.xj = null : this.i.xj = v.i;
|
|
2702
2702
|
}
|
|
2703
2703
|
/**
|
|
2704
2704
|
* The Y-axis for this IgxGeographicMap.Component
|
|
2705
2705
|
* 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.
|
|
2706
2706
|
*/
|
|
2707
2707
|
get yAxis() {
|
|
2708
|
-
const r = this.i.
|
|
2708
|
+
const r = this.i.xl;
|
|
2709
2709
|
if (r == null) {
|
|
2710
2710
|
return null;
|
|
2711
2711
|
}
|
|
@@ -2721,39 +2721,39 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2721
2721
|
set yAxis(v) {
|
|
2722
2722
|
if (v != null && this._stylingContainer && v._styling)
|
|
2723
2723
|
v._styling(this._stylingContainer, this, this);
|
|
2724
|
-
v == null ? this.i.
|
|
2724
|
+
v == null ? this.i.xl = null : this.i.xl = v.i;
|
|
2725
2725
|
}
|
|
2726
2726
|
/**
|
|
2727
2727
|
* Indicates if this SeriesViewer is a map.
|
|
2728
2728
|
*/
|
|
2729
2729
|
get isMap() {
|
|
2730
|
-
return this.i.
|
|
2730
|
+
return this.i.fh;
|
|
2731
2731
|
}
|
|
2732
2732
|
/**
|
|
2733
2733
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2734
2734
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
2735
2735
|
*/
|
|
2736
2736
|
get windowScale() {
|
|
2737
|
-
return this.i.
|
|
2737
|
+
return this.i.x6;
|
|
2738
2738
|
}
|
|
2739
2739
|
set windowScale(v) {
|
|
2740
|
-
this.i.
|
|
2740
|
+
this.i.x6 = +v;
|
|
2741
2741
|
}
|
|
2742
2742
|
/**
|
|
2743
2743
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2744
2744
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2745
2745
|
*/
|
|
2746
2746
|
get actualWindowScale() {
|
|
2747
|
-
return this.i.
|
|
2747
|
+
return this.i.x5;
|
|
2748
2748
|
}
|
|
2749
2749
|
set actualWindowScale(v) {
|
|
2750
|
-
this.i.
|
|
2750
|
+
this.i.x5 = +v;
|
|
2751
2751
|
}
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Gets whether or not the control is ready for zooming
|
|
2754
2754
|
*/
|
|
2755
2755
|
get zoomIsReady() {
|
|
2756
|
-
return this.i.
|
|
2756
|
+
return this.i.x2;
|
|
2757
2757
|
}
|
|
2758
2758
|
findByName(name) {
|
|
2759
2759
|
var baseResult = super.findByName(name);
|
|
@@ -2781,7 +2781,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2781
2781
|
|
|
2782
2782
|
*/
|
|
2783
2783
|
getCurrentActualWorldRect() {
|
|
2784
|
-
let iv = this.i.
|
|
2784
|
+
let iv = this.i.zo();
|
|
2785
2785
|
return fromRect(iv);
|
|
2786
2786
|
}
|
|
2787
2787
|
/**
|
|
@@ -2798,14 +2798,14 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2798
2798
|
|
|
2799
2799
|
*/
|
|
2800
2800
|
updateZoomWindow(zoomWindow) {
|
|
2801
|
-
this.i.
|
|
2801
|
+
this.i.y0(toRect(zoomWindow));
|
|
2802
2802
|
}
|
|
2803
2803
|
/**
|
|
2804
2804
|
* Updates world rect in geographic coordinates
|
|
2805
2805
|
|
|
2806
2806
|
*/
|
|
2807
2807
|
updateWorldRect(worldRect) {
|
|
2808
|
-
this.i.
|
|
2808
|
+
this.i.yz(toRect(worldRect));
|
|
2809
2809
|
}
|
|
2810
2810
|
/**
|
|
2811
2811
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -2817,7 +2817,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2817
2817
|
return fromRect(iv);
|
|
2818
2818
|
}
|
|
2819
2819
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
2820
|
-
let iv = this.i.
|
|
2820
|
+
let iv = this.i.zl(toRect(geographic), extraPixelPadding);
|
|
2821
2821
|
return fromRect(iv);
|
|
2822
2822
|
}
|
|
2823
2823
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -2830,7 +2830,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2830
2830
|
* @param windowRect * The zoom area.
|
|
2831
2831
|
*/
|
|
2832
2832
|
getGeographicFromZoom(windowRect) {
|
|
2833
|
-
let iv = this.i.
|
|
2833
|
+
let iv = this.i.zq(toRect(windowRect));
|
|
2834
2834
|
return fromRect(iv);
|
|
2835
2835
|
}
|
|
2836
2836
|
/**
|
|
@@ -2839,7 +2839,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2839
2839
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
2840
2840
|
*/
|
|
2841
2841
|
getGeographicPoint(pixelCoordinate) {
|
|
2842
|
-
let iv = this.i.
|
|
2842
|
+
let iv = this.i.zc(toPoint(pixelCoordinate));
|
|
2843
2843
|
return fromPoint(iv);
|
|
2844
2844
|
}
|
|
2845
2845
|
/**
|
|
@@ -2848,7 +2848,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2848
2848
|
* @param geographicCoordinate * A geographic coordinate
|
|
2849
2849
|
*/
|
|
2850
2850
|
getPixelPoint(geographicCoordinate) {
|
|
2851
|
-
let iv = this.i.
|
|
2851
|
+
let iv = this.i.zd(toPoint(geographicCoordinate));
|
|
2852
2852
|
return fromPoint(iv);
|
|
2853
2853
|
}
|
|
2854
2854
|
/**
|
|
@@ -2857,7 +2857,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2857
2857
|
* @param geographicCoordinate * A geographic coordinate
|
|
2858
2858
|
*/
|
|
2859
2859
|
getWindowPoint(geographicCoordinate) {
|
|
2860
|
-
let iv = this.i.
|
|
2860
|
+
let iv = this.i.ze(toPoint(geographicCoordinate));
|
|
2861
2861
|
return fromPoint(iv);
|
|
2862
2862
|
}
|
|
2863
2863
|
/**
|
|
@@ -2865,21 +2865,21 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2865
2865
|
|
|
2866
2866
|
*/
|
|
2867
2867
|
clearTileCache() {
|
|
2868
|
-
this.i.
|
|
2868
|
+
this.i.yn();
|
|
2869
2869
|
}
|
|
2870
2870
|
/**
|
|
2871
2871
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
2872
2872
|
|
|
2873
2873
|
*/
|
|
2874
2874
|
styleUpdated() {
|
|
2875
|
-
this.i.
|
|
2875
|
+
this.i.yv();
|
|
2876
2876
|
}
|
|
2877
2877
|
/**
|
|
2878
2878
|
* Gets actual window scale for horizontal dimension of the control
|
|
2879
2879
|
|
|
2880
2880
|
*/
|
|
2881
2881
|
getActualWindowScaleHorizontal() {
|
|
2882
|
-
let iv = this.i.
|
|
2882
|
+
let iv = this.i.hz();
|
|
2883
2883
|
return (iv);
|
|
2884
2884
|
}
|
|
2885
2885
|
/**
|
|
@@ -2887,7 +2887,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2887
2887
|
|
|
2888
2888
|
*/
|
|
2889
2889
|
getActualWindowScaleVertical() {
|
|
2890
|
-
let iv = this.i.
|
|
2890
|
+
let iv = this.i.h0();
|
|
2891
2891
|
return (iv);
|
|
2892
2892
|
}
|
|
2893
2893
|
/**
|
|
@@ -2902,7 +2902,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2902
2902
|
|
|
2903
2903
|
*/
|
|
2904
2904
|
exportVisualData() {
|
|
2905
|
-
let iv = this.i.
|
|
2905
|
+
let iv = this.i.x9();
|
|
2906
2906
|
return (iv);
|
|
2907
2907
|
}
|
|
2908
2908
|
/**
|
|
@@ -2911,7 +2911,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2911
2911
|
* @param geographic * The geographic region to zoom to.
|
|
2912
2912
|
*/
|
|
2913
2913
|
zoomToGeographic(geographic) {
|
|
2914
|
-
this.i.
|
|
2914
|
+
this.i.y2(toRect(geographic));
|
|
2915
2915
|
}
|
|
2916
2916
|
/**
|
|
2917
2917
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -5159,8 +5159,8 @@ let GeographicShapeSeriesBaseView = /*@__PURE__*/ (() => {
|
|
|
5159
5159
|
a.xl = null;
|
|
5160
5160
|
return;
|
|
5161
5161
|
}
|
|
5162
|
-
a.xj = this.cu.dc.
|
|
5163
|
-
a.xl = this.cu.dc.
|
|
5162
|
+
a.xj = this.cu.dc.xj;
|
|
5163
|
+
a.xl = this.cu.dc.xl;
|
|
5164
5164
|
}
|
|
5165
5165
|
cx() {
|
|
5166
5166
|
this.cu.w5.zc = this.cu.x4;
|
|
@@ -6127,7 +6127,7 @@ let TileSeries = /*@__PURE__*/ (() => {
|
|
|
6127
6127
|
if (f != null && typeCast(XamGeographicMap.$, this.dc) !== null) {
|
|
6128
6128
|
f.geographicMap = this.dc;
|
|
6129
6129
|
this.aao(this.cw);
|
|
6130
|
-
this.aac.dr(this.dc.
|
|
6130
|
+
this.aac.dr(this.dc.wt);
|
|
6131
6131
|
}
|
|
6132
6132
|
this.qn();
|
|
6133
6133
|
break;
|
|
@@ -7014,10 +7014,10 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7014
7014
|
this.cu.w5.aae = this.cu.xh;
|
|
7015
7015
|
}
|
|
7016
7016
|
db() {
|
|
7017
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
7017
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
7018
7018
|
}
|
|
7019
7019
|
dc() {
|
|
7020
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
7020
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
7021
7021
|
}
|
|
7022
7022
|
da() {
|
|
7023
7023
|
let a = this.cu.w5;
|
|
@@ -7026,8 +7026,8 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7026
7026
|
a.yAxis = null;
|
|
7027
7027
|
return;
|
|
7028
7028
|
}
|
|
7029
|
-
a.xAxis = this.cu.dc.
|
|
7030
|
-
a.yAxis = this.cu.dc.
|
|
7029
|
+
a.xAxis = this.cu.dc.xj;
|
|
7030
|
+
a.yAxis = this.cu.dc.xl;
|
|
7031
7031
|
}
|
|
7032
7032
|
c4() {
|
|
7033
7033
|
this.cu.w5.yo = this.cu.x9;
|
|
@@ -7630,10 +7630,10 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7630
7630
|
this.cu.w5.aae = this.cu.xh;
|
|
7631
7631
|
}
|
|
7632
7632
|
c5() {
|
|
7633
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
7633
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
7634
7634
|
}
|
|
7635
7635
|
c6() {
|
|
7636
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
7636
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
7637
7637
|
}
|
|
7638
7638
|
c4() {
|
|
7639
7639
|
let a = this.cu.w5;
|
|
@@ -7642,8 +7642,8 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7642
7642
|
a.yAxis = null;
|
|
7643
7643
|
return;
|
|
7644
7644
|
}
|
|
7645
|
-
a.xAxis = this.cu.dc.
|
|
7646
|
-
a.yAxis = this.cu.dc.
|
|
7645
|
+
a.xAxis = this.cu.dc.xj;
|
|
7646
|
+
a.yAxis = this.cu.dc.xl;
|
|
7647
7647
|
}
|
|
7648
7648
|
cy() {
|
|
7649
7649
|
this.cu.w5.yy = this.cu.yd;
|
|
@@ -8368,14 +8368,14 @@ let GeographicHighDensityScatterSeriesView = /*@__PURE__*/ (() => {
|
|
|
8368
8368
|
a.xc = null;
|
|
8369
8369
|
return;
|
|
8370
8370
|
}
|
|
8371
|
-
a.xa = this.cu.dc.
|
|
8372
|
-
a.xc = this.cu.dc.
|
|
8371
|
+
a.xa = this.cu.dc.xj;
|
|
8372
|
+
a.xc = this.cu.dc.xl;
|
|
8373
8373
|
}
|
|
8374
8374
|
c6() {
|
|
8375
|
-
this.cu.w5.xa = this.cu.dc.
|
|
8375
|
+
this.cu.w5.xa = this.cu.dc.xj;
|
|
8376
8376
|
}
|
|
8377
8377
|
c7() {
|
|
8378
|
-
this.cu.w5.xc = this.cu.dc.
|
|
8378
|
+
this.cu.w5.xc = this.cu.dc.xl;
|
|
8379
8379
|
}
|
|
8380
8380
|
cx() {
|
|
8381
8381
|
this.cu.w5.aak = this.cu.yd;
|