igniteui-webcomponents-maps 6.0.0 → 6.0.1
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 +438 -438
- 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 +376 -376
- 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 +370 -370
- package/esm5/lib/igc-geographic-map-component.js +50 -50
- package/fesm2015/igniteui-webcomponents-maps.js +444 -444
- package/fesm5/igniteui-webcomponents-maps.js +438 -438
- package/lib/XamGeographicMap_combined.d.ts +88 -88
- package/package.json +12 -5
|
@@ -634,10 +634,10 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
634
634
|
case "SeriesViewer":
|
|
635
635
|
this.w5.dc = this.dc;
|
|
636
636
|
if (c != null) {
|
|
637
|
-
c.
|
|
637
|
+
c.rn(this.w5);
|
|
638
638
|
}
|
|
639
639
|
if (d != null) {
|
|
640
|
-
this.dc.
|
|
640
|
+
this.dc.nq(this.w5);
|
|
641
641
|
}
|
|
642
642
|
this.w5.rf(this.wx);
|
|
643
643
|
this.w5.index = this.index;
|
|
@@ -736,7 +736,7 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
736
736
|
return;
|
|
737
737
|
}
|
|
738
738
|
if (!isNaN_(this.w7)) {
|
|
739
|
-
if (this.dc.
|
|
739
|
+
if (this.dc.wt.width > this.w7) {
|
|
740
740
|
var hs_ = this.w5;
|
|
741
741
|
var v_ = 1;
|
|
742
742
|
hs_.visibility = v_;
|
|
@@ -904,22 +904,22 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
904
904
|
__extends(XamGeographicMap, _super);
|
|
905
905
|
function XamGeographicMap() {
|
|
906
906
|
var _this = _super.call(this) || this;
|
|
907
|
-
_this.
|
|
908
|
-
_this.
|
|
909
|
-
_this.
|
|
910
|
-
_this.
|
|
911
|
-
_this.
|
|
912
|
-
_this.
|
|
913
|
-
_this.
|
|
914
|
-
_this.w8 = null;
|
|
915
|
-
_this.xc = null;
|
|
916
|
-
_this.yz = { $type: Point_$type, x: NaN, y: NaN };
|
|
917
|
-
_this.y6 = null;
|
|
918
|
-
_this.xr = 1;
|
|
919
|
-
_this.imageTilesReady = null;
|
|
907
|
+
_this.x8 = null;
|
|
908
|
+
_this.xx = false;
|
|
909
|
+
_this.xp = 1;
|
|
910
|
+
_this.x4 = 0;
|
|
911
|
+
_this.zf = null;
|
|
912
|
+
_this.xm = null;
|
|
913
|
+
_this.xi = null;
|
|
920
914
|
_this.xk = null;
|
|
921
|
-
_this.
|
|
922
|
-
_this.
|
|
915
|
+
_this.xo = null;
|
|
916
|
+
_this.zb = { $type: Point_$type, x: NaN, y: NaN };
|
|
917
|
+
_this.zi = null;
|
|
918
|
+
_this.x3 = 1;
|
|
919
|
+
_this.imageTilesReady = null;
|
|
920
|
+
_this.xw = null;
|
|
921
|
+
_this.zh = Rect.empty;
|
|
922
|
+
_this.x4 = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
923
923
|
_this.ab = XamGeographicMap.$;
|
|
924
924
|
_this.backgroundContent = new OpenStreetMapImagery();
|
|
925
925
|
var a = ((function () {
|
|
@@ -928,79 +928,79 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
928
928
|
return $ret;
|
|
929
929
|
})());
|
|
930
930
|
a.cf = true;
|
|
931
|
-
_this.
|
|
932
|
-
_this.
|
|
931
|
+
_this.xj = a;
|
|
932
|
+
_this.xj.n4 = new SphericalMercatorHorizontalScaler();
|
|
933
933
|
var b = ((function () {
|
|
934
934
|
var $ret = new NumericYAxis();
|
|
935
935
|
$ret.bi = _this;
|
|
936
936
|
return $ret;
|
|
937
937
|
})());
|
|
938
938
|
b.cf = true;
|
|
939
|
-
_this.
|
|
940
|
-
_this.
|
|
941
|
-
_this.
|
|
942
|
-
_this.
|
|
943
|
-
_this.
|
|
939
|
+
_this.xl = b;
|
|
940
|
+
_this.xl.n4 = new SphericalMercatorVerticalScaler();
|
|
941
|
+
_this.yq();
|
|
942
|
+
_this.yx();
|
|
943
|
+
_this.oi();
|
|
944
944
|
return _this;
|
|
945
945
|
}
|
|
946
946
|
XamGeographicMap.prototype.provideContainer = function (a) {
|
|
947
947
|
_super.prototype.provideContainer.call(this, a);
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
948
|
+
this.xj.provideRenderer(a);
|
|
949
|
+
this.xl.provideRenderer(a);
|
|
950
950
|
};
|
|
951
|
-
XamGeographicMap.prototype.
|
|
952
|
-
_super.prototype.
|
|
953
|
-
this.
|
|
951
|
+
XamGeographicMap.prototype.oi = function () {
|
|
952
|
+
_super.prototype.oi.call(this);
|
|
953
|
+
this.xv.fv(this.hp);
|
|
954
954
|
};
|
|
955
|
-
XamGeographicMap.prototype.
|
|
956
|
-
return this.
|
|
955
|
+
XamGeographicMap.prototype.fp = function () {
|
|
956
|
+
return this.x1;
|
|
957
957
|
};
|
|
958
|
-
XamGeographicMap.prototype.
|
|
959
|
-
return this.
|
|
958
|
+
XamGeographicMap.prototype.fq = function () {
|
|
959
|
+
return this.x1;
|
|
960
960
|
};
|
|
961
|
-
XamGeographicMap.prototype.
|
|
962
|
-
if (this.
|
|
963
|
-
if (this.
|
|
961
|
+
XamGeographicMap.prototype.xs = function () {
|
|
962
|
+
if (this.xq == 0) {
|
|
963
|
+
if (this.xx) {
|
|
964
964
|
return 2;
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
return 1;
|
|
968
968
|
};
|
|
969
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
969
|
+
Object.defineProperty(XamGeographicMap.prototype, "xr", {
|
|
970
970
|
get: function () {
|
|
971
|
-
return this.
|
|
971
|
+
return this.xp;
|
|
972
972
|
},
|
|
973
973
|
set: function (a) {
|
|
974
|
-
this.
|
|
974
|
+
this.xp = a;
|
|
975
975
|
},
|
|
976
976
|
enumerable: false,
|
|
977
977
|
configurable: true
|
|
978
978
|
});
|
|
979
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
979
|
+
Object.defineProperty(XamGeographicMap.prototype, "zk", {
|
|
980
980
|
get: function () {
|
|
981
|
-
return this.
|
|
981
|
+
return this.zf;
|
|
982
982
|
},
|
|
983
983
|
set: function (a) {
|
|
984
|
-
var b = Rect.l_op_Inequality(this.
|
|
984
|
+
var b = Rect.l_op_Inequality(this.zf, a);
|
|
985
985
|
if (b) {
|
|
986
|
-
var c = this.
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
986
|
+
var c = this.zf;
|
|
987
|
+
this.zf = a;
|
|
988
|
+
this.q5("ActualWorldRect", c, a);
|
|
989
989
|
}
|
|
990
990
|
},
|
|
991
991
|
enumerable: false,
|
|
992
992
|
configurable: true
|
|
993
993
|
});
|
|
994
|
-
XamGeographicMap.prototype.
|
|
995
|
-
return this.
|
|
994
|
+
XamGeographicMap.prototype.zo = function () {
|
|
995
|
+
return this.zk;
|
|
996
996
|
};
|
|
997
|
-
XamGeographicMap.prototype.
|
|
998
|
-
if (this.
|
|
997
|
+
XamGeographicMap.prototype.yq = function () {
|
|
998
|
+
if (this.zw.isEmpty) {
|
|
999
999
|
return;
|
|
1000
1000
|
}
|
|
1001
|
-
this.
|
|
1001
|
+
this.zk = this.zu(this.zw, this.cs == 1);
|
|
1002
1002
|
};
|
|
1003
|
-
XamGeographicMap.prototype.
|
|
1003
|
+
XamGeographicMap.prototype.zu = function (a, b) {
|
|
1004
1004
|
var c = a.top;
|
|
1005
1005
|
var d = a.left;
|
|
1006
1006
|
var e = a.width;
|
|
@@ -1008,25 +1008,25 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1008
1008
|
var g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
1009
1009
|
var h = SphericalMercatorVerticalScaler.am(a.top);
|
|
1010
1010
|
var i = g - h;
|
|
1011
|
-
var j = a.width / XamGeographicMap.
|
|
1012
|
-
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
1011
|
+
var j = a.width / XamGeographicMap.zg.width;
|
|
1012
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
1013
1013
|
var l = i / j;
|
|
1014
|
-
if (i / j > this.
|
|
1015
|
-
var m = i / this.
|
|
1014
|
+
if (i / j > this.x4) {
|
|
1015
|
+
var m = i / this.x4;
|
|
1016
1016
|
var n = m - j;
|
|
1017
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
1018
|
-
e = m * XamGeographicMap.
|
|
1017
|
+
d = d - (n / 2) * XamGeographicMap.zg.width;
|
|
1018
|
+
e = m * XamGeographicMap.zg.width;
|
|
1019
1019
|
if (b) {
|
|
1020
|
-
if (d < XamGeographicMap.
|
|
1021
|
-
d += (XamGeographicMap.
|
|
1020
|
+
if (d < XamGeographicMap.zg.left) {
|
|
1021
|
+
d += (XamGeographicMap.zg.left - d);
|
|
1022
1022
|
}
|
|
1023
|
-
else if ((d + e) > XamGeographicMap.
|
|
1024
|
-
d -= ((d + e) - XamGeographicMap.
|
|
1023
|
+
else if ((d + e) > XamGeographicMap.zg.right) {
|
|
1024
|
+
d -= ((d + e) - XamGeographicMap.zg.right);
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
|
-
else if (i / j < this.
|
|
1029
|
-
var o = this.
|
|
1028
|
+
else if (i / j < this.x4) {
|
|
1029
|
+
var o = this.x4 * j;
|
|
1030
1030
|
var p = o - i;
|
|
1031
1031
|
var q = h - (p / 2);
|
|
1032
1032
|
var r = g + (p / 2);
|
|
@@ -1035,9 +1035,9 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1035
1035
|
q += (k - q);
|
|
1036
1036
|
r += (k - q);
|
|
1037
1037
|
}
|
|
1038
|
-
else if (r > (k + this.
|
|
1039
|
-
q -= ((r) - (k + this.
|
|
1040
|
-
r -= ((r) - (k + this.
|
|
1038
|
+
else if (r > (k + this.x4)) {
|
|
1039
|
+
q -= ((r) - (k + this.x4));
|
|
1040
|
+
r -= ((r) - (k + this.x4));
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
1043
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -1048,44 +1048,44 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1048
1048
|
};
|
|
1049
1049
|
Object.defineProperty(XamGeographicMap.prototype, "backgroundContent", {
|
|
1050
1050
|
get: function () {
|
|
1051
|
-
return this.
|
|
1051
|
+
return this.xm;
|
|
1052
1052
|
},
|
|
1053
1053
|
set: function (a) {
|
|
1054
1054
|
var b = a != this.backgroundContent;
|
|
1055
1055
|
if (b) {
|
|
1056
1056
|
var c = this.backgroundContent;
|
|
1057
|
-
this.
|
|
1058
|
-
this.
|
|
1057
|
+
this.xm = a;
|
|
1058
|
+
this.q5("BackgroundContent", c, a);
|
|
1059
1059
|
}
|
|
1060
1060
|
},
|
|
1061
1061
|
enumerable: false,
|
|
1062
1062
|
configurable: true
|
|
1063
1063
|
});
|
|
1064
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1064
|
+
Object.defineProperty(XamGeographicMap.prototype, "xj", {
|
|
1065
1065
|
get: function () {
|
|
1066
|
-
return this.
|
|
1066
|
+
return this.xi;
|
|
1067
1067
|
},
|
|
1068
1068
|
set: function (a) {
|
|
1069
|
-
var b = a != this.
|
|
1069
|
+
var b = a != this.xj;
|
|
1070
1070
|
if (b) {
|
|
1071
|
-
var c = this.
|
|
1072
|
-
this.
|
|
1073
|
-
this.
|
|
1071
|
+
var c = this.xj;
|
|
1072
|
+
this.xi = a;
|
|
1073
|
+
this.q5("XAxis", c, a);
|
|
1074
1074
|
}
|
|
1075
1075
|
},
|
|
1076
1076
|
enumerable: false,
|
|
1077
1077
|
configurable: true
|
|
1078
1078
|
});
|
|
1079
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1079
|
+
Object.defineProperty(XamGeographicMap.prototype, "xl", {
|
|
1080
1080
|
get: function () {
|
|
1081
|
-
return this.
|
|
1081
|
+
return this.xk;
|
|
1082
1082
|
},
|
|
1083
1083
|
set: function (a) {
|
|
1084
|
-
var b = a != this.
|
|
1084
|
+
var b = a != this.xl;
|
|
1085
1085
|
if (b) {
|
|
1086
|
-
var c = this.
|
|
1087
|
-
this.
|
|
1088
|
-
this.
|
|
1086
|
+
var c = this.xl;
|
|
1087
|
+
this.xk = a;
|
|
1088
|
+
this.q5("YAxis", c, a);
|
|
1089
1089
|
}
|
|
1090
1090
|
},
|
|
1091
1091
|
enumerable: false,
|
|
@@ -1094,41 +1094,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1094
1094
|
XamGeographicMap.prototype.getZoomRectFromGeoRect = function (a) {
|
|
1095
1095
|
return this.getZoomFromGeographicRect(a);
|
|
1096
1096
|
};
|
|
1097
|
-
XamGeographicMap.prototype.
|
|
1098
|
-
this.
|
|
1097
|
+
XamGeographicMap.prototype.y0 = function (a) {
|
|
1098
|
+
this.xc = a;
|
|
1099
1099
|
};
|
|
1100
|
-
XamGeographicMap.prototype.
|
|
1101
|
-
this.
|
|
1100
|
+
XamGeographicMap.prototype.yz = function (a) {
|
|
1101
|
+
this.zw = a;
|
|
1102
1102
|
};
|
|
1103
1103
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
1104
|
-
return this.
|
|
1104
|
+
return this.zm(a, true, 0);
|
|
1105
1105
|
};
|
|
1106
|
-
XamGeographicMap.prototype.
|
|
1107
|
-
return this.
|
|
1106
|
+
XamGeographicMap.prototype.zl = function (a, b) {
|
|
1107
|
+
return this.zm(a, false, b);
|
|
1108
1108
|
};
|
|
1109
|
-
XamGeographicMap.prototype.
|
|
1109
|
+
XamGeographicMap.prototype.zm = function (a, b, c) {
|
|
1110
1110
|
var d = a;
|
|
1111
1111
|
if (b) {
|
|
1112
|
-
d = this.
|
|
1113
|
-
}
|
|
1114
|
-
var e = this.
|
|
1115
|
-
var f = this.
|
|
1116
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1117
|
-
g.c = this.
|
|
1118
|
-
var h = new ScalerParams(1, XamGeographicMap.
|
|
1119
|
-
h.c = this.
|
|
1120
|
-
var i = this.
|
|
1121
|
-
var j = this.
|
|
1122
|
-
var k = this.
|
|
1123
|
-
var l = this.
|
|
1124
|
-
var m = (i - c) / this.
|
|
1125
|
-
var n = (l - c) / this.
|
|
1126
|
-
var o = (j - i + (c * 2)) / this.
|
|
1127
|
-
var p = (k - l + (c * 2)) / this.
|
|
1112
|
+
d = this.zu(a, false);
|
|
1113
|
+
}
|
|
1114
|
+
var e = this.xj;
|
|
1115
|
+
var f = this.xl;
|
|
1116
|
+
var g = new ScalerParams(1, XamGeographicMap.zj, this.xb, e.ch);
|
|
1117
|
+
g.c = this.wx;
|
|
1118
|
+
var h = new ScalerParams(1, XamGeographicMap.zj, this.xb, f.ch);
|
|
1119
|
+
h.c = this.wx;
|
|
1120
|
+
var i = this.xj.el(d.left, g);
|
|
1121
|
+
var j = this.xj.el(d.right, g);
|
|
1122
|
+
var k = this.xl.el(d.top, h);
|
|
1123
|
+
var l = this.xl.el(d.bottom, h);
|
|
1124
|
+
var m = (i - c) / this.xb.width;
|
|
1125
|
+
var n = (l - c) / this.xb.height;
|
|
1126
|
+
var o = (j - i + (c * 2)) / this.xb.width;
|
|
1127
|
+
var p = (k - l + (c * 2)) / this.xb.height;
|
|
1128
1128
|
var q = new Rect(0, m, n, o, p);
|
|
1129
|
-
q.intersect(XamGeographicMap.
|
|
1129
|
+
q.intersect(XamGeographicMap.zj);
|
|
1130
1130
|
if (q.isEmpty) {
|
|
1131
|
-
q = XamGeographicMap.
|
|
1131
|
+
q = XamGeographicMap.zj;
|
|
1132
1132
|
}
|
|
1133
1133
|
return q;
|
|
1134
1134
|
};
|
|
@@ -1138,21 +1138,21 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1138
1138
|
var e = b.x - a.x;
|
|
1139
1139
|
var f = a.y - b.y;
|
|
1140
1140
|
if (e < 0 || f < 0) {
|
|
1141
|
-
return XamGeographicMap.
|
|
1141
|
+
return XamGeographicMap.zj;
|
|
1142
1142
|
}
|
|
1143
1143
|
else {
|
|
1144
1144
|
var g = new Rect(0, c, d, e, f);
|
|
1145
1145
|
return this.getZoomFromGeographicRect(g);
|
|
1146
1146
|
}
|
|
1147
1147
|
};
|
|
1148
|
-
XamGeographicMap.prototype.
|
|
1149
|
-
var b = this.
|
|
1150
|
-
var c = this.
|
|
1151
|
-
var d = new ScalerParams(1, a, this.
|
|
1152
|
-
d.c = this.
|
|
1153
|
-
var e = new ScalerParams(1, a, this.
|
|
1154
|
-
e.c = this.
|
|
1155
|
-
var f = this.
|
|
1148
|
+
XamGeographicMap.prototype.zq = function (a) {
|
|
1149
|
+
var b = this.xj;
|
|
1150
|
+
var c = this.xl;
|
|
1151
|
+
var d = new ScalerParams(1, a, this.xb, b.ch);
|
|
1152
|
+
d.c = this.wx;
|
|
1153
|
+
var e = new ScalerParams(1, a, this.xb, c.ch);
|
|
1154
|
+
e.c = this.wx;
|
|
1155
|
+
var f = this.ww;
|
|
1156
1156
|
var g = b.eo(f.left, d);
|
|
1157
1157
|
var h = c.eo(f.top, e);
|
|
1158
1158
|
var i = b.eo(f.right, d);
|
|
@@ -1160,41 +1160,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1160
1160
|
var k = i - g;
|
|
1161
1161
|
var l = h - j;
|
|
1162
1162
|
var m = new Rect(0, g, j, k, l);
|
|
1163
|
-
if (this.
|
|
1164
|
-
m.intersect(XamGeographicMap.
|
|
1163
|
+
if (this.cs == 1) {
|
|
1164
|
+
m.intersect(XamGeographicMap.zg);
|
|
1165
1165
|
if (m.isEmpty) {
|
|
1166
|
-
m = XamGeographicMap.
|
|
1166
|
+
m = XamGeographicMap.zg;
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
return m;
|
|
1170
1170
|
};
|
|
1171
|
-
XamGeographicMap.prototype.
|
|
1172
|
-
var b = this.
|
|
1173
|
-
var c = this.
|
|
1171
|
+
XamGeographicMap.prototype.zc = function (a) {
|
|
1172
|
+
var b = this.xj.mf(a.x);
|
|
1173
|
+
var c = this.xl.mf(a.y);
|
|
1174
1174
|
return { $type: Point_$type, x: b, y: c };
|
|
1175
1175
|
};
|
|
1176
|
-
XamGeographicMap.prototype.
|
|
1177
|
-
var b = this.
|
|
1178
|
-
var c = this.
|
|
1176
|
+
XamGeographicMap.prototype.zd = function (a) {
|
|
1177
|
+
var b = this.xj.e6(a.x);
|
|
1178
|
+
var c = this.xl.e6(a.y);
|
|
1179
1179
|
return { $type: Point_$type, x: b, y: c };
|
|
1180
1180
|
};
|
|
1181
|
-
XamGeographicMap.prototype.
|
|
1182
|
-
return this.
|
|
1181
|
+
XamGeographicMap.prototype.ze = function (a) {
|
|
1182
|
+
return this.zd(a);
|
|
1183
1183
|
};
|
|
1184
|
-
XamGeographicMap.prototype.
|
|
1184
|
+
XamGeographicMap.prototype.yn = function () {
|
|
1185
1185
|
var a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1186
1186
|
if (a != null) {
|
|
1187
1187
|
a.clearTileCache();
|
|
1188
1188
|
}
|
|
1189
1189
|
};
|
|
1190
|
-
XamGeographicMap.prototype.
|
|
1190
|
+
XamGeographicMap.prototype.yt = function (a) {
|
|
1191
1191
|
};
|
|
1192
|
-
XamGeographicMap.prototype.
|
|
1192
|
+
XamGeographicMap.prototype.gk = function () {
|
|
1193
1193
|
return true;
|
|
1194
1194
|
};
|
|
1195
|
-
XamGeographicMap.prototype.
|
|
1195
|
+
XamGeographicMap.prototype.yv = function () {
|
|
1196
1196
|
var e_1, _a;
|
|
1197
|
-
this.
|
|
1197
|
+
this.xv.ee();
|
|
1198
1198
|
try {
|
|
1199
1199
|
for (var _b = __values(fromEnum(this.series)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1200
1200
|
var a = _c.value;
|
|
@@ -1215,128 +1215,128 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
|
-
XamGeographicMap.prototype.
|
|
1219
|
-
if (this.
|
|
1220
|
-
if (!this.
|
|
1221
|
-
var a = this.
|
|
1222
|
-
var b = this.
|
|
1223
|
-
this.
|
|
1218
|
+
XamGeographicMap.prototype.yy = function () {
|
|
1219
|
+
if (this.xu == 2) {
|
|
1220
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
1221
|
+
var a = this.xj.mf(this.xb.left + (this.xb.width / 2));
|
|
1222
|
+
var b = this.xl.mf(this.xb.top + (this.xb.height / 2));
|
|
1223
|
+
this.zb = { $type: Point_$type, x: a, y: b };
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
1226
|
else {
|
|
1227
|
-
if (!this.
|
|
1228
|
-
var c = this.
|
|
1229
|
-
var d = this.
|
|
1230
|
-
this.
|
|
1227
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
1228
|
+
var c = this.xj.mf(this.xb.left);
|
|
1229
|
+
var d = this.xl.mf(this.xb.top);
|
|
1230
|
+
this.zb = { $type: Point_$type, x: c, y: d };
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
1233
|
};
|
|
1234
|
-
XamGeographicMap.prototype.
|
|
1235
|
-
if (isNaN_(this.
|
|
1236
|
-
this.
|
|
1234
|
+
XamGeographicMap.prototype.yu = function () {
|
|
1235
|
+
if (isNaN_(this.zb.x) || isNaN_(this.zb.y)) {
|
|
1236
|
+
this.yy();
|
|
1237
1237
|
}
|
|
1238
|
-
var a = this.
|
|
1239
|
-
var b = this.
|
|
1238
|
+
var a = this.zb.x;
|
|
1239
|
+
var b = this.zb.y;
|
|
1240
1240
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1241
|
-
var c = this.
|
|
1242
|
-
var d = this.
|
|
1243
|
-
var e = this.
|
|
1244
|
-
var f = this.
|
|
1245
|
-
if (e > this.
|
|
1241
|
+
var c = this.wt.left;
|
|
1242
|
+
var d = this.wt.top;
|
|
1243
|
+
var e = this.wt.width;
|
|
1244
|
+
var f = this.wt.height;
|
|
1245
|
+
if (e > this.zi.width) {
|
|
1246
1246
|
}
|
|
1247
1247
|
else {
|
|
1248
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1249
|
-
g.c = this.
|
|
1250
|
-
var h = this.
|
|
1251
|
-
if (this.
|
|
1252
|
-
var i = h / this.
|
|
1248
|
+
var g = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
1249
|
+
g.c = this.wx;
|
|
1250
|
+
var h = this.xj.el(a, g);
|
|
1251
|
+
if (this.xu == 2) {
|
|
1252
|
+
var i = h / this.xb.width;
|
|
1253
1253
|
c = i - (e / 2);
|
|
1254
1254
|
}
|
|
1255
1255
|
else {
|
|
1256
|
-
c = h / this.
|
|
1256
|
+
c = h / this.xb.width;
|
|
1257
1257
|
}
|
|
1258
|
-
if (c + e > this.
|
|
1259
|
-
c = this.
|
|
1258
|
+
if (c + e > this.zi.right) {
|
|
1259
|
+
c = this.zi.right - e;
|
|
1260
1260
|
}
|
|
1261
|
-
else if (c < this.
|
|
1262
|
-
c = this.
|
|
1261
|
+
else if (c < this.zi.left) {
|
|
1262
|
+
c = this.zi.left;
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
|
-
if (f > this.
|
|
1265
|
+
if (f > this.zi.height) {
|
|
1266
1266
|
}
|
|
1267
1267
|
else {
|
|
1268
|
-
var j = new ScalerParams(1, XamGeographicMap.
|
|
1269
|
-
j.c = this.
|
|
1270
|
-
var k = this.
|
|
1271
|
-
if (this.
|
|
1272
|
-
var l = k / this.
|
|
1268
|
+
var j = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
1269
|
+
j.c = this.wx;
|
|
1270
|
+
var k = this.xl.el(b, j);
|
|
1271
|
+
if (this.xu == 2) {
|
|
1272
|
+
var l = k / this.xb.height;
|
|
1273
1273
|
d = l - (f / 2);
|
|
1274
1274
|
}
|
|
1275
1275
|
else {
|
|
1276
|
-
d = k / this.
|
|
1276
|
+
d = k / this.xb.height;
|
|
1277
1277
|
}
|
|
1278
|
-
if (d + f > this.
|
|
1279
|
-
d = this.
|
|
1278
|
+
if (d + f > this.zi.bottom) {
|
|
1279
|
+
d = this.zi.bottom - f;
|
|
1280
1280
|
}
|
|
1281
|
-
else if (d < this.
|
|
1282
|
-
d = this.
|
|
1281
|
+
else if (d < this.zi.top) {
|
|
1282
|
+
d = this.zi.top;
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
this.
|
|
1285
|
+
this.sh(new Rect(0, c, d, e, f), false);
|
|
1286
1286
|
}
|
|
1287
1287
|
};
|
|
1288
|
-
XamGeographicMap.prototype.
|
|
1288
|
+
XamGeographicMap.prototype.get_fh = function () {
|
|
1289
1289
|
return true;
|
|
1290
1290
|
};
|
|
1291
|
-
XamGeographicMap.prototype.
|
|
1292
|
-
var a = _super.prototype.
|
|
1293
|
-
if (this.
|
|
1291
|
+
XamGeographicMap.prototype.wu = function () {
|
|
1292
|
+
var a = _super.prototype.wu.call(this);
|
|
1293
|
+
if (this.xj == null || this.xl == null) {
|
|
1294
1294
|
return a;
|
|
1295
1295
|
}
|
|
1296
|
-
this.
|
|
1296
|
+
this.w5();
|
|
1297
1297
|
var b = a.left;
|
|
1298
1298
|
var c = a.top;
|
|
1299
|
-
if (this.
|
|
1300
|
-
if (this.
|
|
1301
|
-
b = 0.5 - (this.
|
|
1299
|
+
if (this.cs == 1) {
|
|
1300
|
+
if (this.xc.width > this.zi.width) {
|
|
1301
|
+
b = 0.5 - (this.xc.width / 2);
|
|
1302
1302
|
}
|
|
1303
|
-
else if (b + a.width > this.
|
|
1304
|
-
b = this.
|
|
1303
|
+
else if (b + a.width > this.zi.right) {
|
|
1304
|
+
b = this.zi.right - this.xc.width;
|
|
1305
1305
|
}
|
|
1306
|
-
else if (b < this.
|
|
1307
|
-
b = this.
|
|
1306
|
+
else if (b < this.zi.left) {
|
|
1307
|
+
b = this.zi.left;
|
|
1308
1308
|
}
|
|
1309
|
-
if (this.
|
|
1310
|
-
c = 0.5 - (this.
|
|
1309
|
+
if (this.xc.height > this.zi.height) {
|
|
1310
|
+
c = 0.5 - (this.xc.height / 2);
|
|
1311
1311
|
}
|
|
1312
|
-
else if (c + this.
|
|
1313
|
-
c = this.
|
|
1312
|
+
else if (c + this.xc.height > this.zi.bottom) {
|
|
1313
|
+
c = this.zi.bottom - this.xc.height;
|
|
1314
1314
|
}
|
|
1315
|
-
else if (c < this.
|
|
1316
|
-
c = this.
|
|
1315
|
+
else if (c < this.zi.top) {
|
|
1316
|
+
c = this.zi.top;
|
|
1317
1317
|
}
|
|
1318
1318
|
}
|
|
1319
1319
|
var d = false;
|
|
1320
|
-
if (!this.
|
|
1320
|
+
if (!this.x0 && this.cs == 2 && this.xx) {
|
|
1321
1321
|
if (b > 1) {
|
|
1322
1322
|
b = (b - Math.floor(b)) + 1;
|
|
1323
1323
|
}
|
|
1324
1324
|
if (b < 0) {
|
|
1325
1325
|
b = 0 - (Math.ceil(b) - b);
|
|
1326
1326
|
}
|
|
1327
|
-
if ((a.right - this.
|
|
1328
|
-
b = this.
|
|
1327
|
+
if ((a.right - this.zi.right) > 0 && ((a.right - this.zi.right) / a.width) > 0.8) {
|
|
1328
|
+
b = this.zi.left - (a.width - (a.right - this.zi.right));
|
|
1329
1329
|
d = true;
|
|
1330
1330
|
}
|
|
1331
|
-
else if (a.left < this.
|
|
1332
|
-
b = this.
|
|
1331
|
+
else if (a.left < this.zi.left && (Math.abs(a.left - this.zi.left) / a.width) > 0.8) {
|
|
1332
|
+
b = this.zi.right - (Math.abs(a.left - this.zi.left));
|
|
1333
1333
|
d = true;
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
var e = new Rect(0, b, c, a.width, a.height);
|
|
1337
|
-
if (this.
|
|
1338
|
-
var f = this.
|
|
1339
|
-
f = this.
|
|
1337
|
+
if (this.x0) {
|
|
1338
|
+
var f = this.zl(this.zw, 1);
|
|
1339
|
+
f = this.zn(f);
|
|
1340
1340
|
var g = e.left + e.width / 2;
|
|
1341
1341
|
var h = e.top + e.height / 2;
|
|
1342
1342
|
if (e.width > f.width) {
|
|
@@ -1371,17 +1371,17 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
if (d) {
|
|
1374
|
-
this.
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1374
|
+
this.e3 = true;
|
|
1375
|
+
this.xc = e;
|
|
1376
|
+
this.e3 = false;
|
|
1377
1377
|
}
|
|
1378
1378
|
return e;
|
|
1379
1379
|
};
|
|
1380
|
-
XamGeographicMap.prototype.
|
|
1380
|
+
XamGeographicMap.prototype.nm = function (a, b) {
|
|
1381
1381
|
var c = true;
|
|
1382
1382
|
var d = true;
|
|
1383
1383
|
var e = 0;
|
|
1384
|
-
var f = this.
|
|
1384
|
+
var f = this.w5();
|
|
1385
1385
|
var g = 0;
|
|
1386
1386
|
var h = 0;
|
|
1387
1387
|
if ((a.right - f.right) > 0) {
|
|
@@ -1398,39 +1398,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1398
1398
|
}
|
|
1399
1399
|
if (c) {
|
|
1400
1400
|
if (d) {
|
|
1401
|
-
var i = this.
|
|
1402
|
-
var j = this.
|
|
1401
|
+
var i = this.xi.el(-180, b);
|
|
1402
|
+
var j = this.xi.el(180, b);
|
|
1403
1403
|
e = j - i;
|
|
1404
1404
|
}
|
|
1405
1405
|
else {
|
|
1406
|
-
var k = this.
|
|
1407
|
-
var l = this.
|
|
1406
|
+
var k = this.xi.el(-180, b);
|
|
1407
|
+
var l = this.xi.el(180, b);
|
|
1408
1408
|
e = k - l;
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1412
1412
|
};
|
|
1413
|
-
XamGeographicMap.prototype.
|
|
1414
|
-
var a = new ScalerParams(1, XamGeographicMap.
|
|
1415
|
-
a.c = this.
|
|
1416
|
-
var b = new ScalerParams(1, XamGeographicMap.
|
|
1417
|
-
b.c = this.
|
|
1418
|
-
var c = this.
|
|
1419
|
-
var d = this.
|
|
1420
|
-
var e = this.
|
|
1421
|
-
var f = this.
|
|
1422
|
-
this.
|
|
1423
|
-
return this.
|
|
1424
|
-
};
|
|
1425
|
-
XamGeographicMap.prototype.
|
|
1426
|
-
var b = this.
|
|
1413
|
+
XamGeographicMap.prototype.w5 = function () {
|
|
1414
|
+
var a = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
1415
|
+
a.c = this.wx;
|
|
1416
|
+
var b = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
1417
|
+
b.c = this.wx;
|
|
1418
|
+
var c = this.xj.el(XamGeographicMap.zg.left, a);
|
|
1419
|
+
var d = this.xj.el(XamGeographicMap.zg.right, a);
|
|
1420
|
+
var e = this.xl.el(XamGeographicMap.zg.top, b);
|
|
1421
|
+
var f = this.xl.el(XamGeographicMap.zg.bottom, b);
|
|
1422
|
+
this.zi = new Rect(0, c / this.xb.width, f / this.xb.height, (d - c) / this.xb.width, (e - f) / this.xb.height);
|
|
1423
|
+
return this.zi;
|
|
1424
|
+
};
|
|
1425
|
+
XamGeographicMap.prototype.zn = function (a) {
|
|
1426
|
+
var b = this.ht;
|
|
1427
1427
|
var c = 0.5 * (a.left + a.right);
|
|
1428
1428
|
var d = 0.5 * (a.top + a.bottom);
|
|
1429
1429
|
var e = a.width;
|
|
1430
1430
|
var f = a.height;
|
|
1431
1431
|
var g = MathUtil.d(a.width, b, 1);
|
|
1432
1432
|
var h = MathUtil.d(a.height, b, 1);
|
|
1433
|
-
var i = this.
|
|
1433
|
+
var i = this.xb;
|
|
1434
1434
|
var j = i.width / i.height;
|
|
1435
1435
|
var k = g * i.width;
|
|
1436
1436
|
var l = h * i.height;
|
|
@@ -1469,8 +1469,8 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
return new Rect(0, p, q, r - p, s - q);
|
|
1471
1471
|
};
|
|
1472
|
-
XamGeographicMap.prototype.
|
|
1473
|
-
_super.prototype.
|
|
1472
|
+
XamGeographicMap.prototype.wv = function (a) {
|
|
1473
|
+
_super.prototype.wv.call(this, this.xb);
|
|
1474
1474
|
if (a.isEmpty) {
|
|
1475
1475
|
return Rect.empty;
|
|
1476
1476
|
}
|
|
@@ -1485,131 +1485,131 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
return b;
|
|
1487
1487
|
};
|
|
1488
|
-
XamGeographicMap.prototype.
|
|
1489
|
-
return this.
|
|
1488
|
+
XamGeographicMap.prototype.zp = function (a) {
|
|
1489
|
+
return this.wv(a);
|
|
1490
1490
|
};
|
|
1491
|
-
XamGeographicMap.prototype.
|
|
1491
|
+
XamGeographicMap.prototype.db = function () {
|
|
1492
1492
|
return new XamGeographicMapView(this);
|
|
1493
1493
|
};
|
|
1494
|
-
XamGeographicMap.prototype.
|
|
1494
|
+
XamGeographicMap.prototype.yp = function (a) {
|
|
1495
1495
|
if (a != null) {
|
|
1496
1496
|
a.bi = this;
|
|
1497
1497
|
}
|
|
1498
1498
|
};
|
|
1499
|
-
XamGeographicMap.prototype.
|
|
1500
|
-
_super.prototype.
|
|
1501
|
-
this.
|
|
1499
|
+
XamGeographicMap.prototype.qo = function (a) {
|
|
1500
|
+
_super.prototype.qo.call(this, a);
|
|
1501
|
+
this.xv = a;
|
|
1502
1502
|
};
|
|
1503
|
-
XamGeographicMap.prototype.
|
|
1504
|
-
_super.prototype.
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1503
|
+
XamGeographicMap.prototype.qz = function (a, b) {
|
|
1504
|
+
_super.prototype.qz.call(this, a, b);
|
|
1505
|
+
this.r5(this.xj);
|
|
1506
|
+
this.r5(this.xl);
|
|
1507
1507
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1508
|
-
this.
|
|
1508
|
+
this.yu();
|
|
1509
1509
|
}
|
|
1510
|
-
if (this.
|
|
1511
|
-
this.
|
|
1510
|
+
if (this.x0) {
|
|
1511
|
+
this.wt = this.wu();
|
|
1512
1512
|
}
|
|
1513
|
-
this.
|
|
1513
|
+
this.y1();
|
|
1514
1514
|
};
|
|
1515
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1515
|
+
Object.defineProperty(XamGeographicMap.prototype, "x5", {
|
|
1516
1516
|
get: function () {
|
|
1517
|
-
return this.
|
|
1517
|
+
return this.x3;
|
|
1518
1518
|
},
|
|
1519
1519
|
set: function (a) {
|
|
1520
|
-
var b = this.
|
|
1521
|
-
this.
|
|
1522
|
-
this.
|
|
1520
|
+
var b = this.x3;
|
|
1521
|
+
this.x3 = a;
|
|
1522
|
+
this.q5("ActualWindowScale", b, this.x3);
|
|
1523
1523
|
},
|
|
1524
1524
|
enumerable: false,
|
|
1525
1525
|
configurable: true
|
|
1526
1526
|
});
|
|
1527
|
-
XamGeographicMap.prototype.
|
|
1528
|
-
return this.
|
|
1527
|
+
XamGeographicMap.prototype.hz = function () {
|
|
1528
|
+
return this.x5;
|
|
1529
1529
|
};
|
|
1530
|
-
XamGeographicMap.prototype.
|
|
1531
|
-
return this.
|
|
1530
|
+
XamGeographicMap.prototype.h0 = function () {
|
|
1531
|
+
return this.x5;
|
|
1532
1532
|
};
|
|
1533
|
-
XamGeographicMap.prototype.
|
|
1534
|
-
_super.prototype.
|
|
1535
|
-
var a = Math.min(this.
|
|
1536
|
-
this.
|
|
1533
|
+
XamGeographicMap.prototype.r4 = function () {
|
|
1534
|
+
_super.prototype.r4.call(this);
|
|
1535
|
+
var a = Math.min(this.wt.width, this.wt.height);
|
|
1536
|
+
this.x5 = a;
|
|
1537
1537
|
};
|
|
1538
|
-
XamGeographicMap.prototype.
|
|
1539
|
-
return this.
|
|
1538
|
+
XamGeographicMap.prototype.f8 = function () {
|
|
1539
|
+
return this.xx;
|
|
1540
1540
|
};
|
|
1541
|
-
XamGeographicMap.prototype.
|
|
1542
|
-
if (this.
|
|
1543
|
-
if (this.
|
|
1541
|
+
XamGeographicMap.prototype.ct = function () {
|
|
1542
|
+
if (this.cu == 0) {
|
|
1543
|
+
if (this.xy) {
|
|
1544
1544
|
return 2;
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
|
-
return this.
|
|
1547
|
+
return this.cu;
|
|
1548
1548
|
};
|
|
1549
|
-
XamGeographicMap.prototype.
|
|
1549
|
+
XamGeographicMap.prototype.q0 = function (a, b, c, d) {
|
|
1550
1550
|
var e_2, _a, e_3, _b;
|
|
1551
|
-
_super.prototype.
|
|
1551
|
+
_super.prototype.q0.call(this, a, b, c, d);
|
|
1552
1552
|
switch (b) {
|
|
1553
1553
|
case "ZoomCoercionMode":
|
|
1554
|
-
this.
|
|
1554
|
+
this.yq();
|
|
1555
1555
|
break;
|
|
1556
1556
|
case "WindowRect":
|
|
1557
|
-
this.
|
|
1557
|
+
this.yy();
|
|
1558
1558
|
break;
|
|
1559
1559
|
case XamGeographicMap.$$p[0]:
|
|
1560
|
-
this.
|
|
1561
|
-
if (this.
|
|
1562
|
-
this.
|
|
1560
|
+
this.xr = this.xs();
|
|
1561
|
+
if (this.xo != null) {
|
|
1562
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1563
1563
|
}
|
|
1564
1564
|
break;
|
|
1565
1565
|
case XamGeographicMap.$$p[1]:
|
|
1566
|
-
this.
|
|
1567
|
-
this.
|
|
1568
|
-
this.
|
|
1569
|
-
if (this.
|
|
1570
|
-
this.
|
|
1566
|
+
this.xx = this.xy;
|
|
1567
|
+
this.xr = this.xs();
|
|
1568
|
+
this.cs = this.ct();
|
|
1569
|
+
if (this.xo != null) {
|
|
1570
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1571
1571
|
}
|
|
1572
1572
|
break;
|
|
1573
1573
|
case XamGeographicMap.$$p[4]:
|
|
1574
|
-
this.
|
|
1574
|
+
this.wt = this.wu();
|
|
1575
1575
|
break;
|
|
1576
1576
|
case "BackgroundContent":
|
|
1577
|
-
if (this.
|
|
1578
|
-
var e = this.
|
|
1579
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1580
|
-
this.
|
|
1577
|
+
if (this.xo != null) {
|
|
1578
|
+
var e = this.xo;
|
|
1579
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.yr));
|
|
1580
|
+
this.xo.deferralHandler = null;
|
|
1581
1581
|
}
|
|
1582
|
-
this.
|
|
1583
|
-
if (this.
|
|
1584
|
-
var f = this.
|
|
1585
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1586
|
-
this.
|
|
1587
|
-
this.
|
|
1582
|
+
this.xo = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1583
|
+
if (this.xo != null) {
|
|
1584
|
+
var f = this.xo;
|
|
1585
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.yr));
|
|
1586
|
+
this.xo.deferralHandler = this;
|
|
1587
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
1588
1588
|
}
|
|
1589
|
-
this.
|
|
1590
|
-
if (this.
|
|
1591
|
-
this.
|
|
1592
|
-
this.
|
|
1593
|
-
this.
|
|
1589
|
+
this.xv.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1590
|
+
if (this.xo != null) {
|
|
1591
|
+
this.xo.geographicMap = this;
|
|
1592
|
+
this.xv.fr(this.wt);
|
|
1593
|
+
this.xv.fv(this.hp);
|
|
1594
1594
|
}
|
|
1595
1595
|
break;
|
|
1596
1596
|
case "YAxis":
|
|
1597
1597
|
case "XAxis":
|
|
1598
|
-
this.
|
|
1599
|
-
this.
|
|
1598
|
+
this.yw(c);
|
|
1599
|
+
this.yp(d);
|
|
1600
1600
|
break;
|
|
1601
1601
|
case XamGeographicMap.$$p[6]:
|
|
1602
|
-
if (!this.
|
|
1603
|
-
this.
|
|
1602
|
+
if (!this.xz) {
|
|
1603
|
+
this.xc = XamGeographicMap.zj;
|
|
1604
1604
|
}
|
|
1605
|
-
this.
|
|
1606
|
-
this.
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1605
|
+
this.yq();
|
|
1606
|
+
this.yx();
|
|
1607
|
+
this.yy();
|
|
1608
|
+
this.wt = this.wu();
|
|
1609
|
+
this.xv.fs();
|
|
1610
1610
|
break;
|
|
1611
1611
|
case "ActualWindowRect":
|
|
1612
|
-
this.
|
|
1612
|
+
this.xv.fr(this.wt);
|
|
1613
1613
|
break;
|
|
1614
1614
|
case "ActualWorldRect":
|
|
1615
1615
|
try {
|
|
@@ -1633,30 +1633,30 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
break;
|
|
1635
1635
|
case XamGeographicMap.$$p[5]:
|
|
1636
|
-
this.
|
|
1636
|
+
this.x5 = this.x6;
|
|
1637
1637
|
break;
|
|
1638
1638
|
case "ActualWindowScale":
|
|
1639
|
-
if (!this.
|
|
1640
|
-
this.
|
|
1639
|
+
if (!this.gg) {
|
|
1640
|
+
this.sf(this.hz(), this.h0());
|
|
1641
1641
|
}
|
|
1642
1642
|
break;
|
|
1643
1643
|
case "ActualPixelScalingRatio":
|
|
1644
|
-
this.
|
|
1644
|
+
this.xv.fv(this.hp);
|
|
1645
1645
|
break;
|
|
1646
1646
|
case "WindowRectMinWidth":
|
|
1647
1647
|
case "WindowRectMinHeight":
|
|
1648
1648
|
var h = d;
|
|
1649
1649
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1650
|
+
this.ht = 5E-06;
|
|
1651
|
+
this.hs = 5E-06;
|
|
1652
1652
|
}
|
|
1653
1653
|
else {
|
|
1654
|
-
this.
|
|
1655
|
-
this.
|
|
1654
|
+
this.ht = h;
|
|
1655
|
+
this.hs = h;
|
|
1656
1656
|
}
|
|
1657
1657
|
break;
|
|
1658
1658
|
case XamGeographicMap.$$p[7]:
|
|
1659
|
-
this.
|
|
1659
|
+
this.sb();
|
|
1660
1660
|
break;
|
|
1661
1661
|
case "MarkerAutomaticBehavior":
|
|
1662
1662
|
try {
|
|
@@ -1681,39 +1681,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1681
1681
|
break;
|
|
1682
1682
|
}
|
|
1683
1683
|
};
|
|
1684
|
-
XamGeographicMap.prototype.
|
|
1684
|
+
XamGeographicMap.prototype.yr = function (a, b) {
|
|
1685
1685
|
if (this.imageTilesReady != null) {
|
|
1686
1686
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1687
1687
|
}
|
|
1688
1688
|
};
|
|
1689
|
-
XamGeographicMap.prototype.
|
|
1689
|
+
XamGeographicMap.prototype.yw = function (a) {
|
|
1690
1690
|
if (a != null) {
|
|
1691
1691
|
a.bi = null;
|
|
1692
1692
|
}
|
|
1693
1693
|
};
|
|
1694
|
-
XamGeographicMap.prototype.
|
|
1695
|
-
if (this.
|
|
1696
|
-
this.
|
|
1697
|
-
this.
|
|
1694
|
+
XamGeographicMap.prototype.yx = function () {
|
|
1695
|
+
if (this.xj != null) {
|
|
1696
|
+
this.xj.mc = this.zk.left;
|
|
1697
|
+
this.xj.mb = this.zk.right;
|
|
1698
1698
|
}
|
|
1699
|
-
if (this.
|
|
1700
|
-
this.
|
|
1701
|
-
this.
|
|
1699
|
+
if (this.xl != null) {
|
|
1700
|
+
this.xl.mc = this.zk.top;
|
|
1701
|
+
this.xl.mb = this.zk.bottom;
|
|
1702
1702
|
}
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1703
|
+
this.xj.c2(true);
|
|
1704
|
+
this.xl.c2(true);
|
|
1705
1705
|
};
|
|
1706
1706
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
1707
|
-
this.
|
|
1708
|
-
return this.
|
|
1707
|
+
this.xw = this.xv.fo;
|
|
1708
|
+
return this.xw;
|
|
1709
1709
|
};
|
|
1710
|
-
XamGeographicMap.prototype.
|
|
1711
|
-
return this.
|
|
1710
|
+
XamGeographicMap.prototype.vx = function () {
|
|
1711
|
+
return this.xv.fw;
|
|
1712
1712
|
};
|
|
1713
1713
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
1714
|
-
return this.
|
|
1714
|
+
return this.xv.fx;
|
|
1715
1715
|
};
|
|
1716
|
-
XamGeographicMap.prototype.
|
|
1716
|
+
XamGeographicMap.prototype.rx = function (a, b) {
|
|
1717
1717
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1718
1718
|
var c = b;
|
|
1719
1719
|
var d = a;
|
|
@@ -1721,33 +1721,33 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1721
1721
|
d.xe = c.triangulationSource.triangles;
|
|
1722
1722
|
}
|
|
1723
1723
|
else {
|
|
1724
|
-
_super.prototype.
|
|
1724
|
+
_super.prototype.rx.call(this, a, b);
|
|
1725
1725
|
}
|
|
1726
1726
|
};
|
|
1727
1727
|
XamGeographicMap.prototype.register = function (a, b) {
|
|
1728
|
-
this.
|
|
1728
|
+
this.rk(a, b);
|
|
1729
1729
|
};
|
|
1730
1730
|
XamGeographicMap.prototype.unRegister = function (a) {
|
|
1731
|
-
this.
|
|
1731
|
+
this.r3(a);
|
|
1732
1732
|
};
|
|
1733
1733
|
XamGeographicMap.prototype.deferredRefresh = function () {
|
|
1734
|
-
this.
|
|
1734
|
+
this.n0();
|
|
1735
1735
|
};
|
|
1736
1736
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
1737
|
-
if (this.
|
|
1738
|
-
this.
|
|
1737
|
+
if (this.x8 != null) {
|
|
1738
|
+
this.x8.setTimeout(a, 0);
|
|
1739
1739
|
}
|
|
1740
1740
|
else {
|
|
1741
1741
|
window.setTimeout(a, 0);
|
|
1742
1742
|
}
|
|
1743
1743
|
};
|
|
1744
|
-
XamGeographicMap.prototype.
|
|
1745
|
-
this.
|
|
1744
|
+
XamGeographicMap.prototype.yo = function (a) {
|
|
1745
|
+
this.sa(a);
|
|
1746
1746
|
};
|
|
1747
|
-
XamGeographicMap.prototype.
|
|
1747
|
+
XamGeographicMap.prototype.x9 = function () {
|
|
1748
1748
|
var a = new ChartVisualData();
|
|
1749
|
-
var b = this.
|
|
1750
|
-
var c = this.
|
|
1749
|
+
var b = this.xj.fy();
|
|
1750
|
+
var c = this.xl.fy();
|
|
1751
1751
|
a.axes.add1(b);
|
|
1752
1752
|
a.axes.add1(c);
|
|
1753
1753
|
for (var d = 0; d < this.series.count; d++) {
|
|
@@ -1755,49 +1755,49 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1755
1755
|
a.series.add1(e);
|
|
1756
1756
|
}
|
|
1757
1757
|
a.name = this.name;
|
|
1758
|
-
a.contentArea = RectData.b(this.
|
|
1759
|
-
a.centralArea = RectData.b(this.
|
|
1760
|
-
a.plotArea = RectData.b(this.
|
|
1758
|
+
a.contentArea = RectData.b(this.xb);
|
|
1759
|
+
a.centralArea = RectData.b(this.xb);
|
|
1760
|
+
a.plotArea = RectData.b(this.xb);
|
|
1761
1761
|
return a;
|
|
1762
1762
|
};
|
|
1763
|
-
XamGeographicMap.prototype.
|
|
1763
|
+
XamGeographicMap.prototype.w1 = function (a, b, c) {
|
|
1764
1764
|
return a;
|
|
1765
1765
|
};
|
|
1766
|
-
XamGeographicMap.prototype.
|
|
1766
|
+
XamGeographicMap.prototype.ys = function () {
|
|
1767
1767
|
};
|
|
1768
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1768
|
+
Object.defineProperty(XamGeographicMap.prototype, "zv", {
|
|
1769
1769
|
get: function () {
|
|
1770
|
-
return this.
|
|
1770
|
+
return this.zh;
|
|
1771
1771
|
},
|
|
1772
1772
|
set: function (a) {
|
|
1773
|
-
this.
|
|
1773
|
+
this.zh = a;
|
|
1774
1774
|
},
|
|
1775
1775
|
enumerable: false,
|
|
1776
1776
|
configurable: true
|
|
1777
1777
|
});
|
|
1778
|
-
XamGeographicMap.prototype.
|
|
1779
|
-
this.
|
|
1780
|
-
this.
|
|
1778
|
+
XamGeographicMap.prototype.y2 = function (a) {
|
|
1779
|
+
this.zv = a;
|
|
1780
|
+
this.y1();
|
|
1781
1781
|
};
|
|
1782
|
-
XamGeographicMap.prototype.
|
|
1783
|
-
if (this.
|
|
1784
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
1785
|
-
this.
|
|
1786
|
-
this.
|
|
1782
|
+
XamGeographicMap.prototype.y1 = function () {
|
|
1783
|
+
if (this.x2 && !this.zv.isEmpty) {
|
|
1784
|
+
var a = this.getZoomFromGeographicRect(this.zv);
|
|
1785
|
+
this.zv = Rect.empty;
|
|
1786
|
+
this.sh(a, false);
|
|
1787
1787
|
}
|
|
1788
1788
|
};
|
|
1789
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1789
|
+
Object.defineProperty(XamGeographicMap.prototype, "x2", {
|
|
1790
1790
|
get: function () {
|
|
1791
|
-
return !this.
|
|
1791
|
+
return !this.xb.isEmpty && !this.wx.isEmpty;
|
|
1792
1792
|
},
|
|
1793
1793
|
enumerable: false,
|
|
1794
1794
|
configurable: true
|
|
1795
1795
|
});
|
|
1796
1796
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1797
|
-
XamGeographicMap.
|
|
1798
|
-
XamGeographicMap.
|
|
1799
|
-
XamGeographicMap.
|
|
1800
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1797
|
+
XamGeographicMap.xt = 0;
|
|
1798
|
+
XamGeographicMap.zg = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1799
|
+
XamGeographicMap.zj = new Rect(0, 0, 0, 1, 1);
|
|
1800
|
+
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]]);
|
|
1801
1801
|
return XamGeographicMap;
|
|
1802
1802
|
}(SeriesViewer));
|
|
1803
1803
|
/**
|
|
@@ -1940,14 +1940,14 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1940
1940
|
return a;
|
|
1941
1941
|
}
|
|
1942
1942
|
var b = new Rect(0, 0, 0, a.width, a.height);
|
|
1943
|
-
var c = this.geographicMap.
|
|
1944
|
-
var d = XamGeographicMap.
|
|
1945
|
-
var e = this.geographicMap.
|
|
1943
|
+
var c = this.geographicMap.zp(b);
|
|
1944
|
+
var d = XamGeographicMap.zg;
|
|
1945
|
+
var e = this.geographicMap.zk;
|
|
1946
1946
|
var f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1947
1947
|
var g = e.width / d.width;
|
|
1948
1948
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1949
|
-
var h = this.geographicMap.
|
|
1950
|
-
var i = this.geographicMap.
|
|
1949
|
+
var h = this.geographicMap.xj;
|
|
1950
|
+
var i = this.geographicMap.xl;
|
|
1951
1951
|
var j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1952
1952
|
j.c = c;
|
|
1953
1953
|
var k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -2066,8 +2066,8 @@ var GeographicXYTriangulatingSeriesView = /** @class */ /*@__PURE__*/ (function
|
|
|
2066
2066
|
a.w4 = null;
|
|
2067
2067
|
return;
|
|
2068
2068
|
}
|
|
2069
|
-
a.w3 = this.cu.dc.
|
|
2070
|
-
a.w4 = this.cu.dc.
|
|
2069
|
+
a.w3 = this.cu.dc.xj;
|
|
2070
|
+
a.w4 = this.cu.dc.xl;
|
|
2071
2071
|
};
|
|
2072
2072
|
GeographicXYTriangulatingSeriesView.prototype.cw = function () {
|
|
2073
2073
|
this.cu.w5.x5 = this.cu.xh;
|
|
@@ -2141,8 +2141,8 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2141
2141
|
_this.fp = NaN;
|
|
2142
2142
|
_this.fz = Rect.empty;
|
|
2143
2143
|
_this.fn = a;
|
|
2144
|
-
_this.fn.
|
|
2145
|
-
_this.fn.
|
|
2144
|
+
_this.fn.vq = 2;
|
|
2145
|
+
_this.fn.i2 = 5E-06;
|
|
2146
2146
|
return _this;
|
|
2147
2147
|
}
|
|
2148
2148
|
XamGeographicMapView.prototype.m = function (a) {
|
|
@@ -2150,7 +2150,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2150
2150
|
};
|
|
2151
2151
|
XamGeographicMapView.prototype.bk = function (a) {
|
|
2152
2152
|
this.j.bw(a);
|
|
2153
|
-
this.fn.
|
|
2153
|
+
this.fn.yo(a);
|
|
2154
2154
|
this.el();
|
|
2155
2155
|
};
|
|
2156
2156
|
XamGeographicMapView.prototype.get_ap = function () {
|
|
@@ -2213,13 +2213,13 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2213
2213
|
}
|
|
2214
2214
|
};
|
|
2215
2215
|
XamGeographicMapView.prototype.fr = function (a) {
|
|
2216
|
-
if (this.fn.
|
|
2217
|
-
this.fn.
|
|
2216
|
+
if (this.fn.xo != null) {
|
|
2217
|
+
this.fn.xo.windowRect = a;
|
|
2218
2218
|
}
|
|
2219
2219
|
};
|
|
2220
2220
|
XamGeographicMapView.prototype.fu = function (a, b) {
|
|
2221
|
-
if (this.fn.
|
|
2222
|
-
this.fn.
|
|
2221
|
+
if (this.fn.xo != null) {
|
|
2222
|
+
this.fn.xo.windowRect = this.fn.wt;
|
|
2223
2223
|
}
|
|
2224
2224
|
if (a != null) {
|
|
2225
2225
|
var c = a.ao;
|
|
@@ -2246,7 +2246,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2246
2246
|
}
|
|
2247
2247
|
};
|
|
2248
2248
|
XamGeographicMapView.prototype.ft = function (a) {
|
|
2249
|
-
var b = this.fn.
|
|
2249
|
+
var b = this.fn.hp;
|
|
2250
2250
|
if (b != 1) {
|
|
2251
2251
|
a.aa();
|
|
2252
2252
|
a.ab(b, b);
|
|
@@ -2874,11 +2874,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2874
2874
|
* Gets or sets zoomability of the current control
|
|
2875
2875
|
*/
|
|
2876
2876
|
get: function () {
|
|
2877
|
-
return this.i.
|
|
2877
|
+
return this.i.x1;
|
|
2878
2878
|
},
|
|
2879
2879
|
set: function (v) {
|
|
2880
|
-
this.i.
|
|
2881
|
-
this._a("zoomable", this.i.
|
|
2880
|
+
this.i.x1 = ensureBool(v);
|
|
2881
|
+
this._a("zoomable", this.i.x1);
|
|
2882
2882
|
},
|
|
2883
2883
|
enumerable: false,
|
|
2884
2884
|
configurable: true
|
|
@@ -2888,11 +2888,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2888
2888
|
* Gets or sets the behavior to use during resize.
|
|
2889
2889
|
*/
|
|
2890
2890
|
get: function () {
|
|
2891
|
-
return this.i.
|
|
2891
|
+
return this.i.xu;
|
|
2892
2892
|
},
|
|
2893
2893
|
set: function (v) {
|
|
2894
|
-
this.i.
|
|
2895
|
-
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.
|
|
2894
|
+
this.i.xu = ensureEnum(MapResizeBehavior_$type, v);
|
|
2895
|
+
this._a("resizeBehavior", enumToString(MapResizeBehavior_$type, this.i.xu));
|
|
2896
2896
|
},
|
|
2897
2897
|
enumerable: false,
|
|
2898
2898
|
configurable: true
|
|
@@ -2902,11 +2902,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2902
2902
|
* Gets or sets if the map should horizontally wrap.
|
|
2903
2903
|
*/
|
|
2904
2904
|
get: function () {
|
|
2905
|
-
return this.i.
|
|
2905
|
+
return this.i.xy;
|
|
2906
2906
|
},
|
|
2907
2907
|
set: function (v) {
|
|
2908
|
-
this.i.
|
|
2909
|
-
this._a("isHorizontalWrappingEnabled", this.i.
|
|
2908
|
+
this.i.xy = ensureBool(v);
|
|
2909
|
+
this._a("isHorizontalWrappingEnabled", this.i.xy);
|
|
2910
2910
|
},
|
|
2911
2911
|
enumerable: false,
|
|
2912
2912
|
configurable: true
|
|
@@ -2916,11 +2916,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2916
2916
|
* Gets or sets if the map should horizontally wrap.
|
|
2917
2917
|
*/
|
|
2918
2918
|
get: function () {
|
|
2919
|
-
return this.i.
|
|
2919
|
+
return this.i.xq;
|
|
2920
2920
|
},
|
|
2921
2921
|
set: function (v) {
|
|
2922
|
-
this.i.
|
|
2923
|
-
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.
|
|
2922
|
+
this.i.xq = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2923
|
+
this._a("backgroundTilingMode", enumToString(MapBackgroundTilingMode_$type, this.i.xq));
|
|
2924
2924
|
},
|
|
2925
2925
|
enumerable: false,
|
|
2926
2926
|
configurable: true
|
|
@@ -2930,11 +2930,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2930
2930
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2931
2931
|
*/
|
|
2932
2932
|
get: function () {
|
|
2933
|
-
return this.i.
|
|
2933
|
+
return this.i.x0;
|
|
2934
2934
|
},
|
|
2935
2935
|
set: function (v) {
|
|
2936
|
-
this.i.
|
|
2937
|
-
this._a("useWorldRectForZoomBounds", this.i.
|
|
2936
|
+
this.i.x0 = ensureBool(v);
|
|
2937
|
+
this._a("useWorldRectForZoomBounds", this.i.x0);
|
|
2938
2938
|
},
|
|
2939
2939
|
enumerable: false,
|
|
2940
2940
|
configurable: true
|
|
@@ -2944,11 +2944,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2944
2944
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2945
2945
|
*/
|
|
2946
2946
|
get: function () {
|
|
2947
|
-
return this.i.
|
|
2947
|
+
return this.i.xz;
|
|
2948
2948
|
},
|
|
2949
2949
|
set: function (v) {
|
|
2950
|
-
this.i.
|
|
2951
|
-
this._a("suppressZoomResetOnWorldRectChange", this.i.
|
|
2950
|
+
this.i.xz = ensureBool(v);
|
|
2951
|
+
this._a("suppressZoomResetOnWorldRectChange", this.i.xz);
|
|
2952
2952
|
},
|
|
2953
2953
|
enumerable: false,
|
|
2954
2954
|
configurable: true
|
|
@@ -2958,11 +2958,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2958
2958
|
* Gets or sets the world bounding rectangle.
|
|
2959
2959
|
*/
|
|
2960
2960
|
get: function () {
|
|
2961
|
-
return fromRect(this.i.
|
|
2961
|
+
return fromRect(this.i.zw);
|
|
2962
2962
|
},
|
|
2963
2963
|
set: function (v) {
|
|
2964
|
-
this.i.
|
|
2965
|
-
this._a("worldRect", rectToString(this.i.
|
|
2964
|
+
this.i.zw = toRect(v);
|
|
2965
|
+
this._a("worldRect", rectToString(this.i.zw));
|
|
2966
2966
|
},
|
|
2967
2967
|
enumerable: false,
|
|
2968
2968
|
configurable: true
|
|
@@ -2972,11 +2972,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2972
2972
|
* Gets the actual value of the WorldRect.
|
|
2973
2973
|
*/
|
|
2974
2974
|
get: function () {
|
|
2975
|
-
return fromRect(this.i.
|
|
2975
|
+
return fromRect(this.i.zk);
|
|
2976
2976
|
},
|
|
2977
2977
|
set: function (v) {
|
|
2978
|
-
this.i.
|
|
2979
|
-
this._a("actualWorldRect", rectToString(this.i.
|
|
2978
|
+
this.i.zk = toRect(v);
|
|
2979
|
+
this._a("actualWorldRect", rectToString(this.i.zk));
|
|
2980
2980
|
},
|
|
2981
2981
|
enumerable: false,
|
|
2982
2982
|
configurable: true
|
|
@@ -2987,7 +2987,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2987
2987
|
* 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.
|
|
2988
2988
|
*/
|
|
2989
2989
|
get: function () {
|
|
2990
|
-
var r = this.i.
|
|
2990
|
+
var r = this.i.xj;
|
|
2991
2991
|
if (r == null) {
|
|
2992
2992
|
return null;
|
|
2993
2993
|
}
|
|
@@ -3003,7 +3003,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3003
3003
|
set: function (v) {
|
|
3004
3004
|
if (v != null && this._stylingContainer && v._styling)
|
|
3005
3005
|
v._styling(this._stylingContainer, this, this);
|
|
3006
|
-
v == null ? this.i.
|
|
3006
|
+
v == null ? this.i.xj = null : this.i.xj = v.i;
|
|
3007
3007
|
},
|
|
3008
3008
|
enumerable: false,
|
|
3009
3009
|
configurable: true
|
|
@@ -3014,7 +3014,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3014
3014
|
* 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.
|
|
3015
3015
|
*/
|
|
3016
3016
|
get: function () {
|
|
3017
|
-
var r = this.i.
|
|
3017
|
+
var r = this.i.xl;
|
|
3018
3018
|
if (r == null) {
|
|
3019
3019
|
return null;
|
|
3020
3020
|
}
|
|
@@ -3030,7 +3030,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3030
3030
|
set: function (v) {
|
|
3031
3031
|
if (v != null && this._stylingContainer && v._styling)
|
|
3032
3032
|
v._styling(this._stylingContainer, this, this);
|
|
3033
|
-
v == null ? this.i.
|
|
3033
|
+
v == null ? this.i.xl = null : this.i.xl = v.i;
|
|
3034
3034
|
},
|
|
3035
3035
|
enumerable: false,
|
|
3036
3036
|
configurable: true
|
|
@@ -3040,7 +3040,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3040
3040
|
* Indicates if this SeriesViewer is a map.
|
|
3041
3041
|
*/
|
|
3042
3042
|
get: function () {
|
|
3043
|
-
return this.i.
|
|
3043
|
+
return this.i.fh;
|
|
3044
3044
|
},
|
|
3045
3045
|
enumerable: false,
|
|
3046
3046
|
configurable: true
|
|
@@ -3051,11 +3051,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3051
3051
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
3052
3052
|
*/
|
|
3053
3053
|
get: function () {
|
|
3054
|
-
return this.i.
|
|
3054
|
+
return this.i.x6;
|
|
3055
3055
|
},
|
|
3056
3056
|
set: function (v) {
|
|
3057
|
-
this.i.
|
|
3058
|
-
this._a("windowScale", this.i.
|
|
3057
|
+
this.i.x6 = +v;
|
|
3058
|
+
this._a("windowScale", this.i.x6);
|
|
3059
3059
|
},
|
|
3060
3060
|
enumerable: false,
|
|
3061
3061
|
configurable: true
|
|
@@ -3066,11 +3066,11 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3066
3066
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
3067
3067
|
*/
|
|
3068
3068
|
get: function () {
|
|
3069
|
-
return this.i.
|
|
3069
|
+
return this.i.x5;
|
|
3070
3070
|
},
|
|
3071
3071
|
set: function (v) {
|
|
3072
|
-
this.i.
|
|
3073
|
-
this._a("actualWindowScale", this.i.
|
|
3072
|
+
this.i.x5 = +v;
|
|
3073
|
+
this._a("actualWindowScale", this.i.x5);
|
|
3074
3074
|
},
|
|
3075
3075
|
enumerable: false,
|
|
3076
3076
|
configurable: true
|
|
@@ -3080,7 +3080,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3080
3080
|
* Gets whether or not the control is ready for zooming
|
|
3081
3081
|
*/
|
|
3082
3082
|
get: function () {
|
|
3083
|
-
return this.i.
|
|
3083
|
+
return this.i.x2;
|
|
3084
3084
|
},
|
|
3085
3085
|
enumerable: false,
|
|
3086
3086
|
configurable: true
|
|
@@ -3111,7 +3111,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3111
3111
|
|
|
3112
3112
|
*/
|
|
3113
3113
|
IgcGeographicMapComponent.prototype.getCurrentActualWorldRect = function () {
|
|
3114
|
-
var iv = this.i.
|
|
3114
|
+
var iv = this.i.zo();
|
|
3115
3115
|
return fromRect(iv);
|
|
3116
3116
|
};
|
|
3117
3117
|
/**
|
|
@@ -3128,14 +3128,14 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3128
3128
|
|
|
3129
3129
|
*/
|
|
3130
3130
|
IgcGeographicMapComponent.prototype.updateZoomWindow = function (zoomWindow) {
|
|
3131
|
-
this.i.
|
|
3131
|
+
this.i.y0(toRect(zoomWindow));
|
|
3132
3132
|
};
|
|
3133
3133
|
/**
|
|
3134
3134
|
* Updates world rect in geographic coordinates
|
|
3135
3135
|
|
|
3136
3136
|
*/
|
|
3137
3137
|
IgcGeographicMapComponent.prototype.updateWorldRect = function (worldRect) {
|
|
3138
|
-
this.i.
|
|
3138
|
+
this.i.yz(toRect(worldRect));
|
|
3139
3139
|
};
|
|
3140
3140
|
/**
|
|
3141
3141
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -3147,7 +3147,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3147
3147
|
return fromRect(iv);
|
|
3148
3148
|
};
|
|
3149
3149
|
IgcGeographicMapComponent.prototype.convertGeographicToZoom = function (geographic, extraPixelPadding) {
|
|
3150
|
-
var iv = this.i.
|
|
3150
|
+
var iv = this.i.zl(toRect(geographic), extraPixelPadding);
|
|
3151
3151
|
return fromRect(iv);
|
|
3152
3152
|
};
|
|
3153
3153
|
IgcGeographicMapComponent.prototype.getZoomFromGeographicPoints = function (northWest, southEast) {
|
|
@@ -3160,7 +3160,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3160
3160
|
* @param windowRect * The zoom area.
|
|
3161
3161
|
*/
|
|
3162
3162
|
IgcGeographicMapComponent.prototype.getGeographicFromZoom = function (windowRect) {
|
|
3163
|
-
var iv = this.i.
|
|
3163
|
+
var iv = this.i.zq(toRect(windowRect));
|
|
3164
3164
|
return fromRect(iv);
|
|
3165
3165
|
};
|
|
3166
3166
|
/**
|
|
@@ -3169,7 +3169,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3169
3169
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
3170
3170
|
*/
|
|
3171
3171
|
IgcGeographicMapComponent.prototype.getGeographicPoint = function (pixelCoordinate) {
|
|
3172
|
-
var iv = this.i.
|
|
3172
|
+
var iv = this.i.zc(toPoint(pixelCoordinate));
|
|
3173
3173
|
return fromPoint(iv);
|
|
3174
3174
|
};
|
|
3175
3175
|
/**
|
|
@@ -3178,7 +3178,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3178
3178
|
* @param geographicCoordinate * A geographic coordinate
|
|
3179
3179
|
*/
|
|
3180
3180
|
IgcGeographicMapComponent.prototype.getPixelPoint = function (geographicCoordinate) {
|
|
3181
|
-
var iv = this.i.
|
|
3181
|
+
var iv = this.i.zd(toPoint(geographicCoordinate));
|
|
3182
3182
|
return fromPoint(iv);
|
|
3183
3183
|
};
|
|
3184
3184
|
/**
|
|
@@ -3187,7 +3187,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3187
3187
|
* @param geographicCoordinate * A geographic coordinate
|
|
3188
3188
|
*/
|
|
3189
3189
|
IgcGeographicMapComponent.prototype.getWindowPoint = function (geographicCoordinate) {
|
|
3190
|
-
var iv = this.i.
|
|
3190
|
+
var iv = this.i.ze(toPoint(geographicCoordinate));
|
|
3191
3191
|
return fromPoint(iv);
|
|
3192
3192
|
};
|
|
3193
3193
|
/**
|
|
@@ -3195,21 +3195,21 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3195
3195
|
|
|
3196
3196
|
*/
|
|
3197
3197
|
IgcGeographicMapComponent.prototype.clearTileCache = function () {
|
|
3198
|
-
this.i.
|
|
3198
|
+
this.i.yn();
|
|
3199
3199
|
};
|
|
3200
3200
|
/**
|
|
3201
3201
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
3202
3202
|
|
|
3203
3203
|
*/
|
|
3204
3204
|
IgcGeographicMapComponent.prototype.styleUpdated = function () {
|
|
3205
|
-
this.i.
|
|
3205
|
+
this.i.yv();
|
|
3206
3206
|
};
|
|
3207
3207
|
/**
|
|
3208
3208
|
* Gets actual window scale for horizontal dimension of the control
|
|
3209
3209
|
|
|
3210
3210
|
*/
|
|
3211
3211
|
IgcGeographicMapComponent.prototype.getActualWindowScaleHorizontal = function () {
|
|
3212
|
-
var iv = this.i.
|
|
3212
|
+
var iv = this.i.hz();
|
|
3213
3213
|
return (iv);
|
|
3214
3214
|
};
|
|
3215
3215
|
/**
|
|
@@ -3217,7 +3217,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3217
3217
|
|
|
3218
3218
|
*/
|
|
3219
3219
|
IgcGeographicMapComponent.prototype.getActualWindowScaleVertical = function () {
|
|
3220
|
-
var iv = this.i.
|
|
3220
|
+
var iv = this.i.h0();
|
|
3221
3221
|
return (iv);
|
|
3222
3222
|
};
|
|
3223
3223
|
/**
|
|
@@ -3232,7 +3232,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3232
3232
|
|
|
3233
3233
|
*/
|
|
3234
3234
|
IgcGeographicMapComponent.prototype.exportVisualData = function () {
|
|
3235
|
-
var iv = this.i.
|
|
3235
|
+
var iv = this.i.x9();
|
|
3236
3236
|
return (iv);
|
|
3237
3237
|
};
|
|
3238
3238
|
/**
|
|
@@ -3241,7 +3241,7 @@ var IgcGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3241
3241
|
* @param geographic * The geographic region to zoom to.
|
|
3242
3242
|
*/
|
|
3243
3243
|
IgcGeographicMapComponent.prototype.zoomToGeographic = function (geographic) {
|
|
3244
|
-
this.i.
|
|
3244
|
+
this.i.y2(toRect(geographic));
|
|
3245
3245
|
};
|
|
3246
3246
|
Object.defineProperty(IgcGeographicMapComponent.prototype, "imageTilesReady", {
|
|
3247
3247
|
/**
|
|
@@ -5627,8 +5627,8 @@ var GeographicShapeSeriesBaseView = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
5627
5627
|
a.xl = null;
|
|
5628
5628
|
return;
|
|
5629
5629
|
}
|
|
5630
|
-
a.xj = this.cu.dc.
|
|
5631
|
-
a.xl = this.cu.dc.
|
|
5630
|
+
a.xj = this.cu.dc.xj;
|
|
5631
|
+
a.xl = this.cu.dc.xl;
|
|
5632
5632
|
};
|
|
5633
5633
|
GeographicShapeSeriesBaseView.prototype.cx = function () {
|
|
5634
5634
|
this.cu.w5.zc = this.cu.x4;
|
|
@@ -6663,7 +6663,7 @@ var TileSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6663
6663
|
if (f != null && typeCast(XamGeographicMap.$, this.dc) !== null) {
|
|
6664
6664
|
f.geographicMap = this.dc;
|
|
6665
6665
|
this.aao(this.cw);
|
|
6666
|
-
this.aac.dr(this.dc.
|
|
6666
|
+
this.aac.dr(this.dc.wt);
|
|
6667
6667
|
}
|
|
6668
6668
|
this.qn();
|
|
6669
6669
|
break;
|
|
@@ -7646,10 +7646,10 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7646
7646
|
this.cu.w5.aae = this.cu.xh;
|
|
7647
7647
|
};
|
|
7648
7648
|
GeographicProportionalSymbolSeriesView.prototype.db = function () {
|
|
7649
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
7649
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
7650
7650
|
};
|
|
7651
7651
|
GeographicProportionalSymbolSeriesView.prototype.dc = function () {
|
|
7652
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
7652
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
7653
7653
|
};
|
|
7654
7654
|
GeographicProportionalSymbolSeriesView.prototype.da = function () {
|
|
7655
7655
|
var a = this.cu.w5;
|
|
@@ -7658,8 +7658,8 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7658
7658
|
a.yAxis = null;
|
|
7659
7659
|
return;
|
|
7660
7660
|
}
|
|
7661
|
-
a.xAxis = this.cu.dc.
|
|
7662
|
-
a.yAxis = this.cu.dc.
|
|
7661
|
+
a.xAxis = this.cu.dc.xj;
|
|
7662
|
+
a.yAxis = this.cu.dc.xl;
|
|
7663
7663
|
};
|
|
7664
7664
|
GeographicProportionalSymbolSeriesView.prototype.c4 = function () {
|
|
7665
7665
|
this.cu.w5.yo = this.cu.x9;
|
|
@@ -8332,10 +8332,10 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8332
8332
|
this.cu.w5.aae = this.cu.xh;
|
|
8333
8333
|
};
|
|
8334
8334
|
GeographicSymbolSeriesView.prototype.c5 = function () {
|
|
8335
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
8335
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
8336
8336
|
};
|
|
8337
8337
|
GeographicSymbolSeriesView.prototype.c6 = function () {
|
|
8338
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
8338
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
8339
8339
|
};
|
|
8340
8340
|
GeographicSymbolSeriesView.prototype.c4 = function () {
|
|
8341
8341
|
var a = this.cu.w5;
|
|
@@ -8344,8 +8344,8 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8344
8344
|
a.yAxis = null;
|
|
8345
8345
|
return;
|
|
8346
8346
|
}
|
|
8347
|
-
a.xAxis = this.cu.dc.
|
|
8348
|
-
a.yAxis = this.cu.dc.
|
|
8347
|
+
a.xAxis = this.cu.dc.xj;
|
|
8348
|
+
a.yAxis = this.cu.dc.xl;
|
|
8349
8349
|
};
|
|
8350
8350
|
GeographicSymbolSeriesView.prototype.cy = function () {
|
|
8351
8351
|
this.cu.w5.yy = this.cu.yd;
|
|
@@ -9165,14 +9165,14 @@ var GeographicHighDensityScatterSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
9165
9165
|
a.xc = null;
|
|
9166
9166
|
return;
|
|
9167
9167
|
}
|
|
9168
|
-
a.xa = this.cu.dc.
|
|
9169
|
-
a.xc = this.cu.dc.
|
|
9168
|
+
a.xa = this.cu.dc.xj;
|
|
9169
|
+
a.xc = this.cu.dc.xl;
|
|
9170
9170
|
};
|
|
9171
9171
|
GeographicHighDensityScatterSeriesView.prototype.c6 = function () {
|
|
9172
|
-
this.cu.w5.xa = this.cu.dc.
|
|
9172
|
+
this.cu.w5.xa = this.cu.dc.xj;
|
|
9173
9173
|
};
|
|
9174
9174
|
GeographicHighDensityScatterSeriesView.prototype.c7 = function () {
|
|
9175
|
-
this.cu.w5.xc = this.cu.dc.
|
|
9175
|
+
this.cu.w5.xc = this.cu.dc.xl;
|
|
9176
9176
|
};
|
|
9177
9177
|
GeographicHighDensityScatterSeriesView.prototype.cx = function () {
|
|
9178
9178
|
this.cu.w5.aak = this.cu.yd;
|