igniteui-angular-maps 16.1.1 → 17.0.0-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/License +6 -6
- package/README.md +8 -8
- package/bundles/igniteui-angular-maps.umd.js +452 -443
- 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/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm2015/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +387 -387
- package/esm2015/lib/igx-geographic-map-component.js +40 -40
- package/esm2015/lib/igx-geographic-map-imagery.js +3 -0
- package/esm2015/lib/igx-image-tiles-ready-event-args.js +3 -0
- package/esm2015/lib/igx-images-changed-event-args.js +3 -0
- 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/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm5/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +381 -381
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/esm5/lib/igx-geographic-map-imagery.js +3 -0
- package/esm5/lib/igx-image-tiles-ready-event-args.js +3 -0
- package/esm5/lib/igx-images-changed-event-args.js +3 -0
- package/fesm2015/igniteui-angular-maps.js +458 -449
- package/fesm5/igniteui-angular-maps.js +452 -443
- package/lib/XamGeographicMap_combined.d.ts +85 -85
- package/package.json +6 -6
|
@@ -191,8 +191,8 @@ let SphericalMercatorVerticalScaler = /*@__PURE__*/ (() => {
|
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
t(a, b, c, d, e) {
|
|
194
|
-
d = this.ak(a.
|
|
195
|
-
e = this.ak(a.
|
|
194
|
+
d = this.ak(a.l5);
|
|
195
|
+
e = this.ak(a.l4);
|
|
196
196
|
return {
|
|
197
197
|
p3: d,
|
|
198
198
|
p4: e
|
|
@@ -359,8 +359,8 @@ let SphericalMercatorHorizontalScaler = /*@__PURE__*/ (() => {
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
t(a, b, c, d, e) {
|
|
362
|
-
d = a.
|
|
363
|
-
e = a.
|
|
362
|
+
d = a.l5;
|
|
363
|
+
e = a.l4;
|
|
364
364
|
return {
|
|
365
365
|
p3: d,
|
|
366
366
|
p4: e
|
|
@@ -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.oz(this.qe);
|
|
594
594
|
}
|
|
595
595
|
if (d != null) {
|
|
596
|
-
this.ce.
|
|
596
|
+
this.ce.lo(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.tj.width > this.qg) {
|
|
696
696
|
let hs_ = this.qe;
|
|
697
697
|
let v_ = 1;
|
|
698
698
|
hs_.visibility = v_;
|
|
@@ -855,94 +855,94 @@ 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.uv = null;
|
|
859
|
+
this.uk = false;
|
|
860
|
+
this.uc = 1;
|
|
861
|
+
this.ur = 0;
|
|
862
|
+
this.v2 = null;
|
|
863
|
+
this.t9 = null;
|
|
864
|
+
this.t5 = null;
|
|
865
|
+
this.t7 = null;
|
|
866
|
+
this.ub = null;
|
|
867
|
+
this.vy = { $type: Point_$type, x: NaN, y: NaN };
|
|
868
|
+
this.v5 = null;
|
|
869
|
+
this.uq = 1;
|
|
870
870
|
this.imageTilesReady = null;
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
871
|
+
this.uj = null;
|
|
872
|
+
this.v4 = Rect.empty;
|
|
873
|
+
this.ur = SphericalMercatorVerticalScaler.am(XamGeographicMap.v3.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.v3.top);
|
|
874
874
|
this.ab = XamGeographicMap.$;
|
|
875
875
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
876
876
|
let a = ((() => {
|
|
877
877
|
let $ret = new NumericXAxis();
|
|
878
|
-
$ret.
|
|
878
|
+
$ret.bi = this;
|
|
879
879
|
return $ret;
|
|
880
880
|
})());
|
|
881
|
-
a.
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
881
|
+
a.cf = true;
|
|
882
|
+
this.t6 = a;
|
|
883
|
+
this.t6.nl = new SphericalMercatorHorizontalScaler();
|
|
884
884
|
let b = ((() => {
|
|
885
885
|
let $ret = new NumericYAxis();
|
|
886
|
-
$ret.
|
|
886
|
+
$ret.bi = this;
|
|
887
887
|
return $ret;
|
|
888
888
|
})());
|
|
889
|
-
b.
|
|
890
|
-
this.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
889
|
+
b.cf = true;
|
|
890
|
+
this.t8 = b;
|
|
891
|
+
this.t8.nl = new SphericalMercatorVerticalScaler();
|
|
892
|
+
this.vd();
|
|
893
|
+
this.vk();
|
|
894
|
+
this.ma();
|
|
895
895
|
}
|
|
896
896
|
provideContainer(a) {
|
|
897
897
|
super.provideContainer(a);
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
898
|
+
this.t6.provideRenderer(a);
|
|
899
|
+
this.t8.provideRenderer(a);
|
|
900
900
|
}
|
|
901
|
-
|
|
902
|
-
super.
|
|
903
|
-
this.
|
|
904
|
-
}
|
|
905
|
-
er() {
|
|
906
|
-
return this.uf;
|
|
901
|
+
ma() {
|
|
902
|
+
super.ma();
|
|
903
|
+
this.ui.fv(this.gf);
|
|
907
904
|
}
|
|
908
905
|
es() {
|
|
909
|
-
return this.
|
|
906
|
+
return this.uo;
|
|
907
|
+
}
|
|
908
|
+
et() {
|
|
909
|
+
return this.uo;
|
|
910
910
|
}
|
|
911
|
-
|
|
912
|
-
if (this.
|
|
913
|
-
if (this.
|
|
911
|
+
uf() {
|
|
912
|
+
if (this.ud == 0) {
|
|
913
|
+
if (this.uk) {
|
|
914
914
|
return 2;
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
917
|
return 1;
|
|
918
918
|
}
|
|
919
|
-
get
|
|
920
|
-
return this.
|
|
919
|
+
get ue() {
|
|
920
|
+
return this.uc;
|
|
921
921
|
}
|
|
922
|
-
set
|
|
923
|
-
this.
|
|
922
|
+
set ue(a) {
|
|
923
|
+
this.uc = a;
|
|
924
924
|
}
|
|
925
|
-
get
|
|
926
|
-
return this.
|
|
925
|
+
get v7() {
|
|
926
|
+
return this.v2;
|
|
927
927
|
}
|
|
928
|
-
set
|
|
929
|
-
let b = Rect.l_op_Inequality(this.
|
|
928
|
+
set v7(a) {
|
|
929
|
+
let b = Rect.l_op_Inequality(this.v2, a);
|
|
930
930
|
if (b) {
|
|
931
|
-
let c = this.
|
|
932
|
-
this.
|
|
933
|
-
this.
|
|
931
|
+
let c = this.v2;
|
|
932
|
+
this.v2 = a;
|
|
933
|
+
this.oi("ActualWorldRect", c, a);
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
|
-
|
|
937
|
-
return this.
|
|
936
|
+
wb() {
|
|
937
|
+
return this.v7;
|
|
938
938
|
}
|
|
939
|
-
|
|
940
|
-
if (this.
|
|
939
|
+
vd() {
|
|
940
|
+
if (this.wj.isEmpty) {
|
|
941
941
|
return;
|
|
942
942
|
}
|
|
943
|
-
this.
|
|
943
|
+
this.v7 = this.wh(this.wj, this.cd == 1);
|
|
944
944
|
}
|
|
945
|
-
|
|
945
|
+
wh(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.v3.width;
|
|
954
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.v3.top);
|
|
955
955
|
let l = i / j;
|
|
956
|
-
if (i / j > this.
|
|
957
|
-
let m = i / this.
|
|
956
|
+
if (i / j > this.ur) {
|
|
957
|
+
let m = i / this.ur;
|
|
958
958
|
let n = m - j;
|
|
959
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
960
|
-
e = m * XamGeographicMap.
|
|
959
|
+
d = d - (n / 2) * XamGeographicMap.v3.width;
|
|
960
|
+
e = m * XamGeographicMap.v3.width;
|
|
961
961
|
if (b) {
|
|
962
|
-
if (d < XamGeographicMap.
|
|
963
|
-
d += (XamGeographicMap.
|
|
962
|
+
if (d < XamGeographicMap.v3.left) {
|
|
963
|
+
d += (XamGeographicMap.v3.left - d);
|
|
964
964
|
}
|
|
965
|
-
else if ((d + e) > XamGeographicMap.
|
|
966
|
-
d -= ((d + e) - XamGeographicMap.
|
|
965
|
+
else if ((d + e) > XamGeographicMap.v3.right) {
|
|
966
|
+
d -= ((d + e) - XamGeographicMap.v3.right);
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
else if (i / j < this.
|
|
971
|
-
let o = this.
|
|
970
|
+
else if (i / j < this.ur) {
|
|
971
|
+
let o = this.ur * 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.ur)) {
|
|
981
|
+
q -= ((r) - (k + this.ur));
|
|
982
|
+
r -= ((r) - (k + this.ur));
|
|
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.t9;
|
|
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.t9 = a;
|
|
999
|
+
this.oi("BackgroundContent", c, a);
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
|
-
get
|
|
1003
|
-
return this.
|
|
1002
|
+
get t6() {
|
|
1003
|
+
return this.t5;
|
|
1004
1004
|
}
|
|
1005
|
-
set
|
|
1006
|
-
let b = a != this.
|
|
1005
|
+
set t6(a) {
|
|
1006
|
+
let b = a != this.t6;
|
|
1007
1007
|
if (b) {
|
|
1008
|
-
let c = this.
|
|
1009
|
-
this.
|
|
1010
|
-
this.
|
|
1008
|
+
let c = this.t6;
|
|
1009
|
+
this.t5 = a;
|
|
1010
|
+
this.oi("XAxis", c, a);
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
|
-
get
|
|
1014
|
-
return this.
|
|
1013
|
+
get t8() {
|
|
1014
|
+
return this.t7;
|
|
1015
1015
|
}
|
|
1016
|
-
set
|
|
1017
|
-
let b = a != this.
|
|
1016
|
+
set t8(a) {
|
|
1017
|
+
let b = a != this.t8;
|
|
1018
1018
|
if (b) {
|
|
1019
|
-
let c = this.
|
|
1020
|
-
this.
|
|
1021
|
-
this.
|
|
1019
|
+
let c = this.t8;
|
|
1020
|
+
this.t7 = a;
|
|
1021
|
+
this.oi("YAxis", c, a);
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
1024
|
getZoomRectFromGeoRect(a) {
|
|
1025
1025
|
return this.getZoomFromGeographicRect(a);
|
|
1026
1026
|
}
|
|
1027
|
-
|
|
1028
|
-
this.
|
|
1027
|
+
vn(a) {
|
|
1028
|
+
this.tz = a;
|
|
1029
1029
|
}
|
|
1030
|
-
|
|
1031
|
-
this.
|
|
1030
|
+
vm(a) {
|
|
1031
|
+
this.wj = a;
|
|
1032
1032
|
}
|
|
1033
1033
|
getZoomFromGeographicRect(a) {
|
|
1034
|
-
return this.
|
|
1034
|
+
return this.v9(a, true, 0);
|
|
1035
1035
|
}
|
|
1036
|
-
|
|
1037
|
-
return this.
|
|
1036
|
+
v8(a, b) {
|
|
1037
|
+
return this.v9(a, false, b);
|
|
1038
1038
|
}
|
|
1039
|
-
|
|
1039
|
+
v9(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.wh(a, false);
|
|
1043
|
+
}
|
|
1044
|
+
let e = this.t6;
|
|
1045
|
+
let f = this.t8;
|
|
1046
|
+
let g = new ScalerParams(1, XamGeographicMap.v6, this.ty, e.ch);
|
|
1047
|
+
g.c = this.tn;
|
|
1048
|
+
let h = new ScalerParams(1, XamGeographicMap.v6, this.ty, f.ch);
|
|
1049
|
+
h.c = this.tn;
|
|
1050
|
+
let i = this.t6.ej(d.left, g);
|
|
1051
|
+
let j = this.t6.ej(d.right, g);
|
|
1052
|
+
let k = this.t8.ej(d.top, h);
|
|
1053
|
+
let l = this.t8.ej(d.bottom, h);
|
|
1054
|
+
let m = (i - c) / this.ty.width;
|
|
1055
|
+
let n = (l - c) / this.ty.height;
|
|
1056
|
+
let o = (j - i + (c * 2)) / this.ty.width;
|
|
1057
|
+
let p = (k - l + (c * 2)) / this.ty.height;
|
|
1058
1058
|
let q = new Rect(0, m, n, o, p);
|
|
1059
|
-
q.intersect(XamGeographicMap.
|
|
1059
|
+
q.intersect(XamGeographicMap.v6);
|
|
1060
1060
|
if (q.isEmpty) {
|
|
1061
|
-
q = XamGeographicMap.
|
|
1061
|
+
q = XamGeographicMap.v6;
|
|
1062
1062
|
}
|
|
1063
1063
|
return q;
|
|
1064
1064
|
}
|
|
@@ -1068,188 +1068,188 @@ 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.v6;
|
|
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.
|
|
1086
|
-
let g = b.
|
|
1087
|
-
let h = c.
|
|
1088
|
-
let i = b.
|
|
1089
|
-
let j = c.
|
|
1078
|
+
wd(a) {
|
|
1079
|
+
let b = this.t6;
|
|
1080
|
+
let c = this.t8;
|
|
1081
|
+
let d = new ScalerParams(1, a, this.ty, b.ch);
|
|
1082
|
+
d.c = this.tn;
|
|
1083
|
+
let e = new ScalerParams(1, a, this.ty, c.ch);
|
|
1084
|
+
e.c = this.tn;
|
|
1085
|
+
let f = this.tm;
|
|
1086
|
+
let g = b.em(f.left, d);
|
|
1087
|
+
let h = c.em(f.top, e);
|
|
1088
|
+
let i = b.em(f.right, d);
|
|
1089
|
+
let j = c.em(f.bottom, e);
|
|
1090
1090
|
let k = i - g;
|
|
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.v3);
|
|
1095
1095
|
if (m.isEmpty) {
|
|
1096
|
-
m = XamGeographicMap.
|
|
1096
|
+
m = XamGeographicMap.v3;
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
1099
1099
|
return m;
|
|
1100
1100
|
}
|
|
1101
|
-
|
|
1102
|
-
let b = this.
|
|
1103
|
-
let c = this.
|
|
1101
|
+
vz(a) {
|
|
1102
|
+
let b = this.t6.l8(a.x);
|
|
1103
|
+
let c = this.t8.l8(a.y);
|
|
1104
1104
|
return { $type: Point_$type, x: b, y: c };
|
|
1105
1105
|
}
|
|
1106
|
-
|
|
1107
|
-
let b = this.
|
|
1108
|
-
let c = this.
|
|
1106
|
+
v0(a) {
|
|
1107
|
+
let b = this.t6.e4(a.x);
|
|
1108
|
+
let c = this.t8.e4(a.y);
|
|
1109
1109
|
return { $type: Point_$type, x: b, y: c };
|
|
1110
1110
|
}
|
|
1111
|
-
|
|
1112
|
-
return this.
|
|
1111
|
+
v1(a) {
|
|
1112
|
+
return this.v0(a);
|
|
1113
1113
|
}
|
|
1114
|
-
|
|
1114
|
+
va() {
|
|
1115
1115
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1116
1116
|
if (a != null) {
|
|
1117
1117
|
a.clearTileCache();
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
|
-
|
|
1120
|
+
vg(a) {
|
|
1121
1121
|
}
|
|
1122
|
-
|
|
1122
|
+
fh() {
|
|
1123
1123
|
return true;
|
|
1124
1124
|
}
|
|
1125
|
-
|
|
1126
|
-
this.
|
|
1125
|
+
vi() {
|
|
1126
|
+
this.ui.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
|
+
vl() {
|
|
1132
|
+
if (this.uh == 2) {
|
|
1133
|
+
if (!this.ty.isEmpty && this.ty.width > 0 && this.ty.height > 0) {
|
|
1134
|
+
let a = this.t6.l8(this.ty.left + (this.ty.width / 2));
|
|
1135
|
+
let b = this.t8.l8(this.ty.top + (this.ty.height / 2));
|
|
1136
|
+
this.vy = { $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.ty.isEmpty && this.ty.width > 0 && this.ty.height > 0) {
|
|
1141
|
+
let c = this.t6.l8(this.ty.left);
|
|
1142
|
+
let d = this.t8.l8(this.ty.top);
|
|
1143
|
+
this.vy = { $type: Point_$type, x: c, y: d };
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
|
-
|
|
1148
|
-
if (isNaN_(this.
|
|
1149
|
-
this.
|
|
1147
|
+
vh() {
|
|
1148
|
+
if (isNaN_(this.vy.x) || isNaN_(this.vy.y)) {
|
|
1149
|
+
this.vl();
|
|
1150
1150
|
}
|
|
1151
|
-
let a = this.
|
|
1152
|
-
let b = this.
|
|
1151
|
+
let a = this.vy.x;
|
|
1152
|
+
let b = this.vy.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.tj.left;
|
|
1155
|
+
let d = this.tj.top;
|
|
1156
|
+
let e = this.tj.width;
|
|
1157
|
+
let f = this.tj.height;
|
|
1158
|
+
if (e > this.v5.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.v6, this.ty, this.t6.ch);
|
|
1162
|
+
g.c = this.tn;
|
|
1163
|
+
let h = this.t6.ej(a, g);
|
|
1164
|
+
if (this.uh == 2) {
|
|
1165
|
+
let i = h / this.ty.width;
|
|
1166
1166
|
c = i - (e / 2);
|
|
1167
1167
|
}
|
|
1168
1168
|
else {
|
|
1169
|
-
c = h / this.
|
|
1169
|
+
c = h / this.ty.width;
|
|
1170
1170
|
}
|
|
1171
|
-
if (c + e > this.
|
|
1172
|
-
c = this.
|
|
1171
|
+
if (c + e > this.v5.right) {
|
|
1172
|
+
c = this.v5.right - e;
|
|
1173
1173
|
}
|
|
1174
|
-
else if (c < this.
|
|
1175
|
-
c = this.
|
|
1174
|
+
else if (c < this.v5.left) {
|
|
1175
|
+
c = this.v5.left;
|
|
1176
1176
|
}
|
|
1177
1177
|
}
|
|
1178
|
-
if (f > this.
|
|
1178
|
+
if (f > this.v5.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.v6, this.ty, this.t8.ch);
|
|
1182
|
+
j.c = this.tn;
|
|
1183
|
+
let k = this.t8.ej(b, j);
|
|
1184
|
+
if (this.uh == 2) {
|
|
1185
|
+
let l = k / this.ty.height;
|
|
1186
1186
|
d = l - (f / 2);
|
|
1187
1187
|
}
|
|
1188
1188
|
else {
|
|
1189
|
-
d = k / this.
|
|
1189
|
+
d = k / this.ty.height;
|
|
1190
1190
|
}
|
|
1191
|
-
if (d + f > this.
|
|
1192
|
-
d = this.
|
|
1191
|
+
if (d + f > this.v5.bottom) {
|
|
1192
|
+
d = this.v5.bottom - f;
|
|
1193
1193
|
}
|
|
1194
|
-
else if (d < this.
|
|
1195
|
-
d = this.
|
|
1194
|
+
else if (d < this.v5.top) {
|
|
1195
|
+
d = this.v5.top;
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
this.
|
|
1198
|
+
this.pr(new Rect(0, c, d, e, f), false);
|
|
1199
1199
|
}
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1201
|
+
get_ek() {
|
|
1202
1202
|
return true;
|
|
1203
1203
|
}
|
|
1204
|
-
|
|
1205
|
-
let a = super.
|
|
1206
|
-
if (this.
|
|
1204
|
+
tk() {
|
|
1205
|
+
let a = super.tk();
|
|
1206
|
+
if (this.t6 == null || this.t8 == null) {
|
|
1207
1207
|
return a;
|
|
1208
1208
|
}
|
|
1209
|
-
this.
|
|
1209
|
+
this.tu();
|
|
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.tz.width > this.v5.width) {
|
|
1214
|
+
b = 0.5 - (this.tz.width / 2);
|
|
1215
1215
|
}
|
|
1216
|
-
else if (b + a.width > this.
|
|
1217
|
-
b = this.
|
|
1216
|
+
else if (b + a.width > this.v5.right) {
|
|
1217
|
+
b = this.v5.right - this.tz.width;
|
|
1218
1218
|
}
|
|
1219
|
-
else if (b < this.
|
|
1220
|
-
b = this.
|
|
1219
|
+
else if (b < this.v5.left) {
|
|
1220
|
+
b = this.v5.left;
|
|
1221
1221
|
}
|
|
1222
|
-
if (this.
|
|
1223
|
-
c = 0.5 - (this.
|
|
1222
|
+
if (this.tz.height > this.v5.height) {
|
|
1223
|
+
c = 0.5 - (this.tz.height / 2);
|
|
1224
1224
|
}
|
|
1225
|
-
else if (c + this.
|
|
1226
|
-
c = this.
|
|
1225
|
+
else if (c + this.tz.height > this.v5.bottom) {
|
|
1226
|
+
c = this.v5.bottom - this.tz.height;
|
|
1227
1227
|
}
|
|
1228
|
-
else if (c < this.
|
|
1229
|
-
c = this.
|
|
1228
|
+
else if (c < this.v5.top) {
|
|
1229
|
+
c = this.v5.top;
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
1232
|
let d = false;
|
|
1233
|
-
if (!this.
|
|
1233
|
+
if (!this.un && this.cd == 2 && this.uk) {
|
|
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.v5.right) > 0 && ((a.right - this.v5.right) / a.width) > 0.8) {
|
|
1241
|
+
b = this.v5.left - (a.width - (a.right - this.v5.right));
|
|
1242
1242
|
d = true;
|
|
1243
1243
|
}
|
|
1244
|
-
else if (a.left < this.
|
|
1245
|
-
b = this.
|
|
1244
|
+
else if (a.left < this.v5.left && (Math.abs(a.left - this.v5.left) / a.width) > 0.8) {
|
|
1245
|
+
b = this.v5.right - (Math.abs(a.left - this.v5.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.un) {
|
|
1251
|
+
let f = this.v8(this.wj, 1);
|
|
1252
|
+
f = this.wa(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.d7 = true;
|
|
1288
|
+
this.tz = e;
|
|
1289
|
+
this.d7 = false;
|
|
1290
1290
|
}
|
|
1291
1291
|
return e;
|
|
1292
1292
|
}
|
|
1293
|
-
|
|
1293
|
+
ll(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.tu();
|
|
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.t5.ej(-180, b);
|
|
1315
|
+
let j = this.t5.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.t5.ej(-180, b);
|
|
1320
|
+
let l = this.t5.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
|
+
tu() {
|
|
1327
|
+
let a = new ScalerParams(1, XamGeographicMap.v6, this.ty, this.t6.ch);
|
|
1328
|
+
a.c = this.tn;
|
|
1329
|
+
let b = new ScalerParams(1, XamGeographicMap.v6, this.ty, this.t8.ch);
|
|
1330
|
+
b.c = this.tn;
|
|
1331
|
+
let c = this.t6.ej(XamGeographicMap.v3.left, a);
|
|
1332
|
+
let d = this.t6.ej(XamGeographicMap.v3.right, a);
|
|
1333
|
+
let e = this.t8.ej(XamGeographicMap.v3.top, b);
|
|
1334
|
+
let f = this.t8.ej(XamGeographicMap.v3.bottom, b);
|
|
1335
|
+
this.v5 = new Rect(0, c / this.ty.width, f / this.ty.height, (d - c) / this.ty.width, (e - f) / this.ty.height);
|
|
1336
|
+
return this.v5;
|
|
1337
|
+
}
|
|
1338
|
+
wa(a) {
|
|
1339
|
+
let b = this.gj;
|
|
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.ty;
|
|
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
|
+
tl(a) {
|
|
1386
|
+
super.tl(this.ty);
|
|
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
|
+
wc(a) {
|
|
1402
|
+
return this.tl(a);
|
|
1403
1403
|
}
|
|
1404
1404
|
ct() {
|
|
1405
1405
|
return new XamGeographicMapView(this);
|
|
1406
1406
|
}
|
|
1407
|
-
|
|
1407
|
+
vc(a) {
|
|
1408
1408
|
if (a != null) {
|
|
1409
|
-
a.
|
|
1409
|
+
a.bi = this;
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
|
-
|
|
1413
|
-
super.
|
|
1414
|
-
this.
|
|
1412
|
+
n1(a) {
|
|
1413
|
+
super.n1(a);
|
|
1414
|
+
this.ui = a;
|
|
1415
1415
|
}
|
|
1416
|
-
|
|
1417
|
-
super.
|
|
1418
|
-
this.
|
|
1419
|
-
this.
|
|
1416
|
+
oc(a, b) {
|
|
1417
|
+
super.oc(a, b);
|
|
1418
|
+
this.pe(this.t6);
|
|
1419
|
+
this.pe(this.t8);
|
|
1420
1420
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1421
|
-
this.
|
|
1421
|
+
this.vh();
|
|
1422
1422
|
}
|
|
1423
|
-
if (this.
|
|
1424
|
-
this.
|
|
1423
|
+
if (this.un) {
|
|
1424
|
+
this.tj = this.tk();
|
|
1425
1425
|
}
|
|
1426
|
-
this.
|
|
1426
|
+
this.vo();
|
|
1427
1427
|
}
|
|
1428
|
-
get
|
|
1429
|
-
return this.
|
|
1428
|
+
get us() {
|
|
1429
|
+
return this.uq;
|
|
1430
1430
|
}
|
|
1431
|
-
set
|
|
1432
|
-
let b = this.
|
|
1433
|
-
this.
|
|
1434
|
-
this.
|
|
1431
|
+
set us(a) {
|
|
1432
|
+
let b = this.uq;
|
|
1433
|
+
this.uq = a;
|
|
1434
|
+
this.oi("ActualWindowScale", b, this.uq);
|
|
1435
1435
|
}
|
|
1436
|
-
|
|
1437
|
-
return this.
|
|
1436
|
+
gp() {
|
|
1437
|
+
return this.us;
|
|
1438
1438
|
}
|
|
1439
|
-
|
|
1440
|
-
return this.
|
|
1439
|
+
gq() {
|
|
1440
|
+
return this.us;
|
|
1441
1441
|
}
|
|
1442
|
-
|
|
1443
|
-
super.
|
|
1444
|
-
let a = Math.min(this.
|
|
1445
|
-
this.
|
|
1442
|
+
pd() {
|
|
1443
|
+
super.pd();
|
|
1444
|
+
let a = Math.min(this.tj.width, this.tj.height);
|
|
1445
|
+
this.us = a;
|
|
1446
1446
|
}
|
|
1447
|
-
|
|
1448
|
-
return this.
|
|
1447
|
+
e9() {
|
|
1448
|
+
return this.uk;
|
|
1449
1449
|
}
|
|
1450
1450
|
ce() {
|
|
1451
1451
|
if (this.cf == 0) {
|
|
1452
|
-
if (this.
|
|
1452
|
+
if (this.ul) {
|
|
1453
1453
|
return 2;
|
|
1454
1454
|
}
|
|
1455
1455
|
}
|
|
1456
1456
|
return this.cf;
|
|
1457
1457
|
}
|
|
1458
|
-
|
|
1459
|
-
super.
|
|
1458
|
+
od(a, b, c, d) {
|
|
1459
|
+
super.od(a, b, c, d);
|
|
1460
1460
|
switch (b) {
|
|
1461
1461
|
case "ZoomCoercionMode":
|
|
1462
|
-
this.
|
|
1462
|
+
this.vd();
|
|
1463
1463
|
break;
|
|
1464
1464
|
case "WindowRect":
|
|
1465
|
-
this.
|
|
1465
|
+
this.vl();
|
|
1466
1466
|
break;
|
|
1467
1467
|
case XamGeographicMap.$$p[0]:
|
|
1468
|
-
this.
|
|
1469
|
-
if (this.
|
|
1470
|
-
this.
|
|
1468
|
+
this.ue = this.uf();
|
|
1469
|
+
if (this.ub != null) {
|
|
1470
|
+
this.ub.isHorizontalWrappingEnabled = this.ue == 2;
|
|
1471
1471
|
}
|
|
1472
1472
|
break;
|
|
1473
1473
|
case XamGeographicMap.$$p[1]:
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1474
|
+
this.uk = this.ul;
|
|
1475
|
+
this.ue = this.uf();
|
|
1476
1476
|
this.cd = this.ce();
|
|
1477
|
-
if (this.
|
|
1478
|
-
this.
|
|
1477
|
+
if (this.ub != null) {
|
|
1478
|
+
this.ub.isHorizontalWrappingEnabled = this.ue == 2;
|
|
1479
1479
|
}
|
|
1480
1480
|
break;
|
|
1481
1481
|
case XamGeographicMap.$$p[4]:
|
|
1482
|
-
this.
|
|
1482
|
+
this.tj = this.tk();
|
|
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.ub != null) {
|
|
1486
|
+
let e = this.ub;
|
|
1487
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.ve));
|
|
1488
|
+
this.ub.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.ub = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1491
|
+
if (this.ub != null) {
|
|
1492
|
+
let f = this.ub;
|
|
1493
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.ve));
|
|
1494
|
+
this.ub.deferralHandler = this;
|
|
1495
|
+
this.ub.isHorizontalWrappingEnabled = this.ue == 2;
|
|
1496
1496
|
}
|
|
1497
|
-
this.
|
|
1498
|
-
if (this.
|
|
1499
|
-
this.
|
|
1500
|
-
this.
|
|
1501
|
-
this.
|
|
1497
|
+
this.ui.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1498
|
+
if (this.ub != null) {
|
|
1499
|
+
this.ub.geographicMap = this;
|
|
1500
|
+
this.ui.fr(this.tj);
|
|
1501
|
+
this.ui.fv(this.gf);
|
|
1502
1502
|
}
|
|
1503
1503
|
break;
|
|
1504
1504
|
case "YAxis":
|
|
1505
1505
|
case "XAxis":
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1506
|
+
this.vj(c);
|
|
1507
|
+
this.vc(d);
|
|
1508
1508
|
break;
|
|
1509
1509
|
case XamGeographicMap.$$p[6]:
|
|
1510
|
-
if (!this.
|
|
1511
|
-
this.
|
|
1510
|
+
if (!this.um) {
|
|
1511
|
+
this.tz = XamGeographicMap.v6;
|
|
1512
1512
|
}
|
|
1513
|
-
this.
|
|
1514
|
-
this.
|
|
1515
|
-
this.
|
|
1516
|
-
this.
|
|
1517
|
-
this.
|
|
1513
|
+
this.vd();
|
|
1514
|
+
this.vk();
|
|
1515
|
+
this.vl();
|
|
1516
|
+
this.tj = this.tk();
|
|
1517
|
+
this.ui.fs();
|
|
1518
1518
|
break;
|
|
1519
1519
|
case "ActualWindowRect":
|
|
1520
|
-
this.
|
|
1520
|
+
this.ui.fr(this.tj);
|
|
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.us = this.ut;
|
|
1529
1529
|
break;
|
|
1530
1530
|
case "ActualWindowScale":
|
|
1531
|
-
if (!this.
|
|
1532
|
-
this.
|
|
1531
|
+
if (!this.fg) {
|
|
1532
|
+
this.pp(this.gp(), this.gq());
|
|
1533
1533
|
}
|
|
1534
1534
|
break;
|
|
1535
1535
|
case "ActualPixelScalingRatio":
|
|
1536
|
-
this.
|
|
1536
|
+
this.ui.fv(this.gf);
|
|
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.
|
|
1543
|
-
this.
|
|
1542
|
+
this.gj = 5E-06;
|
|
1543
|
+
this.gi = 5E-06;
|
|
1544
1544
|
}
|
|
1545
1545
|
else {
|
|
1546
|
-
this.
|
|
1547
|
-
this.
|
|
1546
|
+
this.gj = h;
|
|
1547
|
+
this.gi = h;
|
|
1548
1548
|
}
|
|
1549
1549
|
break;
|
|
1550
1550
|
case XamGeographicMap.$$p[7]:
|
|
1551
|
-
this.
|
|
1551
|
+
this.pl();
|
|
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
|
+
ve(a, b) {
|
|
1561
1561
|
if (this.imageTilesReady != null) {
|
|
1562
1562
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
|
-
|
|
1565
|
+
vj(a) {
|
|
1566
1566
|
if (a != null) {
|
|
1567
|
-
a.
|
|
1567
|
+
a.bi = null;
|
|
1568
1568
|
}
|
|
1569
1569
|
}
|
|
1570
|
-
|
|
1571
|
-
if (this.
|
|
1572
|
-
this.
|
|
1573
|
-
this.
|
|
1570
|
+
vk() {
|
|
1571
|
+
if (this.t6 != null) {
|
|
1572
|
+
this.t6.l5 = this.v7.left;
|
|
1573
|
+
this.t6.l4 = this.v7.right;
|
|
1574
1574
|
}
|
|
1575
|
-
if (this.
|
|
1576
|
-
this.
|
|
1577
|
-
this.
|
|
1575
|
+
if (this.t8 != null) {
|
|
1576
|
+
this.t8.l5 = this.v7.top;
|
|
1577
|
+
this.t8.l4 = this.v7.bottom;
|
|
1578
1578
|
}
|
|
1579
|
-
this.
|
|
1580
|
-
this.
|
|
1579
|
+
this.t6.c2(true);
|
|
1580
|
+
this.t8.c2(true);
|
|
1581
1581
|
}
|
|
1582
1582
|
getFontInfo() {
|
|
1583
|
-
this.
|
|
1584
|
-
return this.
|
|
1583
|
+
this.uj = this.ui.fo;
|
|
1584
|
+
return this.uj;
|
|
1585
1585
|
}
|
|
1586
|
-
|
|
1587
|
-
return this.
|
|
1586
|
+
so() {
|
|
1587
|
+
return this.ui.fw;
|
|
1588
1588
|
}
|
|
1589
1589
|
getFontBrush() {
|
|
1590
|
-
return this.
|
|
1590
|
+
return this.ui.fx;
|
|
1591
1591
|
}
|
|
1592
|
-
|
|
1592
|
+
o6(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.o6(a, b);
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
1603
|
register(a, b) {
|
|
1604
|
-
this.
|
|
1604
|
+
this.ow(a, b);
|
|
1605
1605
|
}
|
|
1606
1606
|
unRegister(a) {
|
|
1607
|
-
this.
|
|
1607
|
+
this.pc(a);
|
|
1608
1608
|
}
|
|
1609
1609
|
deferredRefresh() {
|
|
1610
|
-
this.
|
|
1610
|
+
this.ly();
|
|
1611
1611
|
}
|
|
1612
1612
|
deferAction(a) {
|
|
1613
|
-
if (this.
|
|
1614
|
-
this.
|
|
1613
|
+
if (this.uv != null) {
|
|
1614
|
+
this.uv.setTimeout(a, 0);
|
|
1615
1615
|
}
|
|
1616
1616
|
else {
|
|
1617
1617
|
window.setTimeout(a, 0);
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
|
-
|
|
1621
|
-
this.
|
|
1620
|
+
vb(a) {
|
|
1621
|
+
this.pk(a);
|
|
1622
1622
|
}
|
|
1623
|
-
|
|
1623
|
+
uw() {
|
|
1624
1624
|
let a = new ChartVisualData();
|
|
1625
|
-
let b = this.
|
|
1626
|
-
let c = this.
|
|
1625
|
+
let b = this.t6.fw();
|
|
1626
|
+
let c = this.t8.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.ty);
|
|
1635
|
+
a.centralArea = RectData.b(this.ty);
|
|
1636
|
+
a.plotArea = RectData.b(this.ty);
|
|
1637
1637
|
return a;
|
|
1638
1638
|
}
|
|
1639
|
-
|
|
1639
|
+
tq(a, b, c) {
|
|
1640
1640
|
return a;
|
|
1641
1641
|
}
|
|
1642
|
-
|
|
1642
|
+
vf() {
|
|
1643
1643
|
}
|
|
1644
|
-
get
|
|
1645
|
-
return this.
|
|
1644
|
+
get wi() {
|
|
1645
|
+
return this.v4;
|
|
1646
1646
|
}
|
|
1647
|
-
set
|
|
1648
|
-
this.
|
|
1647
|
+
set wi(a) {
|
|
1648
|
+
this.v4 = a;
|
|
1649
1649
|
}
|
|
1650
|
-
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1650
|
+
vp(a) {
|
|
1651
|
+
this.wi = a;
|
|
1652
|
+
this.vo();
|
|
1653
1653
|
}
|
|
1654
|
-
|
|
1655
|
-
if (this.
|
|
1656
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1654
|
+
vo() {
|
|
1655
|
+
if (this.up && !this.wi.isEmpty) {
|
|
1656
|
+
let a = this.getZoomFromGeographicRect(this.wi);
|
|
1657
|
+
this.wi = Rect.empty;
|
|
1658
|
+
this.pr(a, false);
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
get
|
|
1662
|
-
return !this.
|
|
1661
|
+
get up() {
|
|
1662
|
+
return !this.ty.isEmpty && !this.tn.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.ug = 0;
|
|
1667
|
+
XamGeographicMap.v3 = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1668
|
+
XamGeographicMap.v6 = new Rect(0, 0, 0, 1, 1);
|
|
1669
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'oi', ['BackgroundTilingMode:ud:vq', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:ul:vr', [0, false], 'ResizeBehavior:uh:vs', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.ug)], 'SuppressZoomResetOnWorldRectChange:um:vt', [0, false], 'UseWorldRectForZoomBounds:un:vu', [0, false], 'WindowScale:ut:vv', [1, NaN], 'WorldRect:wj:vw', [Rect.$, XamGeographicMap.v3], 'Zoomable:uo:vx', [0, true]]);
|
|
1670
1670
|
return XamGeographicMap;
|
|
1671
1671
|
})();
|
|
1672
1672
|
/**
|
|
@@ -1796,20 +1796,20 @@ 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.wc(b);
|
|
1800
|
+
let d = XamGeographicMap.v3;
|
|
1801
|
+
let e = this.geographicMap.v7;
|
|
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.
|
|
1807
|
-
let j = new ScalerParams(1, this.windowRect, b, h.
|
|
1805
|
+
let h = this.geographicMap.t6;
|
|
1806
|
+
let i = this.geographicMap.t8;
|
|
1807
|
+
let j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1808
1808
|
j.c = c;
|
|
1809
|
-
let k = new ScalerParams(1, this.windowRect, b, i.
|
|
1809
|
+
let k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
1810
1810
|
k.c = c;
|
|
1811
|
-
let l = h.
|
|
1812
|
-
let m = i.
|
|
1811
|
+
let l = h.ej(d.left, j);
|
|
1812
|
+
let m = i.ej(d.bottom, k);
|
|
1813
1813
|
let n = (-l / b.width) * this.ao.a5;
|
|
1814
1814
|
let o = (-m / b.height) * this.ao.a5 * (b.height / b.width);
|
|
1815
1815
|
this.ao.cm = { $type: Point_$type, x: n, y: o };
|
|
@@ -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.t6;
|
|
1922
|
+
a.qd = this.ce.ce.t8;
|
|
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.sj = 2;
|
|
1998
|
+
this.fn.ho = 5E-06;
|
|
1999
1999
|
}
|
|
2000
2000
|
m(a) {
|
|
2001
2001
|
return 2;
|
|
2002
2002
|
}
|
|
2003
2003
|
bk(a) {
|
|
2004
|
-
this.j.
|
|
2005
|
-
this.fn.
|
|
2004
|
+
this.j.bw(a);
|
|
2005
|
+
this.fn.vb(a);
|
|
2006
2006
|
this.el();
|
|
2007
2007
|
}
|
|
2008
2008
|
get_ap() {
|
|
@@ -2014,7 +2014,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2014
2014
|
let c;
|
|
2015
2015
|
let d;
|
|
2016
2016
|
let e;
|
|
2017
|
-
let f = this.j.
|
|
2017
|
+
let f = this.j.a8(a, b, c, d, e);
|
|
2018
2018
|
a = f.p0;
|
|
2019
2019
|
b = f.p1;
|
|
2020
2020
|
c = f.p2;
|
|
@@ -2065,18 +2065,18 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2065
2065
|
}
|
|
2066
2066
|
}
|
|
2067
2067
|
fr(a) {
|
|
2068
|
-
if (this.fn.
|
|
2069
|
-
this.fn.
|
|
2068
|
+
if (this.fn.ub != null) {
|
|
2069
|
+
this.fn.ub.windowRect = a;
|
|
2070
2070
|
}
|
|
2071
2071
|
}
|
|
2072
2072
|
fu(a, b) {
|
|
2073
|
-
if (this.fn.
|
|
2074
|
-
this.fn.
|
|
2073
|
+
if (this.fn.ub != null) {
|
|
2074
|
+
this.fn.ub.windowRect = this.fn.tj;
|
|
2075
2075
|
}
|
|
2076
2076
|
if (a != null) {
|
|
2077
2077
|
let c = a.ao;
|
|
2078
2078
|
if (c != null) {
|
|
2079
|
-
this.fn.al.
|
|
2079
|
+
this.fn.al.h.remove(c.ag);
|
|
2080
2080
|
}
|
|
2081
2081
|
a.bd(null);
|
|
2082
2082
|
a.be(null);
|
|
@@ -2084,7 +2084,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
2084
2084
|
if (b != null) {
|
|
2085
2085
|
let d = b.ao;
|
|
2086
2086
|
if (d != null) {
|
|
2087
|
-
this.fn.al.
|
|
2087
|
+
this.fn.al.h.add(d.ag);
|
|
2088
2088
|
}
|
|
2089
2089
|
if (!this.fz.isEmpty) {
|
|
2090
2090
|
this.dv(this.fz);
|
|
@@ -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.gf;
|
|
2102
2102
|
if (b != 1) {
|
|
2103
2103
|
a.aa();
|
|
2104
2104
|
a.ab(b, b);
|
|
@@ -2309,6 +2309,9 @@ class IgxImageTilesReadyEventArgs {
|
|
|
2309
2309
|
this._implementation = this.createImplementation();
|
|
2310
2310
|
this._implementation.externalObject = this;
|
|
2311
2311
|
this.onImplementationCreated();
|
|
2312
|
+
if (this._initializeAdapters) {
|
|
2313
|
+
this._initializeAdapters();
|
|
2314
|
+
}
|
|
2312
2315
|
}
|
|
2313
2316
|
createImplementation() {
|
|
2314
2317
|
return new ImageTilesReadyEventArgs();
|
|
@@ -2572,80 +2575,80 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2572
2575
|
* Gets or sets zoomability of the current control
|
|
2573
2576
|
*/
|
|
2574
2577
|
get zoomable() {
|
|
2575
|
-
return this.i.
|
|
2578
|
+
return this.i.uo;
|
|
2576
2579
|
}
|
|
2577
2580
|
set zoomable(v) {
|
|
2578
|
-
this.i.
|
|
2581
|
+
this.i.uo = ensureBool(v);
|
|
2579
2582
|
}
|
|
2580
2583
|
/**
|
|
2581
2584
|
* Gets or sets the behavior to use during resize.
|
|
2582
2585
|
*/
|
|
2583
2586
|
get resizeBehavior() {
|
|
2584
|
-
return this.i.
|
|
2587
|
+
return this.i.uh;
|
|
2585
2588
|
}
|
|
2586
2589
|
set resizeBehavior(v) {
|
|
2587
|
-
this.i.
|
|
2590
|
+
this.i.uh = ensureEnum(MapResizeBehavior_$type, v);
|
|
2588
2591
|
}
|
|
2589
2592
|
/**
|
|
2590
2593
|
* Gets or sets if the map should horizontally wrap.
|
|
2591
2594
|
*/
|
|
2592
2595
|
get isHorizontalWrappingEnabled() {
|
|
2593
|
-
return this.i.
|
|
2596
|
+
return this.i.ul;
|
|
2594
2597
|
}
|
|
2595
2598
|
set isHorizontalWrappingEnabled(v) {
|
|
2596
|
-
this.i.
|
|
2599
|
+
this.i.ul = ensureBool(v);
|
|
2597
2600
|
}
|
|
2598
2601
|
/**
|
|
2599
2602
|
* Gets or sets if the map should horizontally wrap.
|
|
2600
2603
|
*/
|
|
2601
2604
|
get backgroundTilingMode() {
|
|
2602
|
-
return this.i.
|
|
2605
|
+
return this.i.ud;
|
|
2603
2606
|
}
|
|
2604
2607
|
set backgroundTilingMode(v) {
|
|
2605
|
-
this.i.
|
|
2608
|
+
this.i.ud = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2606
2609
|
}
|
|
2607
2610
|
/**
|
|
2608
2611
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2609
2612
|
*/
|
|
2610
2613
|
get useWorldRectForZoomBounds() {
|
|
2611
|
-
return this.i.
|
|
2614
|
+
return this.i.un;
|
|
2612
2615
|
}
|
|
2613
2616
|
set useWorldRectForZoomBounds(v) {
|
|
2614
|
-
this.i.
|
|
2617
|
+
this.i.un = ensureBool(v);
|
|
2615
2618
|
}
|
|
2616
2619
|
/**
|
|
2617
2620
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2618
2621
|
*/
|
|
2619
2622
|
get suppressZoomResetOnWorldRectChange() {
|
|
2620
|
-
return this.i.
|
|
2623
|
+
return this.i.um;
|
|
2621
2624
|
}
|
|
2622
2625
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
2623
|
-
this.i.
|
|
2626
|
+
this.i.um = ensureBool(v);
|
|
2624
2627
|
}
|
|
2625
2628
|
/**
|
|
2626
2629
|
* Gets or sets the world bounding rectangle.
|
|
2627
2630
|
*/
|
|
2628
2631
|
get worldRect() {
|
|
2629
|
-
return fromRect(this.i.
|
|
2632
|
+
return fromRect(this.i.wj);
|
|
2630
2633
|
}
|
|
2631
2634
|
set worldRect(v) {
|
|
2632
|
-
this.i.
|
|
2635
|
+
this.i.wj = toRect(v);
|
|
2633
2636
|
}
|
|
2634
2637
|
/**
|
|
2635
2638
|
* Gets the actual value of the WorldRect.
|
|
2636
2639
|
*/
|
|
2637
2640
|
get actualWorldRect() {
|
|
2638
|
-
return fromRect(this.i.
|
|
2641
|
+
return fromRect(this.i.v7);
|
|
2639
2642
|
}
|
|
2640
2643
|
set actualWorldRect(v) {
|
|
2641
|
-
this.i.
|
|
2644
|
+
this.i.v7 = toRect(v);
|
|
2642
2645
|
}
|
|
2643
2646
|
/**
|
|
2644
2647
|
* The X-axis for this IgxGeographicMap.Component
|
|
2645
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.
|
|
2646
2649
|
*/
|
|
2647
2650
|
get xAxis() {
|
|
2648
|
-
const r = this.i.
|
|
2651
|
+
const r = this.i.t6;
|
|
2649
2652
|
if (r == null) {
|
|
2650
2653
|
return null;
|
|
2651
2654
|
}
|
|
@@ -2661,14 +2664,14 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2661
2664
|
set xAxis(v) {
|
|
2662
2665
|
if (v != null && this._stylingContainer && v._styling)
|
|
2663
2666
|
v._styling(this._stylingContainer, this, this);
|
|
2664
|
-
v == null ? this.i.
|
|
2667
|
+
v == null ? this.i.t6 = null : this.i.t6 = v.i;
|
|
2665
2668
|
}
|
|
2666
2669
|
/**
|
|
2667
2670
|
* The Y-axis for this IgxGeographicMap.Component
|
|
2668
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.
|
|
2669
2672
|
*/
|
|
2670
2673
|
get yAxis() {
|
|
2671
|
-
const r = this.i.
|
|
2674
|
+
const r = this.i.t8;
|
|
2672
2675
|
if (r == null) {
|
|
2673
2676
|
return null;
|
|
2674
2677
|
}
|
|
@@ -2684,39 +2687,39 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2684
2687
|
set yAxis(v) {
|
|
2685
2688
|
if (v != null && this._stylingContainer && v._styling)
|
|
2686
2689
|
v._styling(this._stylingContainer, this, this);
|
|
2687
|
-
v == null ? this.i.
|
|
2690
|
+
v == null ? this.i.t8 = null : this.i.t8 = v.i;
|
|
2688
2691
|
}
|
|
2689
2692
|
/**
|
|
2690
2693
|
* Indicates if this SeriesViewer is a map.
|
|
2691
2694
|
*/
|
|
2692
2695
|
get isMap() {
|
|
2693
|
-
return this.i.
|
|
2696
|
+
return this.i.ek;
|
|
2694
2697
|
}
|
|
2695
2698
|
/**
|
|
2696
2699
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2697
2700
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
2698
2701
|
*/
|
|
2699
2702
|
get windowScale() {
|
|
2700
|
-
return this.i.
|
|
2703
|
+
return this.i.ut;
|
|
2701
2704
|
}
|
|
2702
2705
|
set windowScale(v) {
|
|
2703
|
-
this.i.
|
|
2706
|
+
this.i.ut = +v;
|
|
2704
2707
|
}
|
|
2705
2708
|
/**
|
|
2706
2709
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
2707
2710
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2708
2711
|
*/
|
|
2709
2712
|
get actualWindowScale() {
|
|
2710
|
-
return this.i.
|
|
2713
|
+
return this.i.us;
|
|
2711
2714
|
}
|
|
2712
2715
|
set actualWindowScale(v) {
|
|
2713
|
-
this.i.
|
|
2716
|
+
this.i.us = +v;
|
|
2714
2717
|
}
|
|
2715
2718
|
/**
|
|
2716
2719
|
* Gets whether or not the control is ready for zooming
|
|
2717
2720
|
*/
|
|
2718
2721
|
get zoomIsReady() {
|
|
2719
|
-
return this.i.
|
|
2722
|
+
return this.i.up;
|
|
2720
2723
|
}
|
|
2721
2724
|
findByName(name) {
|
|
2722
2725
|
var baseResult = super.findByName(name);
|
|
@@ -2744,7 +2747,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2744
2747
|
|
|
2745
2748
|
*/
|
|
2746
2749
|
getCurrentActualWorldRect() {
|
|
2747
|
-
let iv = this.i.
|
|
2750
|
+
let iv = this.i.wb();
|
|
2748
2751
|
return fromRect(iv);
|
|
2749
2752
|
}
|
|
2750
2753
|
/**
|
|
@@ -2761,14 +2764,14 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2761
2764
|
|
|
2762
2765
|
*/
|
|
2763
2766
|
updateZoomWindow(zoomWindow) {
|
|
2764
|
-
this.i.
|
|
2767
|
+
this.i.vn(toRect(zoomWindow));
|
|
2765
2768
|
}
|
|
2766
2769
|
/**
|
|
2767
2770
|
* Updates world rect in geographic coordinates
|
|
2768
2771
|
|
|
2769
2772
|
*/
|
|
2770
2773
|
updateWorldRect(worldRect) {
|
|
2771
|
-
this.i.
|
|
2774
|
+
this.i.vm(toRect(worldRect));
|
|
2772
2775
|
}
|
|
2773
2776
|
/**
|
|
2774
2777
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -2780,7 +2783,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2780
2783
|
return fromRect(iv);
|
|
2781
2784
|
}
|
|
2782
2785
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
2783
|
-
let iv = this.i.
|
|
2786
|
+
let iv = this.i.v8(toRect(geographic), extraPixelPadding);
|
|
2784
2787
|
return fromRect(iv);
|
|
2785
2788
|
}
|
|
2786
2789
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -2793,7 +2796,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2793
2796
|
* @param windowRect * The zoom area.
|
|
2794
2797
|
*/
|
|
2795
2798
|
getGeographicFromZoom(windowRect) {
|
|
2796
|
-
let iv = this.i.
|
|
2799
|
+
let iv = this.i.wd(toRect(windowRect));
|
|
2797
2800
|
return fromRect(iv);
|
|
2798
2801
|
}
|
|
2799
2802
|
/**
|
|
@@ -2802,7 +2805,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2802
2805
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
2803
2806
|
*/
|
|
2804
2807
|
getGeographicPoint(pixelCoordinate) {
|
|
2805
|
-
let iv = this.i.
|
|
2808
|
+
let iv = this.i.vz(toPoint(pixelCoordinate));
|
|
2806
2809
|
return fromPoint(iv);
|
|
2807
2810
|
}
|
|
2808
2811
|
/**
|
|
@@ -2811,7 +2814,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2811
2814
|
* @param geographicCoordinate * A geographic coordinate
|
|
2812
2815
|
*/
|
|
2813
2816
|
getPixelPoint(geographicCoordinate) {
|
|
2814
|
-
let iv = this.i.
|
|
2817
|
+
let iv = this.i.v0(toPoint(geographicCoordinate));
|
|
2815
2818
|
return fromPoint(iv);
|
|
2816
2819
|
}
|
|
2817
2820
|
/**
|
|
@@ -2820,7 +2823,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2820
2823
|
* @param geographicCoordinate * A geographic coordinate
|
|
2821
2824
|
*/
|
|
2822
2825
|
getWindowPoint(geographicCoordinate) {
|
|
2823
|
-
let iv = this.i.
|
|
2826
|
+
let iv = this.i.v1(toPoint(geographicCoordinate));
|
|
2824
2827
|
return fromPoint(iv);
|
|
2825
2828
|
}
|
|
2826
2829
|
/**
|
|
@@ -2828,21 +2831,21 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2828
2831
|
|
|
2829
2832
|
*/
|
|
2830
2833
|
clearTileCache() {
|
|
2831
|
-
this.i.
|
|
2834
|
+
this.i.va();
|
|
2832
2835
|
}
|
|
2833
2836
|
/**
|
|
2834
2837
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
2835
2838
|
|
|
2836
2839
|
*/
|
|
2837
2840
|
styleUpdated() {
|
|
2838
|
-
this.i.
|
|
2841
|
+
this.i.vi();
|
|
2839
2842
|
}
|
|
2840
2843
|
/**
|
|
2841
2844
|
* Gets actual window scale for horizontal dimension of the control
|
|
2842
2845
|
|
|
2843
2846
|
*/
|
|
2844
2847
|
getActualWindowScaleHorizontal() {
|
|
2845
|
-
let iv = this.i.
|
|
2848
|
+
let iv = this.i.gp();
|
|
2846
2849
|
return (iv);
|
|
2847
2850
|
}
|
|
2848
2851
|
/**
|
|
@@ -2850,7 +2853,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2850
2853
|
|
|
2851
2854
|
*/
|
|
2852
2855
|
getActualWindowScaleVertical() {
|
|
2853
|
-
let iv = this.i.
|
|
2856
|
+
let iv = this.i.gq();
|
|
2854
2857
|
return (iv);
|
|
2855
2858
|
}
|
|
2856
2859
|
/**
|
|
@@ -2865,7 +2868,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2865
2868
|
|
|
2866
2869
|
*/
|
|
2867
2870
|
exportVisualData() {
|
|
2868
|
-
let iv = this.i.
|
|
2871
|
+
let iv = this.i.uw();
|
|
2869
2872
|
return (iv);
|
|
2870
2873
|
}
|
|
2871
2874
|
/**
|
|
@@ -2874,7 +2877,7 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2874
2877
|
* @param geographic * The geographic region to zoom to.
|
|
2875
2878
|
*/
|
|
2876
2879
|
zoomToGeographic(geographic) {
|
|
2877
|
-
this.i.
|
|
2880
|
+
this.i.vp(toRect(geographic));
|
|
2878
2881
|
}
|
|
2879
2882
|
/**
|
|
2880
2883
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -3055,6 +3058,9 @@ class IgxImagesChangedEventArgs {
|
|
|
3055
3058
|
this._implementation = this.createImplementation();
|
|
3056
3059
|
this._implementation.externalObject = this;
|
|
3057
3060
|
this.onImplementationCreated();
|
|
3061
|
+
if (this._initializeAdapters) {
|
|
3062
|
+
this._initializeAdapters();
|
|
3063
|
+
}
|
|
3058
3064
|
}
|
|
3059
3065
|
createImplementation() {
|
|
3060
3066
|
return new ImagesChangedEventArgs();
|
|
@@ -3087,6 +3093,9 @@ class IgxGeographicMapImagery {
|
|
|
3087
3093
|
this._implementation = this.createImplementation();
|
|
3088
3094
|
this._implementation.externalObject = this;
|
|
3089
3095
|
this.onImplementationCreated();
|
|
3096
|
+
if (this._initializeAdapters) {
|
|
3097
|
+
this._initializeAdapters();
|
|
3098
|
+
}
|
|
3090
3099
|
}
|
|
3091
3100
|
createImplementation() {
|
|
3092
3101
|
return null;
|
|
@@ -5048,8 +5057,8 @@ let GeographicShapeSeriesBaseView = /*@__PURE__*/ (() => {
|
|
|
5048
5057
|
a.qv = null;
|
|
5049
5058
|
return;
|
|
5050
5059
|
}
|
|
5051
|
-
a.qt = this.ce.ce.
|
|
5052
|
-
a.qv = this.ce.ce.
|
|
5060
|
+
a.qt = this.ce.ce.t6;
|
|
5061
|
+
a.qv = this.ce.ce.t8;
|
|
5053
5062
|
}
|
|
5054
5063
|
ch() {
|
|
5055
5064
|
this.ce.qe.r5 = this.ce.q7;
|
|
@@ -6007,7 +6016,7 @@ let TileSeries = /*@__PURE__*/ (() => {
|
|
|
6007
6016
|
if (f != null && typeCast(XamGeographicMap.$, this.ce) !== null) {
|
|
6008
6017
|
f.geographicMap = this.ce;
|
|
6009
6018
|
this.tb(this.b1);
|
|
6010
|
-
this.sz.da(this.ce.
|
|
6019
|
+
this.sz.da(this.ce.tj);
|
|
6011
6020
|
}
|
|
6012
6021
|
this.lu();
|
|
6013
6022
|
break;
|
|
@@ -6891,10 +6900,10 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6891
6900
|
this.ce.qe.tb = this.ce.qq;
|
|
6892
6901
|
}
|
|
6893
6902
|
cv() {
|
|
6894
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
6903
|
+
this.ce.qe.xAxis = this.ce.ce.t6;
|
|
6895
6904
|
}
|
|
6896
6905
|
cw() {
|
|
6897
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
6906
|
+
this.ce.qe.yAxis = this.ce.ce.t8;
|
|
6898
6907
|
}
|
|
6899
6908
|
cu() {
|
|
6900
6909
|
let a = this.ce.qe;
|
|
@@ -6903,8 +6912,8 @@ let GeographicProportionalSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
6903
6912
|
a.yAxis = null;
|
|
6904
6913
|
return;
|
|
6905
6914
|
}
|
|
6906
|
-
a.xAxis = this.ce.ce.
|
|
6907
|
-
a.yAxis = this.ce.ce.
|
|
6915
|
+
a.xAxis = this.ce.ce.t6;
|
|
6916
|
+
a.yAxis = this.ce.ce.t8;
|
|
6908
6917
|
}
|
|
6909
6918
|
co() {
|
|
6910
6919
|
this.ce.qe.rn = this.ce.ri;
|
|
@@ -7504,10 +7513,10 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7504
7513
|
this.ce.qe.tb = this.ce.qq;
|
|
7505
7514
|
}
|
|
7506
7515
|
cp() {
|
|
7507
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
7516
|
+
this.ce.qe.xAxis = this.ce.ce.t6;
|
|
7508
7517
|
}
|
|
7509
7518
|
cq() {
|
|
7510
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
7519
|
+
this.ce.qe.yAxis = this.ce.ce.t8;
|
|
7511
7520
|
}
|
|
7512
7521
|
co() {
|
|
7513
7522
|
let a = this.ce.qe;
|
|
@@ -7516,8 +7525,8 @@ let GeographicSymbolSeriesView = /*@__PURE__*/ (() => {
|
|
|
7516
7525
|
a.yAxis = null;
|
|
7517
7526
|
return;
|
|
7518
7527
|
}
|
|
7519
|
-
a.xAxis = this.ce.ce.
|
|
7520
|
-
a.yAxis = this.ce.ce.
|
|
7528
|
+
a.xAxis = this.ce.ce.t6;
|
|
7529
|
+
a.yAxis = this.ce.ce.t8;
|
|
7521
7530
|
}
|
|
7522
7531
|
ci() {
|
|
7523
7532
|
this.ce.qe.rx = this.ce.rm;
|
|
@@ -8239,14 +8248,14 @@ let GeographicHighDensityScatterSeriesView = /*@__PURE__*/ (() => {
|
|
|
8239
8248
|
a.ql = null;
|
|
8240
8249
|
return;
|
|
8241
8250
|
}
|
|
8242
|
-
a.qj = this.ce.ce.
|
|
8243
|
-
a.ql = this.ce.ce.
|
|
8251
|
+
a.qj = this.ce.ce.t6;
|
|
8252
|
+
a.ql = this.ce.ce.t8;
|
|
8244
8253
|
}
|
|
8245
8254
|
cq() {
|
|
8246
|
-
this.ce.qe.qj = this.ce.ce.
|
|
8255
|
+
this.ce.qe.qj = this.ce.ce.t6;
|
|
8247
8256
|
}
|
|
8248
8257
|
cr() {
|
|
8249
|
-
this.ce.qe.ql = this.ce.ce.
|
|
8258
|
+
this.ce.qe.ql = this.ce.ce.t8;
|
|
8250
8259
|
}
|
|
8251
8260
|
ch() {
|
|
8252
8261
|
this.ce.qe.ts = this.ce.rm;
|