igniteui-angular-maps 20.1.0 → 20.2.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 +1518 -1521
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js +37 -37
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +79 -79
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +189 -189
- package/esm2015/lib/GeographicMarkerSeries.js +29 -29
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js +17 -17
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +89 -89
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +63 -63
- package/esm2015/lib/GeographicShapeSeriesView_combined.js +56 -56
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +56 -56
- package/esm2015/lib/GeographicTileSeries.js +28 -28
- package/esm2015/lib/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm2015/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm2015/lib/TileSeries_combined.js +88 -88
- package/esm2015/lib/XamGeographicMap_combined.js +542 -542
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +9 -9
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +23 -23
- package/esm2015/lib/igx-geographic-map-component.js +40 -40
- package/esm2015/lib/igx-geographic-map-imagery.js +0 -3
- package/esm2015/lib/igx-geographic-map-series-host-component.js +22 -22
- package/esm2015/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm2015/lib/igx-geographic-polyline-series-component.js +11 -11
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +32 -32
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +8 -8
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +22 -22
- package/esm2015/lib/igx-geographic-shape-series-component.js +33 -33
- package/esm2015/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm2015/lib/igx-geographic-tile-series-component.js +4 -4
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm2015/lib/igx-tile-series-component.js +3 -3
- package/esm5/lib/GeographicContourLineSeriesView_combined.js +37 -37
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +79 -79
- package/esm5/lib/GeographicMapSeriesHost_combined.js +187 -187
- package/esm5/lib/GeographicMarkerSeries.js +29 -29
- package/esm5/lib/GeographicPolylineSeriesView_combined.js +17 -17
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +89 -89
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +62 -62
- package/esm5/lib/GeographicShapeSeriesView_combined.js +56 -56
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +56 -56
- package/esm5/lib/GeographicTileSeries.js +27 -27
- package/esm5/lib/SphericalMercatorHorizontalScaler.js +2 -2
- package/esm5/lib/SphericalMercatorVerticalScaler.js +2 -2
- package/esm5/lib/TileSeries_combined.js +86 -86
- package/esm5/lib/XamGeographicMap_combined.js +534 -534
- package/esm5/lib/igx-geographic-contour-line-series-component.js +9 -9
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +23 -23
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/esm5/lib/igx-geographic-map-imagery.js +0 -3
- package/esm5/lib/igx-geographic-map-series-host-component.js +22 -22
- package/esm5/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm5/lib/igx-geographic-polyline-series-component.js +11 -11
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +32 -32
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +8 -8
- package/esm5/lib/igx-geographic-shape-series-base-component.js +22 -22
- package/esm5/lib/igx-geographic-shape-series-component.js +33 -33
- package/esm5/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm5/lib/igx-geographic-tile-series-component.js +4 -4
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm5/lib/igx-tile-series-component.js +3 -3
- package/fesm2015/igniteui-angular-maps.js +1532 -1535
- package/fesm5/igniteui-angular-maps.js +1518 -1521
- package/lib/GeographicContourLineSeriesView_combined.d.ts +14 -14
- package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +25 -25
- package/lib/GeographicMapSeriesHost_combined.d.ts +46 -46
- package/lib/GeographicMarkerSeries.d.ts +18 -18
- package/lib/GeographicMarkerSeriesBase.d.ts +1 -1
- package/lib/GeographicPolylineSeriesView_combined.d.ts +8 -8
- package/lib/GeographicProportionalSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +26 -26
- package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
- package/lib/GeographicShapeSeriesBase_combined.d.ts +26 -26
- package/lib/GeographicShapeSeriesView_combined.d.ts +27 -27
- package/lib/GeographicSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicSymbolSeriesView_combined.d.ts +19 -19
- package/lib/GeographicTileSeries.d.ts +10 -10
- package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
- package/lib/TileSeries_combined.d.ts +21 -21
- package/lib/XamGeographicMap_combined.d.ts +132 -132
- package/package.json +2 -2
|
@@ -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.z6 = null;
|
|
48
|
+
_this.zv = false;
|
|
49
|
+
_this.zn = 1;
|
|
50
|
+
_this.z2 = 0;
|
|
51
|
+
_this.abd = null;
|
|
52
|
+
_this.zk = null;
|
|
53
|
+
_this.zg = null;
|
|
54
|
+
_this.zi = null;
|
|
55
|
+
_this.zm = null;
|
|
56
|
+
_this.aa9 = { $type: Point_$type, x: NaN, y: NaN };
|
|
57
|
+
_this.abg = null;
|
|
58
|
+
_this.z1 = 1;
|
|
59
59
|
_this.imageTilesReady = null;
|
|
60
|
-
_this.
|
|
61
|
-
_this.
|
|
62
|
-
_this.
|
|
60
|
+
_this.zu = null;
|
|
61
|
+
_this.abf = Rect.empty;
|
|
62
|
+
_this.z2 = SphericalMercatorVerticalScaler.am(XamGeographicMap.abe.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.abe.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.b2 = _this;
|
|
68
68
|
return $ret;
|
|
69
69
|
})());
|
|
70
|
-
a.
|
|
71
|
-
_this.
|
|
72
|
-
_this.
|
|
70
|
+
a.dk = true;
|
|
71
|
+
_this.zh = a;
|
|
72
|
+
_this.zh.ta = new SphericalMercatorHorizontalScaler();
|
|
73
73
|
var b = ((function () {
|
|
74
74
|
var $ret = new NumericYAxis();
|
|
75
|
-
$ret.
|
|
75
|
+
$ret.b2 = _this;
|
|
76
76
|
return $ret;
|
|
77
77
|
})());
|
|
78
|
-
b.
|
|
79
|
-
_this.
|
|
80
|
-
_this.
|
|
81
|
-
_this.
|
|
82
|
-
_this.
|
|
83
|
-
_this.
|
|
78
|
+
b.dk = true;
|
|
79
|
+
_this.zj = b;
|
|
80
|
+
_this.zj.ta = new SphericalMercatorVerticalScaler();
|
|
81
|
+
_this.aao();
|
|
82
|
+
_this.aav();
|
|
83
|
+
_this.po();
|
|
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.zh.provideRenderer(a);
|
|
89
|
+
this.zj.provideRenderer(a);
|
|
90
90
|
};
|
|
91
|
-
XamGeographicMap.prototype.
|
|
92
|
-
_super.prototype.
|
|
93
|
-
this.
|
|
91
|
+
XamGeographicMap.prototype.po = function () {
|
|
92
|
+
_super.prototype.po.call(this);
|
|
93
|
+
this.zt.fy(this.ij);
|
|
94
94
|
};
|
|
95
|
-
XamGeographicMap.prototype.
|
|
96
|
-
return this.
|
|
95
|
+
XamGeographicMap.prototype.gg = function () {
|
|
96
|
+
return this.zz;
|
|
97
97
|
};
|
|
98
|
-
XamGeographicMap.prototype.
|
|
99
|
-
return this.
|
|
98
|
+
XamGeographicMap.prototype.gh = function () {
|
|
99
|
+
return this.zz;
|
|
100
100
|
};
|
|
101
|
-
XamGeographicMap.prototype.
|
|
102
|
-
if (this.
|
|
103
|
-
if (this.
|
|
101
|
+
XamGeographicMap.prototype.zq = function () {
|
|
102
|
+
if (this.zo == 0) {
|
|
103
|
+
if (this.zv) {
|
|
104
104
|
return 2;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
return 1;
|
|
108
108
|
};
|
|
109
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
109
|
+
Object.defineProperty(XamGeographicMap.prototype, "zp", {
|
|
110
110
|
get: function () {
|
|
111
|
-
return this.
|
|
111
|
+
return this.zn;
|
|
112
112
|
},
|
|
113
113
|
set: function (a) {
|
|
114
|
-
this.
|
|
114
|
+
this.zn = a;
|
|
115
115
|
},
|
|
116
116
|
enumerable: false,
|
|
117
117
|
configurable: true
|
|
118
118
|
});
|
|
119
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
119
|
+
Object.defineProperty(XamGeographicMap.prototype, "abi", {
|
|
120
120
|
get: function () {
|
|
121
|
-
return this.
|
|
121
|
+
return this.abd;
|
|
122
122
|
},
|
|
123
123
|
set: function (a) {
|
|
124
|
-
var b = Rect.l_op_Inequality(this.
|
|
124
|
+
var b = Rect.l_op_Inequality(this.abd, a);
|
|
125
125
|
if (b) {
|
|
126
|
-
var c = this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
126
|
+
var c = this.abd;
|
|
127
|
+
this.abd = a;
|
|
128
|
+
this.sr("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.abm = function () {
|
|
135
|
+
return this.abi;
|
|
136
136
|
};
|
|
137
|
-
XamGeographicMap.prototype.
|
|
138
|
-
if (this.
|
|
137
|
+
XamGeographicMap.prototype.aao = function () {
|
|
138
|
+
if (this.abu.isEmpty) {
|
|
139
139
|
return;
|
|
140
140
|
}
|
|
141
|
-
this.
|
|
141
|
+
this.abi = this.abs(this.abu, this.db == 1);
|
|
142
142
|
};
|
|
143
|
-
XamGeographicMap.prototype.
|
|
143
|
+
XamGeographicMap.prototype.abs = 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.abe.width;
|
|
152
|
+
var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.abe.top);
|
|
153
153
|
var l = i / j;
|
|
154
|
-
if (i / j > this.
|
|
155
|
-
var m = i / this.
|
|
154
|
+
if (i / j > this.z2) {
|
|
155
|
+
var m = i / this.z2;
|
|
156
156
|
var n = m - j;
|
|
157
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
158
|
-
e = m * XamGeographicMap.
|
|
157
|
+
d = d - (n / 2) * XamGeographicMap.abe.width;
|
|
158
|
+
e = m * XamGeographicMap.abe.width;
|
|
159
159
|
if (b) {
|
|
160
|
-
if (d < XamGeographicMap.
|
|
161
|
-
d += (XamGeographicMap.
|
|
160
|
+
if (d < XamGeographicMap.abe.left) {
|
|
161
|
+
d += (XamGeographicMap.abe.left - d);
|
|
162
162
|
}
|
|
163
|
-
else if ((d + e) > XamGeographicMap.
|
|
164
|
-
d -= ((d + e) - XamGeographicMap.
|
|
163
|
+
else if ((d + e) > XamGeographicMap.abe.right) {
|
|
164
|
+
d -= ((d + e) - XamGeographicMap.abe.right);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
else if (i / j < this.
|
|
169
|
-
var o = this.
|
|
168
|
+
else if (i / j < this.z2) {
|
|
169
|
+
var o = this.z2 * 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.z2)) {
|
|
179
|
+
q -= ((r) - (k + this.z2));
|
|
180
|
+
r -= ((r) - (k + this.z2));
|
|
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.zk;
|
|
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.zk = a;
|
|
198
|
+
this.sr("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, "zh", {
|
|
205
205
|
get: function () {
|
|
206
|
-
return this.
|
|
206
|
+
return this.zg;
|
|
207
207
|
},
|
|
208
208
|
set: function (a) {
|
|
209
|
-
var b = a != this.
|
|
209
|
+
var b = a != this.zh;
|
|
210
210
|
if (b) {
|
|
211
|
-
var c = this.
|
|
212
|
-
this.
|
|
213
|
-
this.
|
|
211
|
+
var c = this.zh;
|
|
212
|
+
this.zg = a;
|
|
213
|
+
this.sr("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, "zj", {
|
|
220
220
|
get: function () {
|
|
221
|
-
return this.
|
|
221
|
+
return this.zi;
|
|
222
222
|
},
|
|
223
223
|
set: function (a) {
|
|
224
|
-
var b = a != this.
|
|
224
|
+
var b = a != this.zj;
|
|
225
225
|
if (b) {
|
|
226
|
-
var c = this.
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
226
|
+
var c = this.zj;
|
|
227
|
+
this.zi = a;
|
|
228
|
+
this.sr("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.aay = function (a) {
|
|
238
|
+
this.za = a;
|
|
239
239
|
};
|
|
240
|
-
XamGeographicMap.prototype.
|
|
241
|
-
this.
|
|
240
|
+
XamGeographicMap.prototype.aax = function (a) {
|
|
241
|
+
this.abu = a;
|
|
242
242
|
};
|
|
243
243
|
XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
|
|
244
|
-
return this.
|
|
244
|
+
return this.abk(a, true, 0);
|
|
245
245
|
};
|
|
246
|
-
XamGeographicMap.prototype.
|
|
247
|
-
return this.
|
|
246
|
+
XamGeographicMap.prototype.abj = function (a, b) {
|
|
247
|
+
return this.abk(a, false, b);
|
|
248
248
|
};
|
|
249
|
-
XamGeographicMap.prototype.
|
|
249
|
+
XamGeographicMap.prototype.abk = 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.abs(a, false);
|
|
253
|
+
}
|
|
254
|
+
var e = this.zh;
|
|
255
|
+
var f = this.zj;
|
|
256
|
+
var g = new ScalerParams(1, XamGeographicMap.abh, this.y9, e.dn);
|
|
257
|
+
g.c = this.yv;
|
|
258
|
+
var h = new ScalerParams(1, XamGeographicMap.abh, this.y9, f.dn);
|
|
259
|
+
h.c = this.yv;
|
|
260
|
+
var i = this.zh.f5(d.left, g);
|
|
261
|
+
var j = this.zh.f5(d.right, g);
|
|
262
|
+
var k = this.zj.f5(d.top, h);
|
|
263
|
+
var l = this.zj.f5(d.bottom, h);
|
|
264
|
+
var m = (i - c) / this.y9.width;
|
|
265
|
+
var n = (l - c) / this.y9.height;
|
|
266
|
+
var o = (j - i + (c * 2)) / this.y9.width;
|
|
267
|
+
var p = (k - l + (c * 2)) / this.y9.height;
|
|
268
268
|
var q = new Rect(0, m, n, o, p);
|
|
269
|
-
q.intersect(XamGeographicMap.
|
|
269
|
+
q.intersect(XamGeographicMap.abh);
|
|
270
270
|
if (q.isEmpty) {
|
|
271
|
-
q = XamGeographicMap.
|
|
271
|
+
q = XamGeographicMap.abh;
|
|
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.abh;
|
|
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.abo = function (a) {
|
|
289
|
+
var b = this.zh;
|
|
290
|
+
var c = this.zj;
|
|
291
|
+
var d = new ScalerParams(1, a, this.y9, b.dn);
|
|
292
|
+
d.c = this.yv;
|
|
293
|
+
var e = new ScalerParams(1, a, this.y9, c.dn);
|
|
294
|
+
e.c = this.yv;
|
|
295
|
+
var f = this.yu;
|
|
296
|
+
var g = b.f8(f.left, d);
|
|
297
|
+
var h = c.f8(f.top, e);
|
|
298
|
+
var i = b.f8(f.right, d);
|
|
299
|
+
var j = c.f8(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.db == 1) {
|
|
304
|
+
m.intersect(XamGeographicMap.abe);
|
|
305
305
|
if (m.isEmpty) {
|
|
306
|
-
m = XamGeographicMap.
|
|
306
|
+
m = XamGeographicMap.abe;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
return m;
|
|
310
310
|
};
|
|
311
|
-
XamGeographicMap.prototype.
|
|
312
|
-
var b = this.
|
|
313
|
-
var c = this.
|
|
311
|
+
XamGeographicMap.prototype.aba = function (a) {
|
|
312
|
+
var b = this.zh.q8(a.x);
|
|
313
|
+
var c = this.zj.q8(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.abb = function (a) {
|
|
317
|
+
var b = this.zh.gs(a.x);
|
|
318
|
+
var c = this.zj.gs(a.y);
|
|
319
319
|
return { $type: Point_$type, x: b, y: c };
|
|
320
320
|
};
|
|
321
|
-
XamGeographicMap.prototype.
|
|
322
|
-
return this.
|
|
321
|
+
XamGeographicMap.prototype.abc = function (a) {
|
|
322
|
+
return this.abb(a);
|
|
323
323
|
};
|
|
324
|
-
XamGeographicMap.prototype.
|
|
324
|
+
XamGeographicMap.prototype.aal = 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.aar = function (a) {
|
|
331
331
|
};
|
|
332
|
-
XamGeographicMap.prototype.
|
|
332
|
+
XamGeographicMap.prototype.hc = function () {
|
|
333
333
|
return true;
|
|
334
334
|
};
|
|
335
|
-
XamGeographicMap.prototype.
|
|
335
|
+
XamGeographicMap.prototype.aat = function () {
|
|
336
336
|
var e_1, _a;
|
|
337
|
-
this.
|
|
337
|
+
this.zt.eh();
|
|
338
338
|
try {
|
|
339
|
-
for (var _b = __values(fromEnum(this.
|
|
339
|
+
for (var _b = __values(fromEnum(this.b9)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
340
340
|
var a = _c.value;
|
|
341
|
-
a.
|
|
341
|
+
a.st();
|
|
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.aaw = function () {
|
|
359
|
+
if (this.zs == 2) {
|
|
360
|
+
if (!this.y9.isEmpty && this.y9.width > 0 && this.y9.height > 0) {
|
|
361
|
+
var a = this.zh.q8(this.y9.left + (this.y9.width / 2));
|
|
362
|
+
var b = this.zj.q8(this.y9.top + (this.y9.height / 2));
|
|
363
|
+
this.aa9 = { $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.y9.isEmpty && this.y9.width > 0 && this.y9.height > 0) {
|
|
368
|
+
var c = this.zh.q8(this.y9.left);
|
|
369
|
+
var d = this.zj.q8(this.y9.top);
|
|
370
|
+
this.aa9 = { $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.aas = function () {
|
|
375
|
+
if (isNaN_(this.aa9.x) || isNaN_(this.aa9.y)) {
|
|
376
|
+
this.aaw();
|
|
377
377
|
}
|
|
378
|
-
var a = this.
|
|
379
|
-
var b = this.
|
|
378
|
+
var a = this.aa9.x;
|
|
379
|
+
var b = this.aa9.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.yr.left;
|
|
382
|
+
var d = this.yr.top;
|
|
383
|
+
var e = this.yr.width;
|
|
384
|
+
var f = this.yr.height;
|
|
385
|
+
if (e > this.abg.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.abh, this.y9, this.zh.dn);
|
|
389
|
+
g.c = this.yv;
|
|
390
|
+
var h = this.zh.f5(a, g);
|
|
391
|
+
if (this.zs == 2) {
|
|
392
|
+
var i = h / this.y9.width;
|
|
393
393
|
c = i - (e / 2);
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
396
|
-
c = h / this.
|
|
396
|
+
c = h / this.y9.width;
|
|
397
397
|
}
|
|
398
|
-
if (c + e > this.
|
|
399
|
-
c = this.
|
|
398
|
+
if (c + e > this.abg.right) {
|
|
399
|
+
c = this.abg.right - e;
|
|
400
400
|
}
|
|
401
|
-
else if (c < this.
|
|
402
|
-
c = this.
|
|
401
|
+
else if (c < this.abg.left) {
|
|
402
|
+
c = this.abg.left;
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
if (f > this.
|
|
405
|
+
if (f > this.abg.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.abh, this.y9, this.zj.dn);
|
|
409
|
+
j.c = this.yv;
|
|
410
|
+
var k = this.zj.f5(b, j);
|
|
411
|
+
if (this.zs == 2) {
|
|
412
|
+
var l = k / this.y9.height;
|
|
413
413
|
d = l - (f / 2);
|
|
414
414
|
}
|
|
415
415
|
else {
|
|
416
|
-
d = k / this.
|
|
416
|
+
d = k / this.y9.height;
|
|
417
417
|
}
|
|
418
|
-
if (d + f > this.
|
|
419
|
-
d = this.
|
|
418
|
+
if (d + f > this.abg.bottom) {
|
|
419
|
+
d = this.abg.bottom - f;
|
|
420
420
|
}
|
|
421
|
-
else if (d < this.
|
|
422
|
-
d = this.
|
|
421
|
+
else if (d < this.abg.top) {
|
|
422
|
+
d = this.abg.top;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
this.
|
|
425
|
+
this.ud(new Rect(0, c, d, e, f), false);
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
XamGeographicMap.prototype.
|
|
428
|
+
XamGeographicMap.prototype.get_f6 = function () {
|
|
429
429
|
return true;
|
|
430
430
|
};
|
|
431
|
-
XamGeographicMap.prototype.
|
|
432
|
-
var a = _super.prototype.
|
|
433
|
-
if (this.
|
|
431
|
+
XamGeographicMap.prototype.ys = function () {
|
|
432
|
+
var a = _super.prototype.ys.call(this);
|
|
433
|
+
if (this.zh == null || this.zj == null) {
|
|
434
434
|
return a;
|
|
435
435
|
}
|
|
436
|
-
this.
|
|
436
|
+
this.y3();
|
|
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.db == 1) {
|
|
440
|
+
if (this.za.width > this.abg.width) {
|
|
441
|
+
b = 0.5 - (this.za.width / 2);
|
|
442
442
|
}
|
|
443
|
-
else if (b + a.width > this.
|
|
444
|
-
b = this.
|
|
443
|
+
else if (b + a.width > this.abg.right) {
|
|
444
|
+
b = this.abg.right - this.za.width;
|
|
445
445
|
}
|
|
446
|
-
else if (b < this.
|
|
447
|
-
b = this.
|
|
446
|
+
else if (b < this.abg.left) {
|
|
447
|
+
b = this.abg.left;
|
|
448
448
|
}
|
|
449
|
-
if (this.
|
|
450
|
-
c = 0.5 - (this.
|
|
449
|
+
if (this.za.height > this.abg.height) {
|
|
450
|
+
c = 0.5 - (this.za.height / 2);
|
|
451
451
|
}
|
|
452
|
-
else if (c + this.
|
|
453
|
-
c = this.
|
|
452
|
+
else if (c + this.za.height > this.abg.bottom) {
|
|
453
|
+
c = this.abg.bottom - this.za.height;
|
|
454
454
|
}
|
|
455
|
-
else if (c < this.
|
|
456
|
-
c = this.
|
|
455
|
+
else if (c < this.abg.top) {
|
|
456
|
+
c = this.abg.top;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
var d = false;
|
|
460
|
-
if (!this.
|
|
460
|
+
if (!this.zy && this.db == 2 && this.zv) {
|
|
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.abg.right) > 0 && ((a.right - this.abg.right) / a.width) > 0.8) {
|
|
468
|
+
b = this.abg.left - (a.width - (a.right - this.abg.right));
|
|
469
469
|
d = true;
|
|
470
470
|
}
|
|
471
|
-
else if (a.left < this.
|
|
472
|
-
b = this.
|
|
471
|
+
else if (a.left < this.abg.left && (Math.abs(a.left - this.abg.left) / a.width) > 0.8) {
|
|
472
|
+
b = this.abg.right - (Math.abs(a.left - this.abg.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.zy) {
|
|
478
|
+
var f = this.abj(this.abu, 1);
|
|
479
|
+
f = this.abl(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.fp = true;
|
|
515
|
+
this.za = e;
|
|
516
|
+
this.fp = false;
|
|
517
517
|
}
|
|
518
518
|
return e;
|
|
519
519
|
};
|
|
520
|
-
XamGeographicMap.prototype.
|
|
520
|
+
XamGeographicMap.prototype.oj = 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.y3();
|
|
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.zg.f5(-180, b);
|
|
542
|
+
var j = this.zg.f5(180, b);
|
|
543
543
|
e = j - i;
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
546
|
-
var k = this.
|
|
547
|
-
var l = this.
|
|
546
|
+
var k = this.zg.f5(-180, b);
|
|
547
|
+
var l = this.zg.f5(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.y3 = function () {
|
|
554
|
+
var a = new ScalerParams(1, XamGeographicMap.abh, this.y9, this.zh.dn);
|
|
555
|
+
a.c = this.yv;
|
|
556
|
+
var b = new ScalerParams(1, XamGeographicMap.abh, this.y9, this.zj.dn);
|
|
557
|
+
b.c = this.yv;
|
|
558
|
+
var c = this.zh.f5(XamGeographicMap.abe.left, a);
|
|
559
|
+
var d = this.zh.f5(XamGeographicMap.abe.right, a);
|
|
560
|
+
var e = this.zj.f5(XamGeographicMap.abe.top, b);
|
|
561
|
+
var f = this.zj.f5(XamGeographicMap.abe.bottom, b);
|
|
562
|
+
this.abg = new Rect(0, c / this.y9.width, f / this.y9.height, (d - c) / this.y9.width, (e - f) / this.y9.height);
|
|
563
|
+
return this.abg;
|
|
564
|
+
};
|
|
565
|
+
XamGeographicMap.prototype.abl = function (a) {
|
|
566
|
+
var b = this.io;
|
|
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
|
-
var g = MathUtil.
|
|
572
|
-
var h = MathUtil.
|
|
573
|
-
var i = this.
|
|
571
|
+
var g = MathUtil.e(a.width, b, 1);
|
|
572
|
+
var h = MathUtil.e(a.height, b, 1);
|
|
573
|
+
var i = this.y9;
|
|
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.yt = function (a) {
|
|
613
|
+
_super.prototype.yt.call(this, this.y9);
|
|
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.abn = function (a) {
|
|
629
|
+
return this.yt(a);
|
|
630
630
|
};
|
|
631
|
-
XamGeographicMap.prototype.
|
|
631
|
+
XamGeographicMap.prototype.dv = function () {
|
|
632
632
|
return new XamGeographicMapView(this);
|
|
633
633
|
};
|
|
634
|
-
XamGeographicMap.prototype.
|
|
634
|
+
XamGeographicMap.prototype.aan = function (a) {
|
|
635
635
|
if (a != null) {
|
|
636
|
-
a.
|
|
636
|
+
a.b2 = this;
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
|
-
XamGeographicMap.prototype.
|
|
640
|
-
_super.prototype.
|
|
641
|
-
this.
|
|
639
|
+
XamGeographicMap.prototype.rw = function (a) {
|
|
640
|
+
_super.prototype.rw.call(this, a);
|
|
641
|
+
this.zt = a;
|
|
642
642
|
};
|
|
643
|
-
XamGeographicMap.prototype.
|
|
644
|
-
_super.prototype.
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
643
|
+
XamGeographicMap.prototype.r7 = function (a, b) {
|
|
644
|
+
_super.prototype.r7.call(this, a, b);
|
|
645
|
+
this.tz(this.zh);
|
|
646
|
+
this.tz(this.zj);
|
|
647
647
|
if (Rect.l_op_Inequality(a, b)) {
|
|
648
|
-
this.
|
|
648
|
+
this.aas();
|
|
649
649
|
}
|
|
650
|
-
if (this.
|
|
651
|
-
this.
|
|
650
|
+
if (this.zy) {
|
|
651
|
+
this.yr = this.ys();
|
|
652
652
|
}
|
|
653
|
-
this.
|
|
653
|
+
this.aaz();
|
|
654
654
|
};
|
|
655
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
655
|
+
Object.defineProperty(XamGeographicMap.prototype, "z3", {
|
|
656
656
|
get: function () {
|
|
657
|
-
return this.
|
|
657
|
+
return this.z1;
|
|
658
658
|
},
|
|
659
659
|
set: function (a) {
|
|
660
|
-
var b = this.
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
660
|
+
var b = this.z1;
|
|
661
|
+
this.z1 = a;
|
|
662
|
+
this.sr("ActualWindowScale", b, this.z1);
|
|
663
663
|
},
|
|
664
664
|
enumerable: false,
|
|
665
665
|
configurable: true
|
|
666
666
|
});
|
|
667
|
-
XamGeographicMap.prototype.
|
|
668
|
-
return this.
|
|
667
|
+
XamGeographicMap.prototype.iu = function () {
|
|
668
|
+
return this.z3;
|
|
669
669
|
};
|
|
670
|
-
XamGeographicMap.prototype.
|
|
671
|
-
return this.
|
|
670
|
+
XamGeographicMap.prototype.iv = function () {
|
|
671
|
+
return this.z3;
|
|
672
672
|
};
|
|
673
|
-
XamGeographicMap.prototype.
|
|
674
|
-
_super.prototype.
|
|
675
|
-
var a = Math.min(this.
|
|
676
|
-
this.
|
|
673
|
+
XamGeographicMap.prototype.ty = function () {
|
|
674
|
+
_super.prototype.ty.call(this);
|
|
675
|
+
var a = Math.min(this.yr.width, this.yr.height);
|
|
676
|
+
this.z3 = a;
|
|
677
677
|
};
|
|
678
|
-
XamGeographicMap.prototype.
|
|
679
|
-
return this.
|
|
678
|
+
XamGeographicMap.prototype.g0 = function () {
|
|
679
|
+
return this.zv;
|
|
680
680
|
};
|
|
681
|
-
XamGeographicMap.prototype.
|
|
682
|
-
if (this.
|
|
683
|
-
if (this.
|
|
681
|
+
XamGeographicMap.prototype.dc = function () {
|
|
682
|
+
if (this.dd == 0) {
|
|
683
|
+
if (this.zw) {
|
|
684
684
|
return 2;
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
|
-
return this.
|
|
687
|
+
return this.dd;
|
|
688
688
|
};
|
|
689
|
-
XamGeographicMap.prototype.
|
|
689
|
+
XamGeographicMap.prototype.r8 = function (a, b, c, d) {
|
|
690
690
|
var e_2, _a, e_3, _b;
|
|
691
|
-
_super.prototype.
|
|
691
|
+
_super.prototype.r8.call(this, a, b, c, d);
|
|
692
692
|
switch (b) {
|
|
693
693
|
case "ZoomCoercionMode":
|
|
694
|
-
this.
|
|
694
|
+
this.aao();
|
|
695
695
|
break;
|
|
696
696
|
case "WindowRect":
|
|
697
|
-
this.
|
|
697
|
+
this.aaw();
|
|
698
698
|
break;
|
|
699
699
|
case XamGeographicMap.$$p[0]:
|
|
700
|
-
this.
|
|
701
|
-
if (this.
|
|
702
|
-
this.
|
|
700
|
+
this.zp = this.zq();
|
|
701
|
+
if (this.zm != null) {
|
|
702
|
+
this.zm.isHorizontalWrappingEnabled = this.zp == 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.zv = this.zw;
|
|
707
|
+
this.zp = this.zq();
|
|
708
|
+
this.db = this.dc();
|
|
709
|
+
if (this.zm != null) {
|
|
710
|
+
this.zm.isHorizontalWrappingEnabled = this.zp == 2;
|
|
711
711
|
}
|
|
712
712
|
break;
|
|
713
713
|
case XamGeographicMap.$$p[4]:
|
|
714
|
-
this.
|
|
714
|
+
this.yr = this.ys();
|
|
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.zm != null) {
|
|
718
|
+
var e = this.zm;
|
|
719
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.aap));
|
|
720
|
+
this.zm.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.zm = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
723
|
+
if (this.zm != null) {
|
|
724
|
+
var f = this.zm;
|
|
725
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.aap));
|
|
726
|
+
this.zm.deferralHandler = this;
|
|
727
|
+
this.zm.isHorizontalWrappingEnabled = this.zp == 2;
|
|
728
728
|
}
|
|
729
|
-
this.
|
|
730
|
-
if (this.
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
729
|
+
this.zt.fx(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
730
|
+
if (this.zm != null) {
|
|
731
|
+
this.zm.geographicMap = this;
|
|
732
|
+
this.zt.fu(this.yr);
|
|
733
|
+
this.zt.fy(this.ij);
|
|
734
734
|
}
|
|
735
735
|
break;
|
|
736
736
|
case "YAxis":
|
|
737
737
|
case "XAxis":
|
|
738
|
-
this.
|
|
739
|
-
this.
|
|
738
|
+
this.aau(c);
|
|
739
|
+
this.aan(d);
|
|
740
740
|
break;
|
|
741
741
|
case XamGeographicMap.$$p[6]:
|
|
742
|
-
if (!this.
|
|
743
|
-
this.
|
|
742
|
+
if (!this.zx) {
|
|
743
|
+
this.za = XamGeographicMap.abh;
|
|
744
744
|
}
|
|
745
|
-
this.
|
|
746
|
-
this.
|
|
747
|
-
this.
|
|
748
|
-
this.
|
|
749
|
-
this.
|
|
745
|
+
this.aao();
|
|
746
|
+
this.aav();
|
|
747
|
+
this.aaw();
|
|
748
|
+
this.yr = this.ys();
|
|
749
|
+
this.zt.fv();
|
|
750
750
|
break;
|
|
751
751
|
case "ActualWindowRect":
|
|
752
|
-
this.
|
|
752
|
+
this.zt.fu(this.yr);
|
|
753
753
|
break;
|
|
754
754
|
case "ActualWorldRect":
|
|
755
755
|
try {
|
|
756
|
-
for (var _c = __values(fromEnum(this.
|
|
756
|
+
for (var _c = __values(fromEnum(this.b9)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
757
757
|
var g = _d.value;
|
|
758
|
-
g.
|
|
758
|
+
g.r7(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.z3 = this.z4;
|
|
777
777
|
break;
|
|
778
778
|
case "ActualWindowScale":
|
|
779
|
-
if (!this.
|
|
780
|
-
this.
|
|
779
|
+
if (!this.g8) {
|
|
780
|
+
this.ua(this.iu(), this.iv());
|
|
781
781
|
}
|
|
782
782
|
break;
|
|
783
783
|
case "ActualPixelScalingRatio":
|
|
784
|
-
this.
|
|
784
|
+
this.zt.fy(this.ij);
|
|
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.io = 5E-06;
|
|
791
|
+
this.im = 5E-06;
|
|
792
792
|
}
|
|
793
793
|
else {
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
794
|
+
this.io = h;
|
|
795
|
+
this.im = h;
|
|
796
796
|
}
|
|
797
797
|
break;
|
|
798
798
|
case XamGeographicMap.$$p[7]:
|
|
799
|
-
this.
|
|
799
|
+
this.t5();
|
|
800
800
|
break;
|
|
801
801
|
case "MarkerAutomaticBehavior":
|
|
802
802
|
try {
|
|
803
|
-
for (var _e = __values(fromEnum(this.
|
|
803
|
+
for (var _e = __values(fromEnum(this.b9)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
804
804
|
var i = _f.value;
|
|
805
|
-
i.
|
|
805
|
+
i.qu();
|
|
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.aap = 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.aau = function (a) {
|
|
830
830
|
if (a != null) {
|
|
831
|
-
a.
|
|
831
|
+
a.b2 = null;
|
|
832
832
|
}
|
|
833
833
|
};
|
|
834
|
-
XamGeographicMap.prototype.
|
|
835
|
-
if (this.
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
834
|
+
XamGeographicMap.prototype.aav = function () {
|
|
835
|
+
if (this.zh != null) {
|
|
836
|
+
this.zh.q5 = this.abi.left;
|
|
837
|
+
this.zh.q4 = this.abi.right;
|
|
838
838
|
}
|
|
839
|
-
if (this.
|
|
840
|
-
this.
|
|
841
|
-
this.
|
|
839
|
+
if (this.zj != null) {
|
|
840
|
+
this.zj.q5 = this.abi.top;
|
|
841
|
+
this.zj.q4 = this.abi.bottom;
|
|
842
842
|
}
|
|
843
|
-
this.
|
|
844
|
-
this.
|
|
843
|
+
this.zh.ed(true);
|
|
844
|
+
this.zj.ed(true);
|
|
845
845
|
};
|
|
846
846
|
XamGeographicMap.prototype.getFontInfo = function () {
|
|
847
|
-
this.
|
|
848
|
-
return this.
|
|
847
|
+
this.zu = this.zt.fr;
|
|
848
|
+
return this.zu;
|
|
849
849
|
};
|
|
850
|
-
XamGeographicMap.prototype.
|
|
851
|
-
return this.
|
|
850
|
+
XamGeographicMap.prototype.xv = function () {
|
|
851
|
+
return this.zt.fz;
|
|
852
852
|
};
|
|
853
853
|
XamGeographicMap.prototype.getFontBrush = function () {
|
|
854
|
-
return this.
|
|
854
|
+
return this.zt.f0;
|
|
855
855
|
};
|
|
856
|
-
XamGeographicMap.prototype.
|
|
856
|
+
XamGeographicMap.prototype.tk = 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.xt = c.triangulationSource.triangles;
|
|
862
862
|
}
|
|
863
863
|
else {
|
|
864
|
-
_super.prototype.
|
|
864
|
+
_super.prototype.tk.call(this, a, b);
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
867
|
XamGeographicMap.prototype.register = function (a, b) {
|
|
868
|
-
this.
|
|
868
|
+
this.s6(a, b);
|
|
869
869
|
};
|
|
870
870
|
XamGeographicMap.prototype.unRegister = function (a) {
|
|
871
|
-
this.
|
|
871
|
+
this.tx(a);
|
|
872
872
|
};
|
|
873
873
|
XamGeographicMap.prototype.deferredRefresh = function () {
|
|
874
|
-
this.
|
|
874
|
+
this.o0();
|
|
875
875
|
};
|
|
876
876
|
XamGeographicMap.prototype.deferAction = function (a) {
|
|
877
|
-
if (this.
|
|
878
|
-
this.
|
|
877
|
+
if (this.z6 != null) {
|
|
878
|
+
this.z6.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.aam = function (a) {
|
|
885
|
+
this.t4(a);
|
|
886
886
|
};
|
|
887
|
-
XamGeographicMap.prototype.
|
|
887
|
+
XamGeographicMap.prototype.z7 = function () {
|
|
888
888
|
var a = new ChartVisualData();
|
|
889
|
-
var b = this.
|
|
890
|
-
var c = this.
|
|
889
|
+
var b = this.zh.hr();
|
|
890
|
+
var c = this.zj.hr();
|
|
891
891
|
a.axes.add1(b);
|
|
892
892
|
a.axes.add1(c);
|
|
893
|
-
for (var d = 0; d < this.
|
|
894
|
-
var e = this.
|
|
893
|
+
for (var d = 0; d < this.b9.count; d++) {
|
|
894
|
+
var e = this.b9._inner[d].kv();
|
|
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.y9);
|
|
899
|
+
a.centralArea = RectData.b(this.y9);
|
|
900
|
+
a.plotArea = RectData.b(this.y9);
|
|
901
901
|
return a;
|
|
902
902
|
};
|
|
903
|
-
XamGeographicMap.prototype.
|
|
903
|
+
XamGeographicMap.prototype.yz = function (a, b, c) {
|
|
904
904
|
return a;
|
|
905
905
|
};
|
|
906
|
-
XamGeographicMap.prototype.
|
|
906
|
+
XamGeographicMap.prototype.aaq = function () {
|
|
907
907
|
};
|
|
908
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
908
|
+
Object.defineProperty(XamGeographicMap.prototype, "abt", {
|
|
909
909
|
get: function () {
|
|
910
|
-
return this.
|
|
910
|
+
return this.abf;
|
|
911
911
|
},
|
|
912
912
|
set: function (a) {
|
|
913
|
-
this.
|
|
913
|
+
this.abf = a;
|
|
914
914
|
},
|
|
915
915
|
enumerable: false,
|
|
916
916
|
configurable: true
|
|
917
917
|
});
|
|
918
|
-
XamGeographicMap.prototype.
|
|
919
|
-
this.
|
|
920
|
-
this.
|
|
918
|
+
XamGeographicMap.prototype.aa0 = function (a) {
|
|
919
|
+
this.abt = a;
|
|
920
|
+
this.aaz();
|
|
921
921
|
};
|
|
922
|
-
XamGeographicMap.prototype.
|
|
923
|
-
if (this.
|
|
924
|
-
var a = this.getZoomFromGeographicRect(this.
|
|
925
|
-
this.
|
|
926
|
-
this.
|
|
922
|
+
XamGeographicMap.prototype.aaz = function () {
|
|
923
|
+
if (this.z0 && !this.abt.isEmpty) {
|
|
924
|
+
var a = this.getZoomFromGeographicRect(this.abt);
|
|
925
|
+
this.abt = Rect.empty;
|
|
926
|
+
this.ud(a, false);
|
|
927
927
|
}
|
|
928
928
|
};
|
|
929
|
-
Object.defineProperty(XamGeographicMap.prototype, "
|
|
929
|
+
Object.defineProperty(XamGeographicMap.prototype, "z0", {
|
|
930
930
|
get: function () {
|
|
931
|
-
return !this.
|
|
931
|
+
return !this.y9.isEmpty && !this.yv.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.zr = 0;
|
|
938
|
+
XamGeographicMap.abe = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
939
|
+
XamGeographicMap.abh = new Rect(0, 0, 0, 1, 1);
|
|
940
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'sr', ['BackgroundTilingMode:zo:aa1', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:zw:aa2', [0, false], 'ResizeBehavior:zs:aa3', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.zr)], 'SuppressZoomResetOnWorldRectChange:zx:aa4', [0, false], 'UseWorldRectForZoomBounds:zy:aa5', [0, false], 'WindowScale:z4:aa6', [1, NaN], 'WorldRect:abu:aa7', [Rect.$, XamGeographicMap.abe], 'Zoomable:zz:aa8', [0, true]]);
|
|
941
941
|
return XamGeographicMap;
|
|
942
942
|
}(SeriesViewer));
|
|
943
943
|
export { XamGeographicMap };
|
|
@@ -1081,20 +1081,20 @@ 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.abn(b);
|
|
1085
|
+
var d = XamGeographicMap.abe;
|
|
1086
|
+
var e = this.geographicMap.abi;
|
|
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.zh;
|
|
1091
|
+
var i = this.geographicMap.zj;
|
|
1092
|
+
var j = new ScalerParams(1, this.windowRect, b, h.dn);
|
|
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.dn);
|
|
1095
1095
|
k.c = c;
|
|
1096
|
-
var l = h.
|
|
1097
|
-
var m = i.
|
|
1096
|
+
var l = h.f5(d.left, j);
|
|
1097
|
+
var m = i.f5(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
1100
|
this.ao.cm = { $type: Point_$type, x: n, y: o };
|
|
@@ -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.xk;
|
|
1198
|
+
a.yk = this.cu.xw;
|
|
1199
|
+
a.ys = this.cu.xu;
|
|
1200
|
+
a.trianglesSource = this.cu.xt;
|
|
1201
|
+
a.x8 = this.cu.xz;
|
|
1202
|
+
a.ya = this.cu.x1;
|
|
1203
|
+
a.yc = this.cu.x3;
|
|
1204
1204
|
};
|
|
1205
1205
|
GeographicXYTriangulatingSeriesView.prototype.cx = function () {
|
|
1206
|
-
var a = this.cu.
|
|
1206
|
+
var a = this.cu.xk;
|
|
1207
1207
|
if (this.cu.dc == null) {
|
|
1208
|
-
a.
|
|
1209
|
-
a.
|
|
1208
|
+
a.xi = null;
|
|
1209
|
+
a.xj = null;
|
|
1210
1210
|
return;
|
|
1211
1211
|
}
|
|
1212
|
-
a.
|
|
1213
|
-
a.
|
|
1212
|
+
a.xi = this.cu.dc.zh;
|
|
1213
|
+
a.xj = this.cu.dc.zj;
|
|
1214
1214
|
};
|
|
1215
1215
|
GeographicXYTriangulatingSeriesView.prototype.cw = function () {
|
|
1216
|
-
this.cu.
|
|
1216
|
+
this.cu.xk.yk = this.cu.xw;
|
|
1217
1217
|
};
|
|
1218
1218
|
GeographicXYTriangulatingSeriesView.prototype.cv = function () {
|
|
1219
|
-
this.cu.
|
|
1219
|
+
this.cu.xk.ys = this.cu.xu;
|
|
1220
1220
|
};
|
|
1221
1221
|
GeographicXYTriangulatingSeriesView.prototype.cy = function () {
|
|
1222
|
-
this.cu.
|
|
1222
|
+
this.cu.xk.trianglesSource = this.cu.xt;
|
|
1223
1223
|
};
|
|
1224
1224
|
GeographicXYTriangulatingSeriesView.prototype.cz = function () {
|
|
1225
|
-
this.cu.
|
|
1225
|
+
this.cu.xk.x8 = this.cu.xz;
|
|
1226
1226
|
};
|
|
1227
1227
|
GeographicXYTriangulatingSeriesView.prototype.c0 = function () {
|
|
1228
|
-
this.cu.
|
|
1228
|
+
this.cu.xk.ya = this.cu.x1;
|
|
1229
1229
|
};
|
|
1230
1230
|
GeographicXYTriangulatingSeriesView.prototype.c1 = function () {
|
|
1231
|
-
this.cu.
|
|
1231
|
+
this.cu.xk.yc = this.cu.x3;
|
|
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.ye != null) {
|
|
1256
|
+
this.c2.ye.zr = this.c2.yi;
|
|
1257
|
+
this.c2.ye.zf = this.c2.yd;
|
|
1258
1258
|
}
|
|
1259
1259
|
};
|
|
1260
1260
|
GeographicScatterAreaSeriesView.prototype.c3 = function () {
|
|
1261
|
-
if (this.c2.
|
|
1262
|
-
this.c2.
|
|
1261
|
+
if (this.c2.ye != null) {
|
|
1262
|
+
this.c2.ye.zr = this.c2.yi;
|
|
1263
1263
|
}
|
|
1264
1264
|
};
|
|
1265
1265
|
GeographicScatterAreaSeriesView.prototype.c4 = function () {
|
|
1266
|
-
if (this.c2.
|
|
1267
|
-
this.c2.
|
|
1266
|
+
if (this.c2.ye != null) {
|
|
1267
|
+
this.c2.ye.zf = this.c2.yd;
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
1270
|
GeographicScatterAreaSeriesView.$t = markType(GeographicScatterAreaSeriesView, 'GeographicScatterAreaSeriesView', GeographicXYTriangulatingSeriesView.$);
|
|
@@ -1278,30 +1278,30 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1278
1278
|
__extends(XamGeographicMapView, _super);
|
|
1279
1279
|
function XamGeographicMapView(a) {
|
|
1280
1280
|
var _this = _super.call(this, a) || this;
|
|
1281
|
-
_this.
|
|
1281
|
+
_this.fq = null;
|
|
1282
|
+
_this.f2 = null;
|
|
1283
|
+
_this.f0 = null;
|
|
1282
1284
|
_this.fz = null;
|
|
1283
|
-
_this.
|
|
1284
|
-
_this.
|
|
1285
|
-
_this.
|
|
1286
|
-
_this.
|
|
1287
|
-
_this.
|
|
1288
|
-
_this.
|
|
1289
|
-
_this.fn.wk = 2;
|
|
1290
|
-
_this.fn.jh = 5E-06;
|
|
1285
|
+
_this.fr = null;
|
|
1286
|
+
_this.fs = NaN;
|
|
1287
|
+
_this.f2 = Rect.empty;
|
|
1288
|
+
_this.fq = a;
|
|
1289
|
+
_this.fq.xo = 2;
|
|
1290
|
+
_this.fq.jw = 5E-06;
|
|
1291
1291
|
return _this;
|
|
1292
1292
|
}
|
|
1293
1293
|
XamGeographicMapView.prototype.m = function (a) {
|
|
1294
1294
|
return 2;
|
|
1295
1295
|
};
|
|
1296
|
-
XamGeographicMapView.prototype.
|
|
1296
|
+
XamGeographicMapView.prototype.bn = function (a) {
|
|
1297
1297
|
this.j.bw(a);
|
|
1298
|
-
this.
|
|
1299
|
-
this.
|
|
1298
|
+
this.fq.aam(a);
|
|
1299
|
+
this.eo();
|
|
1300
1300
|
};
|
|
1301
|
-
XamGeographicMapView.prototype.
|
|
1301
|
+
XamGeographicMapView.prototype.get_aq = function () {
|
|
1302
1302
|
return true;
|
|
1303
1303
|
};
|
|
1304
|
-
XamGeographicMapView.prototype.
|
|
1304
|
+
XamGeographicMapView.prototype.d7 = function () {
|
|
1305
1305
|
var a;
|
|
1306
1306
|
var b;
|
|
1307
1307
|
var c;
|
|
@@ -1313,63 +1313,63 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1313
1313
|
c = f.p2;
|
|
1314
1314
|
d = f.p3;
|
|
1315
1315
|
e = f.p4;
|
|
1316
|
-
this.
|
|
1317
|
-
this.
|
|
1318
|
-
this.
|
|
1316
|
+
this.f0 = c;
|
|
1317
|
+
this.fr = d;
|
|
1318
|
+
this.fz = e;
|
|
1319
1319
|
var g = this.j.e();
|
|
1320
|
-
this.
|
|
1321
|
-
this.
|
|
1322
|
-
this.
|
|
1323
|
-
this.
|
|
1324
|
-
if (this.
|
|
1320
|
+
this.fq.ag = g.a;
|
|
1321
|
+
this.fq.aj = g.f;
|
|
1322
|
+
this.fq.ah = g.b != null ? g.b : new BrushCollection();
|
|
1323
|
+
this.fq.ai = g.c != null ? g.c : new BrushCollection();
|
|
1324
|
+
if (this.fq.ah.count == 0) {
|
|
1325
1325
|
for (var h = 0; h < g.a.count; h++) {
|
|
1326
|
-
this.
|
|
1326
|
+
this.fq.ah.add(g.a.item(h));
|
|
1327
1327
|
}
|
|
1328
1328
|
}
|
|
1329
1329
|
if (g.c.count == 0) {
|
|
1330
1330
|
for (var i = 0; i < g.f.count; i++) {
|
|
1331
|
-
this.
|
|
1331
|
+
this.fq.ai.add(g.f.item(i));
|
|
1332
1332
|
}
|
|
1333
1333
|
}
|
|
1334
1334
|
};
|
|
1335
|
-
XamGeographicMapView.prototype.
|
|
1336
|
-
_super.prototype.
|
|
1337
|
-
if (this.
|
|
1338
|
-
var b = this.
|
|
1335
|
+
XamGeographicMapView.prototype.dx = function (a) {
|
|
1336
|
+
_super.prototype.dx.call(this, a);
|
|
1337
|
+
if (this.fq.backgroundContent != null) {
|
|
1338
|
+
var b = this.fq.backgroundContent;
|
|
1339
1339
|
b.be(this.j.ae);
|
|
1340
1340
|
b.bd(a);
|
|
1341
1341
|
}
|
|
1342
1342
|
};
|
|
1343
|
-
XamGeographicMapView.prototype.
|
|
1344
|
-
_super.prototype.
|
|
1345
|
-
this.
|
|
1346
|
-
if (this.
|
|
1347
|
-
var b = this.
|
|
1348
|
-
b.bf(this.
|
|
1343
|
+
XamGeographicMapView.prototype.dy = function (a) {
|
|
1344
|
+
_super.prototype.dy.call(this, a);
|
|
1345
|
+
this.f2 = a;
|
|
1346
|
+
if (this.fq.backgroundContent != null) {
|
|
1347
|
+
var b = this.fq.backgroundContent;
|
|
1348
|
+
b.bf(this.f2);
|
|
1349
1349
|
}
|
|
1350
1350
|
};
|
|
1351
|
-
XamGeographicMapView.prototype.
|
|
1352
|
-
return new Rect(0, 0, 0, this.
|
|
1351
|
+
XamGeographicMapView.prototype.f1 = function () {
|
|
1352
|
+
return new Rect(0, 0, 0, this.f2.width, this.f2.height);
|
|
1353
1353
|
};
|
|
1354
|
-
XamGeographicMapView.prototype.
|
|
1355
|
-
if (this.
|
|
1356
|
-
var a = this.
|
|
1354
|
+
XamGeographicMapView.prototype.fv = function () {
|
|
1355
|
+
if (this.fq.backgroundContent != null) {
|
|
1356
|
+
var a = this.fq.backgroundContent;
|
|
1357
1357
|
a.a6();
|
|
1358
1358
|
}
|
|
1359
1359
|
};
|
|
1360
|
-
XamGeographicMapView.prototype.
|
|
1361
|
-
if (this.
|
|
1362
|
-
this.
|
|
1360
|
+
XamGeographicMapView.prototype.fu = function (a) {
|
|
1361
|
+
if (this.fq.zm != null) {
|
|
1362
|
+
this.fq.zm.windowRect = a;
|
|
1363
1363
|
}
|
|
1364
1364
|
};
|
|
1365
|
-
XamGeographicMapView.prototype.
|
|
1366
|
-
if (this.
|
|
1367
|
-
this.
|
|
1365
|
+
XamGeographicMapView.prototype.fx = function (a, b) {
|
|
1366
|
+
if (this.fq.zm != null) {
|
|
1367
|
+
this.fq.zm.windowRect = this.fq.yr;
|
|
1368
1368
|
}
|
|
1369
1369
|
if (a != null) {
|
|
1370
1370
|
var c = a.ao;
|
|
1371
1371
|
if (c != null) {
|
|
1372
|
-
this.
|
|
1372
|
+
this.fq.al.h.remove(c.ag);
|
|
1373
1373
|
}
|
|
1374
1374
|
a.bd(null);
|
|
1375
1375
|
a.be(null);
|
|
@@ -1377,49 +1377,49 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1377
1377
|
if (b != null) {
|
|
1378
1378
|
var d = b.ao;
|
|
1379
1379
|
if (d != null) {
|
|
1380
|
-
this.
|
|
1380
|
+
this.fq.al.h.add(d.ag);
|
|
1381
1381
|
}
|
|
1382
|
-
if (!this.
|
|
1383
|
-
this.
|
|
1382
|
+
if (!this.f2.isEmpty) {
|
|
1383
|
+
this.dy(this.f2);
|
|
1384
1384
|
}
|
|
1385
1385
|
if (this.w != null) {
|
|
1386
|
-
this.
|
|
1386
|
+
this.dx(this.w);
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
if (b == null) {
|
|
1390
|
-
this.
|
|
1390
|
+
this.fw(this.w);
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
|
-
XamGeographicMapView.prototype.
|
|
1394
|
-
var b = this.
|
|
1393
|
+
XamGeographicMapView.prototype.fw = function (a) {
|
|
1394
|
+
var b = this.fq.ij;
|
|
1395
1395
|
if (b != 1) {
|
|
1396
1396
|
a.aa();
|
|
1397
1397
|
a.ab(b, b);
|
|
1398
1398
|
}
|
|
1399
|
-
a.l(this.
|
|
1399
|
+
a.l(this.f2.left, this.f2.top, this.f2.width, this.f2.height);
|
|
1400
1400
|
if (b != 1) {
|
|
1401
1401
|
a.z();
|
|
1402
1402
|
}
|
|
1403
1403
|
};
|
|
1404
|
-
XamGeographicMapView.prototype.
|
|
1405
|
-
this.
|
|
1406
|
-
this.
|
|
1407
|
-
this.
|
|
1408
|
-
this.
|
|
1409
|
-
_super.prototype.
|
|
1404
|
+
XamGeographicMapView.prototype.d4 = function () {
|
|
1405
|
+
this.fg.ad = Defaults.crosshairLineThickness;
|
|
1406
|
+
this.fh.ad = Defaults.crosshairLineThickness;
|
|
1407
|
+
this.fg._stroke = Defaults.crosshairLineBrush;
|
|
1408
|
+
this.fh._stroke = Defaults.crosshairLineBrush;
|
|
1409
|
+
_super.prototype.d4.call(this);
|
|
1410
1410
|
};
|
|
1411
|
-
XamGeographicMapView.prototype.
|
|
1412
|
-
this.
|
|
1413
|
-
if (this.
|
|
1414
|
-
this.
|
|
1411
|
+
XamGeographicMapView.prototype.fy = function (a) {
|
|
1412
|
+
this.fs = a;
|
|
1413
|
+
if (this.fq.backgroundContent != null) {
|
|
1414
|
+
this.fq.backgroundContent.bc(a);
|
|
1415
1415
|
}
|
|
1416
1416
|
};
|
|
1417
|
-
Object.defineProperty(XamGeographicMapView.prototype, "
|
|
1417
|
+
Object.defineProperty(XamGeographicMapView.prototype, "ft", {
|
|
1418
1418
|
get: function () {
|
|
1419
|
-
return this.
|
|
1419
|
+
return this.fs;
|
|
1420
1420
|
},
|
|
1421
1421
|
set: function (a) {
|
|
1422
|
-
this.
|
|
1422
|
+
this.fs = a;
|
|
1423
1423
|
},
|
|
1424
1424
|
enumerable: false,
|
|
1425
1425
|
configurable: true
|
|
@@ -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.rg = function (a) {
|
|
1478
|
+
_super.prototype.rg.call(this, a);
|
|
1479
|
+
this.xs = a;
|
|
1480
1480
|
};
|
|
1481
|
-
GeographicXYTriangulatingSeries.prototype.
|
|
1482
|
-
_super.prototype.
|
|
1481
|
+
GeographicXYTriangulatingSeries.prototype.rp = function (a, b, c, d) {
|
|
1482
|
+
_super.prototype.rp.call(this, a, b, c, d);
|
|
1483
1483
|
switch (b) {
|
|
1484
1484
|
case "SeriesViewer":
|
|
1485
|
-
this.
|
|
1485
|
+
this.xs.cx();
|
|
1486
1486
|
break;
|
|
1487
1487
|
case GeographicXYTriangulatingSeries.$$p[1]:
|
|
1488
|
-
this.
|
|
1488
|
+
this.xs.cw();
|
|
1489
1489
|
break;
|
|
1490
1490
|
case GeographicXYTriangulatingSeries.$$p[0]:
|
|
1491
|
-
this.
|
|
1491
|
+
this.xs.cv();
|
|
1492
1492
|
break;
|
|
1493
1493
|
case GeographicXYTriangulatingSeries.$$p[5]:
|
|
1494
|
-
this.
|
|
1494
|
+
this.xs.cy();
|
|
1495
1495
|
break;
|
|
1496
1496
|
case GeographicXYTriangulatingSeries.$$p[2]:
|
|
1497
|
-
this.
|
|
1497
|
+
this.xs.cz();
|
|
1498
1498
|
break;
|
|
1499
1499
|
case GeographicXYTriangulatingSeries.$$p[3]:
|
|
1500
|
-
this.
|
|
1500
|
+
this.xs.c0();
|
|
1501
1501
|
break;
|
|
1502
1502
|
case GeographicXYTriangulatingSeries.$$p[4]:
|
|
1503
|
-
this.
|
|
1503
|
+
this.xs.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:xu:x5', [2, "pointY"], 'LongitudeMemberPath:xw:x6', [2, "pointX"], 'TriangleVertexMemberPath1:xz:x8', [2, "v1"], 'TriangleVertexMemberPath2:x1:x9', [2, "v2"], 'TriangleVertexMemberPath3:x3:ya', [2, "v3"], 'TrianglesSource:xt:x7', [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.yb = null;
|
|
1520
1520
|
_this.triangulationStatusChanged = null;
|
|
1521
1521
|
_this.ab = GeographicScatterAreaSeries.$;
|
|
1522
1522
|
return _this;
|
|
@@ -1524,56 +1524,56 @@ var GeographicScatterAreaSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
1524
1524
|
GeographicScatterAreaSeries.prototype.bk = function () {
|
|
1525
1525
|
return new GeographicScatterAreaSeries();
|
|
1526
1526
|
};
|
|
1527
|
-
GeographicScatterAreaSeries.prototype.
|
|
1527
|
+
GeographicScatterAreaSeries.prototype.get_ex = function () {
|
|
1528
1528
|
return true;
|
|
1529
1529
|
};
|
|
1530
|
-
Object.defineProperty(GeographicScatterAreaSeries.prototype, "
|
|
1530
|
+
Object.defineProperty(GeographicScatterAreaSeries.prototype, "yd", {
|
|
1531
1531
|
get: function () {
|
|
1532
|
-
return this.
|
|
1532
|
+
return this.yb;
|
|
1533
1533
|
},
|
|
1534
1534
|
set: function (a) {
|
|
1535
|
-
var b = this.
|
|
1535
|
+
var b = this.yb != 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.yb;
|
|
1538
|
+
if (this.yb != null) {
|
|
1539
|
+
var d = this.yb;
|
|
1540
|
+
d.propertyChanged = delegateRemove(d.propertyChanged, runOn(this, this.yl));
|
|
1541
1541
|
}
|
|
1542
|
-
this.
|
|
1543
|
-
if (this.
|
|
1544
|
-
var e = this.
|
|
1545
|
-
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.
|
|
1542
|
+
this.yb = a;
|
|
1543
|
+
if (this.yb != null) {
|
|
1544
|
+
var e = this.yb;
|
|
1545
|
+
e.propertyChanged = delegateCombine(e.propertyChanged, runOn(this, this.yl));
|
|
1546
1546
|
}
|
|
1547
|
-
this.raisePropertyChanged("ColorScale", c, this.
|
|
1548
|
-
if (this.
|
|
1549
|
-
this.
|
|
1547
|
+
this.raisePropertyChanged("ColorScale", c, this.yb);
|
|
1548
|
+
if (this.ye != null) {
|
|
1549
|
+
this.ye.zf = 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.yl = function (a, b) {
|
|
1557
|
+
this.yg.c4();
|
|
1558
|
+
this.yn();
|
|
1559
|
+
this.r7(false);
|
|
1560
1560
|
};
|
|
1561
|
-
GeographicScatterAreaSeries.prototype.
|
|
1562
|
-
if (this.
|
|
1563
|
-
this.
|
|
1561
|
+
GeographicScatterAreaSeries.prototype.yn = function () {
|
|
1562
|
+
if (this.ye != null) {
|
|
1563
|
+
this.yc = this.ye.ze;
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
|
-
GeographicScatterAreaSeries.prototype.
|
|
1567
|
-
_super.prototype.
|
|
1568
|
-
this.
|
|
1566
|
+
GeographicScatterAreaSeries.prototype.sy = function () {
|
|
1567
|
+
_super.prototype.sy.call(this);
|
|
1568
|
+
this.yn();
|
|
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.xj = function () {
|
|
1571
|
+
this.ye = new ScatterAreaSeries();
|
|
1572
|
+
var a = this.ye;
|
|
1573
|
+
a.triangulationStatusChanged = delegateCombine(a.triangulationStatusChanged, runOn(this, this.ym));
|
|
1574
|
+
return this.ye;
|
|
1575
1575
|
};
|
|
1576
|
-
GeographicScatterAreaSeries.prototype.
|
|
1576
|
+
GeographicScatterAreaSeries.prototype.ym = function (a, b) {
|
|
1577
1577
|
if (this.triangulationStatusChanged != null) {
|
|
1578
1578
|
this.triangulationStatusChanged(this, b);
|
|
1579
1579
|
}
|
|
@@ -1581,30 +1581,30 @@ 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.rg = function (a) {
|
|
1585
|
+
_super.prototype.rg.call(this, a);
|
|
1586
|
+
this.yg = a;
|
|
1587
1587
|
};
|
|
1588
|
-
GeographicScatterAreaSeries.prototype.
|
|
1589
|
-
_super.prototype.
|
|
1588
|
+
GeographicScatterAreaSeries.prototype.rp = function (a, b, c, d) {
|
|
1589
|
+
_super.prototype.rp.call(this, a, b, c, d);
|
|
1590
1590
|
switch (b) {
|
|
1591
1591
|
case GeographicScatterAreaSeries.$$p[1]:
|
|
1592
|
-
this.
|
|
1592
|
+
this.yg.c3();
|
|
1593
1593
|
break;
|
|
1594
1594
|
case "ColorScale":
|
|
1595
|
-
this.
|
|
1596
|
-
this.
|
|
1595
|
+
this.yg.c4();
|
|
1596
|
+
this.yn();
|
|
1597
1597
|
break;
|
|
1598
1598
|
}
|
|
1599
1599
|
};
|
|
1600
|
-
GeographicScatterAreaSeries.prototype.
|
|
1600
|
+
GeographicScatterAreaSeries.prototype.get_hd = function () {
|
|
1601
1601
|
return true;
|
|
1602
1602
|
};
|
|
1603
|
-
GeographicScatterAreaSeries.prototype.
|
|
1604
|
-
_super.prototype.
|
|
1603
|
+
GeographicScatterAreaSeries.prototype.set_hd = function (a) {
|
|
1604
|
+
_super.prototype.set_hd.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:yc:yo', [ColorScale.$, null], 'ColorMemberPath:yi:yp', [2, "value"]]);
|
|
1608
1608
|
return GeographicScatterAreaSeries;
|
|
1609
1609
|
}(GeographicXYTriangulatingSeries));
|
|
1610
1610
|
export { GeographicScatterAreaSeries };
|