igniteui-angular-maps 17.0.0-beta.0 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-maps.umd.js +418 -418
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +366 -366
- package/esm2015/lib/igx-geographic-map-component.js +40 -40
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +360 -360
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/fesm2015/igniteui-angular-maps.js +424 -424
- package/fesm5/igniteui-angular-maps.js +418 -418
- package/lib/XamGeographicMap_combined.d.ts +78 -78
- package/package.json +5 -5
|
@@ -612,10 +612,10 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
612
612
|
case "SeriesViewer":
|
|
613
613
|
this.qe.ce = this.ce;
|
|
614
614
|
if (c != null) {
|
|
615
|
-
c.
|
|
615
|
+
c.o0(this.qe);
|
|
616
616
|
}
|
|
617
617
|
if (d != null) {
|
|
618
|
-
this.ce.
|
|
618
|
+
this.ce.lp(this.qe);
|
|
619
619
|
}
|
|
620
620
|
this.qe.mc(this.p7);
|
|
621
621
|
this.qe.index = this.index;
|
|
@@ -714,7 +714,7 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
714
714
|
return;
|
|
715
715
|
}
|
|
716
716
|
if (!isNaN_(this.qg)) {
|
|
717
|
-
if (this.ce.
|
|
717
|
+
if (this.ce.tk.width > this.qg) {
|
|
718
718
|
var hs_ = this.qe;
|
|
719
719
|
var v_ = 1;
|
|
720
720
|
hs_.visibility = v_;
|
|
@@ -876,22 +876,22 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
876
876
|
__extends(XamGeographicMap, _super);
|
|
877
877
|
function XamGeographicMap() {
|
|
878
878
|
var _this = _super.call(this) || this;
|
|
879
|
-
_this.
|
|
880
|
-
_this.
|
|
881
|
-
_this.
|
|
882
|
-
_this.
|
|
883
|
-
_this.
|
|
884
|
-
_this.
|
|
885
|
-
_this.
|
|
886
|
-
_this.
|
|
887
|
-
_this.
|
|
888
|
-
_this.
|
|
889
|
-
_this.
|
|
890
|
-
_this.
|
|
879
|
+
_this.uw = null;
|
|
880
|
+
_this.ul = false;
|
|
881
|
+
_this.ud = 1;
|
|
882
|
+
_this.us = 0;
|
|
883
|
+
_this.v3 = null;
|
|
884
|
+
_this.ua = null;
|
|
885
|
+
_this.t6 = null;
|
|
886
|
+
_this.t8 = null;
|
|
887
|
+
_this.uc = null;
|
|
888
|
+
_this.vz = { $type: Point_$type, x: NaN, y: NaN };
|
|
889
|
+
_this.v6 = null;
|
|
890
|
+
_this.ur = 1;
|
|
891
891
|
_this.imageTilesReady = null;
|
|
892
|
-
_this.
|
|
893
|
-
_this.
|
|
894
|
-
_this.
|
|
892
|
+
_this.uk = null;
|
|
893
|
+
_this.v5 = Rect.empty;
|
|
894
|
+
_this.us = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
895
895
|
_this.ab = XamGeographicMap.$;
|
|
896
896
|
_this.backgroundContent = new OpenStreetMapImagery();
|
|
897
897
|
var a = ((function () {
|
|
@@ -900,79 +900,79 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
900
900
|
return $ret;
|
|
901
901
|
})());
|
|
902
902
|
a.cf = true;
|
|
903
|
-
_this.
|
|
904
|
-
_this.
|
|
903
|
+
_this.t7 = a;
|
|
904
|
+
_this.t7.nl = new SphericalMercatorHorizontalScaler();
|
|
905
905
|
var b = ((function () {
|
|
906
906
|
var $ret = new NumericYAxis();
|
|
907
907
|
$ret.bi = _this;
|
|
908
908
|
return $ret;
|
|
909
909
|
})());
|
|
910
910
|
b.cf = true;
|
|
911
|
-
_this.
|
|
912
|
-
_this.
|
|
913
|
-
_this.
|
|
914
|
-
_this.
|
|
915
|
-
_this.
|
|
911
|
+
_this.t9 = b;
|
|
912
|
+
_this.t9.nl = new SphericalMercatorVerticalScaler();
|
|
913
|
+
_this.ve();
|
|
914
|
+
_this.vl();
|
|
915
|
+
_this.mb();
|
|
916
916
|
return _this;
|
|
917
917
|
}
|
|
918
918
|
XamGeographicMap.prototype.provideContainer = function (a) {
|
|
919
919
|
_super.prototype.provideContainer.call(this, a);
|
|
920
|
-
this.
|
|
921
|
-
this.
|
|
920
|
+
this.t7.provideRenderer(a);
|
|
921
|
+
this.t9.provideRenderer(a);
|
|
922
922
|
};
|
|
923
|
-
XamGeographicMap.prototype.
|
|
924
|
-
_super.prototype.
|
|
925
|
-
this.
|
|
926
|
-
};
|
|
927
|
-
XamGeographicMap.prototype.es = function () {
|
|
928
|
-
return this.uo;
|
|
923
|
+
XamGeographicMap.prototype.mb = function () {
|
|
924
|
+
_super.prototype.mb.call(this);
|
|
925
|
+
this.uj.fv(this.gg);
|
|
929
926
|
};
|
|
930
927
|
XamGeographicMap.prototype.et = function () {
|
|
931
|
-
return this.
|
|
928
|
+
return this.up;
|
|
929
|
+
};
|
|
930
|
+
XamGeographicMap.prototype.eu = function () {
|
|
931
|
+
return this.up;
|
|
932
932
|
};
|
|
933
|
-
XamGeographicMap.prototype.
|
|
934
|
-
if (this.
|
|
935
|
-
if (this.
|
|
933
|
+
XamGeographicMap.prototype.ug = function () {
|
|
934
|
+
if (this.ue == 0) {
|
|
935
|
+
if (this.ul) {
|
|
936
936
|
return 2;
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
return 1;
|
|
940
940
|
};
|
|
941
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
941
|
+
Object.defineProperty(XamGeographicMap.prototype, "uf", {
|
|
942
942
|
get: function () {
|
|
943
|
-
return this.
|
|
943
|
+
return this.ud;
|
|
944
944
|
},
|
|
945
945
|
set: function (a) {
|
|
946
|
-
this.
|
|
946
|
+
this.ud = a;
|
|
947
947
|
},
|
|
948
948
|
enumerable: false,
|
|
949
949
|
configurable: true
|
|
950
950
|
});
|
|
951
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
951
|
+
Object.defineProperty(XamGeographicMap.prototype, "v8", {
|
|
952
952
|
get: function () {
|
|
953
|
-
return this.
|
|
953
|
+
return this.v3;
|
|
954
954
|
},
|
|
955
955
|
set: function (a) {
|
|
956
|
-
var b = Rect.l_op_Inequality(this.
|
|
956
|
+
var b = Rect.l_op_Inequality(this.v3, a);
|
|
957
957
|
if (b) {
|
|
958
|
-
var c = this.
|
|
959
|
-
this.
|
|
960
|
-
this.
|
|
958
|
+
var c = this.v3;
|
|
959
|
+
this.v3 = a;
|
|
960
|
+
this.oj("ActualWorldRect", c, a);
|
|
961
961
|
}
|
|
962
962
|
},
|
|
963
963
|
enumerable: false,
|
|
964
964
|
configurable: true
|
|
965
965
|
});
|
|
966
|
-
XamGeographicMap.prototype.
|
|
967
|
-
return this.
|
|
966
|
+
XamGeographicMap.prototype.wc = function () {
|
|
967
|
+
return this.v8;
|
|
968
968
|
};
|
|
969
|
-
XamGeographicMap.prototype.
|
|
970
|
-
if (this.
|
|
969
|
+
XamGeographicMap.prototype.ve = function () {
|
|
970
|
+
if (this.wk.isEmpty) {
|
|
971
971
|
return;
|
|
972
972
|
}
|
|
973
|
-
this.
|
|
973
|
+
this.v8 = this.wi(this.wk, this.cd == 1);
|
|
974
974
|
};
|
|
975
|
-
XamGeographicMap.prototype.
|
|
975
|
+
XamGeographicMap.prototype.wi = function (a, b) {
|
|
976
976
|
var c = a.top;
|
|
977
977
|
var d = a.left;
|
|
978
978
|
var e = a.width;
|
|
@@ -980,25 +980,25 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
980
980
|
var g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
981
981
|
var h = SphericalMercatorVerticalScaler.am(a.top);
|
|
982
982
|
var i = g - h;
|
|
983
|
-
var j = a.width / XamGeographicMap.
|
|
984
|
-
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
983
|
+
var j = a.width / XamGeographicMap.v4.width;
|
|
984
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.v4.top);
|
|
985
985
|
var l = i / j;
|
|
986
|
-
if (i / j > this.
|
|
987
|
-
var m = i / this.
|
|
986
|
+
if (i / j > this.us) {
|
|
987
|
+
var m = i / this.us;
|
|
988
988
|
var n = m - j;
|
|
989
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
990
|
-
e = m * XamGeographicMap.
|
|
989
|
+
d = d - (n / 2) * XamGeographicMap.v4.width;
|
|
990
|
+
e = m * XamGeographicMap.v4.width;
|
|
991
991
|
if (b) {
|
|
992
|
-
if (d < XamGeographicMap.
|
|
993
|
-
d += (XamGeographicMap.
|
|
992
|
+
if (d < XamGeographicMap.v4.left) {
|
|
993
|
+
d += (XamGeographicMap.v4.left - d);
|
|
994
994
|
}
|
|
995
|
-
else if ((d + e) > XamGeographicMap.
|
|
996
|
-
d -= ((d + e) - XamGeographicMap.
|
|
995
|
+
else if ((d + e) > XamGeographicMap.v4.right) {
|
|
996
|
+
d -= ((d + e) - XamGeographicMap.v4.right);
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
-
else if (i / j < this.
|
|
1001
|
-
var o = this.
|
|
1000
|
+
else if (i / j < this.us) {
|
|
1001
|
+
var o = this.us * j;
|
|
1002
1002
|
var p = o - i;
|
|
1003
1003
|
var q = h - (p / 2);
|
|
1004
1004
|
var r = g + (p / 2);
|
|
@@ -1007,9 +1007,9 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1007
1007
|
q += (k - q);
|
|
1008
1008
|
r += (k - q);
|
|
1009
1009
|
}
|
|
1010
|
-
else if (r > (k + this.
|
|
1011
|
-
q -= ((r) - (k + this.
|
|
1012
|
-
r -= ((r) - (k + this.
|
|
1010
|
+
else if (r > (k + this.us)) {
|
|
1011
|
+
q -= ((r) - (k + this.us));
|
|
1012
|
+
r -= ((r) - (k + this.us));
|
|
1013
1013
|
}
|
|
1014
1014
|
}
|
|
1015
1015
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -1020,44 +1020,44 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1020
1020
|
};
|
|
1021
1021
|
Object.defineProperty(XamGeographicMap.prototype, "backgroundContent", {
|
|
1022
1022
|
get: function () {
|
|
1023
|
-
return this.
|
|
1023
|
+
return this.ua;
|
|
1024
1024
|
},
|
|
1025
1025
|
set: function (a) {
|
|
1026
1026
|
var b = a != this.backgroundContent;
|
|
1027
1027
|
if (b) {
|
|
1028
1028
|
var c = this.backgroundContent;
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1029
|
+
this.ua = a;
|
|
1030
|
+
this.oj("BackgroundContent", c, a);
|
|
1031
1031
|
}
|
|
1032
1032
|
},
|
|
1033
1033
|
enumerable: false,
|
|
1034
1034
|
configurable: true
|
|
1035
1035
|
});
|
|
1036
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1036
|
+
Object.defineProperty(XamGeographicMap.prototype, "t7", {
|
|
1037
1037
|
get: function () {
|
|
1038
|
-
return this.
|
|
1038
|
+
return this.t6;
|
|
1039
1039
|
},
|
|
1040
1040
|
set: function (a) {
|
|
1041
|
-
var b = a != this.
|
|
1041
|
+
var b = a != this.t7;
|
|
1042
1042
|
if (b) {
|
|
1043
|
-
var c = this.
|
|
1044
|
-
this.
|
|
1045
|
-
this.
|
|
1043
|
+
var c = this.t7;
|
|
1044
|
+
this.t6 = a;
|
|
1045
|
+
this.oj("XAxis", c, a);
|
|
1046
1046
|
}
|
|
1047
1047
|
},
|
|
1048
1048
|
enumerable: false,
|
|
1049
1049
|
configurable: true
|
|
1050
1050
|
});
|
|
1051
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1051
|
+
Object.defineProperty(XamGeographicMap.prototype, "t9", {
|
|
1052
1052
|
get: function () {
|
|
1053
|
-
return this.
|
|
1053
|
+
return this.t8;
|
|
1054
1054
|
},
|
|
1055
1055
|
set: function (a) {
|
|
1056
|
-
var b = a != this.
|
|
1056
|
+
var b = a != this.t9;
|
|
1057
1057
|
if (b) {
|
|
1058
|
-
var c = this.
|
|
1059
|
-
this.
|
|
1060
|
-
this.
|
|
1058
|
+
var c = this.t9;
|
|
1059
|
+
this.t8 = a;
|
|
1060
|
+
this.oj("YAxis", c, a);
|
|
1061
1061
|
}
|
|
1062
1062
|
},
|
|
1063
1063
|
enumerable: false,
|
|
@@ -1066,41 +1066,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1066
1066
|
XamGeographicMap.prototype.getZoomRectFromGeoRect = function (a) {
|
|
1067
1067
|
return this.getZoomFromGeographicRect(a);
|
|
1068
1068
|
};
|
|
1069
|
-
XamGeographicMap.prototype.
|
|
1070
|
-
this.
|
|
1069
|
+
XamGeographicMap.prototype.vo = function (a) {
|
|
1070
|
+
this.t0 = a;
|
|
1071
1071
|
};
|
|
1072
|
-
XamGeographicMap.prototype.
|
|
1073
|
-
this.
|
|
1072
|
+
XamGeographicMap.prototype.vn = function (a) {
|
|
1073
|
+
this.wk = a;
|
|
1074
1074
|
};
|
|
1075
1075
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
1076
|
-
return this.
|
|
1076
|
+
return this.wa(a, true, 0);
|
|
1077
1077
|
};
|
|
1078
|
-
XamGeographicMap.prototype.
|
|
1079
|
-
return this.
|
|
1078
|
+
XamGeographicMap.prototype.v9 = function (a, b) {
|
|
1079
|
+
return this.wa(a, false, b);
|
|
1080
1080
|
};
|
|
1081
|
-
XamGeographicMap.prototype.
|
|
1081
|
+
XamGeographicMap.prototype.wa = function (a, b, c) {
|
|
1082
1082
|
var d = a;
|
|
1083
1083
|
if (b) {
|
|
1084
|
-
d = this.
|
|
1085
|
-
}
|
|
1086
|
-
var e = this.
|
|
1087
|
-
var f = this.
|
|
1088
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1089
|
-
g.c = this.
|
|
1090
|
-
var h = new ScalerParams(1, XamGeographicMap.
|
|
1091
|
-
h.c = this.
|
|
1092
|
-
var i = this.
|
|
1093
|
-
var j = this.
|
|
1094
|
-
var k = this.
|
|
1095
|
-
var l = this.
|
|
1096
|
-
var m = (i - c) / this.
|
|
1097
|
-
var n = (l - c) / this.
|
|
1098
|
-
var o = (j - i + (c * 2)) / this.
|
|
1099
|
-
var p = (k - l + (c * 2)) / this.
|
|
1084
|
+
d = this.wi(a, false);
|
|
1085
|
+
}
|
|
1086
|
+
var e = this.t7;
|
|
1087
|
+
var f = this.t9;
|
|
1088
|
+
var g = new ScalerParams(1, XamGeographicMap.v7, this.tz, e.ch);
|
|
1089
|
+
g.c = this.to;
|
|
1090
|
+
var h = new ScalerParams(1, XamGeographicMap.v7, this.tz, f.ch);
|
|
1091
|
+
h.c = this.to;
|
|
1092
|
+
var i = this.t7.ej(d.left, g);
|
|
1093
|
+
var j = this.t7.ej(d.right, g);
|
|
1094
|
+
var k = this.t9.ej(d.top, h);
|
|
1095
|
+
var l = this.t9.ej(d.bottom, h);
|
|
1096
|
+
var m = (i - c) / this.tz.width;
|
|
1097
|
+
var n = (l - c) / this.tz.height;
|
|
1098
|
+
var o = (j - i + (c * 2)) / this.tz.width;
|
|
1099
|
+
var p = (k - l + (c * 2)) / this.tz.height;
|
|
1100
1100
|
var q = new Rect(0, m, n, o, p);
|
|
1101
|
-
q.intersect(XamGeographicMap.
|
|
1101
|
+
q.intersect(XamGeographicMap.v7);
|
|
1102
1102
|
if (q.isEmpty) {
|
|
1103
|
-
q = XamGeographicMap.
|
|
1103
|
+
q = XamGeographicMap.v7;
|
|
1104
1104
|
}
|
|
1105
1105
|
return q;
|
|
1106
1106
|
};
|
|
@@ -1110,21 +1110,21 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1110
1110
|
var e = b.x - a.x;
|
|
1111
1111
|
var f = a.y - b.y;
|
|
1112
1112
|
if (e < 0 || f < 0) {
|
|
1113
|
-
return XamGeographicMap.
|
|
1113
|
+
return XamGeographicMap.v7;
|
|
1114
1114
|
}
|
|
1115
1115
|
else {
|
|
1116
1116
|
var g = new Rect(0, c, d, e, f);
|
|
1117
1117
|
return this.getZoomFromGeographicRect(g);
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
|
-
XamGeographicMap.prototype.
|
|
1121
|
-
var b = this.
|
|
1122
|
-
var c = this.
|
|
1123
|
-
var d = new ScalerParams(1, a, this.
|
|
1124
|
-
d.c = this.
|
|
1125
|
-
var e = new ScalerParams(1, a, this.
|
|
1126
|
-
e.c = this.
|
|
1127
|
-
var f = this.
|
|
1120
|
+
XamGeographicMap.prototype.we = function (a) {
|
|
1121
|
+
var b = this.t7;
|
|
1122
|
+
var c = this.t9;
|
|
1123
|
+
var d = new ScalerParams(1, a, this.tz, b.ch);
|
|
1124
|
+
d.c = this.to;
|
|
1125
|
+
var e = new ScalerParams(1, a, this.tz, c.ch);
|
|
1126
|
+
e.c = this.to;
|
|
1127
|
+
var f = this.tn;
|
|
1128
1128
|
var g = b.em(f.left, d);
|
|
1129
1129
|
var h = c.em(f.top, e);
|
|
1130
1130
|
var i = b.em(f.right, d);
|
|
@@ -1133,40 +1133,40 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1133
1133
|
var l = h - j;
|
|
1134
1134
|
var m = new Rect(0, g, j, k, l);
|
|
1135
1135
|
if (this.cd == 1) {
|
|
1136
|
-
m.intersect(XamGeographicMap.
|
|
1136
|
+
m.intersect(XamGeographicMap.v4);
|
|
1137
1137
|
if (m.isEmpty) {
|
|
1138
|
-
m = XamGeographicMap.
|
|
1138
|
+
m = XamGeographicMap.v4;
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
return m;
|
|
1142
1142
|
};
|
|
1143
|
-
XamGeographicMap.prototype.vz = function (a) {
|
|
1144
|
-
var b = this.t6.l8(a.x);
|
|
1145
|
-
var c = this.t8.l8(a.y);
|
|
1146
|
-
return { $type: Point_$type, x: b, y: c };
|
|
1147
|
-
};
|
|
1148
1143
|
XamGeographicMap.prototype.v0 = function (a) {
|
|
1149
|
-
var b = this.
|
|
1150
|
-
var c = this.
|
|
1144
|
+
var b = this.t7.l8(a.x);
|
|
1145
|
+
var c = this.t9.l8(a.y);
|
|
1151
1146
|
return { $type: Point_$type, x: b, y: c };
|
|
1152
1147
|
};
|
|
1153
1148
|
XamGeographicMap.prototype.v1 = function (a) {
|
|
1154
|
-
|
|
1149
|
+
var b = this.t7.e4(a.x);
|
|
1150
|
+
var c = this.t9.e4(a.y);
|
|
1151
|
+
return { $type: Point_$type, x: b, y: c };
|
|
1152
|
+
};
|
|
1153
|
+
XamGeographicMap.prototype.v2 = function (a) {
|
|
1154
|
+
return this.v1(a);
|
|
1155
1155
|
};
|
|
1156
|
-
XamGeographicMap.prototype.
|
|
1156
|
+
XamGeographicMap.prototype.vb = function () {
|
|
1157
1157
|
var a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1158
1158
|
if (a != null) {
|
|
1159
1159
|
a.clearTileCache();
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
|
-
XamGeographicMap.prototype.
|
|
1162
|
+
XamGeographicMap.prototype.vh = function (a) {
|
|
1163
1163
|
};
|
|
1164
|
-
XamGeographicMap.prototype.
|
|
1164
|
+
XamGeographicMap.prototype.fi = function () {
|
|
1165
1165
|
return true;
|
|
1166
1166
|
};
|
|
1167
|
-
XamGeographicMap.prototype.
|
|
1167
|
+
XamGeographicMap.prototype.vj = function () {
|
|
1168
1168
|
var e_1, _a;
|
|
1169
|
-
this.
|
|
1169
|
+
this.uj.ee();
|
|
1170
1170
|
try {
|
|
1171
1171
|
for (var _b = __values(fromEnum(this.series)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1172
1172
|
var a = _c.value;
|
|
@@ -1187,128 +1187,128 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
};
|
|
1190
|
-
XamGeographicMap.prototype.
|
|
1191
|
-
if (this.
|
|
1192
|
-
if (!this.
|
|
1193
|
-
var a = this.
|
|
1194
|
-
var b = this.
|
|
1195
|
-
this.
|
|
1190
|
+
XamGeographicMap.prototype.vm = function () {
|
|
1191
|
+
if (this.ui == 2) {
|
|
1192
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1193
|
+
var a = this.t7.l8(this.tz.left + (this.tz.width / 2));
|
|
1194
|
+
var b = this.t9.l8(this.tz.top + (this.tz.height / 2));
|
|
1195
|
+
this.vz = { $type: Point_$type, x: a, y: b };
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
else {
|
|
1199
|
-
if (!this.
|
|
1200
|
-
var c = this.
|
|
1201
|
-
var d = this.
|
|
1202
|
-
this.
|
|
1199
|
+
if (!this.tz.isEmpty && this.tz.width > 0 && this.tz.height > 0) {
|
|
1200
|
+
var c = this.t7.l8(this.tz.left);
|
|
1201
|
+
var d = this.t9.l8(this.tz.top);
|
|
1202
|
+
this.vz = { $type: Point_$type, x: c, y: d };
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
1205
|
};
|
|
1206
|
-
XamGeographicMap.prototype.
|
|
1207
|
-
if (isNaN_(this.
|
|
1208
|
-
this.
|
|
1206
|
+
XamGeographicMap.prototype.vi = function () {
|
|
1207
|
+
if (isNaN_(this.vz.x) || isNaN_(this.vz.y)) {
|
|
1208
|
+
this.vm();
|
|
1209
1209
|
}
|
|
1210
|
-
var a = this.
|
|
1211
|
-
var b = this.
|
|
1210
|
+
var a = this.vz.x;
|
|
1211
|
+
var b = this.vz.y;
|
|
1212
1212
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
1213
|
-
var c = this.
|
|
1214
|
-
var d = this.
|
|
1215
|
-
var e = this.
|
|
1216
|
-
var f = this.
|
|
1217
|
-
if (e > this.
|
|
1213
|
+
var c = this.tk.left;
|
|
1214
|
+
var d = this.tk.top;
|
|
1215
|
+
var e = this.tk.width;
|
|
1216
|
+
var f = this.tk.height;
|
|
1217
|
+
if (e > this.v6.width) {
|
|
1218
1218
|
}
|
|
1219
1219
|
else {
|
|
1220
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
1221
|
-
g.c = this.
|
|
1222
|
-
var h = this.
|
|
1223
|
-
if (this.
|
|
1224
|
-
var i = h / this.
|
|
1220
|
+
var g = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1221
|
+
g.c = this.to;
|
|
1222
|
+
var h = this.t7.ej(a, g);
|
|
1223
|
+
if (this.ui == 2) {
|
|
1224
|
+
var i = h / this.tz.width;
|
|
1225
1225
|
c = i - (e / 2);
|
|
1226
1226
|
}
|
|
1227
1227
|
else {
|
|
1228
|
-
c = h / this.
|
|
1228
|
+
c = h / this.tz.width;
|
|
1229
1229
|
}
|
|
1230
|
-
if (c + e > this.
|
|
1231
|
-
c = this.
|
|
1230
|
+
if (c + e > this.v6.right) {
|
|
1231
|
+
c = this.v6.right - e;
|
|
1232
1232
|
}
|
|
1233
|
-
else if (c < this.
|
|
1234
|
-
c = this.
|
|
1233
|
+
else if (c < this.v6.left) {
|
|
1234
|
+
c = this.v6.left;
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
|
-
if (f > this.
|
|
1237
|
+
if (f > this.v6.height) {
|
|
1238
1238
|
}
|
|
1239
1239
|
else {
|
|
1240
|
-
var j = new ScalerParams(1, XamGeographicMap.
|
|
1241
|
-
j.c = this.
|
|
1242
|
-
var k = this.
|
|
1243
|
-
if (this.
|
|
1244
|
-
var l = k / this.
|
|
1240
|
+
var j = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1241
|
+
j.c = this.to;
|
|
1242
|
+
var k = this.t9.ej(b, j);
|
|
1243
|
+
if (this.ui == 2) {
|
|
1244
|
+
var l = k / this.tz.height;
|
|
1245
1245
|
d = l - (f / 2);
|
|
1246
1246
|
}
|
|
1247
1247
|
else {
|
|
1248
|
-
d = k / this.
|
|
1248
|
+
d = k / this.tz.height;
|
|
1249
1249
|
}
|
|
1250
|
-
if (d + f > this.
|
|
1251
|
-
d = this.
|
|
1250
|
+
if (d + f > this.v6.bottom) {
|
|
1251
|
+
d = this.v6.bottom - f;
|
|
1252
1252
|
}
|
|
1253
|
-
else if (d < this.
|
|
1254
|
-
d = this.
|
|
1253
|
+
else if (d < this.v6.top) {
|
|
1254
|
+
d = this.v6.top;
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
|
-
this.
|
|
1257
|
+
this.ps(new Rect(0, c, d, e, f), false);
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
|
-
XamGeographicMap.prototype.
|
|
1260
|
+
XamGeographicMap.prototype.get_el = function () {
|
|
1261
1261
|
return true;
|
|
1262
1262
|
};
|
|
1263
|
-
XamGeographicMap.prototype.
|
|
1264
|
-
var a = _super.prototype.
|
|
1265
|
-
if (this.
|
|
1263
|
+
XamGeographicMap.prototype.tl = function () {
|
|
1264
|
+
var a = _super.prototype.tl.call(this);
|
|
1265
|
+
if (this.t7 == null || this.t9 == null) {
|
|
1266
1266
|
return a;
|
|
1267
1267
|
}
|
|
1268
|
-
this.
|
|
1268
|
+
this.tv();
|
|
1269
1269
|
var b = a.left;
|
|
1270
1270
|
var c = a.top;
|
|
1271
1271
|
if (this.cd == 1) {
|
|
1272
|
-
if (this.
|
|
1273
|
-
b = 0.5 - (this.
|
|
1272
|
+
if (this.t0.width > this.v6.width) {
|
|
1273
|
+
b = 0.5 - (this.t0.width / 2);
|
|
1274
1274
|
}
|
|
1275
|
-
else if (b + a.width > this.
|
|
1276
|
-
b = this.
|
|
1275
|
+
else if (b + a.width > this.v6.right) {
|
|
1276
|
+
b = this.v6.right - this.t0.width;
|
|
1277
1277
|
}
|
|
1278
|
-
else if (b < this.
|
|
1279
|
-
b = this.
|
|
1278
|
+
else if (b < this.v6.left) {
|
|
1279
|
+
b = this.v6.left;
|
|
1280
1280
|
}
|
|
1281
|
-
if (this.
|
|
1282
|
-
c = 0.5 - (this.
|
|
1281
|
+
if (this.t0.height > this.v6.height) {
|
|
1282
|
+
c = 0.5 - (this.t0.height / 2);
|
|
1283
1283
|
}
|
|
1284
|
-
else if (c + this.
|
|
1285
|
-
c = this.
|
|
1284
|
+
else if (c + this.t0.height > this.v6.bottom) {
|
|
1285
|
+
c = this.v6.bottom - this.t0.height;
|
|
1286
1286
|
}
|
|
1287
|
-
else if (c < this.
|
|
1288
|
-
c = this.
|
|
1287
|
+
else if (c < this.v6.top) {
|
|
1288
|
+
c = this.v6.top;
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
1291
1291
|
var d = false;
|
|
1292
|
-
if (!this.
|
|
1292
|
+
if (!this.uo && this.cd == 2 && this.ul) {
|
|
1293
1293
|
if (b > 1) {
|
|
1294
1294
|
b = (b - Math.floor(b)) + 1;
|
|
1295
1295
|
}
|
|
1296
1296
|
if (b < 0) {
|
|
1297
1297
|
b = 0 - (Math.ceil(b) - b);
|
|
1298
1298
|
}
|
|
1299
|
-
if ((a.right - this.
|
|
1300
|
-
b = this.
|
|
1299
|
+
if ((a.right - this.v6.right) > 0 && ((a.right - this.v6.right) / a.width) > 0.8) {
|
|
1300
|
+
b = this.v6.left - (a.width - (a.right - this.v6.right));
|
|
1301
1301
|
d = true;
|
|
1302
1302
|
}
|
|
1303
|
-
else if (a.left < this.
|
|
1304
|
-
b = this.
|
|
1303
|
+
else if (a.left < this.v6.left && (Math.abs(a.left - this.v6.left) / a.width) > 0.8) {
|
|
1304
|
+
b = this.v6.right - (Math.abs(a.left - this.v6.left));
|
|
1305
1305
|
d = true;
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
1308
1308
|
var e = new Rect(0, b, c, a.width, a.height);
|
|
1309
|
-
if (this.
|
|
1310
|
-
var f = this.
|
|
1311
|
-
f = this.
|
|
1309
|
+
if (this.uo) {
|
|
1310
|
+
var f = this.v9(this.wk, 1);
|
|
1311
|
+
f = this.wb(f);
|
|
1312
1312
|
var g = e.left + e.width / 2;
|
|
1313
1313
|
var h = e.top + e.height / 2;
|
|
1314
1314
|
if (e.width > f.width) {
|
|
@@ -1343,17 +1343,17 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
if (d) {
|
|
1346
|
-
this.
|
|
1347
|
-
this.
|
|
1348
|
-
this.
|
|
1346
|
+
this.d8 = true;
|
|
1347
|
+
this.t0 = e;
|
|
1348
|
+
this.d8 = false;
|
|
1349
1349
|
}
|
|
1350
1350
|
return e;
|
|
1351
1351
|
};
|
|
1352
|
-
XamGeographicMap.prototype.
|
|
1352
|
+
XamGeographicMap.prototype.lm = function (a, b) {
|
|
1353
1353
|
var c = true;
|
|
1354
1354
|
var d = true;
|
|
1355
1355
|
var e = 0;
|
|
1356
|
-
var f = this.
|
|
1356
|
+
var f = this.tv();
|
|
1357
1357
|
var g = 0;
|
|
1358
1358
|
var h = 0;
|
|
1359
1359
|
if ((a.right - f.right) > 0) {
|
|
@@ -1370,39 +1370,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1370
1370
|
}
|
|
1371
1371
|
if (c) {
|
|
1372
1372
|
if (d) {
|
|
1373
|
-
var i = this.
|
|
1374
|
-
var j = this.
|
|
1373
|
+
var i = this.t6.ej(-180, b);
|
|
1374
|
+
var j = this.t6.ej(180, b);
|
|
1375
1375
|
e = j - i;
|
|
1376
1376
|
}
|
|
1377
1377
|
else {
|
|
1378
|
-
var k = this.
|
|
1379
|
-
var l = this.
|
|
1378
|
+
var k = this.t6.ej(-180, b);
|
|
1379
|
+
var l = this.t6.ej(180, b);
|
|
1380
1380
|
e = k - l;
|
|
1381
1381
|
}
|
|
1382
1382
|
}
|
|
1383
1383
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
1384
1384
|
};
|
|
1385
|
-
XamGeographicMap.prototype.
|
|
1386
|
-
var a = new ScalerParams(1, XamGeographicMap.
|
|
1387
|
-
a.c = this.
|
|
1388
|
-
var b = new ScalerParams(1, XamGeographicMap.
|
|
1389
|
-
b.c = this.
|
|
1390
|
-
var c = this.
|
|
1391
|
-
var d = this.
|
|
1392
|
-
var e = this.
|
|
1393
|
-
var f = this.
|
|
1394
|
-
this.
|
|
1395
|
-
return this.
|
|
1396
|
-
};
|
|
1397
|
-
XamGeographicMap.prototype.
|
|
1398
|
-
var b = this.
|
|
1385
|
+
XamGeographicMap.prototype.tv = function () {
|
|
1386
|
+
var a = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t7.ch);
|
|
1387
|
+
a.c = this.to;
|
|
1388
|
+
var b = new ScalerParams(1, XamGeographicMap.v7, this.tz, this.t9.ch);
|
|
1389
|
+
b.c = this.to;
|
|
1390
|
+
var c = this.t7.ej(XamGeographicMap.v4.left, a);
|
|
1391
|
+
var d = this.t7.ej(XamGeographicMap.v4.right, a);
|
|
1392
|
+
var e = this.t9.ej(XamGeographicMap.v4.top, b);
|
|
1393
|
+
var f = this.t9.ej(XamGeographicMap.v4.bottom, b);
|
|
1394
|
+
this.v6 = new Rect(0, c / this.tz.width, f / this.tz.height, (d - c) / this.tz.width, (e - f) / this.tz.height);
|
|
1395
|
+
return this.v6;
|
|
1396
|
+
};
|
|
1397
|
+
XamGeographicMap.prototype.wb = function (a) {
|
|
1398
|
+
var b = this.gk;
|
|
1399
1399
|
var c = 0.5 * (a.left + a.right);
|
|
1400
1400
|
var d = 0.5 * (a.top + a.bottom);
|
|
1401
1401
|
var e = a.width;
|
|
1402
1402
|
var f = a.height;
|
|
1403
1403
|
var g = MathUtil.d(a.width, b, 1);
|
|
1404
1404
|
var h = MathUtil.d(a.height, b, 1);
|
|
1405
|
-
var i = this.
|
|
1405
|
+
var i = this.tz;
|
|
1406
1406
|
var j = i.width / i.height;
|
|
1407
1407
|
var k = g * i.width;
|
|
1408
1408
|
var l = h * i.height;
|
|
@@ -1441,8 +1441,8 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
return new Rect(0, p, q, r - p, s - q);
|
|
1443
1443
|
};
|
|
1444
|
-
XamGeographicMap.prototype.
|
|
1445
|
-
_super.prototype.
|
|
1444
|
+
XamGeographicMap.prototype.tm = function (a) {
|
|
1445
|
+
_super.prototype.tm.call(this, this.tz);
|
|
1446
1446
|
if (a.isEmpty) {
|
|
1447
1447
|
return Rect.empty;
|
|
1448
1448
|
}
|
|
@@ -1457,131 +1457,131 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
return b;
|
|
1459
1459
|
};
|
|
1460
|
-
XamGeographicMap.prototype.
|
|
1461
|
-
return this.
|
|
1460
|
+
XamGeographicMap.prototype.wd = function (a) {
|
|
1461
|
+
return this.tm(a);
|
|
1462
1462
|
};
|
|
1463
1463
|
XamGeographicMap.prototype.ct = function () {
|
|
1464
1464
|
return new XamGeographicMapView(this);
|
|
1465
1465
|
};
|
|
1466
|
-
XamGeographicMap.prototype.
|
|
1466
|
+
XamGeographicMap.prototype.vd = function (a) {
|
|
1467
1467
|
if (a != null) {
|
|
1468
1468
|
a.bi = this;
|
|
1469
1469
|
}
|
|
1470
1470
|
};
|
|
1471
|
-
XamGeographicMap.prototype.
|
|
1472
|
-
_super.prototype.
|
|
1473
|
-
this.
|
|
1471
|
+
XamGeographicMap.prototype.n2 = function (a) {
|
|
1472
|
+
_super.prototype.n2.call(this, a);
|
|
1473
|
+
this.uj = a;
|
|
1474
1474
|
};
|
|
1475
|
-
XamGeographicMap.prototype.
|
|
1476
|
-
_super.prototype.
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1475
|
+
XamGeographicMap.prototype.od = function (a, b) {
|
|
1476
|
+
_super.prototype.od.call(this, a, b);
|
|
1477
|
+
this.pf(this.t7);
|
|
1478
|
+
this.pf(this.t9);
|
|
1479
1479
|
if (Rect.l_op_Inequality(a, b)) {
|
|
1480
|
-
this.
|
|
1480
|
+
this.vi();
|
|
1481
1481
|
}
|
|
1482
|
-
if (this.
|
|
1483
|
-
this.
|
|
1482
|
+
if (this.uo) {
|
|
1483
|
+
this.tk = this.tl();
|
|
1484
1484
|
}
|
|
1485
|
-
this.
|
|
1485
|
+
this.vp();
|
|
1486
1486
|
};
|
|
1487
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1487
|
+
Object.defineProperty(XamGeographicMap.prototype, "ut", {
|
|
1488
1488
|
get: function () {
|
|
1489
|
-
return this.
|
|
1489
|
+
return this.ur;
|
|
1490
1490
|
},
|
|
1491
1491
|
set: function (a) {
|
|
1492
|
-
var b = this.
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1492
|
+
var b = this.ur;
|
|
1493
|
+
this.ur = a;
|
|
1494
|
+
this.oj("ActualWindowScale", b, this.ur);
|
|
1495
1495
|
},
|
|
1496
1496
|
enumerable: false,
|
|
1497
1497
|
configurable: true
|
|
1498
1498
|
});
|
|
1499
|
-
XamGeographicMap.prototype.gp = function () {
|
|
1500
|
-
return this.us;
|
|
1501
|
-
};
|
|
1502
1499
|
XamGeographicMap.prototype.gq = function () {
|
|
1503
|
-
return this.
|
|
1500
|
+
return this.ut;
|
|
1504
1501
|
};
|
|
1505
|
-
XamGeographicMap.prototype.
|
|
1506
|
-
|
|
1507
|
-
var a = Math.min(this.tj.width, this.tj.height);
|
|
1508
|
-
this.us = a;
|
|
1502
|
+
XamGeographicMap.prototype.gr = function () {
|
|
1503
|
+
return this.ut;
|
|
1509
1504
|
};
|
|
1510
|
-
XamGeographicMap.prototype.
|
|
1511
|
-
|
|
1505
|
+
XamGeographicMap.prototype.pe = function () {
|
|
1506
|
+
_super.prototype.pe.call(this);
|
|
1507
|
+
var a = Math.min(this.tk.width, this.tk.height);
|
|
1508
|
+
this.ut = a;
|
|
1509
|
+
};
|
|
1510
|
+
XamGeographicMap.prototype.fa = function () {
|
|
1511
|
+
return this.ul;
|
|
1512
1512
|
};
|
|
1513
1513
|
XamGeographicMap.prototype.ce = function () {
|
|
1514
1514
|
if (this.cf == 0) {
|
|
1515
|
-
if (this.
|
|
1515
|
+
if (this.um) {
|
|
1516
1516
|
return 2;
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
1519
|
return this.cf;
|
|
1520
1520
|
};
|
|
1521
|
-
XamGeographicMap.prototype.
|
|
1521
|
+
XamGeographicMap.prototype.oe = function (a, b, c, d) {
|
|
1522
1522
|
var e_2, _a, e_3, _b;
|
|
1523
|
-
_super.prototype.
|
|
1523
|
+
_super.prototype.oe.call(this, a, b, c, d);
|
|
1524
1524
|
switch (b) {
|
|
1525
1525
|
case "ZoomCoercionMode":
|
|
1526
|
-
this.
|
|
1526
|
+
this.ve();
|
|
1527
1527
|
break;
|
|
1528
1528
|
case "WindowRect":
|
|
1529
|
-
this.
|
|
1529
|
+
this.vm();
|
|
1530
1530
|
break;
|
|
1531
1531
|
case XamGeographicMap.$$p[0]:
|
|
1532
|
-
this.
|
|
1533
|
-
if (this.
|
|
1534
|
-
this.
|
|
1532
|
+
this.uf = this.ug();
|
|
1533
|
+
if (this.uc != null) {
|
|
1534
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1535
1535
|
}
|
|
1536
1536
|
break;
|
|
1537
1537
|
case XamGeographicMap.$$p[1]:
|
|
1538
|
-
this.
|
|
1539
|
-
this.
|
|
1538
|
+
this.ul = this.um;
|
|
1539
|
+
this.uf = this.ug();
|
|
1540
1540
|
this.cd = this.ce();
|
|
1541
|
-
if (this.
|
|
1542
|
-
this.
|
|
1541
|
+
if (this.uc != null) {
|
|
1542
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1543
1543
|
}
|
|
1544
1544
|
break;
|
|
1545
1545
|
case XamGeographicMap.$$p[4]:
|
|
1546
|
-
this.
|
|
1546
|
+
this.tk = this.tl();
|
|
1547
1547
|
break;
|
|
1548
1548
|
case "BackgroundContent":
|
|
1549
|
-
if (this.
|
|
1550
|
-
var e = this.
|
|
1551
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
1552
|
-
this.
|
|
1549
|
+
if (this.uc != null) {
|
|
1550
|
+
var e = this.uc;
|
|
1551
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.vf));
|
|
1552
|
+
this.uc.deferralHandler = null;
|
|
1553
1553
|
}
|
|
1554
|
-
this.
|
|
1555
|
-
if (this.
|
|
1556
|
-
var f = this.
|
|
1557
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1554
|
+
this.uc = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
1555
|
+
if (this.uc != null) {
|
|
1556
|
+
var f = this.uc;
|
|
1557
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.vf));
|
|
1558
|
+
this.uc.deferralHandler = this;
|
|
1559
|
+
this.uc.isHorizontalWrappingEnabled = this.uf == 2;
|
|
1560
1560
|
}
|
|
1561
|
-
this.
|
|
1562
|
-
if (this.
|
|
1563
|
-
this.
|
|
1564
|
-
this.
|
|
1565
|
-
this.
|
|
1561
|
+
this.uj.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
1562
|
+
if (this.uc != null) {
|
|
1563
|
+
this.uc.geographicMap = this;
|
|
1564
|
+
this.uj.fr(this.tk);
|
|
1565
|
+
this.uj.fv(this.gg);
|
|
1566
1566
|
}
|
|
1567
1567
|
break;
|
|
1568
1568
|
case "YAxis":
|
|
1569
1569
|
case "XAxis":
|
|
1570
|
-
this.
|
|
1571
|
-
this.
|
|
1570
|
+
this.vk(c);
|
|
1571
|
+
this.vd(d);
|
|
1572
1572
|
break;
|
|
1573
1573
|
case XamGeographicMap.$$p[6]:
|
|
1574
|
-
if (!this.
|
|
1575
|
-
this.
|
|
1574
|
+
if (!this.un) {
|
|
1575
|
+
this.t0 = XamGeographicMap.v7;
|
|
1576
1576
|
}
|
|
1577
|
-
this.
|
|
1578
|
-
this.vk();
|
|
1577
|
+
this.ve();
|
|
1579
1578
|
this.vl();
|
|
1580
|
-
this.
|
|
1581
|
-
this.
|
|
1579
|
+
this.vm();
|
|
1580
|
+
this.tk = this.tl();
|
|
1581
|
+
this.uj.fs();
|
|
1582
1582
|
break;
|
|
1583
1583
|
case "ActualWindowRect":
|
|
1584
|
-
this.
|
|
1584
|
+
this.uj.fr(this.tk);
|
|
1585
1585
|
break;
|
|
1586
1586
|
case "ActualWorldRect":
|
|
1587
1587
|
try {
|
|
@@ -1605,30 +1605,30 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
break;
|
|
1607
1607
|
case XamGeographicMap.$$p[5]:
|
|
1608
|
-
this.
|
|
1608
|
+
this.ut = this.uu;
|
|
1609
1609
|
break;
|
|
1610
1610
|
case "ActualWindowScale":
|
|
1611
|
-
if (!this.
|
|
1612
|
-
this.
|
|
1611
|
+
if (!this.fh) {
|
|
1612
|
+
this.pq(this.gq(), this.gr());
|
|
1613
1613
|
}
|
|
1614
1614
|
break;
|
|
1615
1615
|
case "ActualPixelScalingRatio":
|
|
1616
|
-
this.
|
|
1616
|
+
this.uj.fv(this.gg);
|
|
1617
1617
|
break;
|
|
1618
1618
|
case "WindowRectMinWidth":
|
|
1619
1619
|
case "WindowRectMinHeight":
|
|
1620
1620
|
var h = d;
|
|
1621
1621
|
if (isNaN_(h) || isInfinity(h)) {
|
|
1622
|
+
this.gk = 5E-06;
|
|
1622
1623
|
this.gj = 5E-06;
|
|
1623
|
-
this.gi = 5E-06;
|
|
1624
1624
|
}
|
|
1625
1625
|
else {
|
|
1626
|
+
this.gk = h;
|
|
1626
1627
|
this.gj = h;
|
|
1627
|
-
this.gi = h;
|
|
1628
1628
|
}
|
|
1629
1629
|
break;
|
|
1630
1630
|
case XamGeographicMap.$$p[7]:
|
|
1631
|
-
this.
|
|
1631
|
+
this.pm();
|
|
1632
1632
|
break;
|
|
1633
1633
|
case "MarkerAutomaticBehavior":
|
|
1634
1634
|
try {
|
|
@@ -1653,39 +1653,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1653
1653
|
break;
|
|
1654
1654
|
}
|
|
1655
1655
|
};
|
|
1656
|
-
XamGeographicMap.prototype.
|
|
1656
|
+
XamGeographicMap.prototype.vf = function (a, b) {
|
|
1657
1657
|
if (this.imageTilesReady != null) {
|
|
1658
1658
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
1659
1659
|
}
|
|
1660
1660
|
};
|
|
1661
|
-
XamGeographicMap.prototype.
|
|
1661
|
+
XamGeographicMap.prototype.vk = function (a) {
|
|
1662
1662
|
if (a != null) {
|
|
1663
1663
|
a.bi = null;
|
|
1664
1664
|
}
|
|
1665
1665
|
};
|
|
1666
|
-
XamGeographicMap.prototype.
|
|
1667
|
-
if (this.
|
|
1668
|
-
this.
|
|
1669
|
-
this.
|
|
1666
|
+
XamGeographicMap.prototype.vl = function () {
|
|
1667
|
+
if (this.t7 != null) {
|
|
1668
|
+
this.t7.l5 = this.v8.left;
|
|
1669
|
+
this.t7.l4 = this.v8.right;
|
|
1670
1670
|
}
|
|
1671
|
-
if (this.
|
|
1672
|
-
this.
|
|
1673
|
-
this.
|
|
1671
|
+
if (this.t9 != null) {
|
|
1672
|
+
this.t9.l5 = this.v8.top;
|
|
1673
|
+
this.t9.l4 = this.v8.bottom;
|
|
1674
1674
|
}
|
|
1675
|
-
this.
|
|
1676
|
-
this.
|
|
1675
|
+
this.t7.c2(true);
|
|
1676
|
+
this.t9.c2(true);
|
|
1677
1677
|
};
|
|
1678
1678
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
1679
|
-
this.
|
|
1680
|
-
return this.
|
|
1679
|
+
this.uk = this.uj.fo;
|
|
1680
|
+
return this.uk;
|
|
1681
1681
|
};
|
|
1682
|
-
XamGeographicMap.prototype.
|
|
1683
|
-
return this.
|
|
1682
|
+
XamGeographicMap.prototype.sp = function () {
|
|
1683
|
+
return this.uj.fw;
|
|
1684
1684
|
};
|
|
1685
1685
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
1686
|
-
return this.
|
|
1686
|
+
return this.uj.fx;
|
|
1687
1687
|
};
|
|
1688
|
-
XamGeographicMap.prototype.
|
|
1688
|
+
XamGeographicMap.prototype.o7 = function (a, b) {
|
|
1689
1689
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
1690
1690
|
var c = b;
|
|
1691
1691
|
var d = a;
|
|
@@ -1693,33 +1693,33 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1693
1693
|
d.qn = c.triangulationSource.triangles;
|
|
1694
1694
|
}
|
|
1695
1695
|
else {
|
|
1696
|
-
_super.prototype.
|
|
1696
|
+
_super.prototype.o7.call(this, a, b);
|
|
1697
1697
|
}
|
|
1698
1698
|
};
|
|
1699
1699
|
XamGeographicMap.prototype.register = function (a, b) {
|
|
1700
|
-
this.
|
|
1700
|
+
this.ox(a, b);
|
|
1701
1701
|
};
|
|
1702
1702
|
XamGeographicMap.prototype.unRegister = function (a) {
|
|
1703
|
-
this.
|
|
1703
|
+
this.pd(a);
|
|
1704
1704
|
};
|
|
1705
1705
|
XamGeographicMap.prototype.deferredRefresh = function () {
|
|
1706
|
-
this.
|
|
1706
|
+
this.lz();
|
|
1707
1707
|
};
|
|
1708
1708
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
1709
|
-
if (this.
|
|
1710
|
-
this.
|
|
1709
|
+
if (this.uw != null) {
|
|
1710
|
+
this.uw.setTimeout(a, 0);
|
|
1711
1711
|
}
|
|
1712
1712
|
else {
|
|
1713
1713
|
window.setTimeout(a, 0);
|
|
1714
1714
|
}
|
|
1715
1715
|
};
|
|
1716
|
-
XamGeographicMap.prototype.
|
|
1717
|
-
this.
|
|
1716
|
+
XamGeographicMap.prototype.vc = function (a) {
|
|
1717
|
+
this.pl(a);
|
|
1718
1718
|
};
|
|
1719
|
-
XamGeographicMap.prototype.
|
|
1719
|
+
XamGeographicMap.prototype.ux = function () {
|
|
1720
1720
|
var a = new ChartVisualData();
|
|
1721
|
-
var b = this.
|
|
1722
|
-
var c = this.
|
|
1721
|
+
var b = this.t7.fw();
|
|
1722
|
+
var c = this.t9.fw();
|
|
1723
1723
|
a.axes.add1(b);
|
|
1724
1724
|
a.axes.add1(c);
|
|
1725
1725
|
for (var d = 0; d < this.series.count; d++) {
|
|
@@ -1727,49 +1727,49 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1727
1727
|
a.series.add1(e);
|
|
1728
1728
|
}
|
|
1729
1729
|
a.name = this.name;
|
|
1730
|
-
a.contentArea = RectData.b(this.
|
|
1731
|
-
a.centralArea = RectData.b(this.
|
|
1732
|
-
a.plotArea = RectData.b(this.
|
|
1730
|
+
a.contentArea = RectData.b(this.tz);
|
|
1731
|
+
a.centralArea = RectData.b(this.tz);
|
|
1732
|
+
a.plotArea = RectData.b(this.tz);
|
|
1733
1733
|
return a;
|
|
1734
1734
|
};
|
|
1735
|
-
XamGeographicMap.prototype.
|
|
1735
|
+
XamGeographicMap.prototype.tr = function (a, b, c) {
|
|
1736
1736
|
return a;
|
|
1737
1737
|
};
|
|
1738
|
-
XamGeographicMap.prototype.
|
|
1738
|
+
XamGeographicMap.prototype.vg = function () {
|
|
1739
1739
|
};
|
|
1740
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1740
|
+
Object.defineProperty(XamGeographicMap.prototype, "wj", {
|
|
1741
1741
|
get: function () {
|
|
1742
|
-
return this.
|
|
1742
|
+
return this.v5;
|
|
1743
1743
|
},
|
|
1744
1744
|
set: function (a) {
|
|
1745
|
-
this.
|
|
1745
|
+
this.v5 = a;
|
|
1746
1746
|
},
|
|
1747
1747
|
enumerable: false,
|
|
1748
1748
|
configurable: true
|
|
1749
1749
|
});
|
|
1750
|
-
XamGeographicMap.prototype.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1750
|
+
XamGeographicMap.prototype.vq = function (a) {
|
|
1751
|
+
this.wj = a;
|
|
1752
|
+
this.vp();
|
|
1753
1753
|
};
|
|
1754
|
-
XamGeographicMap.prototype.
|
|
1755
|
-
if (this.
|
|
1756
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
1757
|
-
this.
|
|
1758
|
-
this.
|
|
1754
|
+
XamGeographicMap.prototype.vp = function () {
|
|
1755
|
+
if (this.uq && !this.wj.isEmpty) {
|
|
1756
|
+
var a = this.getZoomFromGeographicRect(this.wj);
|
|
1757
|
+
this.wj = Rect.empty;
|
|
1758
|
+
this.ps(a, false);
|
|
1759
1759
|
}
|
|
1760
1760
|
};
|
|
1761
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
1761
|
+
Object.defineProperty(XamGeographicMap.prototype, "uq", {
|
|
1762
1762
|
get: function () {
|
|
1763
|
-
return !this.
|
|
1763
|
+
return !this.tz.isEmpty && !this.to.isEmpty;
|
|
1764
1764
|
},
|
|
1765
1765
|
enumerable: false,
|
|
1766
1766
|
configurable: true
|
|
1767
1767
|
});
|
|
1768
1768
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
1769
|
-
XamGeographicMap.
|
|
1770
|
-
XamGeographicMap.
|
|
1771
|
-
XamGeographicMap.
|
|
1772
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
1769
|
+
XamGeographicMap.uh = 0;
|
|
1770
|
+
XamGeographicMap.v4 = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
1771
|
+
XamGeographicMap.v7 = new Rect(0, 0, 0, 1, 1);
|
|
1772
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'oj', ['BackgroundTilingMode:ue:vr', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:um:vs', [0, false], 'ResizeBehavior:ui:vt', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.uh)], 'SuppressZoomResetOnWorldRectChange:un:vu', [0, false], 'UseWorldRectForZoomBounds:uo:vv', [0, false], 'WindowScale:uu:vw', [1, NaN], 'WorldRect:wk:vx', [Rect.$, XamGeographicMap.v4], 'Zoomable:up:vy', [0, true]]);
|
|
1773
1773
|
return XamGeographicMap;
|
|
1774
1774
|
}(SeriesViewer));
|
|
1775
1775
|
/**
|
|
@@ -1912,14 +1912,14 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1912
1912
|
return a;
|
|
1913
1913
|
}
|
|
1914
1914
|
var b = new Rect(0, 0, 0, a.width, a.height);
|
|
1915
|
-
var c = this.geographicMap.
|
|
1916
|
-
var d = XamGeographicMap.
|
|
1917
|
-
var e = this.geographicMap.
|
|
1915
|
+
var c = this.geographicMap.wd(b);
|
|
1916
|
+
var d = XamGeographicMap.v4;
|
|
1917
|
+
var e = this.geographicMap.v8;
|
|
1918
1918
|
var f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1919
1919
|
var g = e.width / d.width;
|
|
1920
1920
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1921
|
-
var h = this.geographicMap.
|
|
1922
|
-
var i = this.geographicMap.
|
|
1921
|
+
var h = this.geographicMap.t7;
|
|
1922
|
+
var i = this.geographicMap.t9;
|
|
1923
1923
|
var j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
1924
1924
|
j.c = c;
|
|
1925
1925
|
var k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -2038,8 +2038,8 @@ var GeographicXYTriangulatingSeriesView = /** @class */ /*@__PURE__*/ (function
|
|
|
2038
2038
|
a.qd = null;
|
|
2039
2039
|
return;
|
|
2040
2040
|
}
|
|
2041
|
-
a.qc = this.ce.ce.
|
|
2042
|
-
a.qd = this.ce.ce.
|
|
2041
|
+
a.qc = this.ce.ce.t7;
|
|
2042
|
+
a.qd = this.ce.ce.t9;
|
|
2043
2043
|
};
|
|
2044
2044
|
GeographicXYTriangulatingSeriesView.prototype.cg = function () {
|
|
2045
2045
|
this.ce.qe.re = this.ce.qq;
|
|
@@ -2113,8 +2113,8 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2113
2113
|
_this.fp = NaN;
|
|
2114
2114
|
_this.fz = Rect.empty;
|
|
2115
2115
|
_this.fn = a;
|
|
2116
|
-
_this.fn.
|
|
2117
|
-
_this.fn.
|
|
2116
|
+
_this.fn.sk = 2;
|
|
2117
|
+
_this.fn.hp = 5E-06;
|
|
2118
2118
|
return _this;
|
|
2119
2119
|
}
|
|
2120
2120
|
XamGeographicMapView.prototype.m = function (a) {
|
|
@@ -2122,7 +2122,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2122
2122
|
};
|
|
2123
2123
|
XamGeographicMapView.prototype.bk = function (a) {
|
|
2124
2124
|
this.j.bw(a);
|
|
2125
|
-
this.fn.
|
|
2125
|
+
this.fn.vc(a);
|
|
2126
2126
|
this.el();
|
|
2127
2127
|
};
|
|
2128
2128
|
XamGeographicMapView.prototype.get_ap = function () {
|
|
@@ -2185,13 +2185,13 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2185
2185
|
}
|
|
2186
2186
|
};
|
|
2187
2187
|
XamGeographicMapView.prototype.fr = function (a) {
|
|
2188
|
-
if (this.fn.
|
|
2189
|
-
this.fn.
|
|
2188
|
+
if (this.fn.uc != null) {
|
|
2189
|
+
this.fn.uc.windowRect = a;
|
|
2190
2190
|
}
|
|
2191
2191
|
};
|
|
2192
2192
|
XamGeographicMapView.prototype.fu = function (a, b) {
|
|
2193
|
-
if (this.fn.
|
|
2194
|
-
this.fn.
|
|
2193
|
+
if (this.fn.uc != null) {
|
|
2194
|
+
this.fn.uc.windowRect = this.fn.tk;
|
|
2195
2195
|
}
|
|
2196
2196
|
if (a != null) {
|
|
2197
2197
|
var c = a.ao;
|
|
@@ -2218,7 +2218,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2218
2218
|
}
|
|
2219
2219
|
};
|
|
2220
2220
|
XamGeographicMapView.prototype.ft = function (a) {
|
|
2221
|
-
var b = this.fn.
|
|
2221
|
+
var b = this.fn.gg;
|
|
2222
2222
|
if (b != 1) {
|
|
2223
2223
|
a.aa();
|
|
2224
2224
|
a.ab(b, b);
|
|
@@ -2739,10 +2739,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2739
2739
|
* Gets or sets zoomability of the current control
|
|
2740
2740
|
*/
|
|
2741
2741
|
get: function () {
|
|
2742
|
-
return this.i.
|
|
2742
|
+
return this.i.up;
|
|
2743
2743
|
},
|
|
2744
2744
|
set: function (v) {
|
|
2745
|
-
this.i.
|
|
2745
|
+
this.i.up = ensureBool(v);
|
|
2746
2746
|
},
|
|
2747
2747
|
enumerable: false,
|
|
2748
2748
|
configurable: true
|
|
@@ -2752,10 +2752,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2752
2752
|
* Gets or sets the behavior to use during resize.
|
|
2753
2753
|
*/
|
|
2754
2754
|
get: function () {
|
|
2755
|
-
return this.i.
|
|
2755
|
+
return this.i.ui;
|
|
2756
2756
|
},
|
|
2757
2757
|
set: function (v) {
|
|
2758
|
-
this.i.
|
|
2758
|
+
this.i.ui = ensureEnum(MapResizeBehavior_$type, v);
|
|
2759
2759
|
},
|
|
2760
2760
|
enumerable: false,
|
|
2761
2761
|
configurable: true
|
|
@@ -2765,10 +2765,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2765
2765
|
* Gets or sets if the map should horizontally wrap.
|
|
2766
2766
|
*/
|
|
2767
2767
|
get: function () {
|
|
2768
|
-
return this.i.
|
|
2768
|
+
return this.i.um;
|
|
2769
2769
|
},
|
|
2770
2770
|
set: function (v) {
|
|
2771
|
-
this.i.
|
|
2771
|
+
this.i.um = ensureBool(v);
|
|
2772
2772
|
},
|
|
2773
2773
|
enumerable: false,
|
|
2774
2774
|
configurable: true
|
|
@@ -2778,10 +2778,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2778
2778
|
* Gets or sets if the map should horizontally wrap.
|
|
2779
2779
|
*/
|
|
2780
2780
|
get: function () {
|
|
2781
|
-
return this.i.
|
|
2781
|
+
return this.i.ue;
|
|
2782
2782
|
},
|
|
2783
2783
|
set: function (v) {
|
|
2784
|
-
this.i.
|
|
2784
|
+
this.i.ue = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
2785
2785
|
},
|
|
2786
2786
|
enumerable: false,
|
|
2787
2787
|
configurable: true
|
|
@@ -2791,10 +2791,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2791
2791
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
2792
2792
|
*/
|
|
2793
2793
|
get: function () {
|
|
2794
|
-
return this.i.
|
|
2794
|
+
return this.i.uo;
|
|
2795
2795
|
},
|
|
2796
2796
|
set: function (v) {
|
|
2797
|
-
this.i.
|
|
2797
|
+
this.i.uo = ensureBool(v);
|
|
2798
2798
|
},
|
|
2799
2799
|
enumerable: false,
|
|
2800
2800
|
configurable: true
|
|
@@ -2804,10 +2804,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2804
2804
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
2805
2805
|
*/
|
|
2806
2806
|
get: function () {
|
|
2807
|
-
return this.i.
|
|
2807
|
+
return this.i.un;
|
|
2808
2808
|
},
|
|
2809
2809
|
set: function (v) {
|
|
2810
|
-
this.i.
|
|
2810
|
+
this.i.un = ensureBool(v);
|
|
2811
2811
|
},
|
|
2812
2812
|
enumerable: false,
|
|
2813
2813
|
configurable: true
|
|
@@ -2817,10 +2817,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2817
2817
|
* Gets or sets the world bounding rectangle.
|
|
2818
2818
|
*/
|
|
2819
2819
|
get: function () {
|
|
2820
|
-
return fromRect(this.i.
|
|
2820
|
+
return fromRect(this.i.wk);
|
|
2821
2821
|
},
|
|
2822
2822
|
set: function (v) {
|
|
2823
|
-
this.i.
|
|
2823
|
+
this.i.wk = toRect(v);
|
|
2824
2824
|
},
|
|
2825
2825
|
enumerable: false,
|
|
2826
2826
|
configurable: true
|
|
@@ -2830,10 +2830,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2830
2830
|
* Gets the actual value of the WorldRect.
|
|
2831
2831
|
*/
|
|
2832
2832
|
get: function () {
|
|
2833
|
-
return fromRect(this.i.
|
|
2833
|
+
return fromRect(this.i.v8);
|
|
2834
2834
|
},
|
|
2835
2835
|
set: function (v) {
|
|
2836
|
-
this.i.
|
|
2836
|
+
this.i.v8 = toRect(v);
|
|
2837
2837
|
},
|
|
2838
2838
|
enumerable: false,
|
|
2839
2839
|
configurable: true
|
|
@@ -2844,7 +2844,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2844
2844
|
* 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.
|
|
2845
2845
|
*/
|
|
2846
2846
|
get: function () {
|
|
2847
|
-
var r = this.i.
|
|
2847
|
+
var r = this.i.t7;
|
|
2848
2848
|
if (r == null) {
|
|
2849
2849
|
return null;
|
|
2850
2850
|
}
|
|
@@ -2860,7 +2860,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2860
2860
|
set: function (v) {
|
|
2861
2861
|
if (v != null && this._stylingContainer && v._styling)
|
|
2862
2862
|
v._styling(this._stylingContainer, this, this);
|
|
2863
|
-
v == null ? this.i.
|
|
2863
|
+
v == null ? this.i.t7 = null : this.i.t7 = v.i;
|
|
2864
2864
|
},
|
|
2865
2865
|
enumerable: false,
|
|
2866
2866
|
configurable: true
|
|
@@ -2871,7 +2871,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2871
2871
|
* 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.
|
|
2872
2872
|
*/
|
|
2873
2873
|
get: function () {
|
|
2874
|
-
var r = this.i.
|
|
2874
|
+
var r = this.i.t9;
|
|
2875
2875
|
if (r == null) {
|
|
2876
2876
|
return null;
|
|
2877
2877
|
}
|
|
@@ -2887,7 +2887,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2887
2887
|
set: function (v) {
|
|
2888
2888
|
if (v != null && this._stylingContainer && v._styling)
|
|
2889
2889
|
v._styling(this._stylingContainer, this, this);
|
|
2890
|
-
v == null ? this.i.
|
|
2890
|
+
v == null ? this.i.t9 = null : this.i.t9 = v.i;
|
|
2891
2891
|
},
|
|
2892
2892
|
enumerable: false,
|
|
2893
2893
|
configurable: true
|
|
@@ -2897,7 +2897,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2897
2897
|
* Indicates if this SeriesViewer is a map.
|
|
2898
2898
|
*/
|
|
2899
2899
|
get: function () {
|
|
2900
|
-
return this.i.
|
|
2900
|
+
return this.i.el;
|
|
2901
2901
|
},
|
|
2902
2902
|
enumerable: false,
|
|
2903
2903
|
configurable: true
|
|
@@ -2908,10 +2908,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2908
2908
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
2909
2909
|
*/
|
|
2910
2910
|
get: function () {
|
|
2911
|
-
return this.i.
|
|
2911
|
+
return this.i.uu;
|
|
2912
2912
|
},
|
|
2913
2913
|
set: function (v) {
|
|
2914
|
-
this.i.
|
|
2914
|
+
this.i.uu = +v;
|
|
2915
2915
|
},
|
|
2916
2916
|
enumerable: false,
|
|
2917
2917
|
configurable: true
|
|
@@ -2922,10 +2922,10 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2922
2922
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
2923
2923
|
*/
|
|
2924
2924
|
get: function () {
|
|
2925
|
-
return this.i.
|
|
2925
|
+
return this.i.ut;
|
|
2926
2926
|
},
|
|
2927
2927
|
set: function (v) {
|
|
2928
|
-
this.i.
|
|
2928
|
+
this.i.ut = +v;
|
|
2929
2929
|
},
|
|
2930
2930
|
enumerable: false,
|
|
2931
2931
|
configurable: true
|
|
@@ -2935,7 +2935,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2935
2935
|
* Gets whether or not the control is ready for zooming
|
|
2936
2936
|
*/
|
|
2937
2937
|
get: function () {
|
|
2938
|
-
return this.i.
|
|
2938
|
+
return this.i.uq;
|
|
2939
2939
|
},
|
|
2940
2940
|
enumerable: false,
|
|
2941
2941
|
configurable: true
|
|
@@ -2966,7 +2966,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2966
2966
|
|
|
2967
2967
|
*/
|
|
2968
2968
|
IgxGeographicMapComponent.prototype.getCurrentActualWorldRect = function () {
|
|
2969
|
-
var iv = this.i.
|
|
2969
|
+
var iv = this.i.wc();
|
|
2970
2970
|
return fromRect(iv);
|
|
2971
2971
|
};
|
|
2972
2972
|
/**
|
|
@@ -2983,14 +2983,14 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2983
2983
|
|
|
2984
2984
|
*/
|
|
2985
2985
|
IgxGeographicMapComponent.prototype.updateZoomWindow = function (zoomWindow) {
|
|
2986
|
-
this.i.
|
|
2986
|
+
this.i.vo(toRect(zoomWindow));
|
|
2987
2987
|
};
|
|
2988
2988
|
/**
|
|
2989
2989
|
* Updates world rect in geographic coordinates
|
|
2990
2990
|
|
|
2991
2991
|
*/
|
|
2992
2992
|
IgxGeographicMapComponent.prototype.updateWorldRect = function (worldRect) {
|
|
2993
|
-
this.i.
|
|
2993
|
+
this.i.vn(toRect(worldRect));
|
|
2994
2994
|
};
|
|
2995
2995
|
/**
|
|
2996
2996
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -3002,7 +3002,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3002
3002
|
return fromRect(iv);
|
|
3003
3003
|
};
|
|
3004
3004
|
IgxGeographicMapComponent.prototype.convertGeographicToZoom = function (geographic, extraPixelPadding) {
|
|
3005
|
-
var iv = this.i.
|
|
3005
|
+
var iv = this.i.v9(toRect(geographic), extraPixelPadding);
|
|
3006
3006
|
return fromRect(iv);
|
|
3007
3007
|
};
|
|
3008
3008
|
IgxGeographicMapComponent.prototype.getZoomFromGeographicPoints = function (northWest, southEast) {
|
|
@@ -3015,7 +3015,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3015
3015
|
* @param windowRect * The zoom area.
|
|
3016
3016
|
*/
|
|
3017
3017
|
IgxGeographicMapComponent.prototype.getGeographicFromZoom = function (windowRect) {
|
|
3018
|
-
var iv = this.i.
|
|
3018
|
+
var iv = this.i.we(toRect(windowRect));
|
|
3019
3019
|
return fromRect(iv);
|
|
3020
3020
|
};
|
|
3021
3021
|
/**
|
|
@@ -3024,7 +3024,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3024
3024
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
3025
3025
|
*/
|
|
3026
3026
|
IgxGeographicMapComponent.prototype.getGeographicPoint = function (pixelCoordinate) {
|
|
3027
|
-
var iv = this.i.
|
|
3027
|
+
var iv = this.i.v0(toPoint(pixelCoordinate));
|
|
3028
3028
|
return fromPoint(iv);
|
|
3029
3029
|
};
|
|
3030
3030
|
/**
|
|
@@ -3033,7 +3033,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3033
3033
|
* @param geographicCoordinate * A geographic coordinate
|
|
3034
3034
|
*/
|
|
3035
3035
|
IgxGeographicMapComponent.prototype.getPixelPoint = function (geographicCoordinate) {
|
|
3036
|
-
var iv = this.i.
|
|
3036
|
+
var iv = this.i.v1(toPoint(geographicCoordinate));
|
|
3037
3037
|
return fromPoint(iv);
|
|
3038
3038
|
};
|
|
3039
3039
|
/**
|
|
@@ -3042,7 +3042,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3042
3042
|
* @param geographicCoordinate * A geographic coordinate
|
|
3043
3043
|
*/
|
|
3044
3044
|
IgxGeographicMapComponent.prototype.getWindowPoint = function (geographicCoordinate) {
|
|
3045
|
-
var iv = this.i.
|
|
3045
|
+
var iv = this.i.v2(toPoint(geographicCoordinate));
|
|
3046
3046
|
return fromPoint(iv);
|
|
3047
3047
|
};
|
|
3048
3048
|
/**
|
|
@@ -3050,21 +3050,21 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3050
3050
|
|
|
3051
3051
|
*/
|
|
3052
3052
|
IgxGeographicMapComponent.prototype.clearTileCache = function () {
|
|
3053
|
-
this.i.
|
|
3053
|
+
this.i.vb();
|
|
3054
3054
|
};
|
|
3055
3055
|
/**
|
|
3056
3056
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
3057
3057
|
|
|
3058
3058
|
*/
|
|
3059
3059
|
IgxGeographicMapComponent.prototype.styleUpdated = function () {
|
|
3060
|
-
this.i.
|
|
3060
|
+
this.i.vj();
|
|
3061
3061
|
};
|
|
3062
3062
|
/**
|
|
3063
3063
|
* Gets actual window scale for horizontal dimension of the control
|
|
3064
3064
|
|
|
3065
3065
|
*/
|
|
3066
3066
|
IgxGeographicMapComponent.prototype.getActualWindowScaleHorizontal = function () {
|
|
3067
|
-
var iv = this.i.
|
|
3067
|
+
var iv = this.i.gq();
|
|
3068
3068
|
return (iv);
|
|
3069
3069
|
};
|
|
3070
3070
|
/**
|
|
@@ -3072,7 +3072,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3072
3072
|
|
|
3073
3073
|
*/
|
|
3074
3074
|
IgxGeographicMapComponent.prototype.getActualWindowScaleVertical = function () {
|
|
3075
|
-
var iv = this.i.
|
|
3075
|
+
var iv = this.i.gr();
|
|
3076
3076
|
return (iv);
|
|
3077
3077
|
};
|
|
3078
3078
|
/**
|
|
@@ -3087,7 +3087,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3087
3087
|
|
|
3088
3088
|
*/
|
|
3089
3089
|
IgxGeographicMapComponent.prototype.exportVisualData = function () {
|
|
3090
|
-
var iv = this.i.
|
|
3090
|
+
var iv = this.i.ux();
|
|
3091
3091
|
return (iv);
|
|
3092
3092
|
};
|
|
3093
3093
|
/**
|
|
@@ -3096,7 +3096,7 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3096
3096
|
* @param geographic * The geographic region to zoom to.
|
|
3097
3097
|
*/
|
|
3098
3098
|
IgxGeographicMapComponent.prototype.zoomToGeographic = function (geographic) {
|
|
3099
|
-
this.i.
|
|
3099
|
+
this.i.vq(toRect(geographic));
|
|
3100
3100
|
};
|
|
3101
3101
|
Object.defineProperty(IgxGeographicMapComponent.prototype, "imageTilesReady", {
|
|
3102
3102
|
/**
|
|
@@ -5573,8 +5573,8 @@ var GeographicShapeSeriesBaseView = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
5573
5573
|
a.qv = null;
|
|
5574
5574
|
return;
|
|
5575
5575
|
}
|
|
5576
|
-
a.qt = this.ce.ce.
|
|
5577
|
-
a.qv = this.ce.ce.
|
|
5576
|
+
a.qt = this.ce.ce.t7;
|
|
5577
|
+
a.qv = this.ce.ce.t9;
|
|
5578
5578
|
};
|
|
5579
5579
|
GeographicShapeSeriesBaseView.prototype.ch = function () {
|
|
5580
5580
|
this.ce.qe.r5 = this.ce.q7;
|
|
@@ -6647,7 +6647,7 @@ var TileSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
6647
6647
|
if (f != null && typeCast(XamGeographicMap.$, this.ce) !== null) {
|
|
6648
6648
|
f.geographicMap = this.ce;
|
|
6649
6649
|
this.tb(this.b1);
|
|
6650
|
-
this.sz.da(this.ce.
|
|
6650
|
+
this.sz.da(this.ce.tk);
|
|
6651
6651
|
}
|
|
6652
6652
|
this.lu();
|
|
6653
6653
|
break;
|
|
@@ -7606,10 +7606,10 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7606
7606
|
this.ce.qe.tb = this.ce.qq;
|
|
7607
7607
|
};
|
|
7608
7608
|
GeographicProportionalSymbolSeriesView.prototype.cv = function () {
|
|
7609
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
7609
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
7610
7610
|
};
|
|
7611
7611
|
GeographicProportionalSymbolSeriesView.prototype.cw = function () {
|
|
7612
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
7612
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
7613
7613
|
};
|
|
7614
7614
|
GeographicProportionalSymbolSeriesView.prototype.cu = function () {
|
|
7615
7615
|
var a = this.ce.qe;
|
|
@@ -7618,8 +7618,8 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
7618
7618
|
a.yAxis = null;
|
|
7619
7619
|
return;
|
|
7620
7620
|
}
|
|
7621
|
-
a.xAxis = this.ce.ce.
|
|
7622
|
-
a.yAxis = this.ce.ce.
|
|
7621
|
+
a.xAxis = this.ce.ce.t7;
|
|
7622
|
+
a.yAxis = this.ce.ce.t9;
|
|
7623
7623
|
};
|
|
7624
7624
|
GeographicProportionalSymbolSeriesView.prototype.co = function () {
|
|
7625
7625
|
this.ce.qe.rn = this.ce.ri;
|
|
@@ -8299,10 +8299,10 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8299
8299
|
this.ce.qe.tb = this.ce.qq;
|
|
8300
8300
|
};
|
|
8301
8301
|
GeographicSymbolSeriesView.prototype.cp = function () {
|
|
8302
|
-
this.ce.qe.xAxis = this.ce.ce.
|
|
8302
|
+
this.ce.qe.xAxis = this.ce.ce.t7;
|
|
8303
8303
|
};
|
|
8304
8304
|
GeographicSymbolSeriesView.prototype.cq = function () {
|
|
8305
|
-
this.ce.qe.yAxis = this.ce.ce.
|
|
8305
|
+
this.ce.qe.yAxis = this.ce.ce.t9;
|
|
8306
8306
|
};
|
|
8307
8307
|
GeographicSymbolSeriesView.prototype.co = function () {
|
|
8308
8308
|
var a = this.ce.qe;
|
|
@@ -8311,8 +8311,8 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
8311
8311
|
a.yAxis = null;
|
|
8312
8312
|
return;
|
|
8313
8313
|
}
|
|
8314
|
-
a.xAxis = this.ce.ce.
|
|
8315
|
-
a.yAxis = this.ce.ce.
|
|
8314
|
+
a.xAxis = this.ce.ce.t7;
|
|
8315
|
+
a.yAxis = this.ce.ce.t9;
|
|
8316
8316
|
};
|
|
8317
8317
|
GeographicSymbolSeriesView.prototype.ci = function () {
|
|
8318
8318
|
this.ce.qe.rx = this.ce.rm;
|
|
@@ -9132,14 +9132,14 @@ var GeographicHighDensityScatterSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
9132
9132
|
a.ql = null;
|
|
9133
9133
|
return;
|
|
9134
9134
|
}
|
|
9135
|
-
a.qj = this.ce.ce.
|
|
9136
|
-
a.ql = this.ce.ce.
|
|
9135
|
+
a.qj = this.ce.ce.t7;
|
|
9136
|
+
a.ql = this.ce.ce.t9;
|
|
9137
9137
|
};
|
|
9138
9138
|
GeographicHighDensityScatterSeriesView.prototype.cq = function () {
|
|
9139
|
-
this.ce.qe.qj = this.ce.ce.
|
|
9139
|
+
this.ce.qe.qj = this.ce.ce.t7;
|
|
9140
9140
|
};
|
|
9141
9141
|
GeographicHighDensityScatterSeriesView.prototype.cr = function () {
|
|
9142
|
-
this.ce.qe.ql = this.ce.ce.
|
|
9142
|
+
this.ce.qe.ql = this.ce.ce.t9;
|
|
9143
9143
|
};
|
|
9144
9144
|
GeographicHighDensityScatterSeriesView.prototype.ch = function () {
|
|
9145
9145
|
this.ce.qe.ts = this.ce.rm;
|