igniteui-angular-maps 20.0.0 → 20.0.1-beta.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 +428 -428
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +376 -376
- package/esm2015/lib/igx-geographic-map-component.js +40 -40
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +370 -370
- package/esm5/lib/igx-geographic-map-component.js +40 -40
- package/fesm2015/igniteui-angular-maps.js +434 -434
- package/fesm5/igniteui-angular-maps.js +428 -428
- package/lib/XamGeographicMap_combined.d.ts +88 -88
- package/package.json +11 -4
|
@@ -43,22 +43,22 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
43
43
|
class XamGeographicMap extends SeriesViewer {
|
|
44
44
|
constructor() {
|
|
45
45
|
super();
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.w8 = null;
|
|
54
|
-
this.xc = null;
|
|
55
|
-
this.yz = { $type: Point_$type, x: NaN, y: NaN };
|
|
56
|
-
this.y6 = null;
|
|
57
|
-
this.xr = 1;
|
|
58
|
-
this.imageTilesReady = null;
|
|
46
|
+
this.x8 = null;
|
|
47
|
+
this.xx = false;
|
|
48
|
+
this.xp = 1;
|
|
49
|
+
this.x4 = 0;
|
|
50
|
+
this.zf = null;
|
|
51
|
+
this.xm = null;
|
|
52
|
+
this.xi = null;
|
|
59
53
|
this.xk = null;
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
54
|
+
this.xo = null;
|
|
55
|
+
this.zb = { $type: Point_$type, x: NaN, y: NaN };
|
|
56
|
+
this.zi = null;
|
|
57
|
+
this.x3 = 1;
|
|
58
|
+
this.imageTilesReady = null;
|
|
59
|
+
this.xw = null;
|
|
60
|
+
this.zh = Rect.empty;
|
|
61
|
+
this.x4 = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
62
62
|
this.ab = XamGeographicMap.$;
|
|
63
63
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
64
64
|
let a = ((() => {
|
|
@@ -67,70 +67,70 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
67
67
|
return $ret;
|
|
68
68
|
})());
|
|
69
69
|
a.cf = true;
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
70
|
+
this.xj = a;
|
|
71
|
+
this.xj.n4 = new SphericalMercatorHorizontalScaler();
|
|
72
72
|
let b = ((() => {
|
|
73
73
|
let $ret = new NumericYAxis();
|
|
74
74
|
$ret.bi = this;
|
|
75
75
|
return $ret;
|
|
76
76
|
})());
|
|
77
77
|
b.cf = true;
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
78
|
+
this.xl = b;
|
|
79
|
+
this.xl.n4 = new SphericalMercatorVerticalScaler();
|
|
80
|
+
this.yq();
|
|
81
|
+
this.yx();
|
|
82
|
+
this.oi();
|
|
83
83
|
}
|
|
84
84
|
provideContainer(a) {
|
|
85
85
|
super.provideContainer(a);
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
86
|
+
this.xj.provideRenderer(a);
|
|
87
|
+
this.xl.provideRenderer(a);
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
super.
|
|
91
|
-
this.
|
|
89
|
+
oi() {
|
|
90
|
+
super.oi();
|
|
91
|
+
this.xv.fv(this.hp);
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
return this.
|
|
93
|
+
fp() {
|
|
94
|
+
return this.x1;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
return this.
|
|
96
|
+
fq() {
|
|
97
|
+
return this.x1;
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
if (this.
|
|
101
|
-
if (this.
|
|
99
|
+
xs() {
|
|
100
|
+
if (this.xq == 0) {
|
|
101
|
+
if (this.xx) {
|
|
102
102
|
return 2;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return 1;
|
|
106
106
|
}
|
|
107
|
-
get
|
|
108
|
-
return this.
|
|
107
|
+
get xr() {
|
|
108
|
+
return this.xp;
|
|
109
109
|
}
|
|
110
|
-
set
|
|
111
|
-
this.
|
|
110
|
+
set xr(a) {
|
|
111
|
+
this.xp = a;
|
|
112
112
|
}
|
|
113
|
-
get
|
|
114
|
-
return this.
|
|
113
|
+
get zk() {
|
|
114
|
+
return this.zf;
|
|
115
115
|
}
|
|
116
|
-
set
|
|
117
|
-
let b = Rect.l_op_Inequality(this.
|
|
116
|
+
set zk(a) {
|
|
117
|
+
let b = Rect.l_op_Inequality(this.zf, a);
|
|
118
118
|
if (b) {
|
|
119
|
-
let c = this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
119
|
+
let c = this.zf;
|
|
120
|
+
this.zf = a;
|
|
121
|
+
this.q5("ActualWorldRect", c, a);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
return this.
|
|
124
|
+
zo() {
|
|
125
|
+
return this.zk;
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
if (this.
|
|
127
|
+
yq() {
|
|
128
|
+
if (this.zw.isEmpty) {
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
|
-
this.
|
|
131
|
+
this.zk = this.zu(this.zw, this.cs == 1);
|
|
132
132
|
}
|
|
133
|
-
|
|
133
|
+
zu(a, b) {
|
|
134
134
|
let c = a.top;
|
|
135
135
|
let d = a.left;
|
|
136
136
|
let e = a.width;
|
|
@@ -138,25 +138,25 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
138
138
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
139
139
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
140
140
|
let i = g - h;
|
|
141
|
-
let j = a.width / XamGeographicMap.
|
|
142
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
141
|
+
let j = a.width / XamGeographicMap.zg.width;
|
|
142
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.zg.top);
|
|
143
143
|
let l = i / j;
|
|
144
|
-
if (i / j > this.
|
|
145
|
-
let m = i / this.
|
|
144
|
+
if (i / j > this.x4) {
|
|
145
|
+
let m = i / this.x4;
|
|
146
146
|
let n = m - j;
|
|
147
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
148
|
-
e = m * XamGeographicMap.
|
|
147
|
+
d = d - (n / 2) * XamGeographicMap.zg.width;
|
|
148
|
+
e = m * XamGeographicMap.zg.width;
|
|
149
149
|
if (b) {
|
|
150
|
-
if (d < XamGeographicMap.
|
|
151
|
-
d += (XamGeographicMap.
|
|
150
|
+
if (d < XamGeographicMap.zg.left) {
|
|
151
|
+
d += (XamGeographicMap.zg.left - d);
|
|
152
152
|
}
|
|
153
|
-
else if ((d + e) > XamGeographicMap.
|
|
154
|
-
d -= ((d + e) - XamGeographicMap.
|
|
153
|
+
else if ((d + e) > XamGeographicMap.zg.right) {
|
|
154
|
+
d -= ((d + e) - XamGeographicMap.zg.right);
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
else if (i / j < this.
|
|
159
|
-
let o = this.
|
|
158
|
+
else if (i / j < this.x4) {
|
|
159
|
+
let o = this.x4 * j;
|
|
160
160
|
let p = o - i;
|
|
161
161
|
let q = h - (p / 2);
|
|
162
162
|
let r = g + (p / 2);
|
|
@@ -165,9 +165,9 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
165
165
|
q += (k - q);
|
|
166
166
|
r += (k - q);
|
|
167
167
|
}
|
|
168
|
-
else if (r > (k + this.
|
|
169
|
-
q -= ((r) - (k + this.
|
|
170
|
-
r -= ((r) - (k + this.
|
|
168
|
+
else if (r > (k + this.x4)) {
|
|
169
|
+
q -= ((r) - (k + this.x4));
|
|
170
|
+
r -= ((r) - (k + this.x4));
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -177,76 +177,76 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
177
177
|
return s;
|
|
178
178
|
}
|
|
179
179
|
get backgroundContent() {
|
|
180
|
-
return this.
|
|
180
|
+
return this.xm;
|
|
181
181
|
}
|
|
182
182
|
set backgroundContent(a) {
|
|
183
183
|
let b = a != this.backgroundContent;
|
|
184
184
|
if (b) {
|
|
185
185
|
let c = this.backgroundContent;
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
186
|
+
this.xm = a;
|
|
187
|
+
this.q5("BackgroundContent", c, a);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
get
|
|
191
|
-
return this.
|
|
190
|
+
get xj() {
|
|
191
|
+
return this.xi;
|
|
192
192
|
}
|
|
193
|
-
set
|
|
194
|
-
let b = a != this.
|
|
193
|
+
set xj(a) {
|
|
194
|
+
let b = a != this.xj;
|
|
195
195
|
if (b) {
|
|
196
|
-
let c = this.
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
196
|
+
let c = this.xj;
|
|
197
|
+
this.xi = a;
|
|
198
|
+
this.q5("XAxis", c, a);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
get
|
|
202
|
-
return this.
|
|
201
|
+
get xl() {
|
|
202
|
+
return this.xk;
|
|
203
203
|
}
|
|
204
|
-
set
|
|
205
|
-
let b = a != this.
|
|
204
|
+
set xl(a) {
|
|
205
|
+
let b = a != this.xl;
|
|
206
206
|
if (b) {
|
|
207
|
-
let c = this.
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
207
|
+
let c = this.xl;
|
|
208
|
+
this.xk = a;
|
|
209
|
+
this.q5("YAxis", c, a);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
getZoomRectFromGeoRect(a) {
|
|
213
213
|
return this.getZoomFromGeographicRect(a);
|
|
214
214
|
}
|
|
215
|
-
|
|
216
|
-
this.
|
|
215
|
+
y0(a) {
|
|
216
|
+
this.xc = a;
|
|
217
217
|
}
|
|
218
|
-
|
|
219
|
-
this.
|
|
218
|
+
yz(a) {
|
|
219
|
+
this.zw = a;
|
|
220
220
|
}
|
|
221
221
|
getZoomFromGeographicRect(a) {
|
|
222
|
-
return this.
|
|
222
|
+
return this.zm(a, true, 0);
|
|
223
223
|
}
|
|
224
|
-
|
|
225
|
-
return this.
|
|
224
|
+
zl(a, b) {
|
|
225
|
+
return this.zm(a, false, b);
|
|
226
226
|
}
|
|
227
|
-
|
|
227
|
+
zm(a, b, c) {
|
|
228
228
|
let d = a;
|
|
229
229
|
if (b) {
|
|
230
|
-
d = this.
|
|
231
|
-
}
|
|
232
|
-
let e = this.
|
|
233
|
-
let f = this.
|
|
234
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
235
|
-
g.c = this.
|
|
236
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
237
|
-
h.c = this.
|
|
238
|
-
let i = this.
|
|
239
|
-
let j = this.
|
|
240
|
-
let k = this.
|
|
241
|
-
let l = this.
|
|
242
|
-
let m = (i - c) / this.
|
|
243
|
-
let n = (l - c) / this.
|
|
244
|
-
let o = (j - i + (c * 2)) / this.
|
|
245
|
-
let p = (k - l + (c * 2)) / this.
|
|
230
|
+
d = this.zu(a, false);
|
|
231
|
+
}
|
|
232
|
+
let e = this.xj;
|
|
233
|
+
let f = this.xl;
|
|
234
|
+
let g = new ScalerParams(1, XamGeographicMap.zj, this.xb, e.ch);
|
|
235
|
+
g.c = this.wx;
|
|
236
|
+
let h = new ScalerParams(1, XamGeographicMap.zj, this.xb, f.ch);
|
|
237
|
+
h.c = this.wx;
|
|
238
|
+
let i = this.xj.el(d.left, g);
|
|
239
|
+
let j = this.xj.el(d.right, g);
|
|
240
|
+
let k = this.xl.el(d.top, h);
|
|
241
|
+
let l = this.xl.el(d.bottom, h);
|
|
242
|
+
let m = (i - c) / this.xb.width;
|
|
243
|
+
let n = (l - c) / this.xb.height;
|
|
244
|
+
let o = (j - i + (c * 2)) / this.xb.width;
|
|
245
|
+
let p = (k - l + (c * 2)) / this.xb.height;
|
|
246
246
|
let q = new Rect(0, m, n, o, p);
|
|
247
|
-
q.intersect(XamGeographicMap.
|
|
247
|
+
q.intersect(XamGeographicMap.zj);
|
|
248
248
|
if (q.isEmpty) {
|
|
249
|
-
q = XamGeographicMap.
|
|
249
|
+
q = XamGeographicMap.zj;
|
|
250
250
|
}
|
|
251
251
|
return q;
|
|
252
252
|
}
|
|
@@ -256,21 +256,21 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
256
256
|
let e = b.x - a.x;
|
|
257
257
|
let f = a.y - b.y;
|
|
258
258
|
if (e < 0 || f < 0) {
|
|
259
|
-
return XamGeographicMap.
|
|
259
|
+
return XamGeographicMap.zj;
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
262
262
|
let g = new Rect(0, c, d, e, f);
|
|
263
263
|
return this.getZoomFromGeographicRect(g);
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
|
|
267
|
-
let b = this.
|
|
268
|
-
let c = this.
|
|
269
|
-
let d = new ScalerParams(1, a, this.
|
|
270
|
-
d.c = this.
|
|
271
|
-
let e = new ScalerParams(1, a, this.
|
|
272
|
-
e.c = this.
|
|
273
|
-
let f = this.
|
|
266
|
+
zq(a) {
|
|
267
|
+
let b = this.xj;
|
|
268
|
+
let c = this.xl;
|
|
269
|
+
let d = new ScalerParams(1, a, this.xb, b.ch);
|
|
270
|
+
d.c = this.wx;
|
|
271
|
+
let e = new ScalerParams(1, a, this.xb, c.ch);
|
|
272
|
+
e.c = this.wx;
|
|
273
|
+
let f = this.ww;
|
|
274
274
|
let g = b.eo(f.left, d);
|
|
275
275
|
let h = c.eo(f.top, e);
|
|
276
276
|
let i = b.eo(f.right, d);
|
|
@@ -278,166 +278,166 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
278
278
|
let k = i - g;
|
|
279
279
|
let l = h - j;
|
|
280
280
|
let m = new Rect(0, g, j, k, l);
|
|
281
|
-
if (this.
|
|
282
|
-
m.intersect(XamGeographicMap.
|
|
281
|
+
if (this.cs == 1) {
|
|
282
|
+
m.intersect(XamGeographicMap.zg);
|
|
283
283
|
if (m.isEmpty) {
|
|
284
|
-
m = XamGeographicMap.
|
|
284
|
+
m = XamGeographicMap.zg;
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
return m;
|
|
288
288
|
}
|
|
289
|
-
|
|
290
|
-
let b = this.
|
|
291
|
-
let c = this.
|
|
289
|
+
zc(a) {
|
|
290
|
+
let b = this.xj.mf(a.x);
|
|
291
|
+
let c = this.xl.mf(a.y);
|
|
292
292
|
return { $type: Point_$type, x: b, y: c };
|
|
293
293
|
}
|
|
294
|
-
|
|
295
|
-
let b = this.
|
|
296
|
-
let c = this.
|
|
294
|
+
zd(a) {
|
|
295
|
+
let b = this.xj.e6(a.x);
|
|
296
|
+
let c = this.xl.e6(a.y);
|
|
297
297
|
return { $type: Point_$type, x: b, y: c };
|
|
298
298
|
}
|
|
299
|
-
|
|
300
|
-
return this.
|
|
299
|
+
ze(a) {
|
|
300
|
+
return this.zd(a);
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
yn() {
|
|
303
303
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
304
304
|
if (a != null) {
|
|
305
305
|
a.clearTileCache();
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
yt(a) {
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
gk() {
|
|
311
311
|
return true;
|
|
312
312
|
}
|
|
313
|
-
|
|
314
|
-
this.
|
|
313
|
+
yv() {
|
|
314
|
+
this.xv.ee();
|
|
315
315
|
for (let a of fromEnum(this.series)) {
|
|
316
316
|
a.sg();
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
if (this.
|
|
321
|
-
if (!this.
|
|
322
|
-
let a = this.
|
|
323
|
-
let b = this.
|
|
324
|
-
this.
|
|
319
|
+
yy() {
|
|
320
|
+
if (this.xu == 2) {
|
|
321
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
322
|
+
let a = this.xj.mf(this.xb.left + (this.xb.width / 2));
|
|
323
|
+
let b = this.xl.mf(this.xb.top + (this.xb.height / 2));
|
|
324
|
+
this.zb = { $type: Point_$type, x: a, y: b };
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
else {
|
|
328
|
-
if (!this.
|
|
329
|
-
let c = this.
|
|
330
|
-
let d = this.
|
|
331
|
-
this.
|
|
328
|
+
if (!this.xb.isEmpty && this.xb.width > 0 && this.xb.height > 0) {
|
|
329
|
+
let c = this.xj.mf(this.xb.left);
|
|
330
|
+
let d = this.xl.mf(this.xb.top);
|
|
331
|
+
this.zb = { $type: Point_$type, x: c, y: d };
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
|
|
336
|
-
if (isNaN_(this.
|
|
337
|
-
this.
|
|
335
|
+
yu() {
|
|
336
|
+
if (isNaN_(this.zb.x) || isNaN_(this.zb.y)) {
|
|
337
|
+
this.yy();
|
|
338
338
|
}
|
|
339
|
-
let a = this.
|
|
340
|
-
let b = this.
|
|
339
|
+
let a = this.zb.x;
|
|
340
|
+
let b = this.zb.y;
|
|
341
341
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
342
|
-
let c = this.
|
|
343
|
-
let d = this.
|
|
344
|
-
let e = this.
|
|
345
|
-
let f = this.
|
|
346
|
-
if (e > this.
|
|
342
|
+
let c = this.wt.left;
|
|
343
|
+
let d = this.wt.top;
|
|
344
|
+
let e = this.wt.width;
|
|
345
|
+
let f = this.wt.height;
|
|
346
|
+
if (e > this.zi.width) {
|
|
347
347
|
}
|
|
348
348
|
else {
|
|
349
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
350
|
-
g.c = this.
|
|
351
|
-
let h = this.
|
|
352
|
-
if (this.
|
|
353
|
-
let i = h / this.
|
|
349
|
+
let g = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
350
|
+
g.c = this.wx;
|
|
351
|
+
let h = this.xj.el(a, g);
|
|
352
|
+
if (this.xu == 2) {
|
|
353
|
+
let i = h / this.xb.width;
|
|
354
354
|
c = i - (e / 2);
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
|
-
c = h / this.
|
|
357
|
+
c = h / this.xb.width;
|
|
358
358
|
}
|
|
359
|
-
if (c + e > this.
|
|
360
|
-
c = this.
|
|
359
|
+
if (c + e > this.zi.right) {
|
|
360
|
+
c = this.zi.right - e;
|
|
361
361
|
}
|
|
362
|
-
else if (c < this.
|
|
363
|
-
c = this.
|
|
362
|
+
else if (c < this.zi.left) {
|
|
363
|
+
c = this.zi.left;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
if (f > this.
|
|
366
|
+
if (f > this.zi.height) {
|
|
367
367
|
}
|
|
368
368
|
else {
|
|
369
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
370
|
-
j.c = this.
|
|
371
|
-
let k = this.
|
|
372
|
-
if (this.
|
|
373
|
-
let l = k / this.
|
|
369
|
+
let j = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
370
|
+
j.c = this.wx;
|
|
371
|
+
let k = this.xl.el(b, j);
|
|
372
|
+
if (this.xu == 2) {
|
|
373
|
+
let l = k / this.xb.height;
|
|
374
374
|
d = l - (f / 2);
|
|
375
375
|
}
|
|
376
376
|
else {
|
|
377
|
-
d = k / this.
|
|
377
|
+
d = k / this.xb.height;
|
|
378
378
|
}
|
|
379
|
-
if (d + f > this.
|
|
380
|
-
d = this.
|
|
379
|
+
if (d + f > this.zi.bottom) {
|
|
380
|
+
d = this.zi.bottom - f;
|
|
381
381
|
}
|
|
382
|
-
else if (d < this.
|
|
383
|
-
d = this.
|
|
382
|
+
else if (d < this.zi.top) {
|
|
383
|
+
d = this.zi.top;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
this.
|
|
386
|
+
this.sh(new Rect(0, c, d, e, f), false);
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
|
|
389
|
+
get_fh() {
|
|
390
390
|
return true;
|
|
391
391
|
}
|
|
392
|
-
|
|
393
|
-
let a = super.
|
|
394
|
-
if (this.
|
|
392
|
+
wu() {
|
|
393
|
+
let a = super.wu();
|
|
394
|
+
if (this.xj == null || this.xl == null) {
|
|
395
395
|
return a;
|
|
396
396
|
}
|
|
397
|
-
this.
|
|
397
|
+
this.w5();
|
|
398
398
|
let b = a.left;
|
|
399
399
|
let c = a.top;
|
|
400
|
-
if (this.
|
|
401
|
-
if (this.
|
|
402
|
-
b = 0.5 - (this.
|
|
400
|
+
if (this.cs == 1) {
|
|
401
|
+
if (this.xc.width > this.zi.width) {
|
|
402
|
+
b = 0.5 - (this.xc.width / 2);
|
|
403
403
|
}
|
|
404
|
-
else if (b + a.width > this.
|
|
405
|
-
b = this.
|
|
404
|
+
else if (b + a.width > this.zi.right) {
|
|
405
|
+
b = this.zi.right - this.xc.width;
|
|
406
406
|
}
|
|
407
|
-
else if (b < this.
|
|
408
|
-
b = this.
|
|
407
|
+
else if (b < this.zi.left) {
|
|
408
|
+
b = this.zi.left;
|
|
409
409
|
}
|
|
410
|
-
if (this.
|
|
411
|
-
c = 0.5 - (this.
|
|
410
|
+
if (this.xc.height > this.zi.height) {
|
|
411
|
+
c = 0.5 - (this.xc.height / 2);
|
|
412
412
|
}
|
|
413
|
-
else if (c + this.
|
|
414
|
-
c = this.
|
|
413
|
+
else if (c + this.xc.height > this.zi.bottom) {
|
|
414
|
+
c = this.zi.bottom - this.xc.height;
|
|
415
415
|
}
|
|
416
|
-
else if (c < this.
|
|
417
|
-
c = this.
|
|
416
|
+
else if (c < this.zi.top) {
|
|
417
|
+
c = this.zi.top;
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
let d = false;
|
|
421
|
-
if (!this.
|
|
421
|
+
if (!this.x0 && this.cs == 2 && this.xx) {
|
|
422
422
|
if (b > 1) {
|
|
423
423
|
b = (b - Math.floor(b)) + 1;
|
|
424
424
|
}
|
|
425
425
|
if (b < 0) {
|
|
426
426
|
b = 0 - (Math.ceil(b) - b);
|
|
427
427
|
}
|
|
428
|
-
if ((a.right - this.
|
|
429
|
-
b = this.
|
|
428
|
+
if ((a.right - this.zi.right) > 0 && ((a.right - this.zi.right) / a.width) > 0.8) {
|
|
429
|
+
b = this.zi.left - (a.width - (a.right - this.zi.right));
|
|
430
430
|
d = true;
|
|
431
431
|
}
|
|
432
|
-
else if (a.left < this.
|
|
433
|
-
b = this.
|
|
432
|
+
else if (a.left < this.zi.left && (Math.abs(a.left - this.zi.left) / a.width) > 0.8) {
|
|
433
|
+
b = this.zi.right - (Math.abs(a.left - this.zi.left));
|
|
434
434
|
d = true;
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
438
|
-
if (this.
|
|
439
|
-
let f = this.
|
|
440
|
-
f = this.
|
|
438
|
+
if (this.x0) {
|
|
439
|
+
let f = this.zl(this.zw, 1);
|
|
440
|
+
f = this.zn(f);
|
|
441
441
|
let g = e.left + e.width / 2;
|
|
442
442
|
let h = e.top + e.height / 2;
|
|
443
443
|
if (e.width > f.width) {
|
|
@@ -472,17 +472,17 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
if (d) {
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
477
|
-
this.
|
|
475
|
+
this.e3 = true;
|
|
476
|
+
this.xc = e;
|
|
477
|
+
this.e3 = false;
|
|
478
478
|
}
|
|
479
479
|
return e;
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
nm(a, b) {
|
|
482
482
|
let c = true;
|
|
483
483
|
let d = true;
|
|
484
484
|
let e = 0;
|
|
485
|
-
let f = this.
|
|
485
|
+
let f = this.w5();
|
|
486
486
|
let g = 0;
|
|
487
487
|
let h = 0;
|
|
488
488
|
if ((a.right - f.right) > 0) {
|
|
@@ -499,39 +499,39 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
499
499
|
}
|
|
500
500
|
if (c) {
|
|
501
501
|
if (d) {
|
|
502
|
-
let i = this.
|
|
503
|
-
let j = this.
|
|
502
|
+
let i = this.xi.el(-180, b);
|
|
503
|
+
let j = this.xi.el(180, b);
|
|
504
504
|
e = j - i;
|
|
505
505
|
}
|
|
506
506
|
else {
|
|
507
|
-
let k = this.
|
|
508
|
-
let l = this.
|
|
507
|
+
let k = this.xi.el(-180, b);
|
|
508
|
+
let l = this.xi.el(180, b);
|
|
509
509
|
e = k - l;
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
513
513
|
}
|
|
514
|
-
|
|
515
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
516
|
-
a.c = this.
|
|
517
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
518
|
-
b.c = this.
|
|
519
|
-
let c = this.
|
|
520
|
-
let d = this.
|
|
521
|
-
let e = this.
|
|
522
|
-
let f = this.
|
|
523
|
-
this.
|
|
524
|
-
return this.
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
let b = this.
|
|
514
|
+
w5() {
|
|
515
|
+
let a = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xj.ch);
|
|
516
|
+
a.c = this.wx;
|
|
517
|
+
let b = new ScalerParams(1, XamGeographicMap.zj, this.xb, this.xl.ch);
|
|
518
|
+
b.c = this.wx;
|
|
519
|
+
let c = this.xj.el(XamGeographicMap.zg.left, a);
|
|
520
|
+
let d = this.xj.el(XamGeographicMap.zg.right, a);
|
|
521
|
+
let e = this.xl.el(XamGeographicMap.zg.top, b);
|
|
522
|
+
let f = this.xl.el(XamGeographicMap.zg.bottom, b);
|
|
523
|
+
this.zi = new Rect(0, c / this.xb.width, f / this.xb.height, (d - c) / this.xb.width, (e - f) / this.xb.height);
|
|
524
|
+
return this.zi;
|
|
525
|
+
}
|
|
526
|
+
zn(a) {
|
|
527
|
+
let b = this.ht;
|
|
528
528
|
let c = 0.5 * (a.left + a.right);
|
|
529
529
|
let d = 0.5 * (a.top + a.bottom);
|
|
530
530
|
let e = a.width;
|
|
531
531
|
let f = a.height;
|
|
532
532
|
let g = MathUtil.d(a.width, b, 1);
|
|
533
533
|
let h = MathUtil.d(a.height, b, 1);
|
|
534
|
-
let i = this.
|
|
534
|
+
let i = this.xb;
|
|
535
535
|
let j = i.width / i.height;
|
|
536
536
|
let k = g * i.width;
|
|
537
537
|
let l = h * i.height;
|
|
@@ -570,8 +570,8 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
570
570
|
}
|
|
571
571
|
return new Rect(0, p, q, r - p, s - q);
|
|
572
572
|
}
|
|
573
|
-
|
|
574
|
-
super.
|
|
573
|
+
wv(a) {
|
|
574
|
+
super.wv(this.xb);
|
|
575
575
|
if (a.isEmpty) {
|
|
576
576
|
return Rect.empty;
|
|
577
577
|
}
|
|
@@ -586,126 +586,126 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
586
586
|
}
|
|
587
587
|
return b;
|
|
588
588
|
}
|
|
589
|
-
|
|
590
|
-
return this.
|
|
589
|
+
zp(a) {
|
|
590
|
+
return this.wv(a);
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
db() {
|
|
593
593
|
return new XamGeographicMapView(this);
|
|
594
594
|
}
|
|
595
|
-
|
|
595
|
+
yp(a) {
|
|
596
596
|
if (a != null) {
|
|
597
597
|
a.bi = this;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
|
|
601
|
-
super.
|
|
602
|
-
this.
|
|
600
|
+
qo(a) {
|
|
601
|
+
super.qo(a);
|
|
602
|
+
this.xv = a;
|
|
603
603
|
}
|
|
604
|
-
|
|
605
|
-
super.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
604
|
+
qz(a, b) {
|
|
605
|
+
super.qz(a, b);
|
|
606
|
+
this.r5(this.xj);
|
|
607
|
+
this.r5(this.xl);
|
|
608
608
|
if (Rect.l_op_Inequality(a, b)) {
|
|
609
|
-
this.
|
|
609
|
+
this.yu();
|
|
610
610
|
}
|
|
611
|
-
if (this.
|
|
612
|
-
this.
|
|
611
|
+
if (this.x0) {
|
|
612
|
+
this.wt = this.wu();
|
|
613
613
|
}
|
|
614
|
-
this.
|
|
614
|
+
this.y1();
|
|
615
615
|
}
|
|
616
|
-
get
|
|
617
|
-
return this.
|
|
616
|
+
get x5() {
|
|
617
|
+
return this.x3;
|
|
618
618
|
}
|
|
619
|
-
set
|
|
620
|
-
let b = this.
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
619
|
+
set x5(a) {
|
|
620
|
+
let b = this.x3;
|
|
621
|
+
this.x3 = a;
|
|
622
|
+
this.q5("ActualWindowScale", b, this.x3);
|
|
623
623
|
}
|
|
624
|
-
|
|
625
|
-
return this.
|
|
624
|
+
hz() {
|
|
625
|
+
return this.x5;
|
|
626
626
|
}
|
|
627
|
-
|
|
628
|
-
return this.
|
|
627
|
+
h0() {
|
|
628
|
+
return this.x5;
|
|
629
629
|
}
|
|
630
|
-
|
|
631
|
-
super.
|
|
632
|
-
let a = Math.min(this.
|
|
633
|
-
this.
|
|
630
|
+
r4() {
|
|
631
|
+
super.r4();
|
|
632
|
+
let a = Math.min(this.wt.width, this.wt.height);
|
|
633
|
+
this.x5 = a;
|
|
634
634
|
}
|
|
635
|
-
|
|
636
|
-
return this.
|
|
635
|
+
f8() {
|
|
636
|
+
return this.xx;
|
|
637
637
|
}
|
|
638
|
-
|
|
639
|
-
if (this.
|
|
640
|
-
if (this.
|
|
638
|
+
ct() {
|
|
639
|
+
if (this.cu == 0) {
|
|
640
|
+
if (this.xy) {
|
|
641
641
|
return 2;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
return this.
|
|
644
|
+
return this.cu;
|
|
645
645
|
}
|
|
646
|
-
|
|
647
|
-
super.
|
|
646
|
+
q0(a, b, c, d) {
|
|
647
|
+
super.q0(a, b, c, d);
|
|
648
648
|
switch (b) {
|
|
649
649
|
case "ZoomCoercionMode":
|
|
650
|
-
this.
|
|
650
|
+
this.yq();
|
|
651
651
|
break;
|
|
652
652
|
case "WindowRect":
|
|
653
|
-
this.
|
|
653
|
+
this.yy();
|
|
654
654
|
break;
|
|
655
655
|
case XamGeographicMap.$$p[0]:
|
|
656
|
-
this.
|
|
657
|
-
if (this.
|
|
658
|
-
this.
|
|
656
|
+
this.xr = this.xs();
|
|
657
|
+
if (this.xo != null) {
|
|
658
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
659
659
|
}
|
|
660
660
|
break;
|
|
661
661
|
case XamGeographicMap.$$p[1]:
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
664
|
-
this.
|
|
665
|
-
if (this.
|
|
666
|
-
this.
|
|
662
|
+
this.xx = this.xy;
|
|
663
|
+
this.xr = this.xs();
|
|
664
|
+
this.cs = this.ct();
|
|
665
|
+
if (this.xo != null) {
|
|
666
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
667
667
|
}
|
|
668
668
|
break;
|
|
669
669
|
case XamGeographicMap.$$p[4]:
|
|
670
|
-
this.
|
|
670
|
+
this.wt = this.wu();
|
|
671
671
|
break;
|
|
672
672
|
case "BackgroundContent":
|
|
673
|
-
if (this.
|
|
674
|
-
let e = this.
|
|
675
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
676
|
-
this.
|
|
673
|
+
if (this.xo != null) {
|
|
674
|
+
let e = this.xo;
|
|
675
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.yr));
|
|
676
|
+
this.xo.deferralHandler = null;
|
|
677
677
|
}
|
|
678
|
-
this.
|
|
679
|
-
if (this.
|
|
680
|
-
let f = this.
|
|
681
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
682
|
-
this.
|
|
683
|
-
this.
|
|
678
|
+
this.xo = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
679
|
+
if (this.xo != null) {
|
|
680
|
+
let f = this.xo;
|
|
681
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.yr));
|
|
682
|
+
this.xo.deferralHandler = this;
|
|
683
|
+
this.xo.isHorizontalWrappingEnabled = this.xr == 2;
|
|
684
684
|
}
|
|
685
|
-
this.
|
|
686
|
-
if (this.
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
685
|
+
this.xv.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
686
|
+
if (this.xo != null) {
|
|
687
|
+
this.xo.geographicMap = this;
|
|
688
|
+
this.xv.fr(this.wt);
|
|
689
|
+
this.xv.fv(this.hp);
|
|
690
690
|
}
|
|
691
691
|
break;
|
|
692
692
|
case "YAxis":
|
|
693
693
|
case "XAxis":
|
|
694
|
-
this.
|
|
695
|
-
this.
|
|
694
|
+
this.yw(c);
|
|
695
|
+
this.yp(d);
|
|
696
696
|
break;
|
|
697
697
|
case XamGeographicMap.$$p[6]:
|
|
698
|
-
if (!this.
|
|
699
|
-
this.
|
|
698
|
+
if (!this.xz) {
|
|
699
|
+
this.xc = XamGeographicMap.zj;
|
|
700
700
|
}
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
703
|
-
this.
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
701
|
+
this.yq();
|
|
702
|
+
this.yx();
|
|
703
|
+
this.yy();
|
|
704
|
+
this.wt = this.wu();
|
|
705
|
+
this.xv.fs();
|
|
706
706
|
break;
|
|
707
707
|
case "ActualWindowRect":
|
|
708
|
-
this.
|
|
708
|
+
this.xv.fr(this.wt);
|
|
709
709
|
break;
|
|
710
710
|
case "ActualWorldRect":
|
|
711
711
|
for (let g of fromEnum(this.series)) {
|
|
@@ -713,30 +713,30 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
713
713
|
}
|
|
714
714
|
break;
|
|
715
715
|
case XamGeographicMap.$$p[5]:
|
|
716
|
-
this.
|
|
716
|
+
this.x5 = this.x6;
|
|
717
717
|
break;
|
|
718
718
|
case "ActualWindowScale":
|
|
719
|
-
if (!this.
|
|
720
|
-
this.
|
|
719
|
+
if (!this.gg) {
|
|
720
|
+
this.sf(this.hz(), this.h0());
|
|
721
721
|
}
|
|
722
722
|
break;
|
|
723
723
|
case "ActualPixelScalingRatio":
|
|
724
|
-
this.
|
|
724
|
+
this.xv.fv(this.hp);
|
|
725
725
|
break;
|
|
726
726
|
case "WindowRectMinWidth":
|
|
727
727
|
case "WindowRectMinHeight":
|
|
728
728
|
let h = d;
|
|
729
729
|
if (isNaN_(h) || isInfinity(h)) {
|
|
730
|
-
this.
|
|
731
|
-
this.
|
|
730
|
+
this.ht = 5E-06;
|
|
731
|
+
this.hs = 5E-06;
|
|
732
732
|
}
|
|
733
733
|
else {
|
|
734
|
-
this.
|
|
735
|
-
this.
|
|
734
|
+
this.ht = h;
|
|
735
|
+
this.hs = h;
|
|
736
736
|
}
|
|
737
737
|
break;
|
|
738
738
|
case XamGeographicMap.$$p[7]:
|
|
739
|
-
this.
|
|
739
|
+
this.sb();
|
|
740
740
|
break;
|
|
741
741
|
case "MarkerAutomaticBehavior":
|
|
742
742
|
for (let i of fromEnum(this.series)) {
|
|
@@ -745,39 +745,39 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
745
745
|
break;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
|
|
748
|
+
yr(a, b) {
|
|
749
749
|
if (this.imageTilesReady != null) {
|
|
750
750
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
|
-
|
|
753
|
+
yw(a) {
|
|
754
754
|
if (a != null) {
|
|
755
755
|
a.bi = null;
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
|
|
759
|
-
if (this.
|
|
760
|
-
this.
|
|
761
|
-
this.
|
|
758
|
+
yx() {
|
|
759
|
+
if (this.xj != null) {
|
|
760
|
+
this.xj.mc = this.zk.left;
|
|
761
|
+
this.xj.mb = this.zk.right;
|
|
762
762
|
}
|
|
763
|
-
if (this.
|
|
764
|
-
this.
|
|
765
|
-
this.
|
|
763
|
+
if (this.xl != null) {
|
|
764
|
+
this.xl.mc = this.zk.top;
|
|
765
|
+
this.xl.mb = this.zk.bottom;
|
|
766
766
|
}
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
767
|
+
this.xj.c2(true);
|
|
768
|
+
this.xl.c2(true);
|
|
769
769
|
}
|
|
770
770
|
getFontInfo() {
|
|
771
|
-
this.
|
|
772
|
-
return this.
|
|
771
|
+
this.xw = this.xv.fo;
|
|
772
|
+
return this.xw;
|
|
773
773
|
}
|
|
774
|
-
|
|
775
|
-
return this.
|
|
774
|
+
vx() {
|
|
775
|
+
return this.xv.fw;
|
|
776
776
|
}
|
|
777
777
|
getFontBrush() {
|
|
778
|
-
return this.
|
|
778
|
+
return this.xv.fx;
|
|
779
779
|
}
|
|
780
|
-
|
|
780
|
+
rx(a, b) {
|
|
781
781
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
782
782
|
let c = b;
|
|
783
783
|
let d = a;
|
|
@@ -785,33 +785,33 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
785
785
|
d.xe = c.triangulationSource.triangles;
|
|
786
786
|
}
|
|
787
787
|
else {
|
|
788
|
-
super.
|
|
788
|
+
super.rx(a, b);
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
791
|
register(a, b) {
|
|
792
|
-
this.
|
|
792
|
+
this.rk(a, b);
|
|
793
793
|
}
|
|
794
794
|
unRegister(a) {
|
|
795
|
-
this.
|
|
795
|
+
this.r3(a);
|
|
796
796
|
}
|
|
797
797
|
deferredRefresh() {
|
|
798
|
-
this.
|
|
798
|
+
this.n0();
|
|
799
799
|
}
|
|
800
800
|
deferAction(a) {
|
|
801
|
-
if (this.
|
|
802
|
-
this.
|
|
801
|
+
if (this.x8 != null) {
|
|
802
|
+
this.x8.setTimeout(a, 0);
|
|
803
803
|
}
|
|
804
804
|
else {
|
|
805
805
|
window.setTimeout(a, 0);
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
|
|
809
|
-
this.
|
|
808
|
+
yo(a) {
|
|
809
|
+
this.sa(a);
|
|
810
810
|
}
|
|
811
|
-
|
|
811
|
+
x9() {
|
|
812
812
|
let a = new ChartVisualData();
|
|
813
|
-
let b = this.
|
|
814
|
-
let c = this.
|
|
813
|
+
let b = this.xj.fy();
|
|
814
|
+
let c = this.xl.fy();
|
|
815
815
|
a.axes.add1(b);
|
|
816
816
|
a.axes.add1(c);
|
|
817
817
|
for (let d = 0; d < this.series.count; d++) {
|
|
@@ -819,42 +819,42 @@ export let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
819
819
|
a.series.add1(e);
|
|
820
820
|
}
|
|
821
821
|
a.name = this.name;
|
|
822
|
-
a.contentArea = RectData.b(this.
|
|
823
|
-
a.centralArea = RectData.b(this.
|
|
824
|
-
a.plotArea = RectData.b(this.
|
|
822
|
+
a.contentArea = RectData.b(this.xb);
|
|
823
|
+
a.centralArea = RectData.b(this.xb);
|
|
824
|
+
a.plotArea = RectData.b(this.xb);
|
|
825
825
|
return a;
|
|
826
826
|
}
|
|
827
|
-
|
|
827
|
+
w1(a, b, c) {
|
|
828
828
|
return a;
|
|
829
829
|
}
|
|
830
|
-
|
|
830
|
+
ys() {
|
|
831
831
|
}
|
|
832
|
-
get
|
|
833
|
-
return this.
|
|
832
|
+
get zv() {
|
|
833
|
+
return this.zh;
|
|
834
834
|
}
|
|
835
|
-
set
|
|
836
|
-
this.
|
|
835
|
+
set zv(a) {
|
|
836
|
+
this.zh = a;
|
|
837
837
|
}
|
|
838
|
-
|
|
839
|
-
this.
|
|
840
|
-
this.
|
|
838
|
+
y2(a) {
|
|
839
|
+
this.zv = a;
|
|
840
|
+
this.y1();
|
|
841
841
|
}
|
|
842
|
-
|
|
843
|
-
if (this.
|
|
844
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
845
|
-
this.
|
|
846
|
-
this.
|
|
842
|
+
y1() {
|
|
843
|
+
if (this.x2 && !this.zv.isEmpty) {
|
|
844
|
+
let a = this.getZoomFromGeographicRect(this.zv);
|
|
845
|
+
this.zv = Rect.empty;
|
|
846
|
+
this.sh(a, false);
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
get
|
|
850
|
-
return !this.
|
|
849
|
+
get x2() {
|
|
850
|
+
return !this.xb.isEmpty && !this.wx.isEmpty;
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
XamGeographicMap.$t = markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
854
|
-
XamGeographicMap.
|
|
855
|
-
XamGeographicMap.
|
|
856
|
-
XamGeographicMap.
|
|
857
|
-
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
854
|
+
XamGeographicMap.xt = 0;
|
|
855
|
+
XamGeographicMap.zg = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
856
|
+
XamGeographicMap.zj = new Rect(0, 0, 0, 1, 1);
|
|
857
|
+
XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'q5', ['BackgroundTilingMode:xq:y3', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:xy:y4', [0, false], 'ResizeBehavior:xu:y5', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.xt)], 'SuppressZoomResetOnWorldRectChange:xz:y6', [0, false], 'UseWorldRectForZoomBounds:x0:y7', [0, false], 'WindowScale:x6:y8', [1, NaN], 'WorldRect:zw:y9', [Rect.$, XamGeographicMap.zg], 'Zoomable:x1:za', [0, true]]);
|
|
858
858
|
return XamGeographicMap;
|
|
859
859
|
})();
|
|
860
860
|
/**
|
|
@@ -984,14 +984,14 @@ export let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
984
984
|
return a;
|
|
985
985
|
}
|
|
986
986
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
987
|
-
let c = this.geographicMap.
|
|
988
|
-
let d = XamGeographicMap.
|
|
989
|
-
let e = this.geographicMap.
|
|
987
|
+
let c = this.geographicMap.zp(b);
|
|
988
|
+
let d = XamGeographicMap.zg;
|
|
989
|
+
let e = this.geographicMap.zk;
|
|
990
990
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
991
991
|
let g = e.width / d.width;
|
|
992
992
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
993
|
-
let h = this.geographicMap.
|
|
994
|
-
let i = this.geographicMap.
|
|
993
|
+
let h = this.geographicMap.xj;
|
|
994
|
+
let i = this.geographicMap.xl;
|
|
995
995
|
let j = new ScalerParams(1, this.windowRect, b, h.ch);
|
|
996
996
|
j.c = c;
|
|
997
997
|
let k = new ScalerParams(1, this.windowRect, b, i.ch);
|
|
@@ -1106,8 +1106,8 @@ export let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1106
1106
|
a.w4 = null;
|
|
1107
1107
|
return;
|
|
1108
1108
|
}
|
|
1109
|
-
a.w3 = this.cu.dc.
|
|
1110
|
-
a.w4 = this.cu.dc.
|
|
1109
|
+
a.w3 = this.cu.dc.xj;
|
|
1110
|
+
a.w4 = this.cu.dc.xl;
|
|
1111
1111
|
}
|
|
1112
1112
|
cw() {
|
|
1113
1113
|
this.cu.w5.x5 = this.cu.xh;
|
|
@@ -1182,15 +1182,15 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1182
1182
|
this.fp = NaN;
|
|
1183
1183
|
this.fz = Rect.empty;
|
|
1184
1184
|
this.fn = a;
|
|
1185
|
-
this.fn.
|
|
1186
|
-
this.fn.
|
|
1185
|
+
this.fn.vq = 2;
|
|
1186
|
+
this.fn.i2 = 5E-06;
|
|
1187
1187
|
}
|
|
1188
1188
|
m(a) {
|
|
1189
1189
|
return 2;
|
|
1190
1190
|
}
|
|
1191
1191
|
bk(a) {
|
|
1192
1192
|
this.j.bw(a);
|
|
1193
|
-
this.fn.
|
|
1193
|
+
this.fn.yo(a);
|
|
1194
1194
|
this.el();
|
|
1195
1195
|
}
|
|
1196
1196
|
get_ap() {
|
|
@@ -1253,13 +1253,13 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
1255
|
fr(a) {
|
|
1256
|
-
if (this.fn.
|
|
1257
|
-
this.fn.
|
|
1256
|
+
if (this.fn.xo != null) {
|
|
1257
|
+
this.fn.xo.windowRect = a;
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
fu(a, b) {
|
|
1261
|
-
if (this.fn.
|
|
1262
|
-
this.fn.
|
|
1261
|
+
if (this.fn.xo != null) {
|
|
1262
|
+
this.fn.xo.windowRect = this.fn.wt;
|
|
1263
1263
|
}
|
|
1264
1264
|
if (a != null) {
|
|
1265
1265
|
let c = a.ao;
|
|
@@ -1286,7 +1286,7 @@ export let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
ft(a) {
|
|
1289
|
-
let b = this.fn.
|
|
1289
|
+
let b = this.fn.hp;
|
|
1290
1290
|
if (b != 1) {
|
|
1291
1291
|
a.aa();
|
|
1292
1292
|
a.ab(b, b);
|