igniteui-angular-maps 20.0.1 → 20.0.2-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 +1753 -1431
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/AzureMapsImageryStyle.js +32 -0
- package/esm2015/lib/AzureMapsMapImagery.js +7 -0
- package/esm2015/lib/AzureMapsMapImageryView.js +7 -0
- package/esm2015/lib/AzureMapsMapImageryView_combined.js +119 -0
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js +36 -36
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +75 -75
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +187 -187
- package/esm2015/lib/GeographicMarkerSeries.js +28 -28
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js +16 -16
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +88 -88
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +59 -59
- package/esm2015/lib/GeographicShapeSeriesView_combined.js +54 -54
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +55 -55
- package/esm2015/lib/GeographicTileSeries.js +27 -27
- package/esm2015/lib/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm2015/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm2015/lib/TileSeries_combined.js +86 -86
- package/esm2015/lib/XamGeographicMap_combined.js +482 -482
- package/esm2015/lib/igx-azure-maps-map-imagery-dynamic-module.js +34 -0
- package/esm2015/lib/igx-azure-maps-map-imagery-module.js +26 -0
- package/esm2015/lib/igx-azure-maps-map-imagery.js +81 -0
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +8 -8
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +22 -22
- package/esm2015/lib/igx-geographic-map-component.js +40 -40
- package/esm2015/lib/igx-geographic-map-series-host-component.js +21 -21
- package/esm2015/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm2015/lib/igx-geographic-polyline-series-component.js +10 -10
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +32 -32
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +7 -7
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +22 -22
- package/esm2015/lib/igx-geographic-shape-series-component.js +32 -32
- package/esm2015/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm2015/lib/igx-geographic-tile-series-component.js +3 -3
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm2015/lib/igx-tile-series-component.js +2 -2
- package/esm2015/public_api.js +6 -0
- package/esm5/lib/AzureMapsImageryStyle.js +32 -0
- package/esm5/lib/AzureMapsMapImagery.js +7 -0
- package/esm5/lib/AzureMapsMapImageryView.js +7 -0
- package/esm5/lib/AzureMapsMapImageryView_combined.js +122 -0
- package/esm5/lib/GeographicContourLineSeriesView_combined.js +36 -36
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +75 -75
- package/esm5/lib/GeographicMapSeriesHost_combined.js +185 -185
- package/esm5/lib/GeographicMarkerSeries.js +28 -28
- package/esm5/lib/GeographicPolylineSeriesView_combined.js +16 -16
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +88 -88
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +58 -58
- package/esm5/lib/GeographicShapeSeriesView_combined.js +54 -54
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +55 -55
- package/esm5/lib/GeographicTileSeries.js +26 -26
- package/esm5/lib/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm5/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm5/lib/TileSeries_combined.js +84 -84
- package/esm5/lib/XamGeographicMap_combined.js +475 -475
- package/esm5/lib/igx-azure-maps-map-imagery-dynamic-module.js +33 -0
- package/esm5/lib/igx-azure-maps-map-imagery-module.js +27 -0
- package/esm5/lib/igx-azure-maps-map-imagery.js +113 -0
- package/esm5/lib/igx-geographic-contour-line-series-component.js +8 -8
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +22 -22
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/esm5/lib/igx-geographic-map-series-host-component.js +21 -21
- package/esm5/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm5/lib/igx-geographic-polyline-series-component.js +10 -10
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +32 -32
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +7 -7
- package/esm5/lib/igx-geographic-shape-series-base-component.js +22 -22
- package/esm5/lib/igx-geographic-shape-series-component.js +32 -32
- package/esm5/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm5/lib/igx-geographic-tile-series-component.js +3 -3
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm5/lib/igx-tile-series-component.js +2 -2
- package/esm5/public_api.js +6 -0
- package/fesm2015/igniteui-angular-maps.js +1734 -1447
- package/fesm5/igniteui-angular-maps.js +1748 -1433
- package/lib/AzureMapsImageryStyle.d.ts +25 -0
- package/lib/AzureMapsMapImagery.d.ts +1 -0
- package/lib/AzureMapsMapImageryView.d.ts +1 -0
- package/lib/AzureMapsMapImageryView_combined.d.ts +39 -0
- package/lib/GeographicContourLineSeriesView_combined.d.ts +13 -13
- package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +22 -22
- package/lib/GeographicMapSeriesHost_combined.d.ts +43 -43
- package/lib/GeographicMarkerSeries.d.ts +17 -17
- package/lib/GeographicMarkerSeriesBase.d.ts +1 -1
- package/lib/GeographicPolylineSeriesView_combined.d.ts +7 -7
- package/lib/GeographicProportionalSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +25 -25
- package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
- package/lib/GeographicShapeSeriesBase_combined.d.ts +23 -23
- package/lib/GeographicShapeSeriesView_combined.d.ts +25 -25
- package/lib/GeographicSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicSymbolSeriesView_combined.d.ts +18 -18
- package/lib/GeographicTileSeries.d.ts +9 -9
- package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
- package/lib/TileSeries_combined.d.ts +19 -19
- package/lib/XamGeographicMap_combined.d.ts +110 -110
- package/lib/igx-azure-maps-map-imagery-dynamic-module.d.ts +9 -0
- package/lib/igx-azure-maps-map-imagery-module.d.ts +7 -0
- package/lib/igx-azure-maps-map-imagery.d.ts +51 -0
- package/package.json +47 -47
- package/public_api.d.ts +6 -0
|
@@ -44,103 +44,103 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
44
44
|
__extends(XamGeographicMap, _super);
|
|
45
45
|
function XamGeographicMap() {
|
|
46
46
|
var _this = _super.call(this) || this;
|
|
47
|
-
_this.
|
|
48
|
-
_this.
|
|
49
|
-
_this.
|
|
50
|
-
_this.
|
|
51
|
-
_this.
|
|
52
|
-
_this.
|
|
53
|
-
_this.
|
|
54
|
-
_this.
|
|
55
|
-
_this.
|
|
56
|
-
_this.
|
|
57
|
-
_this.
|
|
58
|
-
_this.
|
|
47
|
+
_this.y1 = null;
|
|
48
|
+
_this.yq = false;
|
|
49
|
+
_this.yi = 1;
|
|
50
|
+
_this.yx = 0;
|
|
51
|
+
_this.z8 = null;
|
|
52
|
+
_this.yf = null;
|
|
53
|
+
_this.yb = null;
|
|
54
|
+
_this.yd = null;
|
|
55
|
+
_this.yh = null;
|
|
56
|
+
_this.z4 = { $type: Point_$type, x: NaN, y: NaN };
|
|
57
|
+
_this.aab = null;
|
|
58
|
+
_this.yw = 1;
|
|
59
59
|
_this.imageTilesReady = null;
|
|
60
|
-
_this.
|
|
61
|
-
_this.
|
|
62
|
-
_this.
|
|
60
|
+
_this.yp = null;
|
|
61
|
+
_this.aaa = Rect.empty;
|
|
62
|
+
_this.yx = SphericalMercatorVerticalScaler.am(XamGeographicMap.z9.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.z9.top);
|
|
63
63
|
_this.ab = XamGeographicMap.$;
|
|
64
64
|
_this.backgroundContent = new OpenStreetMapImagery();
|
|
65
65
|
var a = ((function () {
|
|
66
66
|
var $ret = new NumericXAxis();
|
|
67
|
-
$ret.
|
|
67
|
+
$ret.b0 = _this;
|
|
68
68
|
return $ret;
|
|
69
69
|
})());
|
|
70
|
-
a.
|
|
71
|
-
_this.
|
|
72
|
-
_this.
|
|
70
|
+
a.dd = true;
|
|
71
|
+
_this.yc = a;
|
|
72
|
+
_this.yc.r8 = new SphericalMercatorHorizontalScaler();
|
|
73
73
|
var b = ((function () {
|
|
74
74
|
var $ret = new NumericYAxis();
|
|
75
|
-
$ret.
|
|
75
|
+
$ret.b0 = _this;
|
|
76
76
|
return $ret;
|
|
77
77
|
})());
|
|
78
|
-
b.
|
|
79
|
-
_this.
|
|
80
|
-
_this.
|
|
81
|
-
_this.
|
|
82
|
-
_this.
|
|
83
|
-
_this.
|
|
78
|
+
b.dd = true;
|
|
79
|
+
_this.ye = b;
|
|
80
|
+
_this.ye.r8 = new SphericalMercatorVerticalScaler();
|
|
81
|
+
_this.zj();
|
|
82
|
+
_this.zq();
|
|
83
|
+
_this.oy();
|
|
84
84
|
return _this;
|
|
85
85
|
}
|
|
86
86
|
XamGeographicMap.prototype.provideContainer = function (a) {
|
|
87
87
|
_super.prototype.provideContainer.call(this, a);
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
88
|
+
this.yc.provideRenderer(a);
|
|
89
|
+
this.ye.provideRenderer(a);
|
|
90
90
|
};
|
|
91
|
-
XamGeographicMap.prototype.
|
|
92
|
-
_super.prototype.
|
|
93
|
-
this.
|
|
91
|
+
XamGeographicMap.prototype.oy = function () {
|
|
92
|
+
_super.prototype.oy.call(this);
|
|
93
|
+
this.yo.fv(this.h2);
|
|
94
94
|
};
|
|
95
|
-
XamGeographicMap.prototype.
|
|
96
|
-
return this.
|
|
95
|
+
XamGeographicMap.prototype.f2 = function () {
|
|
96
|
+
return this.yu;
|
|
97
97
|
};
|
|
98
|
-
XamGeographicMap.prototype.
|
|
99
|
-
return this.
|
|
98
|
+
XamGeographicMap.prototype.f3 = function () {
|
|
99
|
+
return this.yu;
|
|
100
100
|
};
|
|
101
|
-
XamGeographicMap.prototype.
|
|
102
|
-
if (this.
|
|
103
|
-
if (this.
|
|
101
|
+
XamGeographicMap.prototype.yl = function () {
|
|
102
|
+
if (this.yj == 0) {
|
|
103
|
+
if (this.yq) {
|
|
104
104
|
return 2;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
return 1;
|
|
108
108
|
};
|
|
109
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
109
|
+
Object.defineProperty(XamGeographicMap.prototype, "yk", {
|
|
110
110
|
get: function () {
|
|
111
|
-
return this.
|
|
111
|
+
return this.yi;
|
|
112
112
|
},
|
|
113
113
|
set: function (a) {
|
|
114
|
-
this.
|
|
114
|
+
this.yi = a;
|
|
115
115
|
},
|
|
116
116
|
enumerable: false,
|
|
117
117
|
configurable: true
|
|
118
118
|
});
|
|
119
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
119
|
+
Object.defineProperty(XamGeographicMap.prototype, "aad", {
|
|
120
120
|
get: function () {
|
|
121
|
-
return this.
|
|
121
|
+
return this.z8;
|
|
122
122
|
},
|
|
123
123
|
set: function (a) {
|
|
124
|
-
var b = Rect.l_op_Inequality(this.
|
|
124
|
+
var b = Rect.l_op_Inequality(this.z8, a);
|
|
125
125
|
if (b) {
|
|
126
|
-
var c = this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
126
|
+
var c = this.z8;
|
|
127
|
+
this.z8 = a;
|
|
128
|
+
this.rx("ActualWorldRect", c, a);
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
enumerable: false,
|
|
132
132
|
configurable: true
|
|
133
133
|
});
|
|
134
|
-
XamGeographicMap.prototype.
|
|
135
|
-
return this.
|
|
134
|
+
XamGeographicMap.prototype.aah = function () {
|
|
135
|
+
return this.aad;
|
|
136
136
|
};
|
|
137
|
-
XamGeographicMap.prototype.
|
|
138
|
-
if (this.
|
|
137
|
+
XamGeographicMap.prototype.zj = function () {
|
|
138
|
+
if (this.aap.isEmpty) {
|
|
139
139
|
return;
|
|
140
140
|
}
|
|
141
|
-
this.
|
|
141
|
+
this.aad = this.aan(this.aap, this.c4 == 1);
|
|
142
142
|
};
|
|
143
|
-
XamGeographicMap.prototype.
|
|
143
|
+
XamGeographicMap.prototype.aan = function (a, b) {
|
|
144
144
|
var c = a.top;
|
|
145
145
|
var d = a.left;
|
|
146
146
|
var e = a.width;
|
|
@@ -148,25 +148,25 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
148
148
|
var g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
149
149
|
var h = SphericalMercatorVerticalScaler.am(a.top);
|
|
150
150
|
var i = g - h;
|
|
151
|
-
var j = a.width / XamGeographicMap.
|
|
152
|
-
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
151
|
+
var j = a.width / XamGeographicMap.z9.width;
|
|
152
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.z9.top);
|
|
153
153
|
var l = i / j;
|
|
154
|
-
if (i / j > this.
|
|
155
|
-
var m = i / this.
|
|
154
|
+
if (i / j > this.yx) {
|
|
155
|
+
var m = i / this.yx;
|
|
156
156
|
var n = m - j;
|
|
157
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
158
|
-
e = m * XamGeographicMap.
|
|
157
|
+
d = d - (n / 2) * XamGeographicMap.z9.width;
|
|
158
|
+
e = m * XamGeographicMap.z9.width;
|
|
159
159
|
if (b) {
|
|
160
|
-
if (d < XamGeographicMap.
|
|
161
|
-
d += (XamGeographicMap.
|
|
160
|
+
if (d < XamGeographicMap.z9.left) {
|
|
161
|
+
d += (XamGeographicMap.z9.left - d);
|
|
162
162
|
}
|
|
163
|
-
else if ((d + e) > XamGeographicMap.
|
|
164
|
-
d -= ((d + e) - XamGeographicMap.
|
|
163
|
+
else if ((d + e) > XamGeographicMap.z9.right) {
|
|
164
|
+
d -= ((d + e) - XamGeographicMap.z9.right);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
else if (i / j < this.
|
|
169
|
-
var o = this.
|
|
168
|
+
else if (i / j < this.yx) {
|
|
169
|
+
var o = this.yx * j;
|
|
170
170
|
var p = o - i;
|
|
171
171
|
var q = h - (p / 2);
|
|
172
172
|
var r = g + (p / 2);
|
|
@@ -175,9 +175,9 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
175
175
|
q += (k - q);
|
|
176
176
|
r += (k - q);
|
|
177
177
|
}
|
|
178
|
-
else if (r > (k + this.
|
|
179
|
-
q -= ((r) - (k + this.
|
|
180
|
-
r -= ((r) - (k + this.
|
|
178
|
+
else if (r > (k + this.yx)) {
|
|
179
|
+
q -= ((r) - (k + this.yx));
|
|
180
|
+
r -= ((r) - (k + this.yx));
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -188,44 +188,44 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
188
188
|
};
|
|
189
189
|
Object.defineProperty(XamGeographicMap.prototype, "backgroundContent", {
|
|
190
190
|
get: function () {
|
|
191
|
-
return this.
|
|
191
|
+
return this.yf;
|
|
192
192
|
},
|
|
193
193
|
set: function (a) {
|
|
194
194
|
var b = a != this.backgroundContent;
|
|
195
195
|
if (b) {
|
|
196
196
|
var c = this.backgroundContent;
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
197
|
+
this.yf = a;
|
|
198
|
+
this.rx("BackgroundContent", c, a);
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
enumerable: false,
|
|
202
202
|
configurable: true
|
|
203
203
|
});
|
|
204
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
204
|
+
Object.defineProperty(XamGeographicMap.prototype, "yc", {
|
|
205
205
|
get: function () {
|
|
206
|
-
return this.
|
|
206
|
+
return this.yb;
|
|
207
207
|
},
|
|
208
208
|
set: function (a) {
|
|
209
|
-
var b = a != this.
|
|
209
|
+
var b = a != this.yc;
|
|
210
210
|
if (b) {
|
|
211
|
-
var c = this.
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
211
|
+
var c = this.yc;
|
|
212
|
+
this.yb = a;
|
|
213
|
+
this.rx("XAxis", c, a);
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
216
|
enumerable: false,
|
|
217
217
|
configurable: true
|
|
218
218
|
});
|
|
219
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
219
|
+
Object.defineProperty(XamGeographicMap.prototype, "ye", {
|
|
220
220
|
get: function () {
|
|
221
|
-
return this.
|
|
221
|
+
return this.yd;
|
|
222
222
|
},
|
|
223
223
|
set: function (a) {
|
|
224
|
-
var b = a != this.
|
|
224
|
+
var b = a != this.ye;
|
|
225
225
|
if (b) {
|
|
226
|
-
var c = this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
226
|
+
var c = this.ye;
|
|
227
|
+
this.yd = a;
|
|
228
|
+
this.rx("YAxis", c, a);
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
enumerable: false,
|
|
@@ -234,41 +234,41 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
234
234
|
XamGeographicMap.prototype.getZoomRectFromGeoRect = function (a) {
|
|
235
235
|
return this.getZoomFromGeographicRect(a);
|
|
236
236
|
};
|
|
237
|
-
XamGeographicMap.prototype.
|
|
238
|
-
this.
|
|
237
|
+
XamGeographicMap.prototype.zt = function (a) {
|
|
238
|
+
this.x5 = a;
|
|
239
239
|
};
|
|
240
|
-
XamGeographicMap.prototype.
|
|
241
|
-
this.
|
|
240
|
+
XamGeographicMap.prototype.zs = function (a) {
|
|
241
|
+
this.aap = a;
|
|
242
242
|
};
|
|
243
243
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
244
|
-
return this.
|
|
244
|
+
return this.aaf(a, true, 0);
|
|
245
245
|
};
|
|
246
|
-
XamGeographicMap.prototype.
|
|
247
|
-
return this.
|
|
246
|
+
XamGeographicMap.prototype.aae = function (a, b) {
|
|
247
|
+
return this.aaf(a, false, b);
|
|
248
248
|
};
|
|
249
|
-
XamGeographicMap.prototype.
|
|
249
|
+
XamGeographicMap.prototype.aaf = function (a, b, c) {
|
|
250
250
|
var d = a;
|
|
251
251
|
if (b) {
|
|
252
|
-
d = this.
|
|
253
|
-
}
|
|
254
|
-
var e = this.
|
|
255
|
-
var f = this.
|
|
256
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
257
|
-
g.c = this.
|
|
258
|
-
var h = new ScalerParams(1, XamGeographicMap.
|
|
259
|
-
h.c = this.
|
|
260
|
-
var i = this.
|
|
261
|
-
var j = this.
|
|
262
|
-
var k = this.
|
|
263
|
-
var l = this.
|
|
264
|
-
var m = (i - c) / this.
|
|
265
|
-
var n = (l - c) / this.
|
|
266
|
-
var o = (j - i + (c * 2)) / this.
|
|
267
|
-
var p = (k - l + (c * 2)) / this.
|
|
252
|
+
d = this.aan(a, false);
|
|
253
|
+
}
|
|
254
|
+
var e = this.yc;
|
|
255
|
+
var f = this.ye;
|
|
256
|
+
var g = new ScalerParams(1, XamGeographicMap.aac, this.x4, e.df);
|
|
257
|
+
g.c = this.xq;
|
|
258
|
+
var h = new ScalerParams(1, XamGeographicMap.aac, this.x4, f.df);
|
|
259
|
+
h.c = this.xq;
|
|
260
|
+
var i = this.yc.ft(d.left, g);
|
|
261
|
+
var j = this.yc.ft(d.right, g);
|
|
262
|
+
var k = this.ye.ft(d.top, h);
|
|
263
|
+
var l = this.ye.ft(d.bottom, h);
|
|
264
|
+
var m = (i - c) / this.x4.width;
|
|
265
|
+
var n = (l - c) / this.x4.height;
|
|
266
|
+
var o = (j - i + (c * 2)) / this.x4.width;
|
|
267
|
+
var p = (k - l + (c * 2)) / this.x4.height;
|
|
268
268
|
var q = new Rect(0, m, n, o, p);
|
|
269
|
-
q.intersect(XamGeographicMap.
|
|
269
|
+
q.intersect(XamGeographicMap.aac);
|
|
270
270
|
if (q.isEmpty) {
|
|
271
|
-
q = XamGeographicMap.
|
|
271
|
+
q = XamGeographicMap.aac;
|
|
272
272
|
}
|
|
273
273
|
return q;
|
|
274
274
|
};
|
|
@@ -278,67 +278,67 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
278
278
|
var e = b.x - a.x;
|
|
279
279
|
var f = a.y - b.y;
|
|
280
280
|
if (e < 0 || f < 0) {
|
|
281
|
-
return XamGeographicMap.
|
|
281
|
+
return XamGeographicMap.aac;
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
284
284
|
var g = new Rect(0, c, d, e, f);
|
|
285
285
|
return this.getZoomFromGeographicRect(g);
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
|
-
XamGeographicMap.prototype.
|
|
289
|
-
var b = this.
|
|
290
|
-
var c = this.
|
|
291
|
-
var d = new ScalerParams(1, a, this.
|
|
292
|
-
d.c = this.
|
|
293
|
-
var e = new ScalerParams(1, a, this.
|
|
294
|
-
e.c = this.
|
|
295
|
-
var f = this.
|
|
296
|
-
var g = b.
|
|
297
|
-
var h = c.
|
|
298
|
-
var i = b.
|
|
299
|
-
var j = c.
|
|
288
|
+
XamGeographicMap.prototype.aaj = function (a) {
|
|
289
|
+
var b = this.yc;
|
|
290
|
+
var c = this.ye;
|
|
291
|
+
var d = new ScalerParams(1, a, this.x4, b.df);
|
|
292
|
+
d.c = this.xq;
|
|
293
|
+
var e = new ScalerParams(1, a, this.x4, c.df);
|
|
294
|
+
e.c = this.xq;
|
|
295
|
+
var f = this.xp;
|
|
296
|
+
var g = b.fw(f.left, d);
|
|
297
|
+
var h = c.fw(f.top, e);
|
|
298
|
+
var i = b.fw(f.right, d);
|
|
299
|
+
var j = c.fw(f.bottom, e);
|
|
300
300
|
var k = i - g;
|
|
301
301
|
var l = h - j;
|
|
302
302
|
var m = new Rect(0, g, j, k, l);
|
|
303
|
-
if (this.
|
|
304
|
-
m.intersect(XamGeographicMap.
|
|
303
|
+
if (this.c4 == 1) {
|
|
304
|
+
m.intersect(XamGeographicMap.z9);
|
|
305
305
|
if (m.isEmpty) {
|
|
306
|
-
m = XamGeographicMap.
|
|
306
|
+
m = XamGeographicMap.z9;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
return m;
|
|
310
310
|
};
|
|
311
|
-
XamGeographicMap.prototype.
|
|
312
|
-
var b = this.
|
|
313
|
-
var c = this.
|
|
311
|
+
XamGeographicMap.prototype.z5 = function (a) {
|
|
312
|
+
var b = this.yc.p6(a.x);
|
|
313
|
+
var c = this.ye.p6(a.y);
|
|
314
314
|
return { $type: Point_$type, x: b, y: c };
|
|
315
315
|
};
|
|
316
|
-
XamGeographicMap.prototype.
|
|
317
|
-
var b = this.
|
|
318
|
-
var c = this.
|
|
316
|
+
XamGeographicMap.prototype.z6 = function (a) {
|
|
317
|
+
var b = this.yc.gg(a.x);
|
|
318
|
+
var c = this.ye.gg(a.y);
|
|
319
319
|
return { $type: Point_$type, x: b, y: c };
|
|
320
320
|
};
|
|
321
|
-
XamGeographicMap.prototype.
|
|
322
|
-
return this.
|
|
321
|
+
XamGeographicMap.prototype.z7 = function (a) {
|
|
322
|
+
return this.z6(a);
|
|
323
323
|
};
|
|
324
|
-
XamGeographicMap.prototype.
|
|
324
|
+
XamGeographicMap.prototype.zg = function () {
|
|
325
325
|
var a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
326
326
|
if (a != null) {
|
|
327
327
|
a.clearTileCache();
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
XamGeographicMap.prototype.
|
|
330
|
+
XamGeographicMap.prototype.zm = function (a) {
|
|
331
331
|
};
|
|
332
|
-
XamGeographicMap.prototype.
|
|
332
|
+
XamGeographicMap.prototype.gx = function () {
|
|
333
333
|
return true;
|
|
334
334
|
};
|
|
335
|
-
XamGeographicMap.prototype.
|
|
335
|
+
XamGeographicMap.prototype.zo = function () {
|
|
336
336
|
var e_1, _a;
|
|
337
|
-
this.
|
|
337
|
+
this.yo.ee();
|
|
338
338
|
try {
|
|
339
339
|
for (var _b = __values(fromEnum(this.series)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
340
340
|
var a = _c.value;
|
|
341
|
-
a.
|
|
341
|
+
a.sk();
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
catch (e_1_1) {
|
|
@@ -355,128 +355,128 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
|
-
XamGeographicMap.prototype.
|
|
359
|
-
if (this.
|
|
360
|
-
if (!this.
|
|
361
|
-
var a = this.
|
|
362
|
-
var b = this.
|
|
363
|
-
this.
|
|
358
|
+
XamGeographicMap.prototype.zr = function () {
|
|
359
|
+
if (this.yn == 2) {
|
|
360
|
+
if (!this.x4.isEmpty && this.x4.width > 0 && this.x4.height > 0) {
|
|
361
|
+
var a = this.yc.p6(this.x4.left + (this.x4.width / 2));
|
|
362
|
+
var b = this.ye.p6(this.x4.top + (this.x4.height / 2));
|
|
363
|
+
this.z4 = { $type: Point_$type, x: a, y: b };
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
else {
|
|
367
|
-
if (!this.
|
|
368
|
-
var c = this.
|
|
369
|
-
var d = this.
|
|
370
|
-
this.
|
|
367
|
+
if (!this.x4.isEmpty && this.x4.width > 0 && this.x4.height > 0) {
|
|
368
|
+
var c = this.yc.p6(this.x4.left);
|
|
369
|
+
var d = this.ye.p6(this.x4.top);
|
|
370
|
+
this.z4 = { $type: Point_$type, x: c, y: d };
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
|
-
XamGeographicMap.prototype.
|
|
375
|
-
if (isNaN_(this.
|
|
376
|
-
this.
|
|
374
|
+
XamGeographicMap.prototype.zn = function () {
|
|
375
|
+
if (isNaN_(this.z4.x) || isNaN_(this.z4.y)) {
|
|
376
|
+
this.zr();
|
|
377
377
|
}
|
|
378
|
-
var a = this.
|
|
379
|
-
var b = this.
|
|
378
|
+
var a = this.z4.x;
|
|
379
|
+
var b = this.z4.y;
|
|
380
380
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
381
|
-
var c = this.
|
|
382
|
-
var d = this.
|
|
383
|
-
var e = this.
|
|
384
|
-
var f = this.
|
|
385
|
-
if (e > this.
|
|
381
|
+
var c = this.xm.left;
|
|
382
|
+
var d = this.xm.top;
|
|
383
|
+
var e = this.xm.width;
|
|
384
|
+
var f = this.xm.height;
|
|
385
|
+
if (e > this.aab.width) {
|
|
386
386
|
}
|
|
387
387
|
else {
|
|
388
|
-
var g = new ScalerParams(1, XamGeographicMap.
|
|
389
|
-
g.c = this.
|
|
390
|
-
var h = this.
|
|
391
|
-
if (this.
|
|
392
|
-
var i = h / this.
|
|
388
|
+
var g = new ScalerParams(1, XamGeographicMap.aac, this.x4, this.yc.df);
|
|
389
|
+
g.c = this.xq;
|
|
390
|
+
var h = this.yc.ft(a, g);
|
|
391
|
+
if (this.yn == 2) {
|
|
392
|
+
var i = h / this.x4.width;
|
|
393
393
|
c = i - (e / 2);
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
|
-
c = h / this.
|
|
396
|
+
c = h / this.x4.width;
|
|
397
397
|
}
|
|
398
|
-
if (c + e > this.
|
|
399
|
-
c = this.
|
|
398
|
+
if (c + e > this.aab.right) {
|
|
399
|
+
c = this.aab.right - e;
|
|
400
400
|
}
|
|
401
|
-
else if (c < this.
|
|
402
|
-
c = this.
|
|
401
|
+
else if (c < this.aab.left) {
|
|
402
|
+
c = this.aab.left;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
if (f > this.
|
|
405
|
+
if (f > this.aab.height) {
|
|
406
406
|
}
|
|
407
407
|
else {
|
|
408
|
-
var j = new ScalerParams(1, XamGeographicMap.
|
|
409
|
-
j.c = this.
|
|
410
|
-
var k = this.
|
|
411
|
-
if (this.
|
|
412
|
-
var l = k / this.
|
|
408
|
+
var j = new ScalerParams(1, XamGeographicMap.aac, this.x4, this.ye.df);
|
|
409
|
+
j.c = this.xq;
|
|
410
|
+
var k = this.ye.ft(b, j);
|
|
411
|
+
if (this.yn == 2) {
|
|
412
|
+
var l = k / this.x4.height;
|
|
413
413
|
d = l - (f / 2);
|
|
414
414
|
}
|
|
415
415
|
else {
|
|
416
|
-
d = k / this.
|
|
416
|
+
d = k / this.x4.height;
|
|
417
417
|
}
|
|
418
|
-
if (d + f > this.
|
|
419
|
-
d = this.
|
|
418
|
+
if (d + f > this.aab.bottom) {
|
|
419
|
+
d = this.aab.bottom - f;
|
|
420
420
|
}
|
|
421
|
-
else if (d < this.
|
|
422
|
-
d = this.
|
|
421
|
+
else if (d < this.aab.top) {
|
|
422
|
+
d = this.aab.top;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
this.
|
|
425
|
+
this.s9(new Rect(0, c, d, e, f), false);
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
XamGeographicMap.prototype.
|
|
428
|
+
XamGeographicMap.prototype.get_ft = function () {
|
|
429
429
|
return true;
|
|
430
430
|
};
|
|
431
|
-
XamGeographicMap.prototype.
|
|
432
|
-
var a = _super.prototype.
|
|
433
|
-
if (this.
|
|
431
|
+
XamGeographicMap.prototype.xn = function () {
|
|
432
|
+
var a = _super.prototype.xn.call(this);
|
|
433
|
+
if (this.yc == null || this.ye == null) {
|
|
434
434
|
return a;
|
|
435
435
|
}
|
|
436
|
-
this.
|
|
436
|
+
this.xy();
|
|
437
437
|
var b = a.left;
|
|
438
438
|
var c = a.top;
|
|
439
|
-
if (this.
|
|
440
|
-
if (this.
|
|
441
|
-
b = 0.5 - (this.
|
|
439
|
+
if (this.c4 == 1) {
|
|
440
|
+
if (this.x5.width > this.aab.width) {
|
|
441
|
+
b = 0.5 - (this.x5.width / 2);
|
|
442
442
|
}
|
|
443
|
-
else if (b + a.width > this.
|
|
444
|
-
b = this.
|
|
443
|
+
else if (b + a.width > this.aab.right) {
|
|
444
|
+
b = this.aab.right - this.x5.width;
|
|
445
445
|
}
|
|
446
|
-
else if (b < this.
|
|
447
|
-
b = this.
|
|
446
|
+
else if (b < this.aab.left) {
|
|
447
|
+
b = this.aab.left;
|
|
448
448
|
}
|
|
449
|
-
if (this.
|
|
450
|
-
c = 0.5 - (this.
|
|
449
|
+
if (this.x5.height > this.aab.height) {
|
|
450
|
+
c = 0.5 - (this.x5.height / 2);
|
|
451
451
|
}
|
|
452
|
-
else if (c + this.
|
|
453
|
-
c = this.
|
|
452
|
+
else if (c + this.x5.height > this.aab.bottom) {
|
|
453
|
+
c = this.aab.bottom - this.x5.height;
|
|
454
454
|
}
|
|
455
|
-
else if (c < this.
|
|
456
|
-
c = this.
|
|
455
|
+
else if (c < this.aab.top) {
|
|
456
|
+
c = this.aab.top;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
var d = false;
|
|
460
|
-
if (!this.
|
|
460
|
+
if (!this.yt && this.c4 == 2 && this.yq) {
|
|
461
461
|
if (b > 1) {
|
|
462
462
|
b = (b - Math.floor(b)) + 1;
|
|
463
463
|
}
|
|
464
464
|
if (b < 0) {
|
|
465
465
|
b = 0 - (Math.ceil(b) - b);
|
|
466
466
|
}
|
|
467
|
-
if ((a.right - this.
|
|
468
|
-
b = this.
|
|
467
|
+
if ((a.right - this.aab.right) > 0 && ((a.right - this.aab.right) / a.width) > 0.8) {
|
|
468
|
+
b = this.aab.left - (a.width - (a.right - this.aab.right));
|
|
469
469
|
d = true;
|
|
470
470
|
}
|
|
471
|
-
else if (a.left < this.
|
|
472
|
-
b = this.
|
|
471
|
+
else if (a.left < this.aab.left && (Math.abs(a.left - this.aab.left) / a.width) > 0.8) {
|
|
472
|
+
b = this.aab.right - (Math.abs(a.left - this.aab.left));
|
|
473
473
|
d = true;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
var e = new Rect(0, b, c, a.width, a.height);
|
|
477
|
-
if (this.
|
|
478
|
-
var f = this.
|
|
479
|
-
f = this.
|
|
477
|
+
if (this.yt) {
|
|
478
|
+
var f = this.aae(this.aap, 1);
|
|
479
|
+
f = this.aag(f);
|
|
480
480
|
var g = e.left + e.width / 2;
|
|
481
481
|
var h = e.top + e.height / 2;
|
|
482
482
|
if (e.width > f.width) {
|
|
@@ -511,17 +511,17 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
if (d) {
|
|
514
|
-
this.
|
|
515
|
-
this.
|
|
516
|
-
this.
|
|
514
|
+
this.ff = true;
|
|
515
|
+
this.x5 = e;
|
|
516
|
+
this.ff = false;
|
|
517
517
|
}
|
|
518
518
|
return e;
|
|
519
519
|
};
|
|
520
|
-
XamGeographicMap.prototype.
|
|
520
|
+
XamGeographicMap.prototype.n1 = function (a, b) {
|
|
521
521
|
var c = true;
|
|
522
522
|
var d = true;
|
|
523
523
|
var e = 0;
|
|
524
|
-
var f = this.
|
|
524
|
+
var f = this.xy();
|
|
525
525
|
var g = 0;
|
|
526
526
|
var h = 0;
|
|
527
527
|
if ((a.right - f.right) > 0) {
|
|
@@ -538,39 +538,39 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
538
538
|
}
|
|
539
539
|
if (c) {
|
|
540
540
|
if (d) {
|
|
541
|
-
var i = this.
|
|
542
|
-
var j = this.
|
|
541
|
+
var i = this.yb.ft(-180, b);
|
|
542
|
+
var j = this.yb.ft(180, b);
|
|
543
543
|
e = j - i;
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
546
|
-
var k = this.
|
|
547
|
-
var l = this.
|
|
546
|
+
var k = this.yb.ft(-180, b);
|
|
547
|
+
var l = this.yb.ft(180, b);
|
|
548
548
|
e = k - l;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
551
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
552
552
|
};
|
|
553
|
-
XamGeographicMap.prototype.
|
|
554
|
-
var a = new ScalerParams(1, XamGeographicMap.
|
|
555
|
-
a.c = this.
|
|
556
|
-
var b = new ScalerParams(1, XamGeographicMap.
|
|
557
|
-
b.c = this.
|
|
558
|
-
var c = this.
|
|
559
|
-
var d = this.
|
|
560
|
-
var e = this.
|
|
561
|
-
var f = this.
|
|
562
|
-
this.
|
|
563
|
-
return this.
|
|
564
|
-
};
|
|
565
|
-
XamGeographicMap.prototype.
|
|
566
|
-
var b = this.
|
|
553
|
+
XamGeographicMap.prototype.xy = function () {
|
|
554
|
+
var a = new ScalerParams(1, XamGeographicMap.aac, this.x4, this.yc.df);
|
|
555
|
+
a.c = this.xq;
|
|
556
|
+
var b = new ScalerParams(1, XamGeographicMap.aac, this.x4, this.ye.df);
|
|
557
|
+
b.c = this.xq;
|
|
558
|
+
var c = this.yc.ft(XamGeographicMap.z9.left, a);
|
|
559
|
+
var d = this.yc.ft(XamGeographicMap.z9.right, a);
|
|
560
|
+
var e = this.ye.ft(XamGeographicMap.z9.top, b);
|
|
561
|
+
var f = this.ye.ft(XamGeographicMap.z9.bottom, b);
|
|
562
|
+
this.aab = new Rect(0, c / this.x4.width, f / this.x4.height, (d - c) / this.x4.width, (e - f) / this.x4.height);
|
|
563
|
+
return this.aab;
|
|
564
|
+
};
|
|
565
|
+
XamGeographicMap.prototype.aag = function (a) {
|
|
566
|
+
var b = this.h6;
|
|
567
567
|
var c = 0.5 * (a.left + a.right);
|
|
568
568
|
var d = 0.5 * (a.top + a.bottom);
|
|
569
569
|
var e = a.width;
|
|
570
570
|
var f = a.height;
|
|
571
571
|
var g = MathUtil.d(a.width, b, 1);
|
|
572
572
|
var h = MathUtil.d(a.height, b, 1);
|
|
573
|
-
var i = this.
|
|
573
|
+
var i = this.x4;
|
|
574
574
|
var j = i.width / i.height;
|
|
575
575
|
var k = g * i.width;
|
|
576
576
|
var l = h * i.height;
|
|
@@ -609,8 +609,8 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
609
609
|
}
|
|
610
610
|
return new Rect(0, p, q, r - p, s - q);
|
|
611
611
|
};
|
|
612
|
-
XamGeographicMap.prototype.
|
|
613
|
-
_super.prototype.
|
|
612
|
+
XamGeographicMap.prototype.xo = function (a) {
|
|
613
|
+
_super.prototype.xo.call(this, this.x4);
|
|
614
614
|
if (a.isEmpty) {
|
|
615
615
|
return Rect.empty;
|
|
616
616
|
}
|
|
@@ -625,137 +625,137 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
625
625
|
}
|
|
626
626
|
return b;
|
|
627
627
|
};
|
|
628
|
-
XamGeographicMap.prototype.
|
|
629
|
-
return this.
|
|
628
|
+
XamGeographicMap.prototype.aai = function (a) {
|
|
629
|
+
return this.xo(a);
|
|
630
630
|
};
|
|
631
|
-
XamGeographicMap.prototype.
|
|
631
|
+
XamGeographicMap.prototype.dn = function () {
|
|
632
632
|
return new XamGeographicMapView(this);
|
|
633
633
|
};
|
|
634
|
-
XamGeographicMap.prototype.
|
|
634
|
+
XamGeographicMap.prototype.zi = function (a) {
|
|
635
635
|
if (a != null) {
|
|
636
|
-
a.
|
|
636
|
+
a.b0 = this;
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
|
-
XamGeographicMap.prototype.
|
|
640
|
-
_super.prototype.
|
|
641
|
-
this.
|
|
639
|
+
XamGeographicMap.prototype.q4 = function (a) {
|
|
640
|
+
_super.prototype.q4.call(this, a);
|
|
641
|
+
this.yo = a;
|
|
642
642
|
};
|
|
643
|
-
XamGeographicMap.prototype.
|
|
644
|
-
_super.prototype.
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
643
|
+
XamGeographicMap.prototype.rf = function (a, b) {
|
|
644
|
+
_super.prototype.rf.call(this, a, b);
|
|
645
|
+
this.sx(this.yc);
|
|
646
|
+
this.sx(this.ye);
|
|
647
647
|
if (Rect.l_op_Inequality(a, b)) {
|
|
648
|
-
this.
|
|
648
|
+
this.zn();
|
|
649
649
|
}
|
|
650
|
-
if (this.
|
|
651
|
-
this.
|
|
650
|
+
if (this.yt) {
|
|
651
|
+
this.xm = this.xn();
|
|
652
652
|
}
|
|
653
|
-
this.
|
|
653
|
+
this.zu();
|
|
654
654
|
};
|
|
655
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
655
|
+
Object.defineProperty(XamGeographicMap.prototype, "yy", {
|
|
656
656
|
get: function () {
|
|
657
|
-
return this.
|
|
657
|
+
return this.yw;
|
|
658
658
|
},
|
|
659
659
|
set: function (a) {
|
|
660
|
-
var b = this.
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
660
|
+
var b = this.yw;
|
|
661
|
+
this.yw = a;
|
|
662
|
+
this.rx("ActualWindowScale", b, this.yw);
|
|
663
663
|
},
|
|
664
664
|
enumerable: false,
|
|
665
665
|
configurable: true
|
|
666
666
|
});
|
|
667
|
-
XamGeographicMap.prototype.
|
|
668
|
-
return this.
|
|
667
|
+
XamGeographicMap.prototype.ic = function () {
|
|
668
|
+
return this.yy;
|
|
669
669
|
};
|
|
670
|
-
XamGeographicMap.prototype.
|
|
671
|
-
return this.
|
|
670
|
+
XamGeographicMap.prototype.id = function () {
|
|
671
|
+
return this.yy;
|
|
672
672
|
};
|
|
673
|
-
XamGeographicMap.prototype.
|
|
674
|
-
_super.prototype.
|
|
675
|
-
var a = Math.min(this.
|
|
676
|
-
this.
|
|
673
|
+
XamGeographicMap.prototype.sw = function () {
|
|
674
|
+
_super.prototype.sw.call(this);
|
|
675
|
+
var a = Math.min(this.xm.width, this.xm.height);
|
|
676
|
+
this.yy = a;
|
|
677
677
|
};
|
|
678
|
-
XamGeographicMap.prototype.
|
|
679
|
-
return this.
|
|
678
|
+
XamGeographicMap.prototype.gl = function () {
|
|
679
|
+
return this.yq;
|
|
680
680
|
};
|
|
681
|
-
XamGeographicMap.prototype.
|
|
682
|
-
if (this.
|
|
683
|
-
if (this.
|
|
681
|
+
XamGeographicMap.prototype.c5 = function () {
|
|
682
|
+
if (this.c6 == 0) {
|
|
683
|
+
if (this.yr) {
|
|
684
684
|
return 2;
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
return this.
|
|
687
|
+
return this.c6;
|
|
688
688
|
};
|
|
689
|
-
XamGeographicMap.prototype.
|
|
689
|
+
XamGeographicMap.prototype.rg = function (a, b, c, d) {
|
|
690
690
|
var e_2, _a, e_3, _b;
|
|
691
|
-
_super.prototype.
|
|
691
|
+
_super.prototype.rg.call(this, a, b, c, d);
|
|
692
692
|
switch (b) {
|
|
693
693
|
case "ZoomCoercionMode":
|
|
694
|
-
this.
|
|
694
|
+
this.zj();
|
|
695
695
|
break;
|
|
696
696
|
case "WindowRect":
|
|
697
|
-
this.
|
|
697
|
+
this.zr();
|
|
698
698
|
break;
|
|
699
699
|
case XamGeographicMap.$$p[0]:
|
|
700
|
-
this.
|
|
701
|
-
if (this.
|
|
702
|
-
this.
|
|
700
|
+
this.yk = this.yl();
|
|
701
|
+
if (this.yh != null) {
|
|
702
|
+
this.yh.isHorizontalWrappingEnabled = this.yk == 2;
|
|
703
703
|
}
|
|
704
704
|
break;
|
|
705
705
|
case XamGeographicMap.$$p[1]:
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
709
|
-
if (this.
|
|
710
|
-
this.
|
|
706
|
+
this.yq = this.yr;
|
|
707
|
+
this.yk = this.yl();
|
|
708
|
+
this.c4 = this.c5();
|
|
709
|
+
if (this.yh != null) {
|
|
710
|
+
this.yh.isHorizontalWrappingEnabled = this.yk == 2;
|
|
711
711
|
}
|
|
712
712
|
break;
|
|
713
713
|
case XamGeographicMap.$$p[4]:
|
|
714
|
-
this.
|
|
714
|
+
this.xm = this.xn();
|
|
715
715
|
break;
|
|
716
716
|
case "BackgroundContent":
|
|
717
|
-
if (this.
|
|
718
|
-
var e = this.
|
|
719
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
720
|
-
this.
|
|
717
|
+
if (this.yh != null) {
|
|
718
|
+
var e = this.yh;
|
|
719
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.zk));
|
|
720
|
+
this.yh.deferralHandler = null;
|
|
721
721
|
}
|
|
722
|
-
this.
|
|
723
|
-
if (this.
|
|
724
|
-
var f = this.
|
|
725
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
726
|
-
this.
|
|
727
|
-
this.
|
|
722
|
+
this.yh = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
723
|
+
if (this.yh != null) {
|
|
724
|
+
var f = this.yh;
|
|
725
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.zk));
|
|
726
|
+
this.yh.deferralHandler = this;
|
|
727
|
+
this.yh.isHorizontalWrappingEnabled = this.yk == 2;
|
|
728
728
|
}
|
|
729
|
-
this.
|
|
730
|
-
if (this.
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
729
|
+
this.yo.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
730
|
+
if (this.yh != null) {
|
|
731
|
+
this.yh.geographicMap = this;
|
|
732
|
+
this.yo.fr(this.xm);
|
|
733
|
+
this.yo.fv(this.h2);
|
|
734
734
|
}
|
|
735
735
|
break;
|
|
736
736
|
case "YAxis":
|
|
737
737
|
case "XAxis":
|
|
738
|
-
this.
|
|
739
|
-
this.
|
|
738
|
+
this.zp(c);
|
|
739
|
+
this.zi(d);
|
|
740
740
|
break;
|
|
741
741
|
case XamGeographicMap.$$p[6]:
|
|
742
|
-
if (!this.
|
|
743
|
-
this.
|
|
742
|
+
if (!this.ys) {
|
|
743
|
+
this.x5 = XamGeographicMap.aac;
|
|
744
744
|
}
|
|
745
|
-
this.
|
|
746
|
-
this.
|
|
747
|
-
this.
|
|
748
|
-
this.
|
|
749
|
-
this.
|
|
745
|
+
this.zj();
|
|
746
|
+
this.zq();
|
|
747
|
+
this.zr();
|
|
748
|
+
this.xm = this.xn();
|
|
749
|
+
this.yo.fs();
|
|
750
750
|
break;
|
|
751
751
|
case "ActualWindowRect":
|
|
752
|
-
this.
|
|
752
|
+
this.yo.fr(this.xm);
|
|
753
753
|
break;
|
|
754
754
|
case "ActualWorldRect":
|
|
755
755
|
try {
|
|
756
756
|
for (var _c = __values(fromEnum(this.series)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
757
757
|
var g = _d.value;
|
|
758
|
-
g.
|
|
758
|
+
g.ry(false);
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
catch (e_2_1) {
|
|
@@ -773,36 +773,36 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
773
773
|
}
|
|
774
774
|
break;
|
|
775
775
|
case XamGeographicMap.$$p[5]:
|
|
776
|
-
this.
|
|
776
|
+
this.yy = this.yz;
|
|
777
777
|
break;
|
|
778
778
|
case "ActualWindowScale":
|
|
779
|
-
if (!this.
|
|
780
|
-
this.
|
|
779
|
+
if (!this.gt) {
|
|
780
|
+
this.s7(this.ic(), this.id());
|
|
781
781
|
}
|
|
782
782
|
break;
|
|
783
783
|
case "ActualPixelScalingRatio":
|
|
784
|
-
this.
|
|
784
|
+
this.yo.fv(this.h2);
|
|
785
785
|
break;
|
|
786
786
|
case "WindowRectMinWidth":
|
|
787
787
|
case "WindowRectMinHeight":
|
|
788
788
|
var h = d;
|
|
789
789
|
if (isNaN_(h) || isInfinity(h)) {
|
|
790
|
-
this.
|
|
791
|
-
this.
|
|
790
|
+
this.h6 = 5E-06;
|
|
791
|
+
this.h5 = 5E-06;
|
|
792
792
|
}
|
|
793
793
|
else {
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
794
|
+
this.h6 = h;
|
|
795
|
+
this.h5 = h;
|
|
796
796
|
}
|
|
797
797
|
break;
|
|
798
798
|
case XamGeographicMap.$$p[7]:
|
|
799
|
-
this.
|
|
799
|
+
this.s3();
|
|
800
800
|
break;
|
|
801
801
|
case "MarkerAutomaticBehavior":
|
|
802
802
|
try {
|
|
803
803
|
for (var _e = __values(fromEnum(this.series)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
804
804
|
var i = _f.value;
|
|
805
|
-
i.
|
|
805
|
+
i.qm();
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
808
|
catch (e_3_1) {
|
|
@@ -821,123 +821,123 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
821
821
|
break;
|
|
822
822
|
}
|
|
823
823
|
};
|
|
824
|
-
XamGeographicMap.prototype.
|
|
824
|
+
XamGeographicMap.prototype.zk = function (a, b) {
|
|
825
825
|
if (this.imageTilesReady != null) {
|
|
826
826
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
827
827
|
}
|
|
828
828
|
};
|
|
829
|
-
XamGeographicMap.prototype.
|
|
829
|
+
XamGeographicMap.prototype.zp = function (a) {
|
|
830
830
|
if (a != null) {
|
|
831
|
-
a.
|
|
831
|
+
a.b0 = null;
|
|
832
832
|
}
|
|
833
833
|
};
|
|
834
|
-
XamGeographicMap.prototype.
|
|
835
|
-
if (this.
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
834
|
+
XamGeographicMap.prototype.zq = function () {
|
|
835
|
+
if (this.yc != null) {
|
|
836
|
+
this.yc.p3 = this.aad.left;
|
|
837
|
+
this.yc.p2 = this.aad.right;
|
|
838
838
|
}
|
|
839
|
-
if (this.
|
|
840
|
-
this.
|
|
841
|
-
this.
|
|
839
|
+
if (this.ye != null) {
|
|
840
|
+
this.ye.p3 = this.aad.top;
|
|
841
|
+
this.ye.p2 = this.aad.bottom;
|
|
842
842
|
}
|
|
843
|
-
this.
|
|
844
|
-
this.
|
|
843
|
+
this.yc.d3(true);
|
|
844
|
+
this.ye.d3(true);
|
|
845
845
|
};
|
|
846
846
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
847
|
-
this.
|
|
848
|
-
return this.
|
|
847
|
+
this.yp = this.yo.fo;
|
|
848
|
+
return this.yp;
|
|
849
849
|
};
|
|
850
|
-
XamGeographicMap.prototype.
|
|
851
|
-
return this.
|
|
850
|
+
XamGeographicMap.prototype.wq = function () {
|
|
851
|
+
return this.yo.fw;
|
|
852
852
|
};
|
|
853
853
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
854
|
-
return this.
|
|
854
|
+
return this.yo.fx;
|
|
855
855
|
};
|
|
856
|
-
XamGeographicMap.prototype.
|
|
856
|
+
XamGeographicMap.prototype.sp = function (a, b) {
|
|
857
857
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
858
858
|
var c = b;
|
|
859
859
|
var d = a;
|
|
860
860
|
d.itemsSource = c.triangulationSource.points;
|
|
861
|
-
d.
|
|
861
|
+
d.xj = c.triangulationSource.triangles;
|
|
862
862
|
}
|
|
863
863
|
else {
|
|
864
|
-
_super.prototype.
|
|
864
|
+
_super.prototype.sp.call(this, a, b);
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
867
|
XamGeographicMap.prototype.register = function (a, b) {
|
|
868
|
-
this.
|
|
868
|
+
this.sc(a, b);
|
|
869
869
|
};
|
|
870
870
|
XamGeographicMap.prototype.unRegister = function (a) {
|
|
871
|
-
this.
|
|
871
|
+
this.sv(a);
|
|
872
872
|
};
|
|
873
873
|
XamGeographicMap.prototype.deferredRefresh = function () {
|
|
874
|
-
this.
|
|
874
|
+
this.of();
|
|
875
875
|
};
|
|
876
876
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
877
|
-
if (this.
|
|
878
|
-
this.
|
|
877
|
+
if (this.y1 != null) {
|
|
878
|
+
this.y1.setTimeout(a, 0);
|
|
879
879
|
}
|
|
880
880
|
else {
|
|
881
881
|
window.setTimeout(a, 0);
|
|
882
882
|
}
|
|
883
883
|
};
|
|
884
|
-
XamGeographicMap.prototype.
|
|
885
|
-
this.
|
|
884
|
+
XamGeographicMap.prototype.zh = function (a) {
|
|
885
|
+
this.s2(a);
|
|
886
886
|
};
|
|
887
|
-
XamGeographicMap.prototype.
|
|
887
|
+
XamGeographicMap.prototype.y2 = function () {
|
|
888
888
|
var a = new ChartVisualData();
|
|
889
|
-
var b = this.
|
|
890
|
-
var c = this.
|
|
889
|
+
var b = this.yc.hb();
|
|
890
|
+
var c = this.ye.hb();
|
|
891
891
|
a.axes.add1(b);
|
|
892
892
|
a.axes.add1(c);
|
|
893
893
|
for (var d = 0; d < this.series.count; d++) {
|
|
894
|
-
var e = this.series._inner[d].
|
|
894
|
+
var e = this.series._inner[d].kq();
|
|
895
895
|
a.series.add1(e);
|
|
896
896
|
}
|
|
897
897
|
a.name = this.name;
|
|
898
|
-
a.contentArea = RectData.b(this.
|
|
899
|
-
a.centralArea = RectData.b(this.
|
|
900
|
-
a.plotArea = RectData.b(this.
|
|
898
|
+
a.contentArea = RectData.b(this.x4);
|
|
899
|
+
a.centralArea = RectData.b(this.x4);
|
|
900
|
+
a.plotArea = RectData.b(this.x4);
|
|
901
901
|
return a;
|
|
902
902
|
};
|
|
903
|
-
XamGeographicMap.prototype.
|
|
903
|
+
XamGeographicMap.prototype.xu = function (a, b, c) {
|
|
904
904
|
return a;
|
|
905
905
|
};
|
|
906
|
-
XamGeographicMap.prototype.
|
|
906
|
+
XamGeographicMap.prototype.zl = function () {
|
|
907
907
|
};
|
|
908
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
908
|
+
Object.defineProperty(XamGeographicMap.prototype, "aao", {
|
|
909
909
|
get: function () {
|
|
910
|
-
return this.
|
|
910
|
+
return this.aaa;
|
|
911
911
|
},
|
|
912
912
|
set: function (a) {
|
|
913
|
-
this.
|
|
913
|
+
this.aaa = a;
|
|
914
914
|
},
|
|
915
915
|
enumerable: false,
|
|
916
916
|
configurable: true
|
|
917
917
|
});
|
|
918
|
-
XamGeographicMap.prototype.
|
|
919
|
-
this.
|
|
920
|
-
this.
|
|
918
|
+
XamGeographicMap.prototype.zv = function (a) {
|
|
919
|
+
this.aao = a;
|
|
920
|
+
this.zu();
|
|
921
921
|
};
|
|
922
|
-
XamGeographicMap.prototype.
|
|
923
|
-
if (this.
|
|
924
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
925
|
-
this.
|
|
926
|
-
this.
|
|
922
|
+
XamGeographicMap.prototype.zu = function () {
|
|
923
|
+
if (this.yv && !this.aao.isEmpty) {
|
|
924
|
+
var a = this.getZoomFromGeographicRect(this.aao);
|
|
925
|
+
this.aao = Rect.empty;
|
|
926
|
+
this.s9(a, false);
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
929
|
+
Object.defineProperty(XamGeographicMap.prototype, "yv", {
|
|
930
930
|
get: function () {
|
|
931
|
-
return !this.
|
|
931
|
+
return !this.x4.isEmpty && !this.xq.isEmpty;
|
|
932
932
|
},
|
|
933
933
|
enumerable: false,
|
|
934
934
|
configurable: true
|
|
935
935
|
});
|
|
936
936
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
937
|
-
XamGeographicMap.
|
|
938
|
-
XamGeographicMap.
|
|
939
|
-
XamGeographicMap.
|
|
940
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
937
|
+
XamGeographicMap.ym = 0;
|
|
938
|
+
XamGeographicMap.z9 = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
939
|
+
XamGeographicMap.aac = new Rect(0, 0, 0, 1, 1);
|
|
940
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'rx', ['BackgroundTilingMode:yj:zw', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:yr:zx', [0, false], 'ResizeBehavior:yn:zy', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.ym)], 'SuppressZoomResetOnWorldRectChange:ys:zz', [0, false], 'UseWorldRectForZoomBounds:yt:z0', [0, false], 'WindowScale:yz:z1', [1, NaN], 'WorldRect:aap:z2', [Rect.$, XamGeographicMap.z9], 'Zoomable:yu:z3', [0, true]]);
|
|
941
941
|
return XamGeographicMap;
|
|
942
942
|
}(SeriesViewer));
|
|
943
943
|
export { XamGeographicMap };
|
|
@@ -995,8 +995,8 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
995
995
|
c.downloadingImage = delegateCombine(c.downloadingImage, runOn(this, this.a3));
|
|
996
996
|
var d = this.ao;
|
|
997
997
|
d.cancellingImage = delegateCombine(d.cancellingImage, runOn(this, this.a2));
|
|
998
|
-
this.ao.
|
|
999
|
-
this.ao.
|
|
998
|
+
this.ao.bh = this.referer;
|
|
999
|
+
this.ao.bl = this.userAgent;
|
|
1000
1000
|
this.ao.av = this.isHorizontalWrappingEnabled;
|
|
1001
1001
|
};
|
|
1002
1002
|
GeographicMapImagery.prototype.a3 = function (a, b) {
|
|
@@ -1024,12 +1024,12 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1024
1024
|
break;
|
|
1025
1025
|
case GeographicMapImagery.$$p[1]:
|
|
1026
1026
|
if (this.ao != null) {
|
|
1027
|
-
this.ao.
|
|
1027
|
+
this.ao.bh = this.referer;
|
|
1028
1028
|
}
|
|
1029
1029
|
break;
|
|
1030
1030
|
case GeographicMapImagery.$$p[2]:
|
|
1031
1031
|
if (this.ao != null) {
|
|
1032
|
-
this.ao.
|
|
1032
|
+
this.ao.bl = this.userAgent;
|
|
1033
1033
|
}
|
|
1034
1034
|
break;
|
|
1035
1035
|
case GeographicMapImagery.$$p[0]:
|
|
@@ -1060,7 +1060,7 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
GeographicMapImagery.prototype.clearTileCache = function () {
|
|
1062
1062
|
if (this.ao != null) {
|
|
1063
|
-
this.ao.
|
|
1063
|
+
this.ao.bu(0, 0, 0, 0);
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
1066
|
Object.defineProperty(GeographicMapImagery.prototype, "ao", {
|
|
@@ -1081,23 +1081,23 @@ var GeographicMapImagery = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1081
1081
|
return a;
|
|
1082
1082
|
}
|
|
1083
1083
|
var b = new Rect(0, 0, 0, a.width, a.height);
|
|
1084
|
-
var c = this.geographicMap.
|
|
1085
|
-
var d = XamGeographicMap.
|
|
1086
|
-
var e = this.geographicMap.
|
|
1084
|
+
var c = this.geographicMap.aai(b);
|
|
1085
|
+
var d = XamGeographicMap.z9;
|
|
1086
|
+
var e = this.geographicMap.aad;
|
|
1087
1087
|
var f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
1088
1088
|
var g = e.width / d.width;
|
|
1089
1089
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
1090
|
-
var h = this.geographicMap.
|
|
1091
|
-
var i = this.geographicMap.
|
|
1092
|
-
var j = new ScalerParams(1, this.windowRect, b, h.
|
|
1090
|
+
var h = this.geographicMap.yc;
|
|
1091
|
+
var i = this.geographicMap.ye;
|
|
1092
|
+
var j = new ScalerParams(1, this.windowRect, b, h.df);
|
|
1093
1093
|
j.c = c;
|
|
1094
|
-
var k = new ScalerParams(1, this.windowRect, b, i.
|
|
1094
|
+
var k = new ScalerParams(1, this.windowRect, b, i.df);
|
|
1095
1095
|
k.c = c;
|
|
1096
|
-
var l = h.
|
|
1097
|
-
var m = i.
|
|
1096
|
+
var l = h.ft(d.left, j);
|
|
1097
|
+
var m = i.ft(d.bottom, k);
|
|
1098
1098
|
var n = (-l / b.width) * this.ao.a5;
|
|
1099
1099
|
var o = (-m / b.height) * this.ao.a5 * (b.height / b.width);
|
|
1100
|
-
this.ao.
|
|
1100
|
+
this.ao.cq = { $type: Point_$type, x: n, y: o };
|
|
1101
1101
|
return a;
|
|
1102
1102
|
};
|
|
1103
1103
|
GeographicMapImagery.prototype.bd = function (a) {
|
|
@@ -1155,15 +1155,15 @@ var GeographicMapImageryView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1155
1155
|
this.a.bn(new Size(1, this.j.width, this.j.height));
|
|
1156
1156
|
};
|
|
1157
1157
|
GeographicMapImageryView.prototype.f = function (a) {
|
|
1158
|
-
this.a.ao.
|
|
1158
|
+
this.a.ao.b5(a);
|
|
1159
1159
|
};
|
|
1160
1160
|
GeographicMapImageryView.prototype.g = function (a) {
|
|
1161
1161
|
this.d = a;
|
|
1162
|
-
this.a.ao.
|
|
1162
|
+
this.a.ao.b6(a);
|
|
1163
1163
|
};
|
|
1164
1164
|
GeographicMapImageryView.prototype.h = function (a) {
|
|
1165
1165
|
this.j = a;
|
|
1166
|
-
this.a.ao.
|
|
1166
|
+
this.a.ao.b7(a);
|
|
1167
1167
|
this.a.a6();
|
|
1168
1168
|
};
|
|
1169
1169
|
Object.defineProperty(GeographicMapImageryView.prototype, "c", {
|
|
@@ -1175,7 +1175,7 @@ var GeographicMapImageryView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1175
1175
|
});
|
|
1176
1176
|
GeographicMapImageryView.prototype.i = function (a) {
|
|
1177
1177
|
this.b = a;
|
|
1178
|
-
this.a.ao.
|
|
1178
|
+
this.a.ao.b3(a);
|
|
1179
1179
|
};
|
|
1180
1180
|
GeographicMapImageryView.$t = markType(GeographicMapImageryView, 'GeographicMapImageryView');
|
|
1181
1181
|
return GeographicMapImageryView;
|
|
@@ -1194,41 +1194,41 @@ var GeographicXYTriangulatingSeriesView = /** @class */ /*@__PURE__*/ (function
|
|
|
1194
1194
|
}
|
|
1195
1195
|
GeographicXYTriangulatingSeriesView.prototype.ci = function () {
|
|
1196
1196
|
_super.prototype.ci.call(this);
|
|
1197
|
-
var a = this.cu.
|
|
1198
|
-
a.
|
|
1199
|
-
a.
|
|
1200
|
-
a.trianglesSource = this.cu.
|
|
1201
|
-
a.
|
|
1202
|
-
a.
|
|
1203
|
-
a.
|
|
1197
|
+
var a = this.cu.xa;
|
|
1198
|
+
a.ya = this.cu.xm;
|
|
1199
|
+
a.yi = this.cu.xk;
|
|
1200
|
+
a.trianglesSource = this.cu.xj;
|
|
1201
|
+
a.xy = this.cu.xp;
|
|
1202
|
+
a.x0 = this.cu.xr;
|
|
1203
|
+
a.x2 = this.cu.xt;
|
|
1204
1204
|
};
|
|
1205
1205
|
GeographicXYTriangulatingSeriesView.prototype.cx = function () {
|
|
1206
|
-
var a = this.cu.
|
|
1206
|
+
var a = this.cu.xa;
|
|
1207
1207
|
if (this.cu.dc == null) {
|
|
1208
|
-
a.
|
|
1209
|
-
a.
|
|
1208
|
+
a.w8 = null;
|
|
1209
|
+
a.w9 = null;
|
|
1210
1210
|
return;
|
|
1211
1211
|
}
|
|
1212
|
-
a.
|
|
1213
|
-
a.
|
|
1212
|
+
a.w8 = this.cu.dc.yc;
|
|
1213
|
+
a.w9 = this.cu.dc.ye;
|
|
1214
1214
|
};
|
|
1215
1215
|
GeographicXYTriangulatingSeriesView.prototype.cw = function () {
|
|
1216
|
-
this.cu.
|
|
1216
|
+
this.cu.xa.ya = this.cu.xm;
|
|
1217
1217
|
};
|
|
1218
1218
|
GeographicXYTriangulatingSeriesView.prototype.cv = function () {
|
|
1219
|
-
this.cu.
|
|
1219
|
+
this.cu.xa.yi = this.cu.xk;
|
|
1220
1220
|
};
|
|
1221
1221
|
GeographicXYTriangulatingSeriesView.prototype.cy = function () {
|
|
1222
|
-
this.cu.
|
|
1222
|
+
this.cu.xa.trianglesSource = this.cu.xj;
|
|
1223
1223
|
};
|
|
1224
1224
|
GeographicXYTriangulatingSeriesView.prototype.cz = function () {
|
|
1225
|
-
this.cu.
|
|
1225
|
+
this.cu.xa.xy = this.cu.xp;
|
|
1226
1226
|
};
|
|
1227
1227
|
GeographicXYTriangulatingSeriesView.prototype.c0 = function () {
|
|
1228
|
-
this.cu.
|
|
1228
|
+
this.cu.xa.x0 = this.cu.xr;
|
|
1229
1229
|
};
|
|
1230
1230
|
GeographicXYTriangulatingSeriesView.prototype.c1 = function () {
|
|
1231
|
-
this.cu.
|
|
1231
|
+
this.cu.xa.x2 = this.cu.xt;
|
|
1232
1232
|
};
|
|
1233
1233
|
GeographicXYTriangulatingSeriesView.$t = markType(GeographicXYTriangulatingSeriesView, 'GeographicXYTriangulatingSeriesView', HostSeriesView.$);
|
|
1234
1234
|
return GeographicXYTriangulatingSeriesView;
|
|
@@ -1252,19 +1252,19 @@ var GeographicScatterAreaSeriesView = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
1252
1252
|
};
|
|
1253
1253
|
GeographicScatterAreaSeriesView.prototype.ci = function () {
|
|
1254
1254
|
_super.prototype.ci.call(this);
|
|
1255
|
-
if (this.c2.
|
|
1256
|
-
this.c2.
|
|
1257
|
-
this.c2.
|
|
1255
|
+
if (this.c2.x4 != null) {
|
|
1256
|
+
this.c2.x4.zh = this.c2.x8;
|
|
1257
|
+
this.c2.x4.y5 = this.c2.x3;
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
1260
|
GeographicScatterAreaSeriesView.prototype.c3 = function () {
|
|
1261
|
-
if (this.c2.
|
|
1262
|
-
this.c2.
|
|
1261
|
+
if (this.c2.x4 != null) {
|
|
1262
|
+
this.c2.x4.zh = this.c2.x8;
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
1265
|
GeographicScatterAreaSeriesView.prototype.c4 = function () {
|
|
1266
|
-
if (this.c2.
|
|
1267
|
-
this.c2.
|
|
1266
|
+
if (this.c2.x4 != null) {
|
|
1267
|
+
this.c2.x4.y5 = this.c2.x3;
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
1270
|
GeographicScatterAreaSeriesView.$t = markType(GeographicScatterAreaSeriesView, 'GeographicScatterAreaSeriesView', GeographicXYTriangulatingSeriesView.$);
|
|
@@ -1286,8 +1286,8 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1286
1286
|
_this.fp = NaN;
|
|
1287
1287
|
_this.fz = Rect.empty;
|
|
1288
1288
|
_this.fn = a;
|
|
1289
|
-
_this.fn.
|
|
1290
|
-
_this.fn.
|
|
1289
|
+
_this.fn.wj = 2;
|
|
1290
|
+
_this.fn.jg = 5E-06;
|
|
1291
1291
|
return _this;
|
|
1292
1292
|
}
|
|
1293
1293
|
XamGeographicMapView.prototype.m = function (a) {
|
|
@@ -1295,7 +1295,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1295
1295
|
};
|
|
1296
1296
|
XamGeographicMapView.prototype.bk = function (a) {
|
|
1297
1297
|
this.j.bw(a);
|
|
1298
|
-
this.fn.
|
|
1298
|
+
this.fn.zh(a);
|
|
1299
1299
|
this.el();
|
|
1300
1300
|
};
|
|
1301
1301
|
XamGeographicMapView.prototype.get_ap = function () {
|
|
@@ -1358,13 +1358,13 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
};
|
|
1360
1360
|
XamGeographicMapView.prototype.fr = function (a) {
|
|
1361
|
-
if (this.fn.
|
|
1362
|
-
this.fn.
|
|
1361
|
+
if (this.fn.yh != null) {
|
|
1362
|
+
this.fn.yh.windowRect = a;
|
|
1363
1363
|
}
|
|
1364
1364
|
};
|
|
1365
1365
|
XamGeographicMapView.prototype.fu = function (a, b) {
|
|
1366
|
-
if (this.fn.
|
|
1367
|
-
this.fn.
|
|
1366
|
+
if (this.fn.yh != null) {
|
|
1367
|
+
this.fn.yh.windowRect = this.fn.xm;
|
|
1368
1368
|
}
|
|
1369
1369
|
if (a != null) {
|
|
1370
1370
|
var c = a.ao;
|
|
@@ -1391,7 +1391,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
1393
|
XamGeographicMapView.prototype.ft = function (a) {
|
|
1394
|
-
var b = this.fn.
|
|
1394
|
+
var b = this.fn.h2;
|
|
1395
1395
|
if (b != 1) {
|
|
1396
1396
|
a.aa();
|
|
1397
1397
|
a.ab(b, b);
|
|
@@ -1474,38 +1474,38 @@ var GeographicXYTriangulatingSeries = /** @class */ /*@__PURE__*/ (function (_su
|
|
|
1474
1474
|
GeographicXYTriangulatingSeries.prototype.ct = function () {
|
|
1475
1475
|
return new GeographicXYTriangulatingSeriesView(this);
|
|
1476
1476
|
};
|
|
1477
|
-
GeographicXYTriangulatingSeries.prototype.
|
|
1478
|
-
_super.prototype.
|
|
1479
|
-
this.
|
|
1477
|
+
GeographicXYTriangulatingSeries.prototype.q7 = function (a) {
|
|
1478
|
+
_super.prototype.q7.call(this, a);
|
|
1479
|
+
this.xi = a;
|
|
1480
1480
|
};
|
|
1481
|
-
GeographicXYTriangulatingSeries.prototype.
|
|
1482
|
-
_super.prototype.
|
|
1481
|
+
GeographicXYTriangulatingSeries.prototype.rg = function (a, b, c, d) {
|
|
1482
|
+
_super.prototype.rg.call(this, a, b, c, d);
|
|
1483
1483
|
switch (b) {
|
|
1484
1484
|
case "SeriesViewer":
|
|
1485
|
-
this.
|
|
1485
|
+
this.xi.cx();
|
|
1486
1486
|
break;
|
|
1487
1487
|
case GeographicXYTriangulatingSeries.$$p[1]:
|
|
1488
|
-
this.
|
|
1488
|
+
this.xi.cw();
|
|
1489
1489
|
break;
|
|
1490
1490
|
case GeographicXYTriangulatingSeries.$$p[0]:
|
|
1491
|
-
this.
|
|
1491
|
+
this.xi.cv();
|
|
1492
1492
|
break;
|
|
1493
1493
|
case GeographicXYTriangulatingSeries.$$p[5]:
|
|
1494
|
-
this.
|
|
1494
|
+
this.xi.cy();
|
|
1495
1495
|
break;
|
|
1496
1496
|
case GeographicXYTriangulatingSeries.$$p[2]:
|
|
1497
|
-
this.
|
|
1497
|
+
this.xi.cz();
|
|
1498
1498
|
break;
|
|
1499
1499
|
case GeographicXYTriangulatingSeries.$$p[3]:
|
|
1500
|
-
this.
|
|
1500
|
+
this.xi.c0();
|
|
1501
1501
|
break;
|
|
1502
1502
|
case GeographicXYTriangulatingSeries.$$p[4]:
|
|
1503
|
-
this.
|
|
1503
|
+
this.xi.c1();
|
|
1504
1504
|
break;
|
|
1505
1505
|
}
|
|
1506
1506
|
};
|
|
1507
1507
|
GeographicXYTriangulatingSeries.$t = markType(GeographicXYTriangulatingSeries, 'GeographicXYTriangulatingSeries', GeographicMapSeriesHost.$);
|
|
1508
|
-
GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:
|
|
1508
|
+
GeographicXYTriangulatingSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicXYTriangulatingSeries, 'raisePropertyChanged', ['LatitudeMemberPath:xk:xv', [2, "pointY"], 'LongitudeMemberPath:xm:xw', [2, "pointX"], 'TriangleVertexMemberPath1:xp:xy', [2, "v1"], 'TriangleVertexMemberPath2:xr:xz', [2, "v2"], 'TriangleVertexMemberPath3:xt:x0', [2, "v3"], 'TrianglesSource:xj:xx', [IEnumerable_$type, null]]);
|
|
1509
1509
|
return GeographicXYTriangulatingSeries;
|
|
1510
1510
|
}(GeographicMapSeriesHost));
|
|
1511
1511
|
export { GeographicXYTriangulatingSeries };
|
|
@@ -1516,7 +1516,7 @@ var GeographicScatterAreaSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1516
1516
|
__extends(GeographicScatterAreaSeries, _super);
|
|
1517
1517
|
function GeographicScatterAreaSeries() {
|
|
1518
1518
|
var _this = _super.call(this) || this;
|
|
1519
|
-
_this.
|
|
1519
|
+
_this.x1 = null;
|
|
1520
1520
|
_this.triangulationStatusChanged = null;
|
|
1521
1521
|
_this.ab = GeographicScatterAreaSeries.$;
|
|
1522
1522
|
return _this;
|
|
@@ -1527,53 +1527,53 @@ var GeographicScatterAreaSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1527
1527
|
GeographicScatterAreaSeries.prototype.get_ew = function () {
|
|
1528
1528
|
return true;
|
|
1529
1529
|
};
|
|
1530
|
-
Object.defineProperty(GeographicScatterAreaSeries.prototype, "
|
|
1530
|
+
Object.defineProperty(GeographicScatterAreaSeries.prototype, "x3", {
|
|
1531
1531
|
get: function () {
|
|
1532
|
-
return this.
|
|
1532
|
+
return this.x1;
|
|
1533
1533
|
},
|
|
1534
1534
|
set: function (a) {
|
|
1535
|
-
var b = this.
|
|
1535
|
+
var b = this.x1 != a;
|
|
1536
1536
|
if (b) {
|
|
1537
|
-
var c = this.
|
|
1538
|
-
if (this.
|
|
1539
|
-
var d = this.
|
|
1540
|
-
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.
|
|
1537
|
+
var c = this.x1;
|
|
1538
|
+
if (this.x1 != null) {
|
|
1539
|
+
var d = this.x1;
|
|
1540
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.yb));
|
|
1541
1541
|
}
|
|
1542
|
-
this.
|
|
1543
|
-
if (this.
|
|
1544
|
-
var e = this.
|
|
1545
|
-
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.
|
|
1542
|
+
this.x1 = a;
|
|
1543
|
+
if (this.x1 != null) {
|
|
1544
|
+
var e = this.x1;
|
|
1545
|
+
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.yb));
|
|
1546
1546
|
}
|
|
1547
|
-
this.raisePropertyChanged("ColorScale", c, this.
|
|
1548
|
-
if (this.
|
|
1549
|
-
this.
|
|
1547
|
+
this.raisePropertyChanged("ColorScale", c, this.x1);
|
|
1548
|
+
if (this.x4 != null) {
|
|
1549
|
+
this.x4.y5 = a;
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
1552
|
},
|
|
1553
1553
|
enumerable: false,
|
|
1554
1554
|
configurable: true
|
|
1555
1555
|
});
|
|
1556
|
-
GeographicScatterAreaSeries.prototype.
|
|
1557
|
-
this.
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1556
|
+
GeographicScatterAreaSeries.prototype.yb = function (a, b) {
|
|
1557
|
+
this.x6.c4();
|
|
1558
|
+
this.yd();
|
|
1559
|
+
this.ry(false);
|
|
1560
1560
|
};
|
|
1561
|
-
GeographicScatterAreaSeries.prototype.
|
|
1562
|
-
if (this.
|
|
1563
|
-
this.
|
|
1561
|
+
GeographicScatterAreaSeries.prototype.yd = function () {
|
|
1562
|
+
if (this.x4 != null) {
|
|
1563
|
+
this.x2 = this.x4.y4;
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
|
-
GeographicScatterAreaSeries.prototype.
|
|
1567
|
-
_super.prototype.
|
|
1568
|
-
this.
|
|
1566
|
+
GeographicScatterAreaSeries.prototype.sp = function () {
|
|
1567
|
+
_super.prototype.sp.call(this);
|
|
1568
|
+
this.yd();
|
|
1569
1569
|
};
|
|
1570
|
-
GeographicScatterAreaSeries.prototype.
|
|
1571
|
-
this.
|
|
1572
|
-
var a = this.
|
|
1573
|
-
a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.
|
|
1574
|
-
return this.
|
|
1570
|
+
GeographicScatterAreaSeries.prototype.w9 = function () {
|
|
1571
|
+
this.x4 = new ScatterAreaSeries();
|
|
1572
|
+
var a = this.x4;
|
|
1573
|
+
a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.yc));
|
|
1574
|
+
return this.x4;
|
|
1575
1575
|
};
|
|
1576
|
-
GeographicScatterAreaSeries.prototype.
|
|
1576
|
+
GeographicScatterAreaSeries.prototype.yc = function (a, b) {
|
|
1577
1577
|
if (this.triangulationStatusChanged != null) {
|
|
1578
1578
|
this.triangulationStatusChanged(this, b);
|
|
1579
1579
|
}
|
|
@@ -1581,19 +1581,19 @@ var GeographicScatterAreaSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1581
1581
|
GeographicScatterAreaSeries.prototype.ct = function () {
|
|
1582
1582
|
return new GeographicScatterAreaSeriesView(this);
|
|
1583
1583
|
};
|
|
1584
|
-
GeographicScatterAreaSeries.prototype.
|
|
1585
|
-
_super.prototype.
|
|
1586
|
-
this.
|
|
1584
|
+
GeographicScatterAreaSeries.prototype.q7 = function (a) {
|
|
1585
|
+
_super.prototype.q7.call(this, a);
|
|
1586
|
+
this.x6 = a;
|
|
1587
1587
|
};
|
|
1588
|
-
GeographicScatterAreaSeries.prototype.
|
|
1589
|
-
_super.prototype.
|
|
1588
|
+
GeographicScatterAreaSeries.prototype.rg = function (a, b, c, d) {
|
|
1589
|
+
_super.prototype.rg.call(this, a, b, c, d);
|
|
1590
1590
|
switch (b) {
|
|
1591
1591
|
case GeographicScatterAreaSeries.$$p[1]:
|
|
1592
|
-
this.
|
|
1592
|
+
this.x6.c3();
|
|
1593
1593
|
break;
|
|
1594
1594
|
case "ColorScale":
|
|
1595
|
-
this.
|
|
1596
|
-
this.
|
|
1595
|
+
this.x6.c4();
|
|
1596
|
+
this.yd();
|
|
1597
1597
|
break;
|
|
1598
1598
|
}
|
|
1599
1599
|
};
|
|
@@ -1604,7 +1604,7 @@ var GeographicScatterAreaSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1604
1604
|
_super.prototype.set_g8.call(this, a);
|
|
1605
1605
|
};
|
|
1606
1606
|
GeographicScatterAreaSeries.$t = markType(GeographicScatterAreaSeries, 'GeographicScatterAreaSeries', GeographicXYTriangulatingSeries.$);
|
|
1607
|
-
GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ActualColorScale:
|
|
1607
|
+
GeographicScatterAreaSeries.$$p = markDep(DependencyProperty, PropertyMetadata, GeographicScatterAreaSeries, 'raisePropertyChanged', ['ActualColorScale:x2:ye', [ColorScale.$, null], 'ColorMemberPath:x8:yf', [2, "value"]]);
|
|
1608
1608
|
return GeographicScatterAreaSeries;
|
|
1609
1609
|
}(GeographicXYTriangulatingSeries));
|
|
1610
1610
|
export { GeographicScatterAreaSeries };
|