igniteui-angular-maps 18.2.0-beta.0 → 18.2.0-beta.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-angular-maps.umd.js +343 -343
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- 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/XamGeographicMap_combined.js +297 -297
- package/esm2015/lib/igx-geographic-map-component.js +37 -37
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- 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/XamGeographicMap_combined.js +292 -292
- package/esm5/lib/igx-geographic-map-component.js +37 -37
- package/fesm2015/igniteui-angular-maps.js +348 -348
- package/fesm5/igniteui-angular-maps.js +343 -343
- package/lib/XamGeographicMap_combined.d.ts +61 -61
- package/package.json +2 -2
|
@@ -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.
|
|
918
|
-
_this.
|
|
919
|
-
_this.
|
|
920
|
-
_this.
|
|
921
|
-
_this.
|
|
910
|
+
_this.xh = null;
|
|
911
|
+
_this.w6 = false;
|
|
912
|
+
_this.wy = 1;
|
|
913
|
+
_this.xd = 0;
|
|
914
|
+
_this.yo = null;
|
|
915
|
+
_this.wv = null;
|
|
916
|
+
_this.wr = null;
|
|
917
|
+
_this.wt = null;
|
|
918
|
+
_this.wx = null;
|
|
919
|
+
_this.yk = { $type: Point_$type, x: NaN, y: NaN };
|
|
920
|
+
_this.yr = null;
|
|
921
|
+
_this.xc = 1;
|
|
922
922
|
_this.imageTilesReady = null;
|
|
923
|
-
_this.
|
|
924
|
-
_this.
|
|
925
|
-
_this.
|
|
923
|
+
_this.w5 = null;
|
|
924
|
+
_this.yq = Rect.empty;
|
|
925
|
+
_this.xd = SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.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.ws = a;
|
|
935
|
+
_this.ws.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.
|
|
942
|
+
_this.wu = b;
|
|
943
|
+
_this.wu.n4 = new SphericalMercatorVerticalScaler();
|
|
944
|
+
_this.xz();
|
|
945
|
+
_this.x6();
|
|
946
946
|
_this.n0();
|
|
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.ws.provideRenderer(a);
|
|
952
|
+
this.wu.provideRenderer(a);
|
|
953
953
|
};
|
|
954
954
|
XamGeographicMap.prototype.n0 = function () {
|
|
955
955
|
_super.prototype.n0.call(this);
|
|
956
|
-
this.
|
|
956
|
+
this.w4.fv(this.hi);
|
|
957
957
|
};
|
|
958
958
|
XamGeographicMap.prototype.fl = function () {
|
|
959
|
-
return this.
|
|
959
|
+
return this.xa;
|
|
960
960
|
};
|
|
961
961
|
XamGeographicMap.prototype.fm = function () {
|
|
962
|
-
return this.
|
|
962
|
+
return this.xa;
|
|
963
963
|
};
|
|
964
|
-
XamGeographicMap.prototype.
|
|
965
|
-
if (this.
|
|
966
|
-
if (this.
|
|
964
|
+
XamGeographicMap.prototype.w1 = function () {
|
|
965
|
+
if (this.wz == 0) {
|
|
966
|
+
if (this.w6) {
|
|
967
967
|
return 2;
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
970
|
return 1;
|
|
971
971
|
};
|
|
972
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
972
|
+
Object.defineProperty(XamGeographicMap.prototype, "w0", {
|
|
973
973
|
get: function () {
|
|
974
|
-
return this.
|
|
974
|
+
return this.wy;
|
|
975
975
|
},
|
|
976
976
|
set: function (a) {
|
|
977
|
-
this.
|
|
977
|
+
this.wy = a;
|
|
978
978
|
},
|
|
979
979
|
enumerable: false,
|
|
980
980
|
configurable: true
|
|
981
981
|
});
|
|
982
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
982
|
+
Object.defineProperty(XamGeographicMap.prototype, "yt", {
|
|
983
983
|
get: function () {
|
|
984
|
-
return this.
|
|
984
|
+
return this.yo;
|
|
985
985
|
},
|
|
986
986
|
set: function (a) {
|
|
987
|
-
var b = Rect.l_op_Inequality(this.
|
|
987
|
+
var b = Rect.l_op_Inequality(this.yo, a);
|
|
988
988
|
if (b) {
|
|
989
|
-
var c = this.
|
|
990
|
-
this.
|
|
989
|
+
var c = this.yo;
|
|
990
|
+
this.yo = a;
|
|
991
991
|
this.qm("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.yx = function () {
|
|
998
|
+
return this.yt;
|
|
999
999
|
};
|
|
1000
|
-
XamGeographicMap.prototype.
|
|
1001
|
-
if (this.
|
|
1000
|
+
XamGeographicMap.prototype.xz = function () {
|
|
1001
|
+
if (this.y5.isEmpty) {
|
|
1002
1002
|
return;
|
|
1003
1003
|
}
|
|
1004
|
-
this.
|
|
1004
|
+
this.yt = this.y3(this.y5, this.cr == 1);
|
|
1005
1005
|
};
|
|
1006
|
-
XamGeographicMap.prototype.
|
|
1006
|
+
XamGeographicMap.prototype.y3 = 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.yp.width;
|
|
1015
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.top);
|
|
1016
1016
|
var l = i / j;
|
|
1017
|
-
if (i / j > this.
|
|
1018
|
-
var m = i / this.
|
|
1017
|
+
if (i / j > this.xd) {
|
|
1018
|
+
var m = i / this.xd;
|
|
1019
1019
|
var n = m - j;
|
|
1020
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
1021
|
-
e = m * XamGeographicMap.
|
|
1020
|
+
d = d - (n / 2) * XamGeographicMap.yp.width;
|
|
1021
|
+
e = m * XamGeographicMap.yp.width;
|
|
1022
1022
|
if (b) {
|
|
1023
|
-
if (d < XamGeographicMap.
|
|
1024
|
-
d += (XamGeographicMap.
|
|
1023
|
+
if (d < XamGeographicMap.yp.left) {
|
|
1024
|
+
d += (XamGeographicMap.yp.left - d);
|
|
1025
1025
|
}
|
|
1026
|
-
else if ((d + e) > XamGeographicMap.
|
|
1027
|
-
d -= ((d + e) - XamGeographicMap.
|
|
1026
|
+
else if ((d + e) > XamGeographicMap.yp.right) {
|
|
1027
|
+
d -= ((d + e) - XamGeographicMap.yp.right);
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
}
|
|
1031
|
-
else if (i / j < this.
|
|
1032
|
-
var o = this.
|
|
1031
|
+
else if (i / j < this.xd) {
|
|
1032
|
+
var o = this.xd * 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.xd)) {
|
|
1042
|
+
q -= ((r) - (k + this.xd));
|
|
1043
|
+
r -= ((r) - (k + this.xd));
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -1051,43 +1051,43 @@ 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.wv;
|
|
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.
|
|
1060
|
+
this.wv = a;
|
|
1061
1061
|
this.qm("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, "ws", {
|
|
1068
1068
|
get: function () {
|
|
1069
|
-
return this.
|
|
1069
|
+
return this.wr;
|
|
1070
1070
|
},
|
|
1071
1071
|
set: function (a) {
|
|
1072
|
-
var b = a != this.
|
|
1072
|
+
var b = a != this.ws;
|
|
1073
1073
|
if (b) {
|
|
1074
|
-
var c = this.
|
|
1075
|
-
this.
|
|
1074
|
+
var c = this.ws;
|
|
1075
|
+
this.wr = a;
|
|
1076
1076
|
this.qm("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, "wu", {
|
|
1083
1083
|
get: function () {
|
|
1084
|
-
return this.
|
|
1084
|
+
return this.wt;
|
|
1085
1085
|
},
|
|
1086
1086
|
set: function (a) {
|
|
1087
|
-
var b = a != this.
|
|
1087
|
+
var b = a != this.wu;
|
|
1088
1088
|
if (b) {
|
|
1089
|
-
var c = this.
|
|
1090
|
-
this.
|
|
1089
|
+
var c = this.wu;
|
|
1090
|
+
this.wt = a;
|
|
1091
1091
|
this.qm("YAxis", c, a);
|
|
1092
1092
|
}
|
|
1093
1093
|
},
|
|
@@ -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.x9 = function (a) {
|
|
1101
|
+
this.wl = a;
|
|
1102
1102
|
};
|
|
1103
|
-
XamGeographicMap.prototype.
|
|
1104
|
-
this.
|
|
1103
|
+
XamGeographicMap.prototype.x8 = function (a) {
|
|
1104
|
+
this.y5 = a;
|
|
1105
1105
|
};
|
|
1106
1106
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
1107
|
-
return this.
|
|
1107
|
+
return this.yv(a, true, 0);
|
|
1108
1108
|
};
|
|
1109
|
-
XamGeographicMap.prototype.
|
|
1110
|
-
return this.
|
|
1109
|
+
XamGeographicMap.prototype.yu = function (a, b) {
|
|
1110
|
+
return this.yv(a, false, b);
|
|
1111
1111
|
};
|
|
1112
|
-
XamGeographicMap.prototype.
|
|
1112
|
+
XamGeographicMap.prototype.yv = function (a, b, c) {
|
|
1113
1113
|
var d = a;
|
|
1114
1114
|
if (b) {
|
|
1115
|
-
d = this.
|
|
1115
|
+
d = this.y3(a, false);
|
|
1116
1116
|
}
|
|
1117
|
-
var e = this.
|
|
1118
|
-
var f = this.
|
|
1119
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1117
|
+
var e = this.ws;
|
|
1118
|
+
var f = this.wu;
|
|
1119
|
+
var g = new ScalerParams(1, XamGeographicMap.ys, this.wk, e.ch);
|
|
1120
1120
|
g.c = this.v8;
|
|
1121
|
-
var h = new ScalerParams(1, XamGeographicMap.
|
|
1121
|
+
var h = new ScalerParams(1, XamGeographicMap.ys, this.wk, f.ch);
|
|
1122
1122
|
h.c = this.v8;
|
|
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.
|
|
1123
|
+
var i = this.ws.el(d.left, g);
|
|
1124
|
+
var j = this.ws.el(d.right, g);
|
|
1125
|
+
var k = this.wu.el(d.top, h);
|
|
1126
|
+
var l = this.wu.el(d.bottom, h);
|
|
1127
|
+
var m = (i - c) / this.wk.width;
|
|
1128
|
+
var n = (l - c) / this.wk.height;
|
|
1129
|
+
var o = (j - i + (c * 2)) / this.wk.width;
|
|
1130
|
+
var p = (k - l + (c * 2)) / this.wk.height;
|
|
1131
1131
|
var q = new Rect(0, m, n, o, p);
|
|
1132
|
-
q.intersect(XamGeographicMap.
|
|
1132
|
+
q.intersect(XamGeographicMap.ys);
|
|
1133
1133
|
if (q.isEmpty) {
|
|
1134
|
-
q = XamGeographicMap.
|
|
1134
|
+
q = XamGeographicMap.ys;
|
|
1135
1135
|
}
|
|
1136
1136
|
return q;
|
|
1137
1137
|
};
|
|
@@ -1141,19 +1141,19 @@ 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.ys;
|
|
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.
|
|
1151
|
+
XamGeographicMap.prototype.yz = function (a) {
|
|
1152
|
+
var b = this.ws;
|
|
1153
|
+
var c = this.wu;
|
|
1154
|
+
var d = new ScalerParams(1, a, this.wk, b.ch);
|
|
1155
1155
|
d.c = this.v8;
|
|
1156
|
-
var e = new ScalerParams(1, a, this.
|
|
1156
|
+
var e = new ScalerParams(1, a, this.wk, c.ch);
|
|
1157
1157
|
e.c = this.v8;
|
|
1158
1158
|
var f = this.v7;
|
|
1159
1159
|
var g = b.eo(f.left, d);
|
|
@@ -1164,40 +1164,40 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1164
1164
|
var l = h - j;
|
|
1165
1165
|
var m = new Rect(0, g, j, k, l);
|
|
1166
1166
|
if (this.cr == 1) {
|
|
1167
|
-
m.intersect(XamGeographicMap.
|
|
1167
|
+
m.intersect(XamGeographicMap.yp);
|
|
1168
1168
|
if (m.isEmpty) {
|
|
1169
|
-
m = XamGeographicMap.
|
|
1169
|
+
m = XamGeographicMap.yp;
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
1172
|
return m;
|
|
1173
1173
|
};
|
|
1174
|
-
XamGeographicMap.prototype.yk = function (a) {
|
|
1175
|
-
var b = this.wr.mf(a.x);
|
|
1176
|
-
var c = this.wt.mf(a.y);
|
|
1177
|
-
return { $type: Point_$type, x: b, y: c };
|
|
1178
|
-
};
|
|
1179
1174
|
XamGeographicMap.prototype.yl = function (a) {
|
|
1180
|
-
var b = this.
|
|
1181
|
-
var c = this.
|
|
1175
|
+
var b = this.ws.mf(a.x);
|
|
1176
|
+
var c = this.wu.mf(a.y);
|
|
1182
1177
|
return { $type: Point_$type, x: b, y: c };
|
|
1183
1178
|
};
|
|
1184
1179
|
XamGeographicMap.prototype.ym = function (a) {
|
|
1185
|
-
|
|
1180
|
+
var b = this.ws.e6(a.x);
|
|
1181
|
+
var c = this.wu.e6(a.y);
|
|
1182
|
+
return { $type: Point_$type, x: b, y: c };
|
|
1186
1183
|
};
|
|
1187
|
-
XamGeographicMap.prototype.
|
|
1184
|
+
XamGeographicMap.prototype.yn = function (a) {
|
|
1185
|
+
return this.ym(a);
|
|
1186
|
+
};
|
|
1187
|
+
XamGeographicMap.prototype.xw = 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.x2 = function (a) {
|
|
1194
1194
|
};
|
|
1195
1195
|
XamGeographicMap.prototype.gg = function () {
|
|
1196
1196
|
return true;
|
|
1197
1197
|
};
|
|
1198
|
-
XamGeographicMap.prototype.
|
|
1198
|
+
XamGeographicMap.prototype.x4 = function () {
|
|
1199
1199
|
var e_1, _a;
|
|
1200
|
-
this.
|
|
1200
|
+
this.w4.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,71 +1218,71 @@ 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.x7 = function () {
|
|
1222
|
+
if (this.w3 == 2) {
|
|
1223
|
+
if (!this.wk.isEmpty && this.wk.width > 0 && this.wk.height > 0) {
|
|
1224
|
+
var a = this.ws.mf(this.wk.left + (this.wk.width / 2));
|
|
1225
|
+
var b = this.wu.mf(this.wk.top + (this.wk.height / 2));
|
|
1226
|
+
this.yk = { $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.wk.isEmpty && this.wk.width > 0 && this.wk.height > 0) {
|
|
1231
|
+
var c = this.ws.mf(this.wk.left);
|
|
1232
|
+
var d = this.wu.mf(this.wk.top);
|
|
1233
|
+
this.yk = { $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.x3 = function () {
|
|
1238
|
+
if (isNaN_(this.yk.x) || isNaN_(this.yk.y)) {
|
|
1239
|
+
this.x7();
|
|
1240
1240
|
}
|
|
1241
|
-
var a = this.
|
|
1242
|
-
var b = this.
|
|
1241
|
+
var a = this.yk.x;
|
|
1242
|
+
var b = this.yk.y;
|
|
1243
1243
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1244
1244
|
var c = this.v4.left;
|
|
1245
1245
|
var d = this.v4.top;
|
|
1246
1246
|
var e = this.v4.width;
|
|
1247
1247
|
var f = this.v4.height;
|
|
1248
|
-
if (e > this.
|
|
1248
|
+
if (e > this.yr.width) {
|
|
1249
1249
|
}
|
|
1250
1250
|
else {
|
|
1251
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1251
|
+
var g = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.ws.ch);
|
|
1252
1252
|
g.c = this.v8;
|
|
1253
|
-
var h = this.
|
|
1254
|
-
if (this.
|
|
1255
|
-
var i = h / this.
|
|
1253
|
+
var h = this.ws.el(a, g);
|
|
1254
|
+
if (this.w3 == 2) {
|
|
1255
|
+
var i = h / this.wk.width;
|
|
1256
1256
|
c = i - (e / 2);
|
|
1257
1257
|
}
|
|
1258
1258
|
else {
|
|
1259
|
-
c = h / this.
|
|
1259
|
+
c = h / this.wk.width;
|
|
1260
1260
|
}
|
|
1261
|
-
if (c + e > this.
|
|
1262
|
-
c = this.
|
|
1261
|
+
if (c + e > this.yr.right) {
|
|
1262
|
+
c = this.yr.right - e;
|
|
1263
1263
|
}
|
|
1264
|
-
else if (c < this.
|
|
1265
|
-
c = this.
|
|
1264
|
+
else if (c < this.yr.left) {
|
|
1265
|
+
c = this.yr.left;
|
|
1266
1266
|
}
|
|
1267
1267
|
}
|
|
1268
|
-
if (f > this.
|
|
1268
|
+
if (f > this.yr.height) {
|
|
1269
1269
|
}
|
|
1270
1270
|
else {
|
|
1271
|
-
var j = new ScalerParams(1, XamGeographicMap.
|
|
1271
|
+
var j = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.wu.ch);
|
|
1272
1272
|
j.c = this.v8;
|
|
1273
|
-
var k = this.
|
|
1274
|
-
if (this.
|
|
1275
|
-
var l = k / this.
|
|
1273
|
+
var k = this.wu.el(b, j);
|
|
1274
|
+
if (this.w3 == 2) {
|
|
1275
|
+
var l = k / this.wk.height;
|
|
1276
1276
|
d = l - (f / 2);
|
|
1277
1277
|
}
|
|
1278
1278
|
else {
|
|
1279
|
-
d = k / this.
|
|
1279
|
+
d = k / this.wk.height;
|
|
1280
1280
|
}
|
|
1281
|
-
if (d + f > this.
|
|
1282
|
-
d = this.
|
|
1281
|
+
if (d + f > this.yr.bottom) {
|
|
1282
|
+
d = this.yr.bottom - f;
|
|
1283
1283
|
}
|
|
1284
|
-
else if (d < this.
|
|
1285
|
-
d = this.
|
|
1284
|
+
else if (d < this.yr.top) {
|
|
1285
|
+
d = this.yr.top;
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
this.rx(new Rect(0, c, d, e, f), false);
|
|
@@ -1293,53 +1293,53 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1293
1293
|
};
|
|
1294
1294
|
XamGeographicMap.prototype.v5 = function () {
|
|
1295
1295
|
var a = _super.prototype.v5.call(this);
|
|
1296
|
-
if (this.
|
|
1296
|
+
if (this.ws == null || this.wu == null) {
|
|
1297
1297
|
return a;
|
|
1298
1298
|
}
|
|
1299
1299
|
this.wf();
|
|
1300
1300
|
var b = a.left;
|
|
1301
1301
|
var c = a.top;
|
|
1302
1302
|
if (this.cr == 1) {
|
|
1303
|
-
if (this.
|
|
1304
|
-
b = 0.5 - (this.
|
|
1303
|
+
if (this.wl.width > this.yr.width) {
|
|
1304
|
+
b = 0.5 - (this.wl.width / 2);
|
|
1305
1305
|
}
|
|
1306
|
-
else if (b + a.width > this.
|
|
1307
|
-
b = this.
|
|
1306
|
+
else if (b + a.width > this.yr.right) {
|
|
1307
|
+
b = this.yr.right - this.wl.width;
|
|
1308
1308
|
}
|
|
1309
|
-
else if (b < this.
|
|
1310
|
-
b = this.
|
|
1309
|
+
else if (b < this.yr.left) {
|
|
1310
|
+
b = this.yr.left;
|
|
1311
1311
|
}
|
|
1312
|
-
if (this.
|
|
1313
|
-
c = 0.5 - (this.
|
|
1312
|
+
if (this.wl.height > this.yr.height) {
|
|
1313
|
+
c = 0.5 - (this.wl.height / 2);
|
|
1314
1314
|
}
|
|
1315
|
-
else if (c + this.
|
|
1316
|
-
c = this.
|
|
1315
|
+
else if (c + this.wl.height > this.yr.bottom) {
|
|
1316
|
+
c = this.yr.bottom - this.wl.height;
|
|
1317
1317
|
}
|
|
1318
|
-
else if (c < this.
|
|
1319
|
-
c = this.
|
|
1318
|
+
else if (c < this.yr.top) {
|
|
1319
|
+
c = this.yr.top;
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
1322
|
var d = false;
|
|
1323
|
-
if (!this.
|
|
1323
|
+
if (!this.w9 && this.cr == 2 && this.w6) {
|
|
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.yr.right) > 0 && ((a.right - this.yr.right) / a.width) > 0.8) {
|
|
1331
|
+
b = this.yr.left - (a.width - (a.right - this.yr.right));
|
|
1332
1332
|
d = true;
|
|
1333
1333
|
}
|
|
1334
|
-
else if (a.left < this.
|
|
1335
|
-
b = this.
|
|
1334
|
+
else if (a.left < this.yr.left && (Math.abs(a.left - this.yr.left) / a.width) > 0.8) {
|
|
1335
|
+
b = this.yr.right - (Math.abs(a.left - this.yr.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.w9) {
|
|
1341
|
+
var f = this.yu(this.y5, 1);
|
|
1342
|
+
f = this.yw(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) {
|
|
@@ -1375,7 +1375,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
if (d) {
|
|
1377
1377
|
this.ez = true;
|
|
1378
|
-
this.
|
|
1378
|
+
this.wl = e;
|
|
1379
1379
|
this.ez = false;
|
|
1380
1380
|
}
|
|
1381
1381
|
return e;
|
|
@@ -1401,31 +1401,31 @@ 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.wr.el(-180, b);
|
|
1405
|
+
var j = this.wr.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.wr.el(-180, b);
|
|
1410
|
+
var l = this.wr.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
1416
|
XamGeographicMap.prototype.wf = function () {
|
|
1417
|
-
var a = new ScalerParams(1, XamGeographicMap.
|
|
1417
|
+
var a = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.ws.ch);
|
|
1418
1418
|
a.c = this.v8;
|
|
1419
|
-
var b = new ScalerParams(1, XamGeographicMap.
|
|
1419
|
+
var b = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.wu.ch);
|
|
1420
1420
|
b.c = this.v8;
|
|
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.
|
|
1421
|
+
var c = this.ws.el(XamGeographicMap.yp.left, a);
|
|
1422
|
+
var d = this.ws.el(XamGeographicMap.yp.right, a);
|
|
1423
|
+
var e = this.wu.el(XamGeographicMap.yp.top, b);
|
|
1424
|
+
var f = this.wu.el(XamGeographicMap.yp.bottom, b);
|
|
1425
|
+
this.yr = new Rect(0, c / this.wk.width, f / this.wk.height, (d - c) / this.wk.width, (e - f) / this.wk.height);
|
|
1426
|
+
return this.yr;
|
|
1427
|
+
};
|
|
1428
|
+
XamGeographicMap.prototype.yw = function (a) {
|
|
1429
1429
|
var b = this.hm;
|
|
1430
1430
|
var c = 0.5 * (a.left + a.right);
|
|
1431
1431
|
var d = 0.5 * (a.top + a.bottom);
|
|
@@ -1433,7 +1433,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
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.wk;
|
|
1437
1437
|
var j = i.width / i.height;
|
|
1438
1438
|
var k = g * i.width;
|
|
1439
1439
|
var l = h * i.height;
|
|
@@ -1473,7 +1473,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1473
1473
|
return new Rect(0, p, q, r - p, s - q);
|
|
1474
1474
|
};
|
|
1475
1475
|
XamGeographicMap.prototype.v6 = function (a) {
|
|
1476
|
-
_super.prototype.v6.call(this, this.
|
|
1476
|
+
_super.prototype.v6.call(this, this.wk);
|
|
1477
1477
|
if (a.isEmpty) {
|
|
1478
1478
|
return Rect.empty;
|
|
1479
1479
|
}
|
|
@@ -1488,62 +1488,62 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
return b;
|
|
1490
1490
|
};
|
|
1491
|
-
XamGeographicMap.prototype.
|
|
1491
|
+
XamGeographicMap.prototype.yy = function (a) {
|
|
1492
1492
|
return this.v6(a);
|
|
1493
1493
|
};
|
|
1494
1494
|
XamGeographicMap.prototype.c8 = function () {
|
|
1495
1495
|
return new XamGeographicMapView(this);
|
|
1496
1496
|
};
|
|
1497
|
-
XamGeographicMap.prototype.
|
|
1497
|
+
XamGeographicMap.prototype.xy = function (a) {
|
|
1498
1498
|
if (a != null) {
|
|
1499
1499
|
a.bi = this;
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
1502
|
XamGeographicMap.prototype.p5 = function (a) {
|
|
1503
1503
|
_super.prototype.p5.call(this, a);
|
|
1504
|
-
this.
|
|
1504
|
+
this.w4 = a;
|
|
1505
1505
|
};
|
|
1506
1506
|
XamGeographicMap.prototype.qg = function (a, b) {
|
|
1507
1507
|
_super.prototype.qg.call(this, a, b);
|
|
1508
|
-
this.rl(this.
|
|
1509
|
-
this.rl(this.
|
|
1508
|
+
this.rl(this.ws);
|
|
1509
|
+
this.rl(this.wu);
|
|
1510
1510
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1511
|
-
this.
|
|
1511
|
+
this.x3();
|
|
1512
1512
|
}
|
|
1513
|
-
if (this.
|
|
1513
|
+
if (this.w9) {
|
|
1514
1514
|
this.v4 = this.v5();
|
|
1515
1515
|
}
|
|
1516
|
-
this.
|
|
1516
|
+
this.ya();
|
|
1517
1517
|
};
|
|
1518
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1518
|
+
Object.defineProperty(XamGeographicMap.prototype, "xe", {
|
|
1519
1519
|
get: function () {
|
|
1520
|
-
return this.
|
|
1520
|
+
return this.xc;
|
|
1521
1521
|
},
|
|
1522
1522
|
set: function (a) {
|
|
1523
|
-
var b = this.
|
|
1524
|
-
this.
|
|
1525
|
-
this.qm("ActualWindowScale", b, this.
|
|
1523
|
+
var b = this.xc;
|
|
1524
|
+
this.xc = a;
|
|
1525
|
+
this.qm("ActualWindowScale", b, this.xc);
|
|
1526
1526
|
},
|
|
1527
1527
|
enumerable: false,
|
|
1528
1528
|
configurable: true
|
|
1529
1529
|
});
|
|
1530
1530
|
XamGeographicMap.prototype.hs = function () {
|
|
1531
|
-
return this.
|
|
1531
|
+
return this.xe;
|
|
1532
1532
|
};
|
|
1533
1533
|
XamGeographicMap.prototype.ht = function () {
|
|
1534
|
-
return this.
|
|
1534
|
+
return this.xe;
|
|
1535
1535
|
};
|
|
1536
1536
|
XamGeographicMap.prototype.rk = function () {
|
|
1537
1537
|
_super.prototype.rk.call(this);
|
|
1538
1538
|
var a = Math.min(this.v4.width, this.v4.height);
|
|
1539
|
-
this.
|
|
1539
|
+
this.xe = a;
|
|
1540
1540
|
};
|
|
1541
1541
|
XamGeographicMap.prototype.f4 = function () {
|
|
1542
|
-
return this.
|
|
1542
|
+
return this.w6;
|
|
1543
1543
|
};
|
|
1544
1544
|
XamGeographicMap.prototype.cs = function () {
|
|
1545
1545
|
if (this.ct == 0) {
|
|
1546
|
-
if (this.
|
|
1546
|
+
if (this.w7) {
|
|
1547
1547
|
return 2;
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
@@ -1554,65 +1554,65 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1554
1554
|
_super.prototype.qh.call(this, a, b, c, d);
|
|
1555
1555
|
switch (b) {
|
|
1556
1556
|
case "ZoomCoercionMode":
|
|
1557
|
-
this.
|
|
1557
|
+
this.xz();
|
|
1558
1558
|
break;
|
|
1559
1559
|
case "WindowRect":
|
|
1560
|
-
this.
|
|
1560
|
+
this.x7();
|
|
1561
1561
|
break;
|
|
1562
1562
|
case XamGeographicMap.$$p[0]:
|
|
1563
|
-
this.
|
|
1564
|
-
if (this.
|
|
1565
|
-
this.
|
|
1563
|
+
this.w0 = this.w1();
|
|
1564
|
+
if (this.wx != null) {
|
|
1565
|
+
this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
|
|
1566
1566
|
}
|
|
1567
1567
|
break;
|
|
1568
1568
|
case XamGeographicMap.$$p[1]:
|
|
1569
|
-
this.
|
|
1570
|
-
this.
|
|
1569
|
+
this.w6 = this.w7;
|
|
1570
|
+
this.w0 = this.w1();
|
|
1571
1571
|
this.cr = this.cs();
|
|
1572
|
-
if (this.
|
|
1573
|
-
this.
|
|
1572
|
+
if (this.wx != null) {
|
|
1573
|
+
this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
|
|
1574
1574
|
}
|
|
1575
1575
|
break;
|
|
1576
1576
|
case XamGeographicMap.$$p[4]:
|
|
1577
1577
|
this.v4 = this.v5();
|
|
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.wx != null) {
|
|
1581
|
+
var e = this.wx;
|
|
1582
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.x0));
|
|
1583
|
+
this.wx.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.wx = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1586
|
+
if (this.wx != null) {
|
|
1587
|
+
var f = this.wx;
|
|
1588
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.x0));
|
|
1589
|
+
this.wx.deferralHandler = this;
|
|
1590
|
+
this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
|
|
1591
1591
|
}
|
|
1592
|
-
this.
|
|
1593
|
-
if (this.
|
|
1594
|
-
this.
|
|
1595
|
-
this.
|
|
1596
|
-
this.
|
|
1592
|
+
this.w4.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1593
|
+
if (this.wx != null) {
|
|
1594
|
+
this.wx.geographicMap = this;
|
|
1595
|
+
this.w4.fr(this.v4);
|
|
1596
|
+
this.w4.fv(this.hi);
|
|
1597
1597
|
}
|
|
1598
1598
|
break;
|
|
1599
1599
|
case "YAxis":
|
|
1600
1600
|
case "XAxis":
|
|
1601
|
-
this.
|
|
1602
|
-
this.
|
|
1601
|
+
this.x5(c);
|
|
1602
|
+
this.xy(d);
|
|
1603
1603
|
break;
|
|
1604
1604
|
case XamGeographicMap.$$p[6]:
|
|
1605
|
-
if (!this.
|
|
1606
|
-
this.
|
|
1605
|
+
if (!this.w8) {
|
|
1606
|
+
this.wl = XamGeographicMap.ys;
|
|
1607
1607
|
}
|
|
1608
|
-
this.
|
|
1609
|
-
this.x5();
|
|
1608
|
+
this.xz();
|
|
1610
1609
|
this.x6();
|
|
1610
|
+
this.x7();
|
|
1611
1611
|
this.v4 = this.v5();
|
|
1612
|
-
this.
|
|
1612
|
+
this.w4.fs();
|
|
1613
1613
|
break;
|
|
1614
1614
|
case "ActualWindowRect":
|
|
1615
|
-
this.
|
|
1615
|
+
this.w4.fr(this.v4);
|
|
1616
1616
|
break;
|
|
1617
1617
|
case "ActualWorldRect":
|
|
1618
1618
|
try {
|
|
@@ -1636,7 +1636,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
break;
|
|
1638
1638
|
case XamGeographicMap.$$p[5]:
|
|
1639
|
-
this.
|
|
1639
|
+
this.xe = this.xf;
|
|
1640
1640
|
break;
|
|
1641
1641
|
case "ActualWindowScale":
|
|
1642
1642
|
if (!this.gc) {
|
|
@@ -1644,7 +1644,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
break;
|
|
1646
1646
|
case "ActualPixelScalingRatio":
|
|
1647
|
-
this.
|
|
1647
|
+
this.w4.fv(this.hi);
|
|
1648
1648
|
break;
|
|
1649
1649
|
case "WindowRectMinWidth":
|
|
1650
1650
|
case "WindowRectMinHeight":
|
|
@@ -1684,37 +1684,37 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1684
1684
|
break;
|
|
1685
1685
|
}
|
|
1686
1686
|
};
|
|
1687
|
-
XamGeographicMap.prototype.
|
|
1687
|
+
XamGeographicMap.prototype.x0 = 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.x5 = 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.x6 = function () {
|
|
1698
|
+
if (this.ws != null) {
|
|
1699
|
+
this.ws.mc = this.yt.left;
|
|
1700
|
+
this.ws.mb = this.yt.right;
|
|
1701
1701
|
}
|
|
1702
|
-
if (this.
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1702
|
+
if (this.wu != null) {
|
|
1703
|
+
this.wu.mc = this.yt.top;
|
|
1704
|
+
this.wu.mb = this.yt.bottom;
|
|
1705
1705
|
}
|
|
1706
|
-
this.
|
|
1707
|
-
this.
|
|
1706
|
+
this.ws.c2(true);
|
|
1707
|
+
this.wu.c2(true);
|
|
1708
1708
|
};
|
|
1709
1709
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
1710
|
-
this.
|
|
1711
|
-
return this.
|
|
1710
|
+
this.w5 = this.w4.fo;
|
|
1711
|
+
return this.w5;
|
|
1712
1712
|
};
|
|
1713
1713
|
XamGeographicMap.prototype.u8 = function () {
|
|
1714
|
-
return this.
|
|
1714
|
+
return this.w4.fw;
|
|
1715
1715
|
};
|
|
1716
1716
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
1717
|
-
return this.
|
|
1717
|
+
return this.w4.fx;
|
|
1718
1718
|
};
|
|
1719
1719
|
XamGeographicMap.prototype.rd = function (a, b) {
|
|
1720
1720
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
@@ -1737,20 +1737,20 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1737
1737
|
this.ni();
|
|
1738
1738
|
};
|
|
1739
1739
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
1740
|
-
if (this.
|
|
1741
|
-
this.
|
|
1740
|
+
if (this.xh != null) {
|
|
1741
|
+
this.xh.setTimeout(a, 0);
|
|
1742
1742
|
}
|
|
1743
1743
|
else {
|
|
1744
1744
|
window.setTimeout(a, 0);
|
|
1745
1745
|
}
|
|
1746
1746
|
};
|
|
1747
|
-
XamGeographicMap.prototype.
|
|
1747
|
+
XamGeographicMap.prototype.xx = function (a) {
|
|
1748
1748
|
this.rq(a);
|
|
1749
1749
|
};
|
|
1750
|
-
XamGeographicMap.prototype.
|
|
1750
|
+
XamGeographicMap.prototype.xi = function () {
|
|
1751
1751
|
var a = new ChartVisualData();
|
|
1752
|
-
var b = this.
|
|
1753
|
-
var c = this.
|
|
1752
|
+
var b = this.ws.fy();
|
|
1753
|
+
var c = this.wu.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.wk);
|
|
1762
|
+
a.centralArea = RectData.b(this.wk);
|
|
1763
|
+
a.plotArea = RectData.b(this.wk);
|
|
1764
1764
|
return a;
|
|
1765
1765
|
};
|
|
1766
1766
|
XamGeographicMap.prototype.wb = function (a, b, c) {
|
|
1767
1767
|
return a;
|
|
1768
1768
|
};
|
|
1769
|
-
XamGeographicMap.prototype.
|
|
1769
|
+
XamGeographicMap.prototype.x1 = function () {
|
|
1770
1770
|
};
|
|
1771
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1771
|
+
Object.defineProperty(XamGeographicMap.prototype, "y4", {
|
|
1772
1772
|
get: function () {
|
|
1773
|
-
return this.
|
|
1773
|
+
return this.yq;
|
|
1774
1774
|
},
|
|
1775
1775
|
set: function (a) {
|
|
1776
|
-
this.
|
|
1776
|
+
this.yq = a;
|
|
1777
1777
|
},
|
|
1778
1778
|
enumerable: false,
|
|
1779
1779
|
configurable: true
|
|
1780
1780
|
});
|
|
1781
|
-
XamGeographicMap.prototype.
|
|
1782
|
-
this.
|
|
1783
|
-
this.
|
|
1784
|
-
};
|
|
1785
|
-
XamGeographicMap.prototype.
|
|
1786
|
-
if (this.
|
|
1787
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
1788
|
-
this.
|
|
1781
|
+
XamGeographicMap.prototype.yb = function (a) {
|
|
1782
|
+
this.y4 = a;
|
|
1783
|
+
this.ya();
|
|
1784
|
+
};
|
|
1785
|
+
XamGeographicMap.prototype.ya = function () {
|
|
1786
|
+
if (this.xb && !this.y4.isEmpty) {
|
|
1787
|
+
var a = this.getZoomFromGeographicRect(this.y4);
|
|
1788
|
+
this.y4 = Rect.empty;
|
|
1789
1789
|
this.rx(a, false);
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
1792
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1792
|
+
Object.defineProperty(XamGeographicMap.prototype, "xb", {
|
|
1793
1793
|
get: function () {
|
|
1794
|
-
return !this.
|
|
1794
|
+
return !this.wk.isEmpty && !this.v8.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, 'qm', ['BackgroundTilingMode:
|
|
1800
|
+
XamGeographicMap.w2 = 0;
|
|
1801
|
+
XamGeographicMap.yp = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1802
|
+
XamGeographicMap.ys = new Rect(0, 0, 0, 1, 1);
|
|
1803
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'qm', ['BackgroundTilingMode:wz:yc', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:w7:yd', [0, false], 'ResizeBehavior:w3:ye', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.w2)], 'SuppressZoomResetOnWorldRectChange:w8:yf', [0, false], 'UseWorldRectForZoomBounds:w9:yg', [0, false], 'WindowScale:xf:yh', [1, NaN], 'WorldRect:y5:yi', [Rect.$, XamGeographicMap.yp], 'Zoomable:xa:yj', [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.yy(b);
|
|
1947
|
+
var d = XamGeographicMap.yp;
|
|
1948
|
+
var e = this.geographicMap.yt;
|
|
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.ws;
|
|
1953
|
+
var i = this.geographicMap.wu;
|
|
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.wx = null;
|
|
2070
2070
|
return;
|
|
2071
2071
|
}
|
|
2072
|
-
a.ww = this.ch.db.
|
|
2073
|
-
a.wx = this.ch.db.
|
|
2072
|
+
a.ww = this.ch.db.ws;
|
|
2073
|
+
a.wx = this.ch.db.wu;
|
|
2074
2074
|
};
|
|
2075
2075
|
GeographicXYTriangulatingSeriesView.prototype.cj = function () {
|
|
2076
2076
|
this.ch.wy.xy = this.ch.xa;
|
|
@@ -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.xx(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.wx != null) {
|
|
2220
|
+
this.fn.wx.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.wx != null) {
|
|
2225
|
+
this.fn.wx.windowRect = this.fn.v4;
|
|
2226
2226
|
}
|
|
2227
2227
|
if (a != null) {
|
|
2228
2228
|
var c = a.ao;
|
|
@@ -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.xa;
|
|
2777
2777
|
},
|
|
2778
2778
|
set: function (v) {
|
|
2779
|
-
this.i.
|
|
2779
|
+
this.i.xa = 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.w3;
|
|
2790
2790
|
},
|
|
2791
2791
|
set: function (v) {
|
|
2792
|
-
this.i.
|
|
2792
|
+
this.i.w3 = 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.w7;
|
|
2803
2803
|
},
|
|
2804
2804
|
set: function (v) {
|
|
2805
|
-
this.i.
|
|
2805
|
+
this.i.w7 = 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.wz;
|
|
2816
2816
|
},
|
|
2817
2817
|
set: function (v) {
|
|
2818
|
-
this.i.
|
|
2818
|
+
this.i.wz = 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.w9;
|
|
2829
2829
|
},
|
|
2830
2830
|
set: function (v) {
|
|
2831
|
-
this.i.
|
|
2831
|
+
this.i.w9 = 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.w8;
|
|
2842
2842
|
},
|
|
2843
2843
|
set: function (v) {
|
|
2844
|
-
this.i.
|
|
2844
|
+
this.i.w8 = 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.y5);
|
|
2855
2855
|
},
|
|
2856
2856
|
set: function (v) {
|
|
2857
|
-
this.i.
|
|
2857
|
+
this.i.y5 = 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.yt);
|
|
2868
2868
|
},
|
|
2869
2869
|
set: function (v) {
|
|
2870
|
-
this.i.
|
|
2870
|
+
this.i.yt = 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.ws;
|
|
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.ws = null : this.i.ws = 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.wu;
|
|
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.wu = null : this.i.wu = v.i;
|
|
2925
2925
|
},
|
|
2926
2926
|
enumerable: false,
|
|
2927
2927
|
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.xf;
|
|
2946
2946
|
},
|
|
2947
2947
|
set: function (v) {
|
|
2948
|
-
this.i.
|
|
2948
|
+
this.i.xf = +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.xe;
|
|
2960
2960
|
},
|
|
2961
2961
|
set: function (v) {
|
|
2962
|
-
this.i.
|
|
2962
|
+
this.i.xe = +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.xb;
|
|
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.yx();
|
|
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.x9(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.x8(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.yu(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.yz(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.yl(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.ym(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.yn(toPoint(geographicCoordinate));
|
|
3080
3080
|
return fromPoint(iv);
|
|
3081
3081
|
};
|
|
3082
3082
|
/**
|
|
@@ -3084,14 +3084,14 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3084
3084
|
|
|
3085
3085
|
*/
|
|
3086
3086
|
IgxGeographicMapComponent.prototype.clearTileCache = function () {
|
|
3087
|
-
this.i.
|
|
3087
|
+
this.i.xw();
|
|
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.x4();
|
|
3095
3095
|
};
|
|
3096
3096
|
/**
|
|
3097
3097
|
* Gets actual window scale for horizontal dimension of the control
|
|
@@ -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.xi();
|
|
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.yb(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.xe = null;
|
|
5688
5688
|
return;
|
|
5689
5689
|
}
|
|
5690
|
-
a.xc = this.ch.db.
|
|
5691
|
-
a.xe = this.ch.db.
|
|
5690
|
+
a.xc = this.ch.db.ws;
|
|
5691
|
+
a.xe = this.ch.db.wu;
|
|
5692
5692
|
};
|
|
5693
5693
|
GeographicShapeSeriesBaseView.prototype.ck = function () {
|
|
5694
5694
|
this.ch.wy.y5 = this.ch.xx;
|
|
@@ -7732,10 +7732,10 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7732
7732
|
this.ch.wy.z7 = this.ch.xa;
|
|
7733
7733
|
};
|
|
7734
7734
|
GeographicProportionalSymbolSeriesView.prototype.cy = function () {
|
|
7735
|
-
this.ch.wy.xAxis = this.ch.db.
|
|
7735
|
+
this.ch.wy.xAxis = this.ch.db.ws;
|
|
7736
7736
|
};
|
|
7737
7737
|
GeographicProportionalSymbolSeriesView.prototype.cz = function () {
|
|
7738
|
-
this.ch.wy.yAxis = this.ch.db.
|
|
7738
|
+
this.ch.wy.yAxis = this.ch.db.wu;
|
|
7739
7739
|
};
|
|
7740
7740
|
GeographicProportionalSymbolSeriesView.prototype.cx = function () {
|
|
7741
7741
|
var a = this.ch.wy;
|
|
@@ -7744,8 +7744,8 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7744
7744
|
a.yAxis = null;
|
|
7745
7745
|
return;
|
|
7746
7746
|
}
|
|
7747
|
-
a.xAxis = this.ch.db.
|
|
7748
|
-
a.yAxis = this.ch.db.
|
|
7747
|
+
a.xAxis = this.ch.db.ws;
|
|
7748
|
+
a.yAxis = this.ch.db.wu;
|
|
7749
7749
|
};
|
|
7750
7750
|
GeographicProportionalSymbolSeriesView.prototype.cr = function () {
|
|
7751
7751
|
this.ch.wy.yh = this.ch.x2;
|
|
@@ -8428,10 +8428,10 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8428
8428
|
this.ch.wy.z7 = this.ch.xa;
|
|
8429
8429
|
};
|
|
8430
8430
|
GeographicSymbolSeriesView.prototype.cs = function () {
|
|
8431
|
-
this.ch.wy.xAxis = this.ch.db.
|
|
8431
|
+
this.ch.wy.xAxis = this.ch.db.ws;
|
|
8432
8432
|
};
|
|
8433
8433
|
GeographicSymbolSeriesView.prototype.ct = function () {
|
|
8434
|
-
this.ch.wy.yAxis = this.ch.db.
|
|
8434
|
+
this.ch.wy.yAxis = this.ch.db.wu;
|
|
8435
8435
|
};
|
|
8436
8436
|
GeographicSymbolSeriesView.prototype.cr = function () {
|
|
8437
8437
|
var a = this.ch.wy;
|
|
@@ -8440,8 +8440,8 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8440
8440
|
a.yAxis = null;
|
|
8441
8441
|
return;
|
|
8442
8442
|
}
|
|
8443
|
-
a.xAxis = this.ch.db.
|
|
8444
|
-
a.yAxis = this.ch.db.
|
|
8443
|
+
a.xAxis = this.ch.db.ws;
|
|
8444
|
+
a.yAxis = this.ch.db.wu;
|
|
8445
8445
|
};
|
|
8446
8446
|
GeographicSymbolSeriesView.prototype.cl = function () {
|
|
8447
8447
|
this.ch.wy.yr = this.ch.x6;
|
|
@@ -9264,14 +9264,14 @@ var GeographicHighDensityScatterSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
9264
9264
|
a.w5 = null;
|
|
9265
9265
|
return;
|
|
9266
9266
|
}
|
|
9267
|
-
a.w3 = this.ch.db.
|
|
9268
|
-
a.w5 = this.ch.db.
|
|
9267
|
+
a.w3 = this.ch.db.ws;
|
|
9268
|
+
a.w5 = this.ch.db.wu;
|
|
9269
9269
|
};
|
|
9270
9270
|
GeographicHighDensityScatterSeriesView.prototype.ct = function () {
|
|
9271
|
-
this.ch.wy.w3 = this.ch.db.
|
|
9271
|
+
this.ch.wy.w3 = this.ch.db.ws;
|
|
9272
9272
|
};
|
|
9273
9273
|
GeographicHighDensityScatterSeriesView.prototype.cu = function () {
|
|
9274
|
-
this.ch.wy.w5 = this.ch.db.
|
|
9274
|
+
this.ch.wy.w5 = this.ch.db.wu;
|
|
9275
9275
|
};
|
|
9276
9276
|
GeographicHighDensityScatterSeriesView.prototype.ck = function () {
|
|
9277
9277
|
this.ch.wy.aad = this.ch.x6;
|