igniteui-webcomponents-maps 4.3.3-beta.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-maps.umd.js +428 -428
- package/bundles/igniteui-webcomponents-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +366 -366
- package/esm2015/lib/igc-geographic-map-component.js +50 -50
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +360 -360
- package/esm5/lib/igc-geographic-map-component.js +50 -50
- package/fesm2015/igniteui-webcomponents-maps.js +434 -434
- package/fesm5/igniteui-webcomponents-maps.js +428 -428
- package/lib/XamGeographicMap_combined.d.ts +78 -78
- package/package.json +3 -3
|
@@ -609,10 +609,10 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
609
609
|
case "SeriesViewer":
|
|
610
610
|
this.qe.ce = this.ce;
|
|
611
611
|
if (c != null) {
|
|
612
|
-
c.
|
|
612
|
+
c.o0(this.qe);
|
|
613
613
|
}
|
|
614
614
|
if (d != null) {
|
|
615
|
-
this.ce.
|
|
615
|
+
this.ce.lp(this.qe);
|
|
616
616
|
}
|
|
617
617
|
this.qe.mc(this.p7);
|
|
618
618
|
this.qe.index = this.index;
|
|
@@ -711,7 +711,7 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
711
711
|
return;
|
|
712
712
|
}
|
|
713
713
|
if (!isNaN_(this.qg)) {
|
|
714
|
-
if (this.ce.
|
|
714
|
+
if (this.ce.tk.width > this.qg) {
|
|
715
715
|
var hs_ = this.qe;
|
|
716
716
|
var v_ = 1;
|
|
717
717
|
hs_.visibility = v_;
|
|
@@ -873,22 +873,22 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
873
873
|
__extends(XamGeographicMap, _super);
|
|
874
874
|
function XamGeographicMap() {
|
|
875
875
|
var _this = _super.call(this) || this;
|
|
876
|
-
_this.
|
|
877
|
-
_this.
|
|
878
|
-
_this.
|
|
879
|
-
_this.
|
|
880
|
-
_this.
|
|
881
|
-
_this.
|
|
882
|
-
_this.
|
|
883
|
-
_this.
|
|
884
|
-
_this.
|
|
885
|
-
_this.
|
|
886
|
-
_this.
|
|
887
|
-
_this.
|
|
876
|
+
_this.uw = null;
|
|
877
|
+
_this.ul = false;
|
|
878
|
+
_this.ud = 1;
|
|
879
|
+
_this.us = 0;
|
|
880
|
+
_this.v3 = null;
|
|
881
|
+
_this.ua = null;
|
|
882
|
+
_this.t6 = null;
|
|
883
|
+
_this.t8 = null;
|
|
884
|
+
_this.uc = null;
|
|
885
|
+
_this.vz = { $type: Point_$type, x: NaN, y: NaN };
|
|
886
|
+
_this.v6 = null;
|
|
887
|
+
_this.ur = 1;
|
|
888
888
|
_this.imageTilesReady = null;
|
|
889
|
-
_this.
|
|
890
|
-
_this.
|
|
891
|
-
_this.
|
|
889
|
+
_this.uk = null;
|
|
890
|
+
_this.v5 = Rect.empty;
|
|
891
|
+
_this.us = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
892
892
|
_this.ab = XamGeographicMap.$;
|
|
893
893
|
_this.backgroundContent = new OpenStreetMapImagery();
|
|
894
894
|
var a = ((function () {
|
|
@@ -897,79 +897,79 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
897
897
|
return $ret;
|
|
898
898
|
})());
|
|
899
899
|
a.cf = true;
|
|
900
|
-
_this.
|
|
901
|
-
_this.
|
|
900
|
+
_this.t7 = a;
|
|
901
|
+
_this.t7.nl = new SphericalMercatorHorizontalScaler();
|
|
902
902
|
var b = ((function () {
|
|
903
903
|
var $ret = new NumericYAxis();
|
|
904
904
|
$ret.bi = _this;
|
|
905
905
|
return $ret;
|
|
906
906
|
})());
|
|
907
907
|
b.cf = true;
|
|
908
|
-
_this.
|
|
909
|
-
_this.
|
|
910
|
-
_this.
|
|
911
|
-
_this.
|
|
912
|
-
_this.
|
|
908
|
+
_this.t9 = b;
|
|
909
|
+
_this.t9.nl = new SphericalMercatorVerticalScaler();
|
|
910
|
+
_this.ve();
|
|
911
|
+
_this.vl();
|
|
912
|
+
_this.mb();
|
|
913
913
|
return _this;
|
|
914
914
|
}
|
|
915
915
|
XamGeographicMap.prototype.provideContainer = function (a) {
|
|
916
916
|
_super.prototype.provideContainer.call(this, a);
|
|
917
|
-
this.
|
|
918
|
-
this.
|
|
917
|
+
this.t7.provideRenderer(a);
|
|
918
|
+
this.t9.provideRenderer(a);
|
|
919
919
|
};
|
|
920
|
-
XamGeographicMap.prototype.
|
|
921
|
-
_super.prototype.
|
|
922
|
-
this.
|
|
923
|
-
};
|
|
924
|
-
XamGeographicMap.prototype.es = function () {
|
|
925
|
-
return this.uo;
|
|
920
|
+
XamGeographicMap.prototype.mb = function () {
|
|
921
|
+
_super.prototype.mb.call(this);
|
|
922
|
+
this.uj.fv(this.gg);
|
|
926
923
|
};
|
|
927
924
|
XamGeographicMap.prototype.et = function () {
|
|
928
|
-
return this.
|
|
925
|
+
return this.up;
|
|
926
|
+
};
|
|
927
|
+
XamGeographicMap.prototype.eu = function () {
|
|
928
|
+
return this.up;
|
|
929
929
|
};
|
|
930
|
-
XamGeographicMap.prototype.
|
|
931
|
-
if (this.
|
|
932
|
-
if (this.
|
|
930
|
+
XamGeographicMap.prototype.ug = function () {
|
|
931
|
+
if (this.ue == 0) {
|
|
932
|
+
if (this.ul) {
|
|
933
933
|
return 2;
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
936
|
return 1;
|
|
937
937
|
};
|
|
938
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
938
|
+
Object.defineProperty(XamGeographicMap.prototype, "uf", {
|
|
939
939
|
get: function () {
|
|
940
|
-
return this.
|
|
940
|
+
return this.ud;
|
|
941
941
|
},
|
|
942
942
|
set: function (a) {
|
|
943
|
-
this.
|
|
943
|
+
this.ud = a;
|
|
944
944
|
},
|
|
945
945
|
enumerable: false,
|
|
946
946
|
configurable: true
|
|
947
947
|
});
|
|
948
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
948
|
+
Object.defineProperty(XamGeographicMap.prototype, "v8", {
|
|
949
949
|
get: function () {
|
|
950
|
-
return this.
|
|
950
|
+
return this.v3;
|
|
951
951
|
},
|
|
952
952
|
set: function (a) {
|
|
953
|
-
var b = Rect.l_op_Inequality(this.
|
|
953
|
+
var b = Rect.l_op_Inequality(this.v3, a);
|
|
954
954
|
if (b) {
|
|
955
|
-
var c = this.
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
955
|
+
var c = this.v3;
|
|
956
|
+
this.v3 = a;
|
|
957
|
+
this.oj("ActualWorldRect", c, a);
|
|
958
958
|
}
|
|
959
959
|
},
|
|
960
960
|
enumerable: false,
|
|
961
961
|
configurable: true
|
|
962
962
|
});
|
|
963
|
-
XamGeographicMap.prototype.
|
|
964
|
-
return this.
|
|
963
|
+
XamGeographicMap.prototype.wc = function () {
|
|
964
|
+
return this.v8;
|
|
965
965
|
};
|
|
966
|
-
XamGeographicMap.prototype.
|
|
967
|
-
if (this.
|
|
966
|
+
XamGeographicMap.prototype.ve = function () {
|
|
967
|
+
if (this.wk.isEmpty) {
|
|
968
968
|
return;
|
|
969
969
|
}
|
|
970
|
-
this.
|
|
970
|
+
this.v8 = this.wi(this.wk, this.cd == 1);
|
|
971
971
|
};
|
|
972
|
-
XamGeographicMap.prototype.
|
|
972
|
+
XamGeographicMap.prototype.wi = function (a, b) {
|
|
973
973
|
var c = a.top;
|
|
974
974
|
var d = a.left;
|
|
975
975
|
var e = a.width;
|
|
@@ -977,25 +977,25 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
977
977
|
var g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
978
978
|
var h = SphericalMercatorVerticalScaler.am(a.top);
|
|
979
979
|
var i = g - h;
|
|
980
|
-
var j = a.width / XamGeographicMap.
|
|
981
|
-
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
980
|
+
var j = a.width / XamGeographicMap.v4.width;
|
|
981
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
982
982
|
var l = i / j;
|
|
983
|
-
if (i / j > this.
|
|
984
|
-
var m = i / this.
|
|
983
|
+
if (i / j > this.us) {
|
|
984
|
+
var m = i / this.us;
|
|
985
985
|
var n = m - j;
|
|
986
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
987
|
-
e = m * XamGeographicMap.
|
|
986
|
+
d = d - (n / 2) * XamGeographicMap.v4.width;
|
|
987
|
+
e = m * XamGeographicMap.v4.width;
|
|
988
988
|
if (b) {
|
|
989
|
-
if (d < XamGeographicMap.
|
|
990
|
-
d += (XamGeographicMap.
|
|
989
|
+
if (d < XamGeographicMap.v4.left) {
|
|
990
|
+
d += (XamGeographicMap.v4.left - d);
|
|
991
991
|
}
|
|
992
|
-
else if ((d + e) > XamGeographicMap.
|
|
993
|
-
d -= ((d + e) - XamGeographicMap.
|
|
992
|
+
else if ((d + e) > XamGeographicMap.v4.right) {
|
|
993
|
+
d -= ((d + e) - XamGeographicMap.v4.right);
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
|
-
else if (i / j < this.
|
|
998
|
-
var o = this.
|
|
997
|
+
else if (i / j < this.us) {
|
|
998
|
+
var o = this.us * j;
|
|
999
999
|
var p = o - i;
|
|
1000
1000
|
var q = h - (p / 2);
|
|
1001
1001
|
var r = g + (p / 2);
|
|
@@ -1004,9 +1004,9 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1004
1004
|
q += (k - q);
|
|
1005
1005
|
r += (k - q);
|
|
1006
1006
|
}
|
|
1007
|
-
else if (r > (k + this.
|
|
1008
|
-
q -= ((r) - (k + this.
|
|
1009
|
-
r -= ((r) - (k + this.
|
|
1007
|
+
else if (r > (k + this.us)) {
|
|
1008
|
+
q -= ((r) - (k + this.us));
|
|
1009
|
+
r -= ((r) - (k + this.us));
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
1012
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -1017,44 +1017,44 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1017
1017
|
};
|
|
1018
1018
|
Object.defineProperty(XamGeographicMap.prototype, "backgroundContent", {
|
|
1019
1019
|
get: function () {
|
|
1020
|
-
return this.
|
|
1020
|
+
return this.ua;
|
|
1021
1021
|
},
|
|
1022
1022
|
set: function (a) {
|
|
1023
1023
|
var b = a != this.backgroundContent;
|
|
1024
1024
|
if (b) {
|
|
1025
1025
|
var c = this.backgroundContent;
|
|
1026
|
-
this.
|
|
1027
|
-
this.
|
|
1026
|
+
this.ua = a;
|
|
1027
|
+
this.oj("BackgroundContent", c, a);
|
|
1028
1028
|
}
|
|
1029
1029
|
},
|
|
1030
1030
|
enumerable: false,
|
|
1031
1031
|
configurable: true
|
|
1032
1032
|
});
|
|
1033
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1033
|
+
Object.defineProperty(XamGeographicMap.prototype, "t7", {
|
|
1034
1034
|
get: function () {
|
|
1035
|
-
return this.
|
|
1035
|
+
return this.t6;
|
|
1036
1036
|
},
|
|
1037
1037
|
set: function (a) {
|
|
1038
|
-
var b = a != this.
|
|
1038
|
+
var b = a != this.t7;
|
|
1039
1039
|
if (b) {
|
|
1040
|
-
var c = this.
|
|
1041
|
-
this.
|
|
1042
|
-
this.
|
|
1040
|
+
var c = this.t7;
|
|
1041
|
+
this.t6 = a;
|
|
1042
|
+
this.oj("XAxis", c, a);
|
|
1043
1043
|
}
|
|
1044
1044
|
},
|
|
1045
1045
|
enumerable: false,
|
|
1046
1046
|
configurable: true
|
|
1047
1047
|
});
|
|
1048
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1048
|
+
Object.defineProperty(XamGeographicMap.prototype, "t9", {
|
|
1049
1049
|
get: function () {
|
|
1050
|
-
return this.
|
|
1050
|
+
return this.t8;
|
|
1051
1051
|
},
|
|
1052
1052
|
set: function (a) {
|
|
1053
|
-
var b = a != this.
|
|
1053
|
+
var b = a != this.t9;
|
|
1054
1054
|
if (b) {
|
|
1055
|
-
var c = this.
|
|
1056
|
-
this.
|
|
1057
|
-
this.
|
|
1055
|
+
var c = this.t9;
|
|
1056
|
+
this.t8 = a;
|
|
1057
|
+
this.oj("YAxis", c, a);
|
|
1058
1058
|
}
|
|
1059
1059
|
},
|
|
1060
1060
|
enumerable: false,
|
|
@@ -1063,41 +1063,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1063
1063
|
XamGeographicMap.prototype.getZoomRectFromGeoRect = function (a) {
|
|
1064
1064
|
return this.getZoomFromGeographicRect(a);
|
|
1065
1065
|
};
|
|
1066
|
-
XamGeographicMap.prototype.
|
|
1067
|
-
this.
|
|
1066
|
+
XamGeographicMap.prototype.vo = function (a) {
|
|
1067
|
+
this.t0 = a;
|
|
1068
1068
|
};
|
|
1069
|
-
XamGeographicMap.prototype.
|
|
1070
|
-
this.
|
|
1069
|
+
XamGeographicMap.prototype.vn = function (a) {
|
|
1070
|
+
this.wk = a;
|
|
1071
1071
|
};
|
|
1072
1072
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
1073
|
-
return this.
|
|
1073
|
+
return this.wa(a, true, 0);
|
|
1074
1074
|
};
|
|
1075
|
-
XamGeographicMap.prototype.
|
|
1076
|
-
return this.
|
|
1075
|
+
XamGeographicMap.prototype.v9 = function (a, b) {
|
|
1076
|
+
return this.wa(a, false, b);
|
|
1077
1077
|
};
|
|
1078
|
-
XamGeographicMap.prototype.
|
|
1078
|
+
XamGeographicMap.prototype.wa = function (a, b, c) {
|
|
1079
1079
|
var d = a;
|
|
1080
1080
|
if (b) {
|
|
1081
|
-
d = this.
|
|
1082
|
-
}
|
|
1083
|
-
var e = this.
|
|
1084
|
-
var f = this.
|
|
1085
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1086
|
-
g.c = this.
|
|
1087
|
-
var h = new ScalerParams(1, XamGeographicMap.
|
|
1088
|
-
h.c = this.
|
|
1089
|
-
var i = this.
|
|
1090
|
-
var j = this.
|
|
1091
|
-
var k = this.
|
|
1092
|
-
var l = this.
|
|
1093
|
-
var m = (i - c) / this.
|
|
1094
|
-
var n = (l - c) / this.
|
|
1095
|
-
var o = (j - i + (c * 2)) / this.
|
|
1096
|
-
var p = (k - l + (c * 2)) / this.
|
|
1081
|
+
d = this.wi(a, false);
|
|
1082
|
+
}
|
|
1083
|
+
var e = this.t7;
|
|
1084
|
+
var f = this.t9;
|
|
1085
|
+
var g = new ScalerParams(1, XamGeographicMap.v7, this.tz, e.ch);
|
|
1086
|
+
g.c = this.to;
|
|
1087
|
+
var h = new ScalerParams(1, XamGeographicMap.v7, this.tz, f.ch);
|
|
1088
|
+
h.c = this.to;
|
|
1089
|
+
var i = this.t7.ej(d.left, g);
|
|
1090
|
+
var j = this.t7.ej(d.right, g);
|
|
1091
|
+
var k = this.t9.ej(d.top, h);
|
|
1092
|
+
var l = this.t9.ej(d.bottom, h);
|
|
1093
|
+
var m = (i - c) / this.tz.width;
|
|
1094
|
+
var n = (l - c) / this.tz.height;
|
|
1095
|
+
var o = (j - i + (c * 2)) / this.tz.width;
|
|
1096
|
+
var p = (k - l + (c * 2)) / this.tz.height;
|
|
1097
1097
|
var q = new Rect(0, m, n, o, p);
|
|
1098
|
-
q.intersect(XamGeographicMap.
|
|
1098
|
+
q.intersect(XamGeographicMap.v7);
|
|
1099
1099
|
if (q.isEmpty) {
|
|
1100
|
-
q = XamGeographicMap.
|
|
1100
|
+
q = XamGeographicMap.v7;
|
|
1101
1101
|
}
|
|
1102
1102
|
return q;
|
|
1103
1103
|
};
|
|
@@ -1107,21 +1107,21 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1107
1107
|
var e = b.x - a.x;
|
|
1108
1108
|
var f = a.y - b.y;
|
|
1109
1109
|
if (e < 0 || f < 0) {
|
|
1110
|
-
return XamGeographicMap.
|
|
1110
|
+
return XamGeographicMap.v7;
|
|
1111
1111
|
}
|
|
1112
1112
|
else {
|
|
1113
1113
|
var g = new Rect(0, c, d, e, f);
|
|
1114
1114
|
return this.getZoomFromGeographicRect(g);
|
|
1115
1115
|
}
|
|
1116
1116
|
};
|
|
1117
|
-
XamGeographicMap.prototype.
|
|
1118
|
-
var b = this.
|
|
1119
|
-
var c = this.
|
|
1120
|
-
var d = new ScalerParams(1, a, this.
|
|
1121
|
-
d.c = this.
|
|
1122
|
-
var e = new ScalerParams(1, a, this.
|
|
1123
|
-
e.c = this.
|
|
1124
|
-
var f = this.
|
|
1117
|
+
XamGeographicMap.prototype.we = function (a) {
|
|
1118
|
+
var b = this.t7;
|
|
1119
|
+
var c = this.t9;
|
|
1120
|
+
var d = new ScalerParams(1, a, this.tz, b.ch);
|
|
1121
|
+
d.c = this.to;
|
|
1122
|
+
var e = new ScalerParams(1, a, this.tz, c.ch);
|
|
1123
|
+
e.c = this.to;
|
|
1124
|
+
var f = this.tn;
|
|
1125
1125
|
var g = b.em(f.left, d);
|
|
1126
1126
|
var h = c.em(f.top, e);
|
|
1127
1127
|
var i = b.em(f.right, d);
|
|
@@ -1130,40 +1130,40 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1130
1130
|
var l = h - j;
|
|
1131
1131
|
var m = new Rect(0, g, j, k, l);
|
|
1132
1132
|
if (this.cd == 1) {
|
|
1133
|
-
m.intersect(XamGeographicMap.
|
|
1133
|
+
m.intersect(XamGeographicMap.v4);
|
|
1134
1134
|
if (m.isEmpty) {
|
|
1135
|
-
m = XamGeographicMap.
|
|
1135
|
+
m = XamGeographicMap.v4;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
return m;
|
|
1139
1139
|
};
|
|
1140
|
-
XamGeographicMap.prototype.vz = function (a) {
|
|
1141
|
-
var b = this.t6.l8(a.x);
|
|
1142
|
-
var c = this.t8.l8(a.y);
|
|
1143
|
-
return { $type: Point_$type, x: b, y: c };
|
|
1144
|
-
};
|
|
1145
1140
|
XamGeographicMap.prototype.v0 = function (a) {
|
|
1146
|
-
var b = this.
|
|
1147
|
-
var c = this.
|
|
1141
|
+
var b = this.t7.l8(a.x);
|
|
1142
|
+
var c = this.t9.l8(a.y);
|
|
1148
1143
|
return { $type: Point_$type, x: b, y: c };
|
|
1149
1144
|
};
|
|
1150
1145
|
XamGeographicMap.prototype.v1 = function (a) {
|
|
1151
|
-
|
|
1146
|
+
var b = this.t7.e4(a.x);
|
|
1147
|
+
var c = this.t9.e4(a.y);
|
|
1148
|
+
return { $type: Point_$type, x: b, y: c };
|
|
1149
|
+
};
|
|
1150
|
+
XamGeographicMap.prototype.v2 = function (a) {
|
|
1151
|
+
return this.v1(a);
|
|
1152
1152
|
};
|
|
1153
|
-
XamGeographicMap.prototype.
|
|
1153
|
+
XamGeographicMap.prototype.vb = function () {
|
|
1154
1154
|
var a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1155
1155
|
if (a != null) {
|
|
1156
1156
|
a.clearTileCache();
|
|
1157
1157
|
}
|
|
1158
1158
|
};
|
|
1159
|
-
XamGeographicMap.prototype.
|
|
1159
|
+
XamGeographicMap.prototype.vh = function (a) {
|
|
1160
1160
|
};
|
|
1161
|
-
XamGeographicMap.prototype.
|
|
1161
|
+
XamGeographicMap.prototype.fi = function () {
|
|
1162
1162
|
return true;
|
|
1163
1163
|
};
|
|
1164
|
-
XamGeographicMap.prototype.
|
|
1164
|
+
XamGeographicMap.prototype.vj = function () {
|
|
1165
1165
|
var e_1, _a;
|
|
1166
|
-
this.
|
|
1166
|
+
this.uj.ee();
|
|
1167
1167
|
try {
|
|
1168
1168
|
for (var _b = __values(fromEnum(this.series)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1169
1169
|
var a = _c.value;
|
|
@@ -1184,128 +1184,128 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
1186
|
};
|
|
1187
|
-
XamGeographicMap.prototype.
|
|
1188
|
-
if (this.
|
|
1189
|
-
if (!this.
|
|
1190
|
-
var a = this.
|
|
1191
|
-
var b = this.
|
|
1192
|
-
this.
|
|
1187
|
+
XamGeographicMap.prototype.vm = function () {
|
|
1188
|
+
if (this.ui == 2) {
|
|
1189
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1190
|
+
var a = this.t7.l8(this.tz.left + (this.tz.width / 2));
|
|
1191
|
+
var b = this.t9.l8(this.tz.top + (this.tz.height / 2));
|
|
1192
|
+
this.vz = { $type: Point_$type, x: a, y: b };
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
1195
|
else {
|
|
1196
|
-
if (!this.
|
|
1197
|
-
var c = this.
|
|
1198
|
-
var d = this.
|
|
1199
|
-
this.
|
|
1196
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1197
|
+
var c = this.t7.l8(this.tz.left);
|
|
1198
|
+
var d = this.t9.l8(this.tz.top);
|
|
1199
|
+
this.vz = { $type: Point_$type, x: c, y: d };
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
|
-
XamGeographicMap.prototype.
|
|
1204
|
-
if (isNaN_(this.
|
|
1205
|
-
this.
|
|
1203
|
+
XamGeographicMap.prototype.vi = function () {
|
|
1204
|
+
if (isNaN_(this.vz.x) || isNaN_(this.vz.y)) {
|
|
1205
|
+
this.vm();
|
|
1206
1206
|
}
|
|
1207
|
-
var a = this.
|
|
1208
|
-
var b = this.
|
|
1207
|
+
var a = this.vz.x;
|
|
1208
|
+
var b = this.vz.y;
|
|
1209
1209
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1210
|
-
var c = this.
|
|
1211
|
-
var d = this.
|
|
1212
|
-
var e = this.
|
|
1213
|
-
var f = this.
|
|
1214
|
-
if (e > this.
|
|
1210
|
+
var c = this.tk.left;
|
|
1211
|
+
var d = this.tk.top;
|
|
1212
|
+
var e = this.tk.width;
|
|
1213
|
+
var f = this.tk.height;
|
|
1214
|
+
if (e > this.v6.width) {
|
|
1215
1215
|
}
|
|
1216
1216
|
else {
|
|
1217
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1218
|
-
g.c = this.
|
|
1219
|
-
var h = this.
|
|
1220
|
-
if (this.
|
|
1221
|
-
var i = h / this.
|
|
1217
|
+
var g = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1218
|
+
g.c = this.to;
|
|
1219
|
+
var h = this.t7.ej(a, g);
|
|
1220
|
+
if (this.ui == 2) {
|
|
1221
|
+
var i = h / this.tz.width;
|
|
1222
1222
|
c = i - (e / 2);
|
|
1223
1223
|
}
|
|
1224
1224
|
else {
|
|
1225
|
-
c = h / this.
|
|
1225
|
+
c = h / this.tz.width;
|
|
1226
1226
|
}
|
|
1227
|
-
if (c + e > this.
|
|
1228
|
-
c = this.
|
|
1227
|
+
if (c + e > this.v6.right) {
|
|
1228
|
+
c = this.v6.right - e;
|
|
1229
1229
|
}
|
|
1230
|
-
else if (c < this.
|
|
1231
|
-
c = this.
|
|
1230
|
+
else if (c < this.v6.left) {
|
|
1231
|
+
c = this.v6.left;
|
|
1232
1232
|
}
|
|
1233
1233
|
}
|
|
1234
|
-
if (f > this.
|
|
1234
|
+
if (f > this.v6.height) {
|
|
1235
1235
|
}
|
|
1236
1236
|
else {
|
|
1237
|
-
var j = new ScalerParams(1, XamGeographicMap.
|
|
1238
|
-
j.c = this.
|
|
1239
|
-
var k = this.
|
|
1240
|
-
if (this.
|
|
1241
|
-
var l = k / this.
|
|
1237
|
+
var j = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1238
|
+
j.c = this.to;
|
|
1239
|
+
var k = this.t9.ej(b, j);
|
|
1240
|
+
if (this.ui == 2) {
|
|
1241
|
+
var l = k / this.tz.height;
|
|
1242
1242
|
d = l - (f / 2);
|
|
1243
1243
|
}
|
|
1244
1244
|
else {
|
|
1245
|
-
d = k / this.
|
|
1245
|
+
d = k / this.tz.height;
|
|
1246
1246
|
}
|
|
1247
|
-
if (d + f > this.
|
|
1248
|
-
d = this.
|
|
1247
|
+
if (d + f > this.v6.bottom) {
|
|
1248
|
+
d = this.v6.bottom - f;
|
|
1249
1249
|
}
|
|
1250
|
-
else if (d < this.
|
|
1251
|
-
d = this.
|
|
1250
|
+
else if (d < this.v6.top) {
|
|
1251
|
+
d = this.v6.top;
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
|
-
this.
|
|
1254
|
+
this.ps(new Rect(0, c, d, e, f), false);
|
|
1255
1255
|
}
|
|
1256
1256
|
};
|
|
1257
|
-
XamGeographicMap.prototype.
|
|
1257
|
+
XamGeographicMap.prototype.get_el = function () {
|
|
1258
1258
|
return true;
|
|
1259
1259
|
};
|
|
1260
|
-
XamGeographicMap.prototype.
|
|
1261
|
-
var a = _super.prototype.
|
|
1262
|
-
if (this.
|
|
1260
|
+
XamGeographicMap.prototype.tl = function () {
|
|
1261
|
+
var a = _super.prototype.tl.call(this);
|
|
1262
|
+
if (this.t7 == null || this.t9 == null) {
|
|
1263
1263
|
return a;
|
|
1264
1264
|
}
|
|
1265
|
-
this.
|
|
1265
|
+
this.tv();
|
|
1266
1266
|
var b = a.left;
|
|
1267
1267
|
var c = a.top;
|
|
1268
1268
|
if (this.cd == 1) {
|
|
1269
|
-
if (this.
|
|
1270
|
-
b = 0.5 - (this.
|
|
1269
|
+
if (this.t0.width > this.v6.width) {
|
|
1270
|
+
b = 0.5 - (this.t0.width / 2);
|
|
1271
1271
|
}
|
|
1272
|
-
else if (b + a.width > this.
|
|
1273
|
-
b = this.
|
|
1272
|
+
else if (b + a.width > this.v6.right) {
|
|
1273
|
+
b = this.v6.right - this.t0.width;
|
|
1274
1274
|
}
|
|
1275
|
-
else if (b < this.
|
|
1276
|
-
b = this.
|
|
1275
|
+
else if (b < this.v6.left) {
|
|
1276
|
+
b = this.v6.left;
|
|
1277
1277
|
}
|
|
1278
|
-
if (this.
|
|
1279
|
-
c = 0.5 - (this.
|
|
1278
|
+
if (this.t0.height > this.v6.height) {
|
|
1279
|
+
c = 0.5 - (this.t0.height / 2);
|
|
1280
1280
|
}
|
|
1281
|
-
else if (c + this.
|
|
1282
|
-
c = this.
|
|
1281
|
+
else if (c + this.t0.height > this.v6.bottom) {
|
|
1282
|
+
c = this.v6.bottom - this.t0.height;
|
|
1283
1283
|
}
|
|
1284
|
-
else if (c < this.
|
|
1285
|
-
c = this.
|
|
1284
|
+
else if (c < this.v6.top) {
|
|
1285
|
+
c = this.v6.top;
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
var d = false;
|
|
1289
|
-
if (!this.
|
|
1289
|
+
if (!this.uo && this.cd == 2 && this.ul) {
|
|
1290
1290
|
if (b > 1) {
|
|
1291
1291
|
b = (b - Math.floor(b)) + 1;
|
|
1292
1292
|
}
|
|
1293
1293
|
if (b < 0) {
|
|
1294
1294
|
b = 0 - (Math.ceil(b) - b);
|
|
1295
1295
|
}
|
|
1296
|
-
if ((a.right - this.
|
|
1297
|
-
b = this.
|
|
1296
|
+
if ((a.right - this.v6.right) > 0 && ((a.right - this.v6.right) / a.width) > 0.8) {
|
|
1297
|
+
b = this.v6.left - (a.width - (a.right - this.v6.right));
|
|
1298
1298
|
d = true;
|
|
1299
1299
|
}
|
|
1300
|
-
else if (a.left < this.
|
|
1301
|
-
b = this.
|
|
1300
|
+
else if (a.left < this.v6.left && (Math.abs(a.left - this.v6.left) / a.width) > 0.8) {
|
|
1301
|
+
b = this.v6.right - (Math.abs(a.left - this.v6.left));
|
|
1302
1302
|
d = true;
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
var e = new Rect(0, b, c, a.width, a.height);
|
|
1306
|
-
if (this.
|
|
1307
|
-
var f = this.
|
|
1308
|
-
f = this.
|
|
1306
|
+
if (this.uo) {
|
|
1307
|
+
var f = this.v9(this.wk, 1);
|
|
1308
|
+
f = this.wb(f);
|
|
1309
1309
|
var g = e.left + e.width / 2;
|
|
1310
1310
|
var h = e.top + e.height / 2;
|
|
1311
1311
|
if (e.width > f.width) {
|
|
@@ -1340,17 +1340,17 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
if (d) {
|
|
1343
|
-
this.
|
|
1344
|
-
this.
|
|
1345
|
-
this.
|
|
1343
|
+
this.d8 = true;
|
|
1344
|
+
this.t0 = e;
|
|
1345
|
+
this.d8 = false;
|
|
1346
1346
|
}
|
|
1347
1347
|
return e;
|
|
1348
1348
|
};
|
|
1349
|
-
XamGeographicMap.prototype.
|
|
1349
|
+
XamGeographicMap.prototype.lm = function (a, b) {
|
|
1350
1350
|
var c = true;
|
|
1351
1351
|
var d = true;
|
|
1352
1352
|
var e = 0;
|
|
1353
|
-
var f = this.
|
|
1353
|
+
var f = this.tv();
|
|
1354
1354
|
var g = 0;
|
|
1355
1355
|
var h = 0;
|
|
1356
1356
|
if ((a.right - f.right) > 0) {
|
|
@@ -1367,39 +1367,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
if (c) {
|
|
1369
1369
|
if (d) {
|
|
1370
|
-
var i = this.
|
|
1371
|
-
var j = this.
|
|
1370
|
+
var i = this.t6.ej(-180, b);
|
|
1371
|
+
var j = this.t6.ej(180, b);
|
|
1372
1372
|
e = j - i;
|
|
1373
1373
|
}
|
|
1374
1374
|
else {
|
|
1375
|
-
var k = this.
|
|
1376
|
-
var l = this.
|
|
1375
|
+
var k = this.t6.ej(-180, b);
|
|
1376
|
+
var l = this.t6.ej(180, b);
|
|
1377
1377
|
e = k - l;
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
1380
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1381
1381
|
};
|
|
1382
|
-
XamGeographicMap.prototype.
|
|
1383
|
-
var a = new ScalerParams(1, XamGeographicMap.
|
|
1384
|
-
a.c = this.
|
|
1385
|
-
var b = new ScalerParams(1, XamGeographicMap.
|
|
1386
|
-
b.c = this.
|
|
1387
|
-
var c = this.
|
|
1388
|
-
var d = this.
|
|
1389
|
-
var e = this.
|
|
1390
|
-
var f = this.
|
|
1391
|
-
this.
|
|
1392
|
-
return this.
|
|
1393
|
-
};
|
|
1394
|
-
XamGeographicMap.prototype.
|
|
1395
|
-
var b = this.
|
|
1382
|
+
XamGeographicMap.prototype.tv = function () {
|
|
1383
|
+
var a = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1384
|
+
a.c = this.to;
|
|
1385
|
+
var b = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1386
|
+
b.c = this.to;
|
|
1387
|
+
var c = this.t7.ej(XamGeographicMap.v4.left, a);
|
|
1388
|
+
var d = this.t7.ej(XamGeographicMap.v4.right, a);
|
|
1389
|
+
var e = this.t9.ej(XamGeographicMap.v4.top, b);
|
|
1390
|
+
var f = this.t9.ej(XamGeographicMap.v4.bottom, b);
|
|
1391
|
+
this.v6 = new Rect(0, c / this.tz.width, f / this.tz.height, (d - c) / this.tz.width, (e - f) / this.tz.height);
|
|
1392
|
+
return this.v6;
|
|
1393
|
+
};
|
|
1394
|
+
XamGeographicMap.prototype.wb = function (a) {
|
|
1395
|
+
var b = this.gk;
|
|
1396
1396
|
var c = 0.5 * (a.left + a.right);
|
|
1397
1397
|
var d = 0.5 * (a.top + a.bottom);
|
|
1398
1398
|
var e = a.width;
|
|
1399
1399
|
var f = a.height;
|
|
1400
1400
|
var g = MathUtil.d(a.width, b, 1);
|
|
1401
1401
|
var h = MathUtil.d(a.height, b, 1);
|
|
1402
|
-
var i = this.
|
|
1402
|
+
var i = this.tz;
|
|
1403
1403
|
var j = i.width / i.height;
|
|
1404
1404
|
var k = g * i.width;
|
|
1405
1405
|
var l = h * i.height;
|
|
@@ -1438,8 +1438,8 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
return new Rect(0, p, q, r - p, s - q);
|
|
1440
1440
|
};
|
|
1441
|
-
XamGeographicMap.prototype.
|
|
1442
|
-
_super.prototype.
|
|
1441
|
+
XamGeographicMap.prototype.tm = function (a) {
|
|
1442
|
+
_super.prototype.tm.call(this, this.tz);
|
|
1443
1443
|
if (a.isEmpty) {
|
|
1444
1444
|
return Rect.empty;
|
|
1445
1445
|
}
|
|
@@ -1454,131 +1454,131 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
return b;
|
|
1456
1456
|
};
|
|
1457
|
-
XamGeographicMap.prototype.
|
|
1458
|
-
return this.
|
|
1457
|
+
XamGeographicMap.prototype.wd = function (a) {
|
|
1458
|
+
return this.tm(a);
|
|
1459
1459
|
};
|
|
1460
1460
|
XamGeographicMap.prototype.ct = function () {
|
|
1461
1461
|
return new XamGeographicMapView(this);
|
|
1462
1462
|
};
|
|
1463
|
-
XamGeographicMap.prototype.
|
|
1463
|
+
XamGeographicMap.prototype.vd = function (a) {
|
|
1464
1464
|
if (a != null) {
|
|
1465
1465
|
a.bi = this;
|
|
1466
1466
|
}
|
|
1467
1467
|
};
|
|
1468
|
-
XamGeographicMap.prototype.
|
|
1469
|
-
_super.prototype.
|
|
1470
|
-
this.
|
|
1468
|
+
XamGeographicMap.prototype.n2 = function (a) {
|
|
1469
|
+
_super.prototype.n2.call(this, a);
|
|
1470
|
+
this.uj = a;
|
|
1471
1471
|
};
|
|
1472
|
-
XamGeographicMap.prototype.
|
|
1473
|
-
_super.prototype.
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1472
|
+
XamGeographicMap.prototype.od = function (a, b) {
|
|
1473
|
+
_super.prototype.od.call(this, a, b);
|
|
1474
|
+
this.pf(this.t7);
|
|
1475
|
+
this.pf(this.t9);
|
|
1476
1476
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1477
|
-
this.
|
|
1477
|
+
this.vi();
|
|
1478
1478
|
}
|
|
1479
|
-
if (this.
|
|
1480
|
-
this.
|
|
1479
|
+
if (this.uo) {
|
|
1480
|
+
this.tk = this.tl();
|
|
1481
1481
|
}
|
|
1482
|
-
this.
|
|
1482
|
+
this.vp();
|
|
1483
1483
|
};
|
|
1484
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1484
|
+
Object.defineProperty(XamGeographicMap.prototype, "ut", {
|
|
1485
1485
|
get: function () {
|
|
1486
|
-
return this.
|
|
1486
|
+
return this.ur;
|
|
1487
1487
|
},
|
|
1488
1488
|
set: function (a) {
|
|
1489
|
-
var b = this.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1489
|
+
var b = this.ur;
|
|
1490
|
+
this.ur = a;
|
|
1491
|
+
this.oj("ActualWindowScale", b, this.ur);
|
|
1492
1492
|
},
|
|
1493
1493
|
enumerable: false,
|
|
1494
1494
|
configurable: true
|
|
1495
1495
|
});
|
|
1496
|
-
XamGeographicMap.prototype.gp = function () {
|
|
1497
|
-
return this.us;
|
|
1498
|
-
};
|
|
1499
1496
|
XamGeographicMap.prototype.gq = function () {
|
|
1500
|
-
return this.
|
|
1497
|
+
return this.ut;
|
|
1501
1498
|
};
|
|
1502
|
-
XamGeographicMap.prototype.
|
|
1503
|
-
|
|
1504
|
-
var a = Math.min(this.tj.width, this.tj.height);
|
|
1505
|
-
this.us = a;
|
|
1499
|
+
XamGeographicMap.prototype.gr = function () {
|
|
1500
|
+
return this.ut;
|
|
1506
1501
|
};
|
|
1507
|
-
XamGeographicMap.prototype.
|
|
1508
|
-
|
|
1502
|
+
XamGeographicMap.prototype.pe = function () {
|
|
1503
|
+
_super.prototype.pe.call(this);
|
|
1504
|
+
var a = Math.min(this.tk.width, this.tk.height);
|
|
1505
|
+
this.ut = a;
|
|
1506
|
+
};
|
|
1507
|
+
XamGeographicMap.prototype.fa = function () {
|
|
1508
|
+
return this.ul;
|
|
1509
1509
|
};
|
|
1510
1510
|
XamGeographicMap.prototype.ce = function () {
|
|
1511
1511
|
if (this.cf == 0) {
|
|
1512
|
-
if (this.
|
|
1512
|
+
if (this.um) {
|
|
1513
1513
|
return 2;
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
1516
1516
|
return this.cf;
|
|
1517
1517
|
};
|
|
1518
|
-
XamGeographicMap.prototype.
|
|
1518
|
+
XamGeographicMap.prototype.oe = function (a, b, c, d) {
|
|
1519
1519
|
var e_2, _a, e_3, _b;
|
|
1520
|
-
_super.prototype.
|
|
1520
|
+
_super.prototype.oe.call(this, a, b, c, d);
|
|
1521
1521
|
switch (b) {
|
|
1522
1522
|
case "ZoomCoercionMode":
|
|
1523
|
-
this.
|
|
1523
|
+
this.ve();
|
|
1524
1524
|
break;
|
|
1525
1525
|
case "WindowRect":
|
|
1526
|
-
this.
|
|
1526
|
+
this.vm();
|
|
1527
1527
|
break;
|
|
1528
1528
|
case XamGeographicMap.$$p[0]:
|
|
1529
|
-
this.
|
|
1530
|
-
if (this.
|
|
1531
|
-
this.
|
|
1529
|
+
this.uf = this.ug();
|
|
1530
|
+
if (this.uc != null) {
|
|
1531
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1532
1532
|
}
|
|
1533
1533
|
break;
|
|
1534
1534
|
case XamGeographicMap.$$p[1]:
|
|
1535
|
-
this.
|
|
1536
|
-
this.
|
|
1535
|
+
this.ul = this.um;
|
|
1536
|
+
this.uf = this.ug();
|
|
1537
1537
|
this.cd = this.ce();
|
|
1538
|
-
if (this.
|
|
1539
|
-
this.
|
|
1538
|
+
if (this.uc != null) {
|
|
1539
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1540
1540
|
}
|
|
1541
1541
|
break;
|
|
1542
1542
|
case XamGeographicMap.$$p[4]:
|
|
1543
|
-
this.
|
|
1543
|
+
this.tk = this.tl();
|
|
1544
1544
|
break;
|
|
1545
1545
|
case "BackgroundContent":
|
|
1546
|
-
if (this.
|
|
1547
|
-
var e = this.
|
|
1548
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1549
|
-
this.
|
|
1546
|
+
if (this.uc != null) {
|
|
1547
|
+
var e = this.uc;
|
|
1548
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.vf));
|
|
1549
|
+
this.uc.deferralHandler = null;
|
|
1550
1550
|
}
|
|
1551
|
-
this.
|
|
1552
|
-
if (this.
|
|
1553
|
-
var f = this.
|
|
1554
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1555
|
-
this.
|
|
1556
|
-
this.
|
|
1551
|
+
this.uc = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1552
|
+
if (this.uc != null) {
|
|
1553
|
+
var f = this.uc;
|
|
1554
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.vf));
|
|
1555
|
+
this.uc.deferralHandler = this;
|
|
1556
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1557
1557
|
}
|
|
1558
|
-
this.
|
|
1559
|
-
if (this.
|
|
1560
|
-
this.
|
|
1561
|
-
this.
|
|
1562
|
-
this.
|
|
1558
|
+
this.uj.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1559
|
+
if (this.uc != null) {
|
|
1560
|
+
this.uc.geographicMap = this;
|
|
1561
|
+
this.uj.fr(this.tk);
|
|
1562
|
+
this.uj.fv(this.gg);
|
|
1563
1563
|
}
|
|
1564
1564
|
break;
|
|
1565
1565
|
case "YAxis":
|
|
1566
1566
|
case "XAxis":
|
|
1567
|
-
this.
|
|
1568
|
-
this.
|
|
1567
|
+
this.vk(c);
|
|
1568
|
+
this.vd(d);
|
|
1569
1569
|
break;
|
|
1570
1570
|
case XamGeographicMap.$$p[6]:
|
|
1571
|
-
if (!this.
|
|
1572
|
-
this.
|
|
1571
|
+
if (!this.un) {
|
|
1572
|
+
this.t0 = XamGeographicMap.v7;
|
|
1573
1573
|
}
|
|
1574
|
-
this.
|
|
1575
|
-
this.vk();
|
|
1574
|
+
this.ve();
|
|
1576
1575
|
this.vl();
|
|
1577
|
-
this.
|
|
1578
|
-
this.
|
|
1576
|
+
this.vm();
|
|
1577
|
+
this.tk = this.tl();
|
|
1578
|
+
this.uj.fs();
|
|
1579
1579
|
break;
|
|
1580
1580
|
case "ActualWindowRect":
|
|
1581
|
-
this.
|
|
1581
|
+
this.uj.fr(this.tk);
|
|
1582
1582
|
break;
|
|
1583
1583
|
case "ActualWorldRect":
|
|
1584
1584
|
try {
|
|
@@ -1602,30 +1602,30 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
break;
|
|
1604
1604
|
case XamGeographicMap.$$p[5]:
|
|
1605
|
-
this.
|
|
1605
|
+
this.ut = this.uu;
|
|
1606
1606
|
break;
|
|
1607
1607
|
case "ActualWindowScale":
|
|
1608
|
-
if (!this.
|
|
1609
|
-
this.
|
|
1608
|
+
if (!this.fh) {
|
|
1609
|
+
this.pq(this.gq(), this.gr());
|
|
1610
1610
|
}
|
|
1611
1611
|
break;
|
|
1612
1612
|
case "ActualPixelScalingRatio":
|
|
1613
|
-
this.
|
|
1613
|
+
this.uj.fv(this.gg);
|
|
1614
1614
|
break;
|
|
1615
1615
|
case "WindowRectMinWidth":
|
|
1616
1616
|
case "WindowRectMinHeight":
|
|
1617
1617
|
var h = d;
|
|
1618
1618
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1619
|
+
this.gk = 5E-06;
|
|
1619
1620
|
this.gj = 5E-06;
|
|
1620
|
-
this.gi = 5E-06;
|
|
1621
1621
|
}
|
|
1622
1622
|
else {
|
|
1623
|
+
this.gk = h;
|
|
1623
1624
|
this.gj = h;
|
|
1624
|
-
this.gi = h;
|
|
1625
1625
|
}
|
|
1626
1626
|
break;
|
|
1627
1627
|
case XamGeographicMap.$$p[7]:
|
|
1628
|
-
this.
|
|
1628
|
+
this.pm();
|
|
1629
1629
|
break;
|
|
1630
1630
|
case "MarkerAutomaticBehavior":
|
|
1631
1631
|
try {
|
|
@@ -1650,39 +1650,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1650
1650
|
break;
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
|
-
XamGeographicMap.prototype.
|
|
1653
|
+
XamGeographicMap.prototype.vf = function (a, b) {
|
|
1654
1654
|
if (this.imageTilesReady != null) {
|
|
1655
1655
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1656
1656
|
}
|
|
1657
1657
|
};
|
|
1658
|
-
XamGeographicMap.prototype.
|
|
1658
|
+
XamGeographicMap.prototype.vk = function (a) {
|
|
1659
1659
|
if (a != null) {
|
|
1660
1660
|
a.bi = null;
|
|
1661
1661
|
}
|
|
1662
1662
|
};
|
|
1663
|
-
XamGeographicMap.prototype.
|
|
1664
|
-
if (this.
|
|
1665
|
-
this.
|
|
1666
|
-
this.
|
|
1663
|
+
XamGeographicMap.prototype.vl = function () {
|
|
1664
|
+
if (this.t7 != null) {
|
|
1665
|
+
this.t7.l5 = this.v8.left;
|
|
1666
|
+
this.t7.l4 = this.v8.right;
|
|
1667
1667
|
}
|
|
1668
|
-
if (this.
|
|
1669
|
-
this.
|
|
1670
|
-
this.
|
|
1668
|
+
if (this.t9 != null) {
|
|
1669
|
+
this.t9.l5 = this.v8.top;
|
|
1670
|
+
this.t9.l4 = this.v8.bottom;
|
|
1671
1671
|
}
|
|
1672
|
-
this.
|
|
1673
|
-
this.
|
|
1672
|
+
this.t7.c2(true);
|
|
1673
|
+
this.t9.c2(true);
|
|
1674
1674
|
};
|
|
1675
1675
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
1676
|
-
this.
|
|
1677
|
-
return this.
|
|
1676
|
+
this.uk = this.uj.fo;
|
|
1677
|
+
return this.uk;
|
|
1678
1678
|
};
|
|
1679
|
-
XamGeographicMap.prototype.
|
|
1680
|
-
return this.
|
|
1679
|
+
XamGeographicMap.prototype.sp = function () {
|
|
1680
|
+
return this.uj.fw;
|
|
1681
1681
|
};
|
|
1682
1682
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
1683
|
-
return this.
|
|
1683
|
+
return this.uj.fx;
|
|
1684
1684
|
};
|
|
1685
|
-
XamGeographicMap.prototype.
|
|
1685
|
+
XamGeographicMap.prototype.o7 = function (a, b) {
|
|
1686
1686
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1687
1687
|
var c = b;
|
|
1688
1688
|
var d = a;
|
|
@@ -1690,33 +1690,33 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1690
1690
|
d.qn = c.triangulationSource.triangles;
|
|
1691
1691
|
}
|
|
1692
1692
|
else {
|
|
1693
|
-
_super.prototype.
|
|
1693
|
+
_super.prototype.o7.call(this, a, b);
|
|
1694
1694
|
}
|
|
1695
1695
|
};
|
|
1696
1696
|
XamGeographicMap.prototype.register = function (a, b) {
|
|
1697
|
-
this.
|
|
1697
|
+
this.ox(a, b);
|
|
1698
1698
|
};
|
|
1699
1699
|
XamGeographicMap.prototype.unRegister = function (a) {
|
|
1700
|
-
this.
|
|
1700
|
+
this.pd(a);
|
|
1701
1701
|
};
|
|
1702
1702
|
XamGeographicMap.prototype.deferredRefresh = function () {
|
|
1703
|
-
this.
|
|
1703
|
+
this.lz();
|
|
1704
1704
|
};
|
|
1705
1705
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
1706
|
-
if (this.
|
|
1707
|
-
this.
|
|
1706
|
+
if (this.uw != null) {
|
|
1707
|
+
this.uw.setTimeout(a, 0);
|
|
1708
1708
|
}
|
|
1709
1709
|
else {
|
|
1710
1710
|
window.setTimeout(a, 0);
|
|
1711
1711
|
}
|
|
1712
1712
|
};
|
|
1713
|
-
XamGeographicMap.prototype.
|
|
1714
|
-
this.
|
|
1713
|
+
XamGeographicMap.prototype.vc = function (a) {
|
|
1714
|
+
this.pl(a);
|
|
1715
1715
|
};
|
|
1716
|
-
XamGeographicMap.prototype.
|
|
1716
|
+
XamGeographicMap.prototype.ux = function () {
|
|
1717
1717
|
var a = new ChartVisualData();
|
|
1718
|
-
var b = this.
|
|
1719
|
-
var c = this.
|
|
1718
|
+
var b = this.t7.fw();
|
|
1719
|
+
var c = this.t9.fw();
|
|
1720
1720
|
a.axes.add1(b);
|
|
1721
1721
|
a.axes.add1(c);
|
|
1722
1722
|
for (var d = 0; d < this.series.count; d++) {
|
|
@@ -1724,49 +1724,49 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1724
1724
|
a.series.add1(e);
|
|
1725
1725
|
}
|
|
1726
1726
|
a.name = this.name;
|
|
1727
|
-
a.contentArea = RectData.b(this.
|
|
1728
|
-
a.centralArea = RectData.b(this.
|
|
1729
|
-
a.plotArea = RectData.b(this.
|
|
1727
|
+
a.contentArea = RectData.b(this.tz);
|
|
1728
|
+
a.centralArea = RectData.b(this.tz);
|
|
1729
|
+
a.plotArea = RectData.b(this.tz);
|
|
1730
1730
|
return a;
|
|
1731
1731
|
};
|
|
1732
|
-
XamGeographicMap.prototype.
|
|
1732
|
+
XamGeographicMap.prototype.tr = function (a, b, c) {
|
|
1733
1733
|
return a;
|
|
1734
1734
|
};
|
|
1735
|
-
XamGeographicMap.prototype.
|
|
1735
|
+
XamGeographicMap.prototype.vg = function () {
|
|
1736
1736
|
};
|
|
1737
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1737
|
+
Object.defineProperty(XamGeographicMap.prototype, "wj", {
|
|
1738
1738
|
get: function () {
|
|
1739
|
-
return this.
|
|
1739
|
+
return this.v5;
|
|
1740
1740
|
},
|
|
1741
1741
|
set: function (a) {
|
|
1742
|
-
this.
|
|
1742
|
+
this.v5 = a;
|
|
1743
1743
|
},
|
|
1744
1744
|
enumerable: false,
|
|
1745
1745
|
configurable: true
|
|
1746
1746
|
});
|
|
1747
|
-
XamGeographicMap.prototype.
|
|
1748
|
-
this.
|
|
1749
|
-
this.
|
|
1747
|
+
XamGeographicMap.prototype.vq = function (a) {
|
|
1748
|
+
this.wj = a;
|
|
1749
|
+
this.vp();
|
|
1750
1750
|
};
|
|
1751
|
-
XamGeographicMap.prototype.
|
|
1752
|
-
if (this.
|
|
1753
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1751
|
+
XamGeographicMap.prototype.vp = function () {
|
|
1752
|
+
if (this.uq && !this.wj.isEmpty) {
|
|
1753
|
+
var a = this.getZoomFromGeographicRect(this.wj);
|
|
1754
|
+
this.wj = Rect.empty;
|
|
1755
|
+
this.ps(a, false);
|
|
1756
1756
|
}
|
|
1757
1757
|
};
|
|
1758
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1758
|
+
Object.defineProperty(XamGeographicMap.prototype, "uq", {
|
|
1759
1759
|
get: function () {
|
|
1760
|
-
return !this.
|
|
1760
|
+
return !this.tz.isEmpty && !this.to.isEmpty;
|
|
1761
1761
|
},
|
|
1762
1762
|
enumerable: false,
|
|
1763
1763
|
configurable: true
|
|
1764
1764
|
});
|
|
1765
1765
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1766
|
-
XamGeographicMap.
|
|
1767
|
-
XamGeographicMap.
|
|
1768
|
-
XamGeographicMap.
|
|
1769
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1766
|
+
XamGeographicMap.uh = 0;
|
|
1767
|
+
XamGeographicMap.v4 = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1768
|
+
XamGeographicMap.v7 = new Rect(0, 0, 0, 1, 1);
|
|
1769
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'oj', ['BackgroundTilingMode:ue:vr', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:um:vs', [0, false], 'ResizeBehavior:ui:vt', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.uh)], 'SuppressZoomResetOnWorldRectChange:un:vu', [0, false], 'UseWorldRectForZoomBounds:uo:vv', [0, false], 'WindowScale:uu:vw', [1, NaN], 'WorldRect:wk:vx', [Rect.$, XamGeographicMap.v4], 'Zoomable:up:vy', [0, true]]);
|
|
1770
1770
|
return XamGeographicMap;
|
|
1771
1771
|
}(SeriesViewer));
|
|
1772
1772
|
/**
|
|
@@ -1909,14 +1909,14 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1909
1909
|
return a;
|
|
1910
1910
|
}
|
|
1911
1911
|
var b = new Rect(0, 0, 0, a.width, a.height);
|
|
1912
|
-
var c = this.geographicMap.
|
|
1913
|
-
var d = XamGeographicMap.
|
|
1914
|
-
var e = this.geographicMap.
|
|
1912
|
+
var c = this.geographicMap.wd(b);
|
|
1913
|
+
var d = XamGeographicMap.v4;
|
|
1914
|
+
var e = this.geographicMap.v8;
|
|
1915
1915
|
var f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1916
1916
|
var g = e.width / d.width;
|
|
1917
1917
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1918
|
-
var h = this.geographicMap.
|
|
1919
|
-
var i = this.geographicMap.
|
|
1918
|
+
var h = this.geographicMap.t7;
|
|
1919
|
+
var i = this.geographicMap.t9;
|
|
1920
1920
|
var j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1921
1921
|
j.c = c;
|
|
1922
1922
|
var k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -2035,8 +2035,8 @@ var GeographicXYTriangulatingSeriesView = /** @class */ /*@__PURE__*/ (function
|
|
|
2035
2035
|
a.qd = null;
|
|
2036
2036
|
return;
|
|
2037
2037
|
}
|
|
2038
|
-
a.qc = this.ce.ce.
|
|
2039
|
-
a.qd = this.ce.ce.
|
|
2038
|
+
a.qc = this.ce.ce.t7;
|
|
2039
|
+
a.qd = this.ce.ce.t9;
|
|
2040
2040
|
};
|
|
2041
2041
|
GeographicXYTriangulatingSeriesView.prototype.cg = function () {
|
|
2042
2042
|
this.ce.qe.re = this.ce.qq;
|
|
@@ -2110,8 +2110,8 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2110
2110
|
_this.fp = NaN;
|
|
2111
2111
|
_this.fz = Rect.empty;
|
|
2112
2112
|
_this.fn = a;
|
|
2113
|
-
_this.fn.
|
|
2114
|
-
_this.fn.
|
|
2113
|
+
_this.fn.sk = 2;
|
|
2114
|
+
_this.fn.hp = 5E-06;
|
|
2115
2115
|
return _this;
|
|
2116
2116
|
}
|
|
2117
2117
|
XamGeographicMapView.prototype.m = function (a) {
|
|
@@ -2119,7 +2119,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2119
2119
|
};
|
|
2120
2120
|
XamGeographicMapView.prototype.bk = function (a) {
|
|
2121
2121
|
this.j.bw(a);
|
|
2122
|
-
this.fn.
|
|
2122
|
+
this.fn.vc(a);
|
|
2123
2123
|
this.el();
|
|
2124
2124
|
};
|
|
2125
2125
|
XamGeographicMapView.prototype.get_ap = function () {
|
|
@@ -2182,13 +2182,13 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
};
|
|
2184
2184
|
XamGeographicMapView.prototype.fr = function (a) {
|
|
2185
|
-
if (this.fn.
|
|
2186
|
-
this.fn.
|
|
2185
|
+
if (this.fn.uc != null) {
|
|
2186
|
+
this.fn.uc.windowRect = a;
|
|
2187
2187
|
}
|
|
2188
2188
|
};
|
|
2189
2189
|
XamGeographicMapView.prototype.fu = function (a, b) {
|
|
2190
|
-
if (this.fn.
|
|
2191
|
-
this.fn.
|
|
2190
|
+
if (this.fn.uc != null) {
|
|
2191
|
+
this.fn.uc.windowRect = this.fn.tk;
|
|
2192
2192
|
}
|
|
2193
2193
|
if (a != null) {
|
|
2194
2194
|
var c = a.ao;
|
|
@@ -2215,7 +2215,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2215
2215
|
}
|
|
2216
2216
|
};
|
|
2217
2217
|
XamGeographicMapView.prototype.ft = function (a) {
|
|
2218
|
-
var b = this.fn.
|
|
2218
|
+
var b = this.fn.gg;
|
|
2219
2219
|
if (b != 1) {
|
|
2220
2220
|
a.aa();
|
|
2221
2221
|
a.ab(b, b);
|
|
@@ -2840,11 +2840,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2840
2840
|
* Gets or sets zoomability of the current control
|
|
2841
2841
|
*/
|
|
2842
2842
|
get: function () {
|
|
2843
|
-
return this.i.
|
|
2843
|
+
return this.i.up;
|
|
2844
2844
|
},
|
|
2845
2845
|
set: function (v) {
|
|
2846
|
-
this.i.
|
|
2847
|
-
this._a("zoomable", this.i.
|
|
2846
|
+
this.i.up = ensureBool(v);
|
|
2847
|
+
this._a("zoomable", this.i.up);
|
|
2848
2848
|
},
|
|
2849
2849
|
enumerable: false,
|
|
2850
2850
|
configurable: true
|
|
@@ -2854,11 +2854,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2854
2854
|
* Gets or sets the behavior to use during resize.
|
|
2855
2855
|
*/
|
|
2856
2856
|
get: function () {
|
|
2857
|
-
return this.i.
|
|
2857
|
+
return this.i.ui;
|
|
2858
2858
|
},
|
|
2859
2859
|
set: function (v) {
|
|
2860
|
-
this.i.
|
|
2861
|
-
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.
|
|
2860
|
+
this.i.ui = ensureEnum(MapResizeBehavior_$type, v);
|
|
2861
|
+
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.ui));
|
|
2862
2862
|
},
|
|
2863
2863
|
enumerable: false,
|
|
2864
2864
|
configurable: true
|
|
@@ -2868,11 +2868,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2868
2868
|
* Gets or sets if the map should horizontally wrap.
|
|
2869
2869
|
*/
|
|
2870
2870
|
get: function () {
|
|
2871
|
-
return this.i.
|
|
2871
|
+
return this.i.um;
|
|
2872
2872
|
},
|
|
2873
2873
|
set: function (v) {
|
|
2874
|
-
this.i.
|
|
2875
|
-
this._a("isHorizontalWrappingEnabled", this.i.
|
|
2874
|
+
this.i.um = ensureBool(v);
|
|
2875
|
+
this._a("isHorizontalWrappingEnabled", this.i.um);
|
|
2876
2876
|
},
|
|
2877
2877
|
enumerable: false,
|
|
2878
2878
|
configurable: true
|
|
@@ -2882,11 +2882,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2882
2882
|
* Gets or sets if the map should horizontally wrap.
|
|
2883
2883
|
*/
|
|
2884
2884
|
get: function () {
|
|
2885
|
-
return this.i.
|
|
2885
|
+
return this.i.ue;
|
|
2886
2886
|
},
|
|
2887
2887
|
set: function (v) {
|
|
2888
|
-
this.i.
|
|
2889
|
-
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.
|
|
2888
|
+
this.i.ue = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2889
|
+
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.ue));
|
|
2890
2890
|
},
|
|
2891
2891
|
enumerable: false,
|
|
2892
2892
|
configurable: true
|
|
@@ -2896,11 +2896,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2896
2896
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2897
2897
|
*/
|
|
2898
2898
|
get: function () {
|
|
2899
|
-
return this.i.
|
|
2899
|
+
return this.i.uo;
|
|
2900
2900
|
},
|
|
2901
2901
|
set: function (v) {
|
|
2902
|
-
this.i.
|
|
2903
|
-
this._a("useWorldRectForZoomBounds", this.i.
|
|
2902
|
+
this.i.uo = ensureBool(v);
|
|
2903
|
+
this._a("useWorldRectForZoomBounds", this.i.uo);
|
|
2904
2904
|
},
|
|
2905
2905
|
enumerable: false,
|
|
2906
2906
|
configurable: true
|
|
@@ -2910,11 +2910,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2910
2910
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2911
2911
|
*/
|
|
2912
2912
|
get: function () {
|
|
2913
|
-
return this.i.
|
|
2913
|
+
return this.i.un;
|
|
2914
2914
|
},
|
|
2915
2915
|
set: function (v) {
|
|
2916
|
-
this.i.
|
|
2917
|
-
this._a("suppressZoomResetOnWorldRectChange", this.i.
|
|
2916
|
+
this.i.un = ensureBool(v);
|
|
2917
|
+
this._a("suppressZoomResetOnWorldRectChange", this.i.un);
|
|
2918
2918
|
},
|
|
2919
2919
|
enumerable: false,
|
|
2920
2920
|
configurable: true
|
|
@@ -2924,11 +2924,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2924
2924
|
* Gets or sets the world bounding rectangle.
|
|
2925
2925
|
*/
|
|
2926
2926
|
get: function () {
|
|
2927
|
-
return fromRect(this.i.
|
|
2927
|
+
return fromRect(this.i.wk);
|
|
2928
2928
|
},
|
|
2929
2929
|
set: function (v) {
|
|
2930
|
-
this.i.
|
|
2931
|
-
this._a("worldRect", rectToString(this.i.
|
|
2930
|
+
this.i.wk = toRect(v);
|
|
2931
|
+
this._a("worldRect", rectToString(this.i.wk));
|
|
2932
2932
|
},
|
|
2933
2933
|
enumerable: false,
|
|
2934
2934
|
configurable: true
|
|
@@ -2938,11 +2938,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2938
2938
|
* Gets the actual value of the WorldRect.
|
|
2939
2939
|
*/
|
|
2940
2940
|
get: function () {
|
|
2941
|
-
return fromRect(this.i.
|
|
2941
|
+
return fromRect(this.i.v8);
|
|
2942
2942
|
},
|
|
2943
2943
|
set: function (v) {
|
|
2944
|
-
this.i.
|
|
2945
|
-
this._a("actualWorldRect", rectToString(this.i.
|
|
2944
|
+
this.i.v8 = toRect(v);
|
|
2945
|
+
this._a("actualWorldRect", rectToString(this.i.v8));
|
|
2946
2946
|
},
|
|
2947
2947
|
enumerable: false,
|
|
2948
2948
|
configurable: true
|
|
@@ -2953,7 +2953,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2953
2953
|
* 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.
|
|
2954
2954
|
*/
|
|
2955
2955
|
get: function () {
|
|
2956
|
-
var r = this.i.
|
|
2956
|
+
var r = this.i.t7;
|
|
2957
2957
|
if (r == null) {
|
|
2958
2958
|
return null;
|
|
2959
2959
|
}
|
|
@@ -2969,7 +2969,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2969
2969
|
set: function (v) {
|
|
2970
2970
|
if (v != null && this._stylingContainer && v._styling)
|
|
2971
2971
|
v._styling(this._stylingContainer, this, this);
|
|
2972
|
-
v == null ? this.i.
|
|
2972
|
+
v == null ? this.i.t7 = null : this.i.t7 = v.i;
|
|
2973
2973
|
},
|
|
2974
2974
|
enumerable: false,
|
|
2975
2975
|
configurable: true
|
|
@@ -2980,7 +2980,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2980
2980
|
* 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.
|
|
2981
2981
|
*/
|
|
2982
2982
|
get: function () {
|
|
2983
|
-
var r = this.i.
|
|
2983
|
+
var r = this.i.t9;
|
|
2984
2984
|
if (r == null) {
|
|
2985
2985
|
return null;
|
|
2986
2986
|
}
|
|
@@ -2996,7 +2996,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2996
2996
|
set: function (v) {
|
|
2997
2997
|
if (v != null && this._stylingContainer && v._styling)
|
|
2998
2998
|
v._styling(this._stylingContainer, this, this);
|
|
2999
|
-
v == null ? this.i.
|
|
2999
|
+
v == null ? this.i.t9 = null : this.i.t9 = v.i;
|
|
3000
3000
|
},
|
|
3001
3001
|
enumerable: false,
|
|
3002
3002
|
configurable: true
|
|
@@ -3006,7 +3006,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3006
3006
|
* Indicates if this SeriesViewer is a map.
|
|
3007
3007
|
*/
|
|
3008
3008
|
get: function () {
|
|
3009
|
-
return this.i.
|
|
3009
|
+
return this.i.el;
|
|
3010
3010
|
},
|
|
3011
3011
|
enumerable: false,
|
|
3012
3012
|
configurable: true
|
|
@@ -3017,11 +3017,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3017
3017
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
3018
3018
|
*/
|
|
3019
3019
|
get: function () {
|
|
3020
|
-
return this.i.
|
|
3020
|
+
return this.i.uu;
|
|
3021
3021
|
},
|
|
3022
3022
|
set: function (v) {
|
|
3023
|
-
this.i.
|
|
3024
|
-
this._a("windowScale", this.i.
|
|
3023
|
+
this.i.uu = +v;
|
|
3024
|
+
this._a("windowScale", this.i.uu);
|
|
3025
3025
|
},
|
|
3026
3026
|
enumerable: false,
|
|
3027
3027
|
configurable: true
|
|
@@ -3032,11 +3032,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3032
3032
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
3033
3033
|
*/
|
|
3034
3034
|
get: function () {
|
|
3035
|
-
return this.i.
|
|
3035
|
+
return this.i.ut;
|
|
3036
3036
|
},
|
|
3037
3037
|
set: function (v) {
|
|
3038
|
-
this.i.
|
|
3039
|
-
this._a("actualWindowScale", this.i.
|
|
3038
|
+
this.i.ut = +v;
|
|
3039
|
+
this._a("actualWindowScale", this.i.ut);
|
|
3040
3040
|
},
|
|
3041
3041
|
enumerable: false,
|
|
3042
3042
|
configurable: true
|
|
@@ -3046,7 +3046,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3046
3046
|
* Gets whether or not the control is ready for zooming
|
|
3047
3047
|
*/
|
|
3048
3048
|
get: function () {
|
|
3049
|
-
return this.i.
|
|
3049
|
+
return this.i.uq;
|
|
3050
3050
|
},
|
|
3051
3051
|
enumerable: false,
|
|
3052
3052
|
configurable: true
|
|
@@ -3077,7 +3077,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3077
3077
|
|
|
3078
3078
|
*/
|
|
3079
3079
|
IgcGeographicMapComponent.prototype.getCurrentActualWorldRect = function () {
|
|
3080
|
-
var iv = this.i.
|
|
3080
|
+
var iv = this.i.wc();
|
|
3081
3081
|
return fromRect(iv);
|
|
3082
3082
|
};
|
|
3083
3083
|
/**
|
|
@@ -3094,14 +3094,14 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3094
3094
|
|
|
3095
3095
|
*/
|
|
3096
3096
|
IgcGeographicMapComponent.prototype.updateZoomWindow = function (zoomWindow) {
|
|
3097
|
-
this.i.
|
|
3097
|
+
this.i.vo(toRect(zoomWindow));
|
|
3098
3098
|
};
|
|
3099
3099
|
/**
|
|
3100
3100
|
* Updates world rect in geographic coordinates
|
|
3101
3101
|
|
|
3102
3102
|
*/
|
|
3103
3103
|
IgcGeographicMapComponent.prototype.updateWorldRect = function (worldRect) {
|
|
3104
|
-
this.i.
|
|
3104
|
+
this.i.vn(toRect(worldRect));
|
|
3105
3105
|
};
|
|
3106
3106
|
/**
|
|
3107
3107
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -3113,7 +3113,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3113
3113
|
return fromRect(iv);
|
|
3114
3114
|
};
|
|
3115
3115
|
IgcGeographicMapComponent.prototype.convertGeographicToZoom = function (geographic, extraPixelPadding) {
|
|
3116
|
-
var iv = this.i.
|
|
3116
|
+
var iv = this.i.v9(toRect(geographic), extraPixelPadding);
|
|
3117
3117
|
return fromRect(iv);
|
|
3118
3118
|
};
|
|
3119
3119
|
IgcGeographicMapComponent.prototype.getZoomFromGeographicPoints = function (northWest, southEast) {
|
|
@@ -3126,7 +3126,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3126
3126
|
* @param windowRect * The zoom area.
|
|
3127
3127
|
*/
|
|
3128
3128
|
IgcGeographicMapComponent.prototype.getGeographicFromZoom = function (windowRect) {
|
|
3129
|
-
var iv = this.i.
|
|
3129
|
+
var iv = this.i.we(toRect(windowRect));
|
|
3130
3130
|
return fromRect(iv);
|
|
3131
3131
|
};
|
|
3132
3132
|
/**
|
|
@@ -3135,7 +3135,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3135
3135
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
3136
3136
|
*/
|
|
3137
3137
|
IgcGeographicMapComponent.prototype.getGeographicPoint = function (pixelCoordinate) {
|
|
3138
|
-
var iv = this.i.
|
|
3138
|
+
var iv = this.i.v0(toPoint(pixelCoordinate));
|
|
3139
3139
|
return fromPoint(iv);
|
|
3140
3140
|
};
|
|
3141
3141
|
/**
|
|
@@ -3144,7 +3144,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3144
3144
|
* @param geographicCoordinate * A geographic coordinate
|
|
3145
3145
|
*/
|
|
3146
3146
|
IgcGeographicMapComponent.prototype.getPixelPoint = function (geographicCoordinate) {
|
|
3147
|
-
var iv = this.i.
|
|
3147
|
+
var iv = this.i.v1(toPoint(geographicCoordinate));
|
|
3148
3148
|
return fromPoint(iv);
|
|
3149
3149
|
};
|
|
3150
3150
|
/**
|
|
@@ -3153,7 +3153,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3153
3153
|
* @param geographicCoordinate * A geographic coordinate
|
|
3154
3154
|
*/
|
|
3155
3155
|
IgcGeographicMapComponent.prototype.getWindowPoint = function (geographicCoordinate) {
|
|
3156
|
-
var iv = this.i.
|
|
3156
|
+
var iv = this.i.v2(toPoint(geographicCoordinate));
|
|
3157
3157
|
return fromPoint(iv);
|
|
3158
3158
|
};
|
|
3159
3159
|
/**
|
|
@@ -3161,21 +3161,21 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3161
3161
|
|
|
3162
3162
|
*/
|
|
3163
3163
|
IgcGeographicMapComponent.prototype.clearTileCache = function () {
|
|
3164
|
-
this.i.
|
|
3164
|
+
this.i.vb();
|
|
3165
3165
|
};
|
|
3166
3166
|
/**
|
|
3167
3167
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
3168
3168
|
|
|
3169
3169
|
*/
|
|
3170
3170
|
IgcGeographicMapComponent.prototype.styleUpdated = function () {
|
|
3171
|
-
this.i.
|
|
3171
|
+
this.i.vj();
|
|
3172
3172
|
};
|
|
3173
3173
|
/**
|
|
3174
3174
|
* Gets actual window scale for horizontal dimension of the control
|
|
3175
3175
|
|
|
3176
3176
|
*/
|
|
3177
3177
|
IgcGeographicMapComponent.prototype.getActualWindowScaleHorizontal = function () {
|
|
3178
|
-
var iv = this.i.
|
|
3178
|
+
var iv = this.i.gq();
|
|
3179
3179
|
return (iv);
|
|
3180
3180
|
};
|
|
3181
3181
|
/**
|
|
@@ -3183,7 +3183,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3183
3183
|
|
|
3184
3184
|
*/
|
|
3185
3185
|
IgcGeographicMapComponent.prototype.getActualWindowScaleVertical = function () {
|
|
3186
|
-
var iv = this.i.
|
|
3186
|
+
var iv = this.i.gr();
|
|
3187
3187
|
return (iv);
|
|
3188
3188
|
};
|
|
3189
3189
|
/**
|
|
@@ -3198,7 +3198,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3198
3198
|
|
|
3199
3199
|
*/
|
|
3200
3200
|
IgcGeographicMapComponent.prototype.exportVisualData = function () {
|
|
3201
|
-
var iv = this.i.
|
|
3201
|
+
var iv = this.i.ux();
|
|
3202
3202
|
return (iv);
|
|
3203
3203
|
};
|
|
3204
3204
|
/**
|
|
@@ -3207,7 +3207,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3207
3207
|
* @param geographic * The geographic region to zoom to.
|
|
3208
3208
|
*/
|
|
3209
3209
|
IgcGeographicMapComponent.prototype.zoomToGeographic = function (geographic) {
|
|
3210
|
-
this.i.
|
|
3210
|
+
this.i.vq(toRect(geographic));
|
|
3211
3211
|
};
|
|
3212
3212
|
Object.defineProperty(IgcGeographicMapComponent.prototype, "imageTilesReady", {
|
|
3213
3213
|
/**
|
|
@@ -5510,8 +5510,8 @@ var GeographicShapeSeriesBaseView = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
5510
5510
|
a.qv = null;
|
|
5511
5511
|
return;
|
|
5512
5512
|
}
|
|
5513
|
-
a.qt = this.ce.ce.
|
|
5514
|
-
a.qv = this.ce.ce.
|
|
5513
|
+
a.qt = this.ce.ce.t7;
|
|
5514
|
+
a.qv = this.ce.ce.t9;
|
|
5515
5515
|
};
|
|
5516
5516
|
GeographicShapeSeriesBaseView.prototype.ch = function () {
|
|
5517
5517
|
this.ce.qe.r5 = this.ce.q7;
|
|
@@ -6537,7 +6537,7 @@ var TileSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6537
6537
|
if (f != null && typeCast(XamGeographicMap.$, this.ce) !== null) {
|
|
6538
6538
|
f.geographicMap = this.ce;
|
|
6539
6539
|
this.tb(this.b1);
|
|
6540
|
-
this.sz.da(this.ce.
|
|
6540
|
+
this.sz.da(this.ce.tk);
|
|
6541
6541
|
}
|
|
6542
6542
|
this.lu();
|
|
6543
6543
|
break;
|
|
@@ -7517,10 +7517,10 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7517
7517
|
this.ce.qe.tb = this.ce.qq;
|
|
7518
7518
|
};
|
|
7519
7519
|
GeographicProportionalSymbolSeriesView.prototype.cv = function () {
|
|
7520
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
7520
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
7521
7521
|
};
|
|
7522
7522
|
GeographicProportionalSymbolSeriesView.prototype.cw = function () {
|
|
7523
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
7523
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
7524
7524
|
};
|
|
7525
7525
|
GeographicProportionalSymbolSeriesView.prototype.cu = function () {
|
|
7526
7526
|
var a = this.ce.qe;
|
|
@@ -7529,8 +7529,8 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7529
7529
|
a.yAxis = null;
|
|
7530
7530
|
return;
|
|
7531
7531
|
}
|
|
7532
|
-
a.xAxis = this.ce.ce.
|
|
7533
|
-
a.yAxis = this.ce.ce.
|
|
7532
|
+
a.xAxis = this.ce.ce.t7;
|
|
7533
|
+
a.yAxis = this.ce.ce.t9;
|
|
7534
7534
|
};
|
|
7535
7535
|
GeographicProportionalSymbolSeriesView.prototype.co = function () {
|
|
7536
7536
|
this.ce.qe.rn = this.ce.ri;
|
|
@@ -8200,10 +8200,10 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8200
8200
|
this.ce.qe.tb = this.ce.qq;
|
|
8201
8201
|
};
|
|
8202
8202
|
GeographicSymbolSeriesView.prototype.cp = function () {
|
|
8203
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
8203
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
8204
8204
|
};
|
|
8205
8205
|
GeographicSymbolSeriesView.prototype.cq = function () {
|
|
8206
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
8206
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
8207
8207
|
};
|
|
8208
8208
|
GeographicSymbolSeriesView.prototype.co = function () {
|
|
8209
8209
|
var a = this.ce.qe;
|
|
@@ -8212,8 +8212,8 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8212
8212
|
a.yAxis = null;
|
|
8213
8213
|
return;
|
|
8214
8214
|
}
|
|
8215
|
-
a.xAxis = this.ce.ce.
|
|
8216
|
-
a.yAxis = this.ce.ce.
|
|
8215
|
+
a.xAxis = this.ce.ce.t7;
|
|
8216
|
+
a.yAxis = this.ce.ce.t9;
|
|
8217
8217
|
};
|
|
8218
8218
|
GeographicSymbolSeriesView.prototype.ci = function () {
|
|
8219
8219
|
this.ce.qe.rx = this.ce.rm;
|
|
@@ -9030,14 +9030,14 @@ var GeographicHighDensityScatterSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
9030
9030
|
a.ql = null;
|
|
9031
9031
|
return;
|
|
9032
9032
|
}
|
|
9033
|
-
a.qj = this.ce.ce.
|
|
9034
|
-
a.ql = this.ce.ce.
|
|
9033
|
+
a.qj = this.ce.ce.t7;
|
|
9034
|
+
a.ql = this.ce.ce.t9;
|
|
9035
9035
|
};
|
|
9036
9036
|
GeographicHighDensityScatterSeriesView.prototype.cq = function () {
|
|
9037
|
-
this.ce.qe.qj = this.ce.ce.
|
|
9037
|
+
this.ce.qe.qj = this.ce.ce.t7;
|
|
9038
9038
|
};
|
|
9039
9039
|
GeographicHighDensityScatterSeriesView.prototype.cr = function () {
|
|
9040
|
-
this.ce.qe.ql = this.ce.ce.
|
|
9040
|
+
this.ce.qe.ql = this.ce.ce.t9;
|
|
9041
9041
|
};
|
|
9042
9042
|
GeographicHighDensityScatterSeriesView.prototype.ch = function () {
|
|
9043
9043
|
this.ce.qe.ts = this.ce.rm;
|