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