igniteui-angular-maps 20.0.0-beta.1 → 20.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-maps.umd.js +428 -428
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +376 -376
- package/esm2015/lib/igx-geographic-map-component.js +40 -40
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +370 -370
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/fesm2015/igniteui-angular-maps.js +434 -434
- package/fesm5/igniteui-angular-maps.js +428 -428
- package/lib/XamGeographicMap_combined.d.ts +88 -88
- package/package.json +2 -2
|
@@ -637,10 +637,10 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
637
637
|
case "SeriesViewer":
|
|
638
638
|
this.w5.dc = this.dc;
|
|
639
639
|
if (c != null) {
|
|
640
|
-
c.
|
|
640
|
+
c.rn(this.w5);
|
|
641
641
|
}
|
|
642
642
|
if (d != null) {
|
|
643
|
-
this.dc.
|
|
643
|
+
this.dc.nq(this.w5);
|
|
644
644
|
}
|
|
645
645
|
this.w5.rf(this.wx);
|
|
646
646
|
this.w5.index = this.index;
|
|
@@ -739,7 +739,7 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
739
739
|
return;
|
|
740
740
|
}
|
|
741
741
|
if (!isNaN_(this.w7)) {
|
|
742
|
-
if (this.dc.
|
|
742
|
+
if (this.dc.wt.width > this.w7) {
|
|
743
743
|
var hs_ = this.w5;
|
|
744
744
|
var v_ = 1;
|
|
745
745
|
hs_.visibility = v_;
|
|
@@ -907,22 +907,22 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
907
907
|
__extends(XamGeographicMap, _super);
|
|
908
908
|
function XamGeographicMap() {
|
|
909
909
|
var _this = _super.call(this) || this;
|
|
910
|
-
_this.
|
|
911
|
-
_this.
|
|
912
|
-
_this.
|
|
913
|
-
_this.
|
|
914
|
-
_this.
|
|
915
|
-
_this.
|
|
916
|
-
_this.
|
|
917
|
-
_this.w8 = null;
|
|
918
|
-
_this.xc = null;
|
|
919
|
-
_this.yz = { $type: Point_$type, x: NaN, y: NaN };
|
|
920
|
-
_this.y6 = null;
|
|
921
|
-
_this.xr = 1;
|
|
922
|
-
_this.imageTilesReady = null;
|
|
910
|
+
_this.x8 = null;
|
|
911
|
+
_this.xx = false;
|
|
912
|
+
_this.xp = 1;
|
|
913
|
+
_this.x4 = 0;
|
|
914
|
+
_this.zf = null;
|
|
915
|
+
_this.xm = null;
|
|
916
|
+
_this.xi = null;
|
|
923
917
|
_this.xk = null;
|
|
924
|
-
_this.
|
|
925
|
-
_this.
|
|
918
|
+
_this.xo = null;
|
|
919
|
+
_this.zb = { $type: Point_$type, x: NaN, y: NaN };
|
|
920
|
+
_this.zi = null;
|
|
921
|
+
_this.x3 = 1;
|
|
922
|
+
_this.imageTilesReady = null;
|
|
923
|
+
_this.xw = null;
|
|
924
|
+
_this.zh = Rect.empty;
|
|
925
|
+
_this.x4 = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
926
926
|
_this.ab = XamGeographicMap.$;
|
|
927
927
|
_this.backgroundContent = new OpenStreetMapImagery();
|
|
928
928
|
var a = ((function () {
|
|
@@ -931,79 +931,79 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
931
931
|
return $ret;
|
|
932
932
|
})());
|
|
933
933
|
a.cf = true;
|
|
934
|
-
_this.
|
|
935
|
-
_this.
|
|
934
|
+
_this.xj = a;
|
|
935
|
+
_this.xj.n4 = new SphericalMercatorHorizontalScaler();
|
|
936
936
|
var b = ((function () {
|
|
937
937
|
var $ret = new NumericYAxis();
|
|
938
938
|
$ret.bi = _this;
|
|
939
939
|
return $ret;
|
|
940
940
|
})());
|
|
941
941
|
b.cf = true;
|
|
942
|
-
_this.
|
|
943
|
-
_this.
|
|
944
|
-
_this.
|
|
945
|
-
_this.
|
|
946
|
-
_this.
|
|
942
|
+
_this.xl = b;
|
|
943
|
+
_this.xl.n4 = new SphericalMercatorVerticalScaler();
|
|
944
|
+
_this.yq();
|
|
945
|
+
_this.yx();
|
|
946
|
+
_this.oi();
|
|
947
947
|
return _this;
|
|
948
948
|
}
|
|
949
949
|
XamGeographicMap.prototype.provideContainer = function (a) {
|
|
950
950
|
_super.prototype.provideContainer.call(this, a);
|
|
951
|
-
this.
|
|
952
|
-
this.
|
|
951
|
+
this.xj.provideRenderer(a);
|
|
952
|
+
this.xl.provideRenderer(a);
|
|
953
953
|
};
|
|
954
|
-
XamGeographicMap.prototype.
|
|
955
|
-
_super.prototype.
|
|
956
|
-
this.
|
|
954
|
+
XamGeographicMap.prototype.oi = function () {
|
|
955
|
+
_super.prototype.oi.call(this);
|
|
956
|
+
this.xv.fv(this.hp);
|
|
957
957
|
};
|
|
958
|
-
XamGeographicMap.prototype.
|
|
959
|
-
return this.
|
|
958
|
+
XamGeographicMap.prototype.fp = function () {
|
|
959
|
+
return this.x1;
|
|
960
960
|
};
|
|
961
|
-
XamGeographicMap.prototype.
|
|
962
|
-
return this.
|
|
961
|
+
XamGeographicMap.prototype.fq = function () {
|
|
962
|
+
return this.x1;
|
|
963
963
|
};
|
|
964
|
-
XamGeographicMap.prototype.
|
|
965
|
-
if (this.
|
|
966
|
-
if (this.
|
|
964
|
+
XamGeographicMap.prototype.xs = function () {
|
|
965
|
+
if (this.xq == 0) {
|
|
966
|
+
if (this.xx) {
|
|
967
967
|
return 2;
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
970
|
return 1;
|
|
971
971
|
};
|
|
972
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
972
|
+
Object.defineProperty(XamGeographicMap.prototype, "xr", {
|
|
973
973
|
get: function () {
|
|
974
|
-
return this.
|
|
974
|
+
return this.xp;
|
|
975
975
|
},
|
|
976
976
|
set: function (a) {
|
|
977
|
-
this.
|
|
977
|
+
this.xp = a;
|
|
978
978
|
},
|
|
979
979
|
enumerable: false,
|
|
980
980
|
configurable: true
|
|
981
981
|
});
|
|
982
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
982
|
+
Object.defineProperty(XamGeographicMap.prototype, "zk", {
|
|
983
983
|
get: function () {
|
|
984
|
-
return this.
|
|
984
|
+
return this.zf;
|
|
985
985
|
},
|
|
986
986
|
set: function (a) {
|
|
987
|
-
var b = Rect.l_op_Inequality(this.
|
|
987
|
+
var b = Rect.l_op_Inequality(this.zf, a);
|
|
988
988
|
if (b) {
|
|
989
|
-
var c = this.
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
989
|
+
var c = this.zf;
|
|
990
|
+
this.zf = a;
|
|
991
|
+
this.q5("ActualWorldRect", c, a);
|
|
992
992
|
}
|
|
993
993
|
},
|
|
994
994
|
enumerable: false,
|
|
995
995
|
configurable: true
|
|
996
996
|
});
|
|
997
|
-
XamGeographicMap.prototype.
|
|
998
|
-
return this.
|
|
997
|
+
XamGeographicMap.prototype.zo = function () {
|
|
998
|
+
return this.zk;
|
|
999
999
|
};
|
|
1000
|
-
XamGeographicMap.prototype.
|
|
1001
|
-
if (this.
|
|
1000
|
+
XamGeographicMap.prototype.yq = function () {
|
|
1001
|
+
if (this.zw.isEmpty) {
|
|
1002
1002
|
return;
|
|
1003
1003
|
}
|
|
1004
|
-
this.
|
|
1004
|
+
this.zk = this.zu(this.zw, this.cs == 1);
|
|
1005
1005
|
};
|
|
1006
|
-
XamGeographicMap.prototype.
|
|
1006
|
+
XamGeographicMap.prototype.zu = function (a, b) {
|
|
1007
1007
|
var c = a.top;
|
|
1008
1008
|
var d = a.left;
|
|
1009
1009
|
var e = a.width;
|
|
@@ -1011,25 +1011,25 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1011
1011
|
var g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
1012
1012
|
var h = SphericalMercatorVerticalScaler.am(a.top);
|
|
1013
1013
|
var i = g - h;
|
|
1014
|
-
var j = a.width / XamGeographicMap.
|
|
1015
|
-
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
1014
|
+
var j = a.width / XamGeographicMap.zg.width;
|
|
1015
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
1016
1016
|
var l = i / j;
|
|
1017
|
-
if (i / j > this.
|
|
1018
|
-
var m = i / this.
|
|
1017
|
+
if (i / j > this.x4) {
|
|
1018
|
+
var m = i / this.x4;
|
|
1019
1019
|
var n = m - j;
|
|
1020
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
1021
|
-
e = m * XamGeographicMap.
|
|
1020
|
+
d = d - (n / 2) * XamGeographicMap.zg.width;
|
|
1021
|
+
e = m * XamGeographicMap.zg.width;
|
|
1022
1022
|
if (b) {
|
|
1023
|
-
if (d < XamGeographicMap.
|
|
1024
|
-
d += (XamGeographicMap.
|
|
1023
|
+
if (d < XamGeographicMap.zg.left) {
|
|
1024
|
+
d += (XamGeographicMap.zg.left - d);
|
|
1025
1025
|
}
|
|
1026
|
-
else if ((d + e) > XamGeographicMap.
|
|
1027
|
-
d -= ((d + e) - XamGeographicMap.
|
|
1026
|
+
else if ((d + e) > XamGeographicMap.zg.right) {
|
|
1027
|
+
d -= ((d + e) - XamGeographicMap.zg.right);
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
|
-
else if (i / j < this.
|
|
1032
|
-
var o = this.
|
|
1031
|
+
else if (i / j < this.x4) {
|
|
1032
|
+
var o = this.x4 * j;
|
|
1033
1033
|
var p = o - i;
|
|
1034
1034
|
var q = h - (p / 2);
|
|
1035
1035
|
var r = g + (p / 2);
|
|
@@ -1038,9 +1038,9 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1038
1038
|
q += (k - q);
|
|
1039
1039
|
r += (k - q);
|
|
1040
1040
|
}
|
|
1041
|
-
else if (r > (k + this.
|
|
1042
|
-
q -= ((r) - (k + this.
|
|
1043
|
-
r -= ((r) - (k + this.
|
|
1041
|
+
else if (r > (k + this.x4)) {
|
|
1042
|
+
q -= ((r) - (k + this.x4));
|
|
1043
|
+
r -= ((r) - (k + this.x4));
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -1051,44 +1051,44 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1051
1051
|
};
|
|
1052
1052
|
Object.defineProperty(XamGeographicMap.prototype, "backgroundContent", {
|
|
1053
1053
|
get: function () {
|
|
1054
|
-
return this.
|
|
1054
|
+
return this.xm;
|
|
1055
1055
|
},
|
|
1056
1056
|
set: function (a) {
|
|
1057
1057
|
var b = a != this.backgroundContent;
|
|
1058
1058
|
if (b) {
|
|
1059
1059
|
var c = this.backgroundContent;
|
|
1060
|
-
this.
|
|
1061
|
-
this.
|
|
1060
|
+
this.xm = a;
|
|
1061
|
+
this.q5("BackgroundContent", c, a);
|
|
1062
1062
|
}
|
|
1063
1063
|
},
|
|
1064
1064
|
enumerable: false,
|
|
1065
1065
|
configurable: true
|
|
1066
1066
|
});
|
|
1067
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1067
|
+
Object.defineProperty(XamGeographicMap.prototype, "xj", {
|
|
1068
1068
|
get: function () {
|
|
1069
|
-
return this.
|
|
1069
|
+
return this.xi;
|
|
1070
1070
|
},
|
|
1071
1071
|
set: function (a) {
|
|
1072
|
-
var b = a != this.
|
|
1072
|
+
var b = a != this.xj;
|
|
1073
1073
|
if (b) {
|
|
1074
|
-
var c = this.
|
|
1075
|
-
this.
|
|
1076
|
-
this.
|
|
1074
|
+
var c = this.xj;
|
|
1075
|
+
this.xi = a;
|
|
1076
|
+
this.q5("XAxis", c, a);
|
|
1077
1077
|
}
|
|
1078
1078
|
},
|
|
1079
1079
|
enumerable: false,
|
|
1080
1080
|
configurable: true
|
|
1081
1081
|
});
|
|
1082
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1082
|
+
Object.defineProperty(XamGeographicMap.prototype, "xl", {
|
|
1083
1083
|
get: function () {
|
|
1084
|
-
return this.
|
|
1084
|
+
return this.xk;
|
|
1085
1085
|
},
|
|
1086
1086
|
set: function (a) {
|
|
1087
|
-
var b = a != this.
|
|
1087
|
+
var b = a != this.xl;
|
|
1088
1088
|
if (b) {
|
|
1089
|
-
var c = this.
|
|
1090
|
-
this.
|
|
1091
|
-
this.
|
|
1089
|
+
var c = this.xl;
|
|
1090
|
+
this.xk = a;
|
|
1091
|
+
this.q5("YAxis", c, a);
|
|
1092
1092
|
}
|
|
1093
1093
|
},
|
|
1094
1094
|
enumerable: false,
|
|
@@ -1097,41 +1097,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1097
1097
|
XamGeographicMap.prototype.getZoomRectFromGeoRect = function (a) {
|
|
1098
1098
|
return this.getZoomFromGeographicRect(a);
|
|
1099
1099
|
};
|
|
1100
|
-
XamGeographicMap.prototype.
|
|
1101
|
-
this.
|
|
1100
|
+
XamGeographicMap.prototype.y0 = function (a) {
|
|
1101
|
+
this.xc = a;
|
|
1102
1102
|
};
|
|
1103
|
-
XamGeographicMap.prototype.
|
|
1104
|
-
this.
|
|
1103
|
+
XamGeographicMap.prototype.yz = function (a) {
|
|
1104
|
+
this.zw = a;
|
|
1105
1105
|
};
|
|
1106
1106
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
1107
|
-
return this.
|
|
1107
|
+
return this.zm(a, true, 0);
|
|
1108
1108
|
};
|
|
1109
|
-
XamGeographicMap.prototype.
|
|
1110
|
-
return this.
|
|
1109
|
+
XamGeographicMap.prototype.zl = function (a, b) {
|
|
1110
|
+
return this.zm(a, false, b);
|
|
1111
1111
|
};
|
|
1112
|
-
XamGeographicMap.prototype.
|
|
1112
|
+
XamGeographicMap.prototype.zm = function (a, b, c) {
|
|
1113
1113
|
var d = a;
|
|
1114
1114
|
if (b) {
|
|
1115
|
-
d = this.
|
|
1116
|
-
}
|
|
1117
|
-
var e = this.
|
|
1118
|
-
var f = this.
|
|
1119
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1120
|
-
g.c = this.
|
|
1121
|
-
var h = new ScalerParams(1, XamGeographicMap.
|
|
1122
|
-
h.c = this.
|
|
1123
|
-
var i = this.
|
|
1124
|
-
var j = this.
|
|
1125
|
-
var k = this.
|
|
1126
|
-
var l = this.
|
|
1127
|
-
var m = (i - c) / this.
|
|
1128
|
-
var n = (l - c) / this.
|
|
1129
|
-
var o = (j - i + (c * 2)) / this.
|
|
1130
|
-
var p = (k - l + (c * 2)) / this.
|
|
1115
|
+
d = this.zu(a, false);
|
|
1116
|
+
}
|
|
1117
|
+
var e = this.xj;
|
|
1118
|
+
var f = this.xl;
|
|
1119
|
+
var g = new ScalerParams(1, XamGeographicMap.zj, this.xb, e.ch);
|
|
1120
|
+
g.c = this.wx;
|
|
1121
|
+
var h = new ScalerParams(1, XamGeographicMap.zj, this.xb, f.ch);
|
|
1122
|
+
h.c = this.wx;
|
|
1123
|
+
var i = this.xj.el(d.left, g);
|
|
1124
|
+
var j = this.xj.el(d.right, g);
|
|
1125
|
+
var k = this.xl.el(d.top, h);
|
|
1126
|
+
var l = this.xl.el(d.bottom, h);
|
|
1127
|
+
var m = (i - c) / this.xb.width;
|
|
1128
|
+
var n = (l - c) / this.xb.height;
|
|
1129
|
+
var o = (j - i + (c * 2)) / this.xb.width;
|
|
1130
|
+
var p = (k - l + (c * 2)) / this.xb.height;
|
|
1131
1131
|
var q = new Rect(0, m, n, o, p);
|
|
1132
|
-
q.intersect(XamGeographicMap.
|
|
1132
|
+
q.intersect(XamGeographicMap.zj);
|
|
1133
1133
|
if (q.isEmpty) {
|
|
1134
|
-
q = XamGeographicMap.
|
|
1134
|
+
q = XamGeographicMap.zj;
|
|
1135
1135
|
}
|
|
1136
1136
|
return q;
|
|
1137
1137
|
};
|
|
@@ -1141,21 +1141,21 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1141
1141
|
var e = b.x - a.x;
|
|
1142
1142
|
var f = a.y - b.y;
|
|
1143
1143
|
if (e < 0 || f < 0) {
|
|
1144
|
-
return XamGeographicMap.
|
|
1144
|
+
return XamGeographicMap.zj;
|
|
1145
1145
|
}
|
|
1146
1146
|
else {
|
|
1147
1147
|
var g = new Rect(0, c, d, e, f);
|
|
1148
1148
|
return this.getZoomFromGeographicRect(g);
|
|
1149
1149
|
}
|
|
1150
1150
|
};
|
|
1151
|
-
XamGeographicMap.prototype.
|
|
1152
|
-
var b = this.
|
|
1153
|
-
var c = this.
|
|
1154
|
-
var d = new ScalerParams(1, a, this.
|
|
1155
|
-
d.c = this.
|
|
1156
|
-
var e = new ScalerParams(1, a, this.
|
|
1157
|
-
e.c = this.
|
|
1158
|
-
var f = this.
|
|
1151
|
+
XamGeographicMap.prototype.zq = function (a) {
|
|
1152
|
+
var b = this.xj;
|
|
1153
|
+
var c = this.xl;
|
|
1154
|
+
var d = new ScalerParams(1, a, this.xb, b.ch);
|
|
1155
|
+
d.c = this.wx;
|
|
1156
|
+
var e = new ScalerParams(1, a, this.xb, c.ch);
|
|
1157
|
+
e.c = this.wx;
|
|
1158
|
+
var f = this.ww;
|
|
1159
1159
|
var g = b.eo(f.left, d);
|
|
1160
1160
|
var h = c.eo(f.top, e);
|
|
1161
1161
|
var i = b.eo(f.right, d);
|
|
@@ -1163,41 +1163,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1163
1163
|
var k = i - g;
|
|
1164
1164
|
var l = h - j;
|
|
1165
1165
|
var m = new Rect(0, g, j, k, l);
|
|
1166
|
-
if (this.
|
|
1167
|
-
m.intersect(XamGeographicMap.
|
|
1166
|
+
if (this.cs == 1) {
|
|
1167
|
+
m.intersect(XamGeographicMap.zg);
|
|
1168
1168
|
if (m.isEmpty) {
|
|
1169
|
-
m = XamGeographicMap.
|
|
1169
|
+
m = XamGeographicMap.zg;
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
1172
|
return m;
|
|
1173
1173
|
};
|
|
1174
|
-
XamGeographicMap.prototype.
|
|
1175
|
-
var b = this.
|
|
1176
|
-
var c = this.
|
|
1174
|
+
XamGeographicMap.prototype.zc = function (a) {
|
|
1175
|
+
var b = this.xj.mf(a.x);
|
|
1176
|
+
var c = this.xl.mf(a.y);
|
|
1177
1177
|
return { $type: Point_$type, x: b, y: c };
|
|
1178
1178
|
};
|
|
1179
|
-
XamGeographicMap.prototype.
|
|
1180
|
-
var b = this.
|
|
1181
|
-
var c = this.
|
|
1179
|
+
XamGeographicMap.prototype.zd = function (a) {
|
|
1180
|
+
var b = this.xj.e6(a.x);
|
|
1181
|
+
var c = this.xl.e6(a.y);
|
|
1182
1182
|
return { $type: Point_$type, x: b, y: c };
|
|
1183
1183
|
};
|
|
1184
|
-
XamGeographicMap.prototype.
|
|
1185
|
-
return this.
|
|
1184
|
+
XamGeographicMap.prototype.ze = function (a) {
|
|
1185
|
+
return this.zd(a);
|
|
1186
1186
|
};
|
|
1187
|
-
XamGeographicMap.prototype.
|
|
1187
|
+
XamGeographicMap.prototype.yn = function () {
|
|
1188
1188
|
var a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1189
1189
|
if (a != null) {
|
|
1190
1190
|
a.clearTileCache();
|
|
1191
1191
|
}
|
|
1192
1192
|
};
|
|
1193
|
-
XamGeographicMap.prototype.
|
|
1193
|
+
XamGeographicMap.prototype.yt = function (a) {
|
|
1194
1194
|
};
|
|
1195
|
-
XamGeographicMap.prototype.
|
|
1195
|
+
XamGeographicMap.prototype.gk = function () {
|
|
1196
1196
|
return true;
|
|
1197
1197
|
};
|
|
1198
|
-
XamGeographicMap.prototype.
|
|
1198
|
+
XamGeographicMap.prototype.yv = function () {
|
|
1199
1199
|
var e_1, _a;
|
|
1200
|
-
this.
|
|
1200
|
+
this.xv.ee();
|
|
1201
1201
|
try {
|
|
1202
1202
|
for (var _b = __values(fromEnum(this.series)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1203
1203
|
var a = _c.value;
|
|
@@ -1218,128 +1218,128 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
};
|
|
1221
|
-
XamGeographicMap.prototype.
|
|
1222
|
-
if (this.
|
|
1223
|
-
if (!this.
|
|
1224
|
-
var a = this.
|
|
1225
|
-
var b = this.
|
|
1226
|
-
this.
|
|
1221
|
+
XamGeographicMap.prototype.yy = function () {
|
|
1222
|
+
if (this.xu == 2) {
|
|
1223
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
1224
|
+
var a = this.xj.mf(this.xb.left + (this.xb.width / 2));
|
|
1225
|
+
var b = this.xl.mf(this.xb.top + (this.xb.height / 2));
|
|
1226
|
+
this.zb = { $type: Point_$type, x: a, y: b };
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
else {
|
|
1230
|
-
if (!this.
|
|
1231
|
-
var c = this.
|
|
1232
|
-
var d = this.
|
|
1233
|
-
this.
|
|
1230
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
1231
|
+
var c = this.xj.mf(this.xb.left);
|
|
1232
|
+
var d = this.xl.mf(this.xb.top);
|
|
1233
|
+
this.zb = { $type: Point_$type, x: c, y: d };
|
|
1234
1234
|
}
|
|
1235
1235
|
}
|
|
1236
1236
|
};
|
|
1237
|
-
XamGeographicMap.prototype.
|
|
1238
|
-
if (isNaN_(this.
|
|
1239
|
-
this.
|
|
1237
|
+
XamGeographicMap.prototype.yu = function () {
|
|
1238
|
+
if (isNaN_(this.zb.x) || isNaN_(this.zb.y)) {
|
|
1239
|
+
this.yy();
|
|
1240
1240
|
}
|
|
1241
|
-
var a = this.
|
|
1242
|
-
var b = this.
|
|
1241
|
+
var a = this.zb.x;
|
|
1242
|
+
var b = this.zb.y;
|
|
1243
1243
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1244
|
-
var c = this.
|
|
1245
|
-
var d = this.
|
|
1246
|
-
var e = this.
|
|
1247
|
-
var f = this.
|
|
1248
|
-
if (e > this.
|
|
1244
|
+
var c = this.wt.left;
|
|
1245
|
+
var d = this.wt.top;
|
|
1246
|
+
var e = this.wt.width;
|
|
1247
|
+
var f = this.wt.height;
|
|
1248
|
+
if (e > this.zi.width) {
|
|
1249
1249
|
}
|
|
1250
1250
|
else {
|
|
1251
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1252
|
-
g.c = this.
|
|
1253
|
-
var h = this.
|
|
1254
|
-
if (this.
|
|
1255
|
-
var i = h / this.
|
|
1251
|
+
var g = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
1252
|
+
g.c = this.wx;
|
|
1253
|
+
var h = this.xj.el(a, g);
|
|
1254
|
+
if (this.xu == 2) {
|
|
1255
|
+
var i = h / this.xb.width;
|
|
1256
1256
|
c = i - (e / 2);
|
|
1257
1257
|
}
|
|
1258
1258
|
else {
|
|
1259
|
-
c = h / this.
|
|
1259
|
+
c = h / this.xb.width;
|
|
1260
1260
|
}
|
|
1261
|
-
if (c + e > this.
|
|
1262
|
-
c = this.
|
|
1261
|
+
if (c + e > this.zi.right) {
|
|
1262
|
+
c = this.zi.right - e;
|
|
1263
1263
|
}
|
|
1264
|
-
else if (c < this.
|
|
1265
|
-
c = this.
|
|
1264
|
+
else if (c < this.zi.left) {
|
|
1265
|
+
c = this.zi.left;
|
|
1266
1266
|
}
|
|
1267
1267
|
}
|
|
1268
|
-
if (f > this.
|
|
1268
|
+
if (f > this.zi.height) {
|
|
1269
1269
|
}
|
|
1270
1270
|
else {
|
|
1271
|
-
var j = new ScalerParams(1, XamGeographicMap.
|
|
1272
|
-
j.c = this.
|
|
1273
|
-
var k = this.
|
|
1274
|
-
if (this.
|
|
1275
|
-
var l = k / this.
|
|
1271
|
+
var j = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
1272
|
+
j.c = this.wx;
|
|
1273
|
+
var k = this.xl.el(b, j);
|
|
1274
|
+
if (this.xu == 2) {
|
|
1275
|
+
var l = k / this.xb.height;
|
|
1276
1276
|
d = l - (f / 2);
|
|
1277
1277
|
}
|
|
1278
1278
|
else {
|
|
1279
|
-
d = k / this.
|
|
1279
|
+
d = k / this.xb.height;
|
|
1280
1280
|
}
|
|
1281
|
-
if (d + f > this.
|
|
1282
|
-
d = this.
|
|
1281
|
+
if (d + f > this.zi.bottom) {
|
|
1282
|
+
d = this.zi.bottom - f;
|
|
1283
1283
|
}
|
|
1284
|
-
else if (d < this.
|
|
1285
|
-
d = this.
|
|
1284
|
+
else if (d < this.zi.top) {
|
|
1285
|
+
d = this.zi.top;
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
|
-
this.
|
|
1288
|
+
this.sh(new Rect(0, c, d, e, f), false);
|
|
1289
1289
|
}
|
|
1290
1290
|
};
|
|
1291
|
-
XamGeographicMap.prototype.
|
|
1291
|
+
XamGeographicMap.prototype.get_fh = function () {
|
|
1292
1292
|
return true;
|
|
1293
1293
|
};
|
|
1294
|
-
XamGeographicMap.prototype.
|
|
1295
|
-
var a = _super.prototype.
|
|
1296
|
-
if (this.
|
|
1294
|
+
XamGeographicMap.prototype.wu = function () {
|
|
1295
|
+
var a = _super.prototype.wu.call(this);
|
|
1296
|
+
if (this.xj == null || this.xl == null) {
|
|
1297
1297
|
return a;
|
|
1298
1298
|
}
|
|
1299
|
-
this.
|
|
1299
|
+
this.w5();
|
|
1300
1300
|
var b = a.left;
|
|
1301
1301
|
var c = a.top;
|
|
1302
|
-
if (this.
|
|
1303
|
-
if (this.
|
|
1304
|
-
b = 0.5 - (this.
|
|
1302
|
+
if (this.cs == 1) {
|
|
1303
|
+
if (this.xc.width > this.zi.width) {
|
|
1304
|
+
b = 0.5 - (this.xc.width / 2);
|
|
1305
1305
|
}
|
|
1306
|
-
else if (b + a.width > this.
|
|
1307
|
-
b = this.
|
|
1306
|
+
else if (b + a.width > this.zi.right) {
|
|
1307
|
+
b = this.zi.right - this.xc.width;
|
|
1308
1308
|
}
|
|
1309
|
-
else if (b < this.
|
|
1310
|
-
b = this.
|
|
1309
|
+
else if (b < this.zi.left) {
|
|
1310
|
+
b = this.zi.left;
|
|
1311
1311
|
}
|
|
1312
|
-
if (this.
|
|
1313
|
-
c = 0.5 - (this.
|
|
1312
|
+
if (this.xc.height > this.zi.height) {
|
|
1313
|
+
c = 0.5 - (this.xc.height / 2);
|
|
1314
1314
|
}
|
|
1315
|
-
else if (c + this.
|
|
1316
|
-
c = this.
|
|
1315
|
+
else if (c + this.xc.height > this.zi.bottom) {
|
|
1316
|
+
c = this.zi.bottom - this.xc.height;
|
|
1317
1317
|
}
|
|
1318
|
-
else if (c < this.
|
|
1319
|
-
c = this.
|
|
1318
|
+
else if (c < this.zi.top) {
|
|
1319
|
+
c = this.zi.top;
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
1322
|
var d = false;
|
|
1323
|
-
if (!this.
|
|
1323
|
+
if (!this.x0 && this.cs == 2 && this.xx) {
|
|
1324
1324
|
if (b > 1) {
|
|
1325
1325
|
b = (b - Math.floor(b)) + 1;
|
|
1326
1326
|
}
|
|
1327
1327
|
if (b < 0) {
|
|
1328
1328
|
b = 0 - (Math.ceil(b) - b);
|
|
1329
1329
|
}
|
|
1330
|
-
if ((a.right - this.
|
|
1331
|
-
b = this.
|
|
1330
|
+
if ((a.right - this.zi.right) > 0 && ((a.right - this.zi.right) / a.width) > 0.8) {
|
|
1331
|
+
b = this.zi.left - (a.width - (a.right - this.zi.right));
|
|
1332
1332
|
d = true;
|
|
1333
1333
|
}
|
|
1334
|
-
else if (a.left < this.
|
|
1335
|
-
b = this.
|
|
1334
|
+
else if (a.left < this.zi.left && (Math.abs(a.left - this.zi.left) / a.width) > 0.8) {
|
|
1335
|
+
b = this.zi.right - (Math.abs(a.left - this.zi.left));
|
|
1336
1336
|
d = true;
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
var e = new Rect(0, b, c, a.width, a.height);
|
|
1340
|
-
if (this.
|
|
1341
|
-
var f = this.
|
|
1342
|
-
f = this.
|
|
1340
|
+
if (this.x0) {
|
|
1341
|
+
var f = this.zl(this.zw, 1);
|
|
1342
|
+
f = this.zn(f);
|
|
1343
1343
|
var g = e.left + e.width / 2;
|
|
1344
1344
|
var h = e.top + e.height / 2;
|
|
1345
1345
|
if (e.width > f.width) {
|
|
@@ -1374,17 +1374,17 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
if (d) {
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1379
|
-
this.
|
|
1377
|
+
this.e3 = true;
|
|
1378
|
+
this.xc = e;
|
|
1379
|
+
this.e3 = false;
|
|
1380
1380
|
}
|
|
1381
1381
|
return e;
|
|
1382
1382
|
};
|
|
1383
|
-
XamGeographicMap.prototype.
|
|
1383
|
+
XamGeographicMap.prototype.nm = function (a, b) {
|
|
1384
1384
|
var c = true;
|
|
1385
1385
|
var d = true;
|
|
1386
1386
|
var e = 0;
|
|
1387
|
-
var f = this.
|
|
1387
|
+
var f = this.w5();
|
|
1388
1388
|
var g = 0;
|
|
1389
1389
|
var h = 0;
|
|
1390
1390
|
if ((a.right - f.right) > 0) {
|
|
@@ -1401,39 +1401,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
if (c) {
|
|
1403
1403
|
if (d) {
|
|
1404
|
-
var i = this.
|
|
1405
|
-
var j = this.
|
|
1404
|
+
var i = this.xi.el(-180, b);
|
|
1405
|
+
var j = this.xi.el(180, b);
|
|
1406
1406
|
e = j - i;
|
|
1407
1407
|
}
|
|
1408
1408
|
else {
|
|
1409
|
-
var k = this.
|
|
1410
|
-
var l = this.
|
|
1409
|
+
var k = this.xi.el(-180, b);
|
|
1410
|
+
var l = this.xi.el(180, b);
|
|
1411
1411
|
e = k - l;
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
1414
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1415
1415
|
};
|
|
1416
|
-
XamGeographicMap.prototype.
|
|
1417
|
-
var a = new ScalerParams(1, XamGeographicMap.
|
|
1418
|
-
a.c = this.
|
|
1419
|
-
var b = new ScalerParams(1, XamGeographicMap.
|
|
1420
|
-
b.c = this.
|
|
1421
|
-
var c = this.
|
|
1422
|
-
var d = this.
|
|
1423
|
-
var e = this.
|
|
1424
|
-
var f = this.
|
|
1425
|
-
this.
|
|
1426
|
-
return this.
|
|
1427
|
-
};
|
|
1428
|
-
XamGeographicMap.prototype.
|
|
1429
|
-
var b = this.
|
|
1416
|
+
XamGeographicMap.prototype.w5 = function () {
|
|
1417
|
+
var a = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
1418
|
+
a.c = this.wx;
|
|
1419
|
+
var b = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
1420
|
+
b.c = this.wx;
|
|
1421
|
+
var c = this.xj.el(XamGeographicMap.zg.left, a);
|
|
1422
|
+
var d = this.xj.el(XamGeographicMap.zg.right, a);
|
|
1423
|
+
var e = this.xl.el(XamGeographicMap.zg.top, b);
|
|
1424
|
+
var f = this.xl.el(XamGeographicMap.zg.bottom, b);
|
|
1425
|
+
this.zi = new Rect(0, c / this.xb.width, f / this.xb.height, (d - c) / this.xb.width, (e - f) / this.xb.height);
|
|
1426
|
+
return this.zi;
|
|
1427
|
+
};
|
|
1428
|
+
XamGeographicMap.prototype.zn = function (a) {
|
|
1429
|
+
var b = this.ht;
|
|
1430
1430
|
var c = 0.5 * (a.left + a.right);
|
|
1431
1431
|
var d = 0.5 * (a.top + a.bottom);
|
|
1432
1432
|
var e = a.width;
|
|
1433
1433
|
var f = a.height;
|
|
1434
1434
|
var g = MathUtil.d(a.width, b, 1);
|
|
1435
1435
|
var h = MathUtil.d(a.height, b, 1);
|
|
1436
|
-
var i = this.
|
|
1436
|
+
var i = this.xb;
|
|
1437
1437
|
var j = i.width / i.height;
|
|
1438
1438
|
var k = g * i.width;
|
|
1439
1439
|
var l = h * i.height;
|
|
@@ -1472,8 +1472,8 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
return new Rect(0, p, q, r - p, s - q);
|
|
1474
1474
|
};
|
|
1475
|
-
XamGeographicMap.prototype.
|
|
1476
|
-
_super.prototype.
|
|
1475
|
+
XamGeographicMap.prototype.wv = function (a) {
|
|
1476
|
+
_super.prototype.wv.call(this, this.xb);
|
|
1477
1477
|
if (a.isEmpty) {
|
|
1478
1478
|
return Rect.empty;
|
|
1479
1479
|
}
|
|
@@ -1488,131 +1488,131 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
return b;
|
|
1490
1490
|
};
|
|
1491
|
-
XamGeographicMap.prototype.
|
|
1492
|
-
return this.
|
|
1491
|
+
XamGeographicMap.prototype.zp = function (a) {
|
|
1492
|
+
return this.wv(a);
|
|
1493
1493
|
};
|
|
1494
|
-
XamGeographicMap.prototype.
|
|
1494
|
+
XamGeographicMap.prototype.db = function () {
|
|
1495
1495
|
return new XamGeographicMapView(this);
|
|
1496
1496
|
};
|
|
1497
|
-
XamGeographicMap.prototype.
|
|
1497
|
+
XamGeographicMap.prototype.yp = function (a) {
|
|
1498
1498
|
if (a != null) {
|
|
1499
1499
|
a.bi = this;
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
|
-
XamGeographicMap.prototype.
|
|
1503
|
-
_super.prototype.
|
|
1504
|
-
this.
|
|
1502
|
+
XamGeographicMap.prototype.qo = function (a) {
|
|
1503
|
+
_super.prototype.qo.call(this, a);
|
|
1504
|
+
this.xv = a;
|
|
1505
1505
|
};
|
|
1506
|
-
XamGeographicMap.prototype.
|
|
1507
|
-
_super.prototype.
|
|
1508
|
-
this.
|
|
1509
|
-
this.
|
|
1506
|
+
XamGeographicMap.prototype.qz = function (a, b) {
|
|
1507
|
+
_super.prototype.qz.call(this, a, b);
|
|
1508
|
+
this.r5(this.xj);
|
|
1509
|
+
this.r5(this.xl);
|
|
1510
1510
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1511
|
-
this.
|
|
1511
|
+
this.yu();
|
|
1512
1512
|
}
|
|
1513
|
-
if (this.
|
|
1514
|
-
this.
|
|
1513
|
+
if (this.x0) {
|
|
1514
|
+
this.wt = this.wu();
|
|
1515
1515
|
}
|
|
1516
|
-
this.
|
|
1516
|
+
this.y1();
|
|
1517
1517
|
};
|
|
1518
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1518
|
+
Object.defineProperty(XamGeographicMap.prototype, "x5", {
|
|
1519
1519
|
get: function () {
|
|
1520
|
-
return this.
|
|
1520
|
+
return this.x3;
|
|
1521
1521
|
},
|
|
1522
1522
|
set: function (a) {
|
|
1523
|
-
var b = this.
|
|
1524
|
-
this.
|
|
1525
|
-
this.
|
|
1523
|
+
var b = this.x3;
|
|
1524
|
+
this.x3 = a;
|
|
1525
|
+
this.q5("ActualWindowScale", b, this.x3);
|
|
1526
1526
|
},
|
|
1527
1527
|
enumerable: false,
|
|
1528
1528
|
configurable: true
|
|
1529
1529
|
});
|
|
1530
|
-
XamGeographicMap.prototype.
|
|
1531
|
-
return this.
|
|
1530
|
+
XamGeographicMap.prototype.hz = function () {
|
|
1531
|
+
return this.x5;
|
|
1532
1532
|
};
|
|
1533
|
-
XamGeographicMap.prototype.
|
|
1534
|
-
return this.
|
|
1533
|
+
XamGeographicMap.prototype.h0 = function () {
|
|
1534
|
+
return this.x5;
|
|
1535
1535
|
};
|
|
1536
|
-
XamGeographicMap.prototype.
|
|
1537
|
-
_super.prototype.
|
|
1538
|
-
var a = Math.min(this.
|
|
1539
|
-
this.
|
|
1536
|
+
XamGeographicMap.prototype.r4 = function () {
|
|
1537
|
+
_super.prototype.r4.call(this);
|
|
1538
|
+
var a = Math.min(this.wt.width, this.wt.height);
|
|
1539
|
+
this.x5 = a;
|
|
1540
1540
|
};
|
|
1541
|
-
XamGeographicMap.prototype.
|
|
1542
|
-
return this.
|
|
1541
|
+
XamGeographicMap.prototype.f8 = function () {
|
|
1542
|
+
return this.xx;
|
|
1543
1543
|
};
|
|
1544
|
-
XamGeographicMap.prototype.
|
|
1545
|
-
if (this.
|
|
1546
|
-
if (this.
|
|
1544
|
+
XamGeographicMap.prototype.ct = function () {
|
|
1545
|
+
if (this.cu == 0) {
|
|
1546
|
+
if (this.xy) {
|
|
1547
1547
|
return 2;
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
|
-
return this.
|
|
1550
|
+
return this.cu;
|
|
1551
1551
|
};
|
|
1552
|
-
XamGeographicMap.prototype.
|
|
1552
|
+
XamGeographicMap.prototype.q0 = function (a, b, c, d) {
|
|
1553
1553
|
var e_2, _a, e_3, _b;
|
|
1554
|
-
_super.prototype.
|
|
1554
|
+
_super.prototype.q0.call(this, a, b, c, d);
|
|
1555
1555
|
switch (b) {
|
|
1556
1556
|
case "ZoomCoercionMode":
|
|
1557
|
-
this.
|
|
1557
|
+
this.yq();
|
|
1558
1558
|
break;
|
|
1559
1559
|
case "WindowRect":
|
|
1560
|
-
this.
|
|
1560
|
+
this.yy();
|
|
1561
1561
|
break;
|
|
1562
1562
|
case XamGeographicMap.$$p[0]:
|
|
1563
|
-
this.
|
|
1564
|
-
if (this.
|
|
1565
|
-
this.
|
|
1563
|
+
this.xr = this.xs();
|
|
1564
|
+
if (this.xo != null) {
|
|
1565
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1566
1566
|
}
|
|
1567
1567
|
break;
|
|
1568
1568
|
case XamGeographicMap.$$p[1]:
|
|
1569
|
-
this.
|
|
1570
|
-
this.
|
|
1571
|
-
this.
|
|
1572
|
-
if (this.
|
|
1573
|
-
this.
|
|
1569
|
+
this.xx = this.xy;
|
|
1570
|
+
this.xr = this.xs();
|
|
1571
|
+
this.cs = this.ct();
|
|
1572
|
+
if (this.xo != null) {
|
|
1573
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1574
1574
|
}
|
|
1575
1575
|
break;
|
|
1576
1576
|
case XamGeographicMap.$$p[4]:
|
|
1577
|
-
this.
|
|
1577
|
+
this.wt = this.wu();
|
|
1578
1578
|
break;
|
|
1579
1579
|
case "BackgroundContent":
|
|
1580
|
-
if (this.
|
|
1581
|
-
var e = this.
|
|
1582
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1583
|
-
this.
|
|
1580
|
+
if (this.xo != null) {
|
|
1581
|
+
var e = this.xo;
|
|
1582
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.yr));
|
|
1583
|
+
this.xo.deferralHandler = null;
|
|
1584
1584
|
}
|
|
1585
|
-
this.
|
|
1586
|
-
if (this.
|
|
1587
|
-
var f = this.
|
|
1588
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1589
|
-
this.
|
|
1590
|
-
this.
|
|
1585
|
+
this.xo = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1586
|
+
if (this.xo != null) {
|
|
1587
|
+
var f = this.xo;
|
|
1588
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.yr));
|
|
1589
|
+
this.xo.deferralHandler = this;
|
|
1590
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1591
1591
|
}
|
|
1592
|
-
this.
|
|
1593
|
-
if (this.
|
|
1594
|
-
this.
|
|
1595
|
-
this.
|
|
1596
|
-
this.
|
|
1592
|
+
this.xv.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1593
|
+
if (this.xo != null) {
|
|
1594
|
+
this.xo.geographicMap = this;
|
|
1595
|
+
this.xv.fr(this.wt);
|
|
1596
|
+
this.xv.fv(this.hp);
|
|
1597
1597
|
}
|
|
1598
1598
|
break;
|
|
1599
1599
|
case "YAxis":
|
|
1600
1600
|
case "XAxis":
|
|
1601
|
-
this.
|
|
1602
|
-
this.
|
|
1601
|
+
this.yw(c);
|
|
1602
|
+
this.yp(d);
|
|
1603
1603
|
break;
|
|
1604
1604
|
case XamGeographicMap.$$p[6]:
|
|
1605
|
-
if (!this.
|
|
1606
|
-
this.
|
|
1605
|
+
if (!this.xz) {
|
|
1606
|
+
this.xc = XamGeographicMap.zj;
|
|
1607
1607
|
}
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1608
|
+
this.yq();
|
|
1609
|
+
this.yx();
|
|
1610
|
+
this.yy();
|
|
1611
|
+
this.wt = this.wu();
|
|
1612
|
+
this.xv.fs();
|
|
1613
1613
|
break;
|
|
1614
1614
|
case "ActualWindowRect":
|
|
1615
|
-
this.
|
|
1615
|
+
this.xv.fr(this.wt);
|
|
1616
1616
|
break;
|
|
1617
1617
|
case "ActualWorldRect":
|
|
1618
1618
|
try {
|
|
@@ -1636,30 +1636,30 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
break;
|
|
1638
1638
|
case XamGeographicMap.$$p[5]:
|
|
1639
|
-
this.
|
|
1639
|
+
this.x5 = this.x6;
|
|
1640
1640
|
break;
|
|
1641
1641
|
case "ActualWindowScale":
|
|
1642
|
-
if (!this.
|
|
1643
|
-
this.
|
|
1642
|
+
if (!this.gg) {
|
|
1643
|
+
this.sf(this.hz(), this.h0());
|
|
1644
1644
|
}
|
|
1645
1645
|
break;
|
|
1646
1646
|
case "ActualPixelScalingRatio":
|
|
1647
|
-
this.
|
|
1647
|
+
this.xv.fv(this.hp);
|
|
1648
1648
|
break;
|
|
1649
1649
|
case "WindowRectMinWidth":
|
|
1650
1650
|
case "WindowRectMinHeight":
|
|
1651
1651
|
var h = d;
|
|
1652
1652
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1653
|
+
this.ht = 5E-06;
|
|
1654
|
+
this.hs = 5E-06;
|
|
1655
1655
|
}
|
|
1656
1656
|
else {
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1657
|
+
this.ht = h;
|
|
1658
|
+
this.hs = h;
|
|
1659
1659
|
}
|
|
1660
1660
|
break;
|
|
1661
1661
|
case XamGeographicMap.$$p[7]:
|
|
1662
|
-
this.
|
|
1662
|
+
this.sb();
|
|
1663
1663
|
break;
|
|
1664
1664
|
case "MarkerAutomaticBehavior":
|
|
1665
1665
|
try {
|
|
@@ -1684,39 +1684,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1684
1684
|
break;
|
|
1685
1685
|
}
|
|
1686
1686
|
};
|
|
1687
|
-
XamGeographicMap.prototype.
|
|
1687
|
+
XamGeographicMap.prototype.yr = function (a, b) {
|
|
1688
1688
|
if (this.imageTilesReady != null) {
|
|
1689
1689
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1690
1690
|
}
|
|
1691
1691
|
};
|
|
1692
|
-
XamGeographicMap.prototype.
|
|
1692
|
+
XamGeographicMap.prototype.yw = function (a) {
|
|
1693
1693
|
if (a != null) {
|
|
1694
1694
|
a.bi = null;
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
|
-
XamGeographicMap.prototype.
|
|
1698
|
-
if (this.
|
|
1699
|
-
this.
|
|
1700
|
-
this.
|
|
1697
|
+
XamGeographicMap.prototype.yx = function () {
|
|
1698
|
+
if (this.xj != null) {
|
|
1699
|
+
this.xj.mc = this.zk.left;
|
|
1700
|
+
this.xj.mb = this.zk.right;
|
|
1701
1701
|
}
|
|
1702
|
-
if (this.
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1702
|
+
if (this.xl != null) {
|
|
1703
|
+
this.xl.mc = this.zk.top;
|
|
1704
|
+
this.xl.mb = this.zk.bottom;
|
|
1705
1705
|
}
|
|
1706
|
-
this.
|
|
1707
|
-
this.
|
|
1706
|
+
this.xj.c2(true);
|
|
1707
|
+
this.xl.c2(true);
|
|
1708
1708
|
};
|
|
1709
1709
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
1710
|
-
this.
|
|
1711
|
-
return this.
|
|
1710
|
+
this.xw = this.xv.fo;
|
|
1711
|
+
return this.xw;
|
|
1712
1712
|
};
|
|
1713
|
-
XamGeographicMap.prototype.
|
|
1714
|
-
return this.
|
|
1713
|
+
XamGeographicMap.prototype.vx = function () {
|
|
1714
|
+
return this.xv.fw;
|
|
1715
1715
|
};
|
|
1716
1716
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
1717
|
-
return this.
|
|
1717
|
+
return this.xv.fx;
|
|
1718
1718
|
};
|
|
1719
|
-
XamGeographicMap.prototype.
|
|
1719
|
+
XamGeographicMap.prototype.rx = function (a, b) {
|
|
1720
1720
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1721
1721
|
var c = b;
|
|
1722
1722
|
var d = a;
|
|
@@ -1724,33 +1724,33 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1724
1724
|
d.xe = c.triangulationSource.triangles;
|
|
1725
1725
|
}
|
|
1726
1726
|
else {
|
|
1727
|
-
_super.prototype.
|
|
1727
|
+
_super.prototype.rx.call(this, a, b);
|
|
1728
1728
|
}
|
|
1729
1729
|
};
|
|
1730
1730
|
XamGeographicMap.prototype.register = function (a, b) {
|
|
1731
|
-
this.
|
|
1731
|
+
this.rk(a, b);
|
|
1732
1732
|
};
|
|
1733
1733
|
XamGeographicMap.prototype.unRegister = function (a) {
|
|
1734
|
-
this.
|
|
1734
|
+
this.r3(a);
|
|
1735
1735
|
};
|
|
1736
1736
|
XamGeographicMap.prototype.deferredRefresh = function () {
|
|
1737
|
-
this.
|
|
1737
|
+
this.n0();
|
|
1738
1738
|
};
|
|
1739
1739
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
1740
|
-
if (this.
|
|
1741
|
-
this.
|
|
1740
|
+
if (this.x8 != null) {
|
|
1741
|
+
this.x8.setTimeout(a, 0);
|
|
1742
1742
|
}
|
|
1743
1743
|
else {
|
|
1744
1744
|
window.setTimeout(a, 0);
|
|
1745
1745
|
}
|
|
1746
1746
|
};
|
|
1747
|
-
XamGeographicMap.prototype.
|
|
1748
|
-
this.
|
|
1747
|
+
XamGeographicMap.prototype.yo = function (a) {
|
|
1748
|
+
this.sa(a);
|
|
1749
1749
|
};
|
|
1750
|
-
XamGeographicMap.prototype.
|
|
1750
|
+
XamGeographicMap.prototype.x9 = function () {
|
|
1751
1751
|
var a = new ChartVisualData();
|
|
1752
|
-
var b = this.
|
|
1753
|
-
var c = this.
|
|
1752
|
+
var b = this.xj.fy();
|
|
1753
|
+
var c = this.xl.fy();
|
|
1754
1754
|
a.axes.add1(b);
|
|
1755
1755
|
a.axes.add1(c);
|
|
1756
1756
|
for (var d = 0; d < this.series.count; d++) {
|
|
@@ -1758,49 +1758,49 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1758
1758
|
a.series.add1(e);
|
|
1759
1759
|
}
|
|
1760
1760
|
a.name = this.name;
|
|
1761
|
-
a.contentArea = RectData.b(this.
|
|
1762
|
-
a.centralArea = RectData.b(this.
|
|
1763
|
-
a.plotArea = RectData.b(this.
|
|
1761
|
+
a.contentArea = RectData.b(this.xb);
|
|
1762
|
+
a.centralArea = RectData.b(this.xb);
|
|
1763
|
+
a.plotArea = RectData.b(this.xb);
|
|
1764
1764
|
return a;
|
|
1765
1765
|
};
|
|
1766
|
-
XamGeographicMap.prototype.
|
|
1766
|
+
XamGeographicMap.prototype.w1 = function (a, b, c) {
|
|
1767
1767
|
return a;
|
|
1768
1768
|
};
|
|
1769
|
-
XamGeographicMap.prototype.
|
|
1769
|
+
XamGeographicMap.prototype.ys = function () {
|
|
1770
1770
|
};
|
|
1771
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1771
|
+
Object.defineProperty(XamGeographicMap.prototype, "zv", {
|
|
1772
1772
|
get: function () {
|
|
1773
|
-
return this.
|
|
1773
|
+
return this.zh;
|
|
1774
1774
|
},
|
|
1775
1775
|
set: function (a) {
|
|
1776
|
-
this.
|
|
1776
|
+
this.zh = a;
|
|
1777
1777
|
},
|
|
1778
1778
|
enumerable: false,
|
|
1779
1779
|
configurable: true
|
|
1780
1780
|
});
|
|
1781
|
-
XamGeographicMap.prototype.
|
|
1782
|
-
this.
|
|
1783
|
-
this.
|
|
1781
|
+
XamGeographicMap.prototype.y2 = function (a) {
|
|
1782
|
+
this.zv = a;
|
|
1783
|
+
this.y1();
|
|
1784
1784
|
};
|
|
1785
|
-
XamGeographicMap.prototype.
|
|
1786
|
-
if (this.
|
|
1787
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
1788
|
-
this.
|
|
1789
|
-
this.
|
|
1785
|
+
XamGeographicMap.prototype.y1 = function () {
|
|
1786
|
+
if (this.x2 && !this.zv.isEmpty) {
|
|
1787
|
+
var a = this.getZoomFromGeographicRect(this.zv);
|
|
1788
|
+
this.zv = Rect.empty;
|
|
1789
|
+
this.sh(a, false);
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
1792
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1792
|
+
Object.defineProperty(XamGeographicMap.prototype, "x2", {
|
|
1793
1793
|
get: function () {
|
|
1794
|
-
return !this.
|
|
1794
|
+
return !this.xb.isEmpty && !this.wx.isEmpty;
|
|
1795
1795
|
},
|
|
1796
1796
|
enumerable: false,
|
|
1797
1797
|
configurable: true
|
|
1798
1798
|
});
|
|
1799
1799
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1800
|
-
XamGeographicMap.
|
|
1801
|
-
XamGeographicMap.
|
|
1802
|
-
XamGeographicMap.
|
|
1803
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1800
|
+
XamGeographicMap.xt = 0;
|
|
1801
|
+
XamGeographicMap.zg = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1802
|
+
XamGeographicMap.zj = new Rect(0, 0, 0, 1, 1);
|
|
1803
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'q5', ['BackgroundTilingMode:xq:y3', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:xy:y4', [0, false], 'ResizeBehavior:xu:y5', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.xt)], 'SuppressZoomResetOnWorldRectChange:xz:y6', [0, false], 'UseWorldRectForZoomBounds:x0:y7', [0, false], 'WindowScale:x6:y8', [1, NaN], 'WorldRect:zw:y9', [Rect.$, XamGeographicMap.zg], 'Zoomable:x1:za', [0, true]]);
|
|
1804
1804
|
return XamGeographicMap;
|
|
1805
1805
|
}(SeriesViewer));
|
|
1806
1806
|
/**
|
|
@@ -1943,14 +1943,14 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1943
1943
|
return a;
|
|
1944
1944
|
}
|
|
1945
1945
|
var b = new Rect(0, 0, 0, a.width, a.height);
|
|
1946
|
-
var c = this.geographicMap.
|
|
1947
|
-
var d = XamGeographicMap.
|
|
1948
|
-
var e = this.geographicMap.
|
|
1946
|
+
var c = this.geographicMap.zp(b);
|
|
1947
|
+
var d = XamGeographicMap.zg;
|
|
1948
|
+
var e = this.geographicMap.zk;
|
|
1949
1949
|
var f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1950
1950
|
var g = e.width / d.width;
|
|
1951
1951
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1952
|
-
var h = this.geographicMap.
|
|
1953
|
-
var i = this.geographicMap.
|
|
1952
|
+
var h = this.geographicMap.xj;
|
|
1953
|
+
var i = this.geographicMap.xl;
|
|
1954
1954
|
var j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1955
1955
|
j.c = c;
|
|
1956
1956
|
var k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -2069,8 +2069,8 @@ var GeographicXYTriangulatingSeriesView = /** @class */ /*@__PURE__*/ (function
|
|
|
2069
2069
|
a.w4 = null;
|
|
2070
2070
|
return;
|
|
2071
2071
|
}
|
|
2072
|
-
a.w3 = this.cu.dc.
|
|
2073
|
-
a.w4 = this.cu.dc.
|
|
2072
|
+
a.w3 = this.cu.dc.xj;
|
|
2073
|
+
a.w4 = this.cu.dc.xl;
|
|
2074
2074
|
};
|
|
2075
2075
|
GeographicXYTriangulatingSeriesView.prototype.cw = function () {
|
|
2076
2076
|
this.cu.w5.x5 = this.cu.xh;
|
|
@@ -2144,8 +2144,8 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2144
2144
|
_this.fp = NaN;
|
|
2145
2145
|
_this.fz = Rect.empty;
|
|
2146
2146
|
_this.fn = a;
|
|
2147
|
-
_this.fn.
|
|
2148
|
-
_this.fn.
|
|
2147
|
+
_this.fn.vq = 2;
|
|
2148
|
+
_this.fn.i2 = 5E-06;
|
|
2149
2149
|
return _this;
|
|
2150
2150
|
}
|
|
2151
2151
|
XamGeographicMapView.prototype.m = function (a) {
|
|
@@ -2153,7 +2153,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2153
2153
|
};
|
|
2154
2154
|
XamGeographicMapView.prototype.bk = function (a) {
|
|
2155
2155
|
this.j.bw(a);
|
|
2156
|
-
this.fn.
|
|
2156
|
+
this.fn.yo(a);
|
|
2157
2157
|
this.el();
|
|
2158
2158
|
};
|
|
2159
2159
|
XamGeographicMapView.prototype.get_ap = function () {
|
|
@@ -2216,13 +2216,13 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2216
2216
|
}
|
|
2217
2217
|
};
|
|
2218
2218
|
XamGeographicMapView.prototype.fr = function (a) {
|
|
2219
|
-
if (this.fn.
|
|
2220
|
-
this.fn.
|
|
2219
|
+
if (this.fn.xo != null) {
|
|
2220
|
+
this.fn.xo.windowRect = a;
|
|
2221
2221
|
}
|
|
2222
2222
|
};
|
|
2223
2223
|
XamGeographicMapView.prototype.fu = function (a, b) {
|
|
2224
|
-
if (this.fn.
|
|
2225
|
-
this.fn.
|
|
2224
|
+
if (this.fn.xo != null) {
|
|
2225
|
+
this.fn.xo.windowRect = this.fn.wt;
|
|
2226
2226
|
}
|
|
2227
2227
|
if (a != null) {
|
|
2228
2228
|
var c = a.ao;
|
|
@@ -2249,7 +2249,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2249
2249
|
}
|
|
2250
2250
|
};
|
|
2251
2251
|
XamGeographicMapView.prototype.ft = function (a) {
|
|
2252
|
-
var b = this.fn.
|
|
2252
|
+
var b = this.fn.hp;
|
|
2253
2253
|
if (b != 1) {
|
|
2254
2254
|
a.aa();
|
|
2255
2255
|
a.ab(b, b);
|
|
@@ -2773,10 +2773,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2773
2773
|
* Gets or sets zoomability of the current control
|
|
2774
2774
|
*/
|
|
2775
2775
|
get: function () {
|
|
2776
|
-
return this.i.
|
|
2776
|
+
return this.i.x1;
|
|
2777
2777
|
},
|
|
2778
2778
|
set: function (v) {
|
|
2779
|
-
this.i.
|
|
2779
|
+
this.i.x1 = ensureBool(v);
|
|
2780
2780
|
},
|
|
2781
2781
|
enumerable: false,
|
|
2782
2782
|
configurable: true
|
|
@@ -2786,10 +2786,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2786
2786
|
* Gets or sets the behavior to use during resize.
|
|
2787
2787
|
*/
|
|
2788
2788
|
get: function () {
|
|
2789
|
-
return this.i.
|
|
2789
|
+
return this.i.xu;
|
|
2790
2790
|
},
|
|
2791
2791
|
set: function (v) {
|
|
2792
|
-
this.i.
|
|
2792
|
+
this.i.xu = ensureEnum(MapResizeBehavior_$type, v);
|
|
2793
2793
|
},
|
|
2794
2794
|
enumerable: false,
|
|
2795
2795
|
configurable: true
|
|
@@ -2799,10 +2799,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2799
2799
|
* Gets or sets if the map should horizontally wrap.
|
|
2800
2800
|
*/
|
|
2801
2801
|
get: function () {
|
|
2802
|
-
return this.i.
|
|
2802
|
+
return this.i.xy;
|
|
2803
2803
|
},
|
|
2804
2804
|
set: function (v) {
|
|
2805
|
-
this.i.
|
|
2805
|
+
this.i.xy = ensureBool(v);
|
|
2806
2806
|
},
|
|
2807
2807
|
enumerable: false,
|
|
2808
2808
|
configurable: true
|
|
@@ -2812,10 +2812,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2812
2812
|
* Gets or sets if the map should horizontally wrap.
|
|
2813
2813
|
*/
|
|
2814
2814
|
get: function () {
|
|
2815
|
-
return this.i.
|
|
2815
|
+
return this.i.xq;
|
|
2816
2816
|
},
|
|
2817
2817
|
set: function (v) {
|
|
2818
|
-
this.i.
|
|
2818
|
+
this.i.xq = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2819
2819
|
},
|
|
2820
2820
|
enumerable: false,
|
|
2821
2821
|
configurable: true
|
|
@@ -2825,10 +2825,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2825
2825
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2826
2826
|
*/
|
|
2827
2827
|
get: function () {
|
|
2828
|
-
return this.i.
|
|
2828
|
+
return this.i.x0;
|
|
2829
2829
|
},
|
|
2830
2830
|
set: function (v) {
|
|
2831
|
-
this.i.
|
|
2831
|
+
this.i.x0 = ensureBool(v);
|
|
2832
2832
|
},
|
|
2833
2833
|
enumerable: false,
|
|
2834
2834
|
configurable: true
|
|
@@ -2838,10 +2838,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2838
2838
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2839
2839
|
*/
|
|
2840
2840
|
get: function () {
|
|
2841
|
-
return this.i.
|
|
2841
|
+
return this.i.xz;
|
|
2842
2842
|
},
|
|
2843
2843
|
set: function (v) {
|
|
2844
|
-
this.i.
|
|
2844
|
+
this.i.xz = ensureBool(v);
|
|
2845
2845
|
},
|
|
2846
2846
|
enumerable: false,
|
|
2847
2847
|
configurable: true
|
|
@@ -2851,10 +2851,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2851
2851
|
* Gets or sets the world bounding rectangle.
|
|
2852
2852
|
*/
|
|
2853
2853
|
get: function () {
|
|
2854
|
-
return fromRect(this.i.
|
|
2854
|
+
return fromRect(this.i.zw);
|
|
2855
2855
|
},
|
|
2856
2856
|
set: function (v) {
|
|
2857
|
-
this.i.
|
|
2857
|
+
this.i.zw = toRect(v);
|
|
2858
2858
|
},
|
|
2859
2859
|
enumerable: false,
|
|
2860
2860
|
configurable: true
|
|
@@ -2864,10 +2864,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2864
2864
|
* Gets the actual value of the WorldRect.
|
|
2865
2865
|
*/
|
|
2866
2866
|
get: function () {
|
|
2867
|
-
return fromRect(this.i.
|
|
2867
|
+
return fromRect(this.i.zk);
|
|
2868
2868
|
},
|
|
2869
2869
|
set: function (v) {
|
|
2870
|
-
this.i.
|
|
2870
|
+
this.i.zk = toRect(v);
|
|
2871
2871
|
},
|
|
2872
2872
|
enumerable: false,
|
|
2873
2873
|
configurable: true
|
|
@@ -2878,7 +2878,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2878
2878
|
* 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.
|
|
2879
2879
|
*/
|
|
2880
2880
|
get: function () {
|
|
2881
|
-
var r = this.i.
|
|
2881
|
+
var r = this.i.xj;
|
|
2882
2882
|
if (r == null) {
|
|
2883
2883
|
return null;
|
|
2884
2884
|
}
|
|
@@ -2894,7 +2894,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2894
2894
|
set: function (v) {
|
|
2895
2895
|
if (v != null && this._stylingContainer && v._styling)
|
|
2896
2896
|
v._styling(this._stylingContainer, this, this);
|
|
2897
|
-
v == null ? this.i.
|
|
2897
|
+
v == null ? this.i.xj = null : this.i.xj = v.i;
|
|
2898
2898
|
},
|
|
2899
2899
|
enumerable: false,
|
|
2900
2900
|
configurable: true
|
|
@@ -2905,7 +2905,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2905
2905
|
* 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.
|
|
2906
2906
|
*/
|
|
2907
2907
|
get: function () {
|
|
2908
|
-
var r = this.i.
|
|
2908
|
+
var r = this.i.xl;
|
|
2909
2909
|
if (r == null) {
|
|
2910
2910
|
return null;
|
|
2911
2911
|
}
|
|
@@ -2921,7 +2921,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2921
2921
|
set: function (v) {
|
|
2922
2922
|
if (v != null && this._stylingContainer && v._styling)
|
|
2923
2923
|
v._styling(this._stylingContainer, this, this);
|
|
2924
|
-
v == null ? this.i.
|
|
2924
|
+
v == null ? this.i.xl = null : this.i.xl = v.i;
|
|
2925
2925
|
},
|
|
2926
2926
|
enumerable: false,
|
|
2927
2927
|
configurable: true
|
|
@@ -2931,7 +2931,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2931
2931
|
* Indicates if this SeriesViewer is a map.
|
|
2932
2932
|
*/
|
|
2933
2933
|
get: function () {
|
|
2934
|
-
return this.i.
|
|
2934
|
+
return this.i.fh;
|
|
2935
2935
|
},
|
|
2936
2936
|
enumerable: false,
|
|
2937
2937
|
configurable: true
|
|
@@ -2942,10 +2942,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2942
2942
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
2943
2943
|
*/
|
|
2944
2944
|
get: function () {
|
|
2945
|
-
return this.i.
|
|
2945
|
+
return this.i.x6;
|
|
2946
2946
|
},
|
|
2947
2947
|
set: function (v) {
|
|
2948
|
-
this.i.
|
|
2948
|
+
this.i.x6 = +v;
|
|
2949
2949
|
},
|
|
2950
2950
|
enumerable: false,
|
|
2951
2951
|
configurable: true
|
|
@@ -2956,10 +2956,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2956
2956
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2957
2957
|
*/
|
|
2958
2958
|
get: function () {
|
|
2959
|
-
return this.i.
|
|
2959
|
+
return this.i.x5;
|
|
2960
2960
|
},
|
|
2961
2961
|
set: function (v) {
|
|
2962
|
-
this.i.
|
|
2962
|
+
this.i.x5 = +v;
|
|
2963
2963
|
},
|
|
2964
2964
|
enumerable: false,
|
|
2965
2965
|
configurable: true
|
|
@@ -2969,7 +2969,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2969
2969
|
* Gets whether or not the control is ready for zooming
|
|
2970
2970
|
*/
|
|
2971
2971
|
get: function () {
|
|
2972
|
-
return this.i.
|
|
2972
|
+
return this.i.x2;
|
|
2973
2973
|
},
|
|
2974
2974
|
enumerable: false,
|
|
2975
2975
|
configurable: true
|
|
@@ -3000,7 +3000,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3000
3000
|
|
|
3001
3001
|
*/
|
|
3002
3002
|
IgxGeographicMapComponent.prototype.getCurrentActualWorldRect = function () {
|
|
3003
|
-
var iv = this.i.
|
|
3003
|
+
var iv = this.i.zo();
|
|
3004
3004
|
return fromRect(iv);
|
|
3005
3005
|
};
|
|
3006
3006
|
/**
|
|
@@ -3017,14 +3017,14 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3017
3017
|
|
|
3018
3018
|
*/
|
|
3019
3019
|
IgxGeographicMapComponent.prototype.updateZoomWindow = function (zoomWindow) {
|
|
3020
|
-
this.i.
|
|
3020
|
+
this.i.y0(toRect(zoomWindow));
|
|
3021
3021
|
};
|
|
3022
3022
|
/**
|
|
3023
3023
|
* Updates world rect in geographic coordinates
|
|
3024
3024
|
|
|
3025
3025
|
*/
|
|
3026
3026
|
IgxGeographicMapComponent.prototype.updateWorldRect = function (worldRect) {
|
|
3027
|
-
this.i.
|
|
3027
|
+
this.i.yz(toRect(worldRect));
|
|
3028
3028
|
};
|
|
3029
3029
|
/**
|
|
3030
3030
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -3036,7 +3036,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3036
3036
|
return fromRect(iv);
|
|
3037
3037
|
};
|
|
3038
3038
|
IgxGeographicMapComponent.prototype.convertGeographicToZoom = function (geographic, extraPixelPadding) {
|
|
3039
|
-
var iv = this.i.
|
|
3039
|
+
var iv = this.i.zl(toRect(geographic), extraPixelPadding);
|
|
3040
3040
|
return fromRect(iv);
|
|
3041
3041
|
};
|
|
3042
3042
|
IgxGeographicMapComponent.prototype.getZoomFromGeographicPoints = function (northWest, southEast) {
|
|
@@ -3049,7 +3049,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3049
3049
|
* @param windowRect * The zoom area.
|
|
3050
3050
|
*/
|
|
3051
3051
|
IgxGeographicMapComponent.prototype.getGeographicFromZoom = function (windowRect) {
|
|
3052
|
-
var iv = this.i.
|
|
3052
|
+
var iv = this.i.zq(toRect(windowRect));
|
|
3053
3053
|
return fromRect(iv);
|
|
3054
3054
|
};
|
|
3055
3055
|
/**
|
|
@@ -3058,7 +3058,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3058
3058
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
3059
3059
|
*/
|
|
3060
3060
|
IgxGeographicMapComponent.prototype.getGeographicPoint = function (pixelCoordinate) {
|
|
3061
|
-
var iv = this.i.
|
|
3061
|
+
var iv = this.i.zc(toPoint(pixelCoordinate));
|
|
3062
3062
|
return fromPoint(iv);
|
|
3063
3063
|
};
|
|
3064
3064
|
/**
|
|
@@ -3067,7 +3067,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3067
3067
|
* @param geographicCoordinate * A geographic coordinate
|
|
3068
3068
|
*/
|
|
3069
3069
|
IgxGeographicMapComponent.prototype.getPixelPoint = function (geographicCoordinate) {
|
|
3070
|
-
var iv = this.i.
|
|
3070
|
+
var iv = this.i.zd(toPoint(geographicCoordinate));
|
|
3071
3071
|
return fromPoint(iv);
|
|
3072
3072
|
};
|
|
3073
3073
|
/**
|
|
@@ -3076,7 +3076,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3076
3076
|
* @param geographicCoordinate * A geographic coordinate
|
|
3077
3077
|
*/
|
|
3078
3078
|
IgxGeographicMapComponent.prototype.getWindowPoint = function (geographicCoordinate) {
|
|
3079
|
-
var iv = this.i.
|
|
3079
|
+
var iv = this.i.ze(toPoint(geographicCoordinate));
|
|
3080
3080
|
return fromPoint(iv);
|
|
3081
3081
|
};
|
|
3082
3082
|
/**
|
|
@@ -3084,21 +3084,21 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3084
3084
|
|
|
3085
3085
|
*/
|
|
3086
3086
|
IgxGeographicMapComponent.prototype.clearTileCache = function () {
|
|
3087
|
-
this.i.
|
|
3087
|
+
this.i.yn();
|
|
3088
3088
|
};
|
|
3089
3089
|
/**
|
|
3090
3090
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
3091
3091
|
|
|
3092
3092
|
*/
|
|
3093
3093
|
IgxGeographicMapComponent.prototype.styleUpdated = function () {
|
|
3094
|
-
this.i.
|
|
3094
|
+
this.i.yv();
|
|
3095
3095
|
};
|
|
3096
3096
|
/**
|
|
3097
3097
|
* Gets actual window scale for horizontal dimension of the control
|
|
3098
3098
|
|
|
3099
3099
|
*/
|
|
3100
3100
|
IgxGeographicMapComponent.prototype.getActualWindowScaleHorizontal = function () {
|
|
3101
|
-
var iv = this.i.
|
|
3101
|
+
var iv = this.i.hz();
|
|
3102
3102
|
return (iv);
|
|
3103
3103
|
};
|
|
3104
3104
|
/**
|
|
@@ -3106,7 +3106,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3106
3106
|
|
|
3107
3107
|
*/
|
|
3108
3108
|
IgxGeographicMapComponent.prototype.getActualWindowScaleVertical = function () {
|
|
3109
|
-
var iv = this.i.
|
|
3109
|
+
var iv = this.i.h0();
|
|
3110
3110
|
return (iv);
|
|
3111
3111
|
};
|
|
3112
3112
|
/**
|
|
@@ -3121,7 +3121,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3121
3121
|
|
|
3122
3122
|
*/
|
|
3123
3123
|
IgxGeographicMapComponent.prototype.exportVisualData = function () {
|
|
3124
|
-
var iv = this.i.
|
|
3124
|
+
var iv = this.i.x9();
|
|
3125
3125
|
return (iv);
|
|
3126
3126
|
};
|
|
3127
3127
|
/**
|
|
@@ -3130,7 +3130,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3130
3130
|
* @param geographic * The geographic region to zoom to.
|
|
3131
3131
|
*/
|
|
3132
3132
|
IgxGeographicMapComponent.prototype.zoomToGeographic = function (geographic) {
|
|
3133
|
-
this.i.
|
|
3133
|
+
this.i.y2(toRect(geographic));
|
|
3134
3134
|
};
|
|
3135
3135
|
Object.defineProperty(IgxGeographicMapComponent.prototype, "imageTilesReady", {
|
|
3136
3136
|
/**
|
|
@@ -5687,8 +5687,8 @@ var GeographicShapeSeriesBaseView = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
5687
5687
|
a.xl = null;
|
|
5688
5688
|
return;
|
|
5689
5689
|
}
|
|
5690
|
-
a.xj = this.cu.dc.
|
|
5691
|
-
a.xl = this.cu.dc.
|
|
5690
|
+
a.xj = this.cu.dc.xj;
|
|
5691
|
+
a.xl = this.cu.dc.xl;
|
|
5692
5692
|
};
|
|
5693
5693
|
GeographicShapeSeriesBaseView.prototype.cx = function () {
|
|
5694
5694
|
this.cu.w5.zc = this.cu.x4;
|
|
@@ -6770,7 +6770,7 @@ var TileSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6770
6770
|
if (f != null && typeCast(XamGeographicMap.$, this.dc) !== null) {
|
|
6771
6771
|
f.geographicMap = this.dc;
|
|
6772
6772
|
this.aao(this.cw);
|
|
6773
|
-
this.aac.dr(this.dc.
|
|
6773
|
+
this.aac.dr(this.dc.wt);
|
|
6774
6774
|
}
|
|
6775
6775
|
this.qn();
|
|
6776
6776
|
break;
|
|
@@ -7732,10 +7732,10 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7732
7732
|
this.cu.w5.aae = this.cu.xh;
|
|
7733
7733
|
};
|
|
7734
7734
|
GeographicProportionalSymbolSeriesView.prototype.db = function () {
|
|
7735
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
7735
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
7736
7736
|
};
|
|
7737
7737
|
GeographicProportionalSymbolSeriesView.prototype.dc = function () {
|
|
7738
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
7738
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
7739
7739
|
};
|
|
7740
7740
|
GeographicProportionalSymbolSeriesView.prototype.da = function () {
|
|
7741
7741
|
var a = this.cu.w5;
|
|
@@ -7744,8 +7744,8 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7744
7744
|
a.yAxis = null;
|
|
7745
7745
|
return;
|
|
7746
7746
|
}
|
|
7747
|
-
a.xAxis = this.cu.dc.
|
|
7748
|
-
a.yAxis = this.cu.dc.
|
|
7747
|
+
a.xAxis = this.cu.dc.xj;
|
|
7748
|
+
a.yAxis = this.cu.dc.xl;
|
|
7749
7749
|
};
|
|
7750
7750
|
GeographicProportionalSymbolSeriesView.prototype.c4 = function () {
|
|
7751
7751
|
this.cu.w5.yo = this.cu.x9;
|
|
@@ -8428,10 +8428,10 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8428
8428
|
this.cu.w5.aae = this.cu.xh;
|
|
8429
8429
|
};
|
|
8430
8430
|
GeographicSymbolSeriesView.prototype.c5 = function () {
|
|
8431
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
8431
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
8432
8432
|
};
|
|
8433
8433
|
GeographicSymbolSeriesView.prototype.c6 = function () {
|
|
8434
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
8434
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
8435
8435
|
};
|
|
8436
8436
|
GeographicSymbolSeriesView.prototype.c4 = function () {
|
|
8437
8437
|
var a = this.cu.w5;
|
|
@@ -8440,8 +8440,8 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8440
8440
|
a.yAxis = null;
|
|
8441
8441
|
return;
|
|
8442
8442
|
}
|
|
8443
|
-
a.xAxis = this.cu.dc.
|
|
8444
|
-
a.yAxis = this.cu.dc.
|
|
8443
|
+
a.xAxis = this.cu.dc.xj;
|
|
8444
|
+
a.yAxis = this.cu.dc.xl;
|
|
8445
8445
|
};
|
|
8446
8446
|
GeographicSymbolSeriesView.prototype.cy = function () {
|
|
8447
8447
|
this.cu.w5.yy = this.cu.yd;
|
|
@@ -9264,14 +9264,14 @@ var GeographicHighDensityScatterSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
9264
9264
|
a.xc = null;
|
|
9265
9265
|
return;
|
|
9266
9266
|
}
|
|
9267
|
-
a.xa = this.cu.dc.
|
|
9268
|
-
a.xc = this.cu.dc.
|
|
9267
|
+
a.xa = this.cu.dc.xj;
|
|
9268
|
+
a.xc = this.cu.dc.xl;
|
|
9269
9269
|
};
|
|
9270
9270
|
GeographicHighDensityScatterSeriesView.prototype.c6 = function () {
|
|
9271
|
-
this.cu.w5.xa = this.cu.dc.
|
|
9271
|
+
this.cu.w5.xa = this.cu.dc.xj;
|
|
9272
9272
|
};
|
|
9273
9273
|
GeographicHighDensityScatterSeriesView.prototype.c7 = function () {
|
|
9274
|
-
this.cu.w5.xc = this.cu.dc.
|
|
9274
|
+
this.cu.w5.xc = this.cu.dc.xl;
|
|
9275
9275
|
};
|
|
9276
9276
|
GeographicHighDensityScatterSeriesView.prototype.cx = function () {
|
|
9277
9277
|
this.cu.w5.aak = this.cu.yd;
|