igniteui-webcomponents-maps 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-maps.umd.js +428 -428
- package/bundles/igniteui-webcomponents-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm2015/lib/TileSeries_combined.js +1 -1
- package/esm2015/lib/XamGeographicMap_combined.js +366 -366
- package/esm2015/lib/igc-geographic-map-component.js +50 -50
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicMapSeriesHost_combined.js +3 -3
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +4 -4
- package/esm5/lib/TileSeries_combined.js +1 -1
- package/esm5/lib/XamGeographicMap_combined.js +360 -360
- package/esm5/lib/igc-geographic-map-component.js +50 -50
- package/fesm2015/igniteui-webcomponents-maps.js +434 -434
- package/fesm5/igniteui-webcomponents-maps.js +428 -428
- package/lib/XamGeographicMap_combined.d.ts +78 -78
- package/package.json +3 -3
|
@@ -40,22 +40,22 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
40
40
|
class XamGeographicMap extends SeriesViewer {
|
|
41
41
|
constructor() {
|
|
42
42
|
super();
|
|
43
|
-
this.
|
|
44
|
-
this.
|
|
45
|
-
this.
|
|
46
|
-
this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
43
|
+
this.z7 = null;
|
|
44
|
+
this.zw = false;
|
|
45
|
+
this.zo = 1;
|
|
46
|
+
this.z3 = 0;
|
|
47
|
+
this.abe = null;
|
|
48
|
+
this.zl = null;
|
|
49
|
+
this.zh = null;
|
|
50
|
+
this.zj = null;
|
|
51
|
+
this.zn = null;
|
|
52
|
+
this.aba = { $type: Point_$type, x: NaN, y: NaN };
|
|
53
|
+
this.abh = null;
|
|
54
|
+
this.z2 = 1;
|
|
55
55
|
this.imageTilesReady = null;
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
56
|
+
this.zv = null;
|
|
57
|
+
this.abg = Rect.empty;
|
|
58
|
+
this.z3 = SphericalMercatorVerticalScaler.am(XamGeographicMap.abf.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.abf.top);
|
|
59
59
|
this.ab = XamGeographicMap.$;
|
|
60
60
|
this.backgroundContent = new OpenStreetMapImagery();
|
|
61
61
|
let a = ((() => {
|
|
@@ -64,70 +64,70 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
64
64
|
return $ret;
|
|
65
65
|
})());
|
|
66
66
|
a.dk = true;
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
67
|
+
this.zi = a;
|
|
68
|
+
this.zi.tf = new SphericalMercatorHorizontalScaler();
|
|
69
69
|
let b = ((() => {
|
|
70
70
|
let $ret = new NumericYAxis();
|
|
71
71
|
$ret.b7 = this;
|
|
72
72
|
return $ret;
|
|
73
73
|
})());
|
|
74
74
|
b.dk = true;
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
75
|
+
this.zk = b;
|
|
76
|
+
this.zk.tf = new SphericalMercatorVerticalScaler();
|
|
77
|
+
this.aap();
|
|
78
|
+
this.aaw();
|
|
79
|
+
this.pp();
|
|
80
80
|
}
|
|
81
81
|
provideContainer(a) {
|
|
82
82
|
super.provideContainer(a);
|
|
83
|
-
this.
|
|
84
|
-
this.
|
|
83
|
+
this.zi.provideRenderer(a);
|
|
84
|
+
this.zk.provideRenderer(a);
|
|
85
85
|
}
|
|
86
|
-
|
|
87
|
-
super.
|
|
88
|
-
this.
|
|
89
|
-
}
|
|
90
|
-
gg() {
|
|
91
|
-
return this.zz;
|
|
86
|
+
pp() {
|
|
87
|
+
super.pp();
|
|
88
|
+
this.zu.fy(this.ik);
|
|
92
89
|
}
|
|
93
90
|
gh() {
|
|
94
|
-
return this.
|
|
91
|
+
return this.z0;
|
|
92
|
+
}
|
|
93
|
+
gi() {
|
|
94
|
+
return this.z0;
|
|
95
95
|
}
|
|
96
|
-
|
|
97
|
-
if (this.
|
|
98
|
-
if (this.
|
|
96
|
+
zr() {
|
|
97
|
+
if (this.zp == 0) {
|
|
98
|
+
if (this.zw) {
|
|
99
99
|
return 2;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
return 1;
|
|
103
103
|
}
|
|
104
|
-
get
|
|
105
|
-
return this.
|
|
104
|
+
get zq() {
|
|
105
|
+
return this.zo;
|
|
106
106
|
}
|
|
107
|
-
set
|
|
108
|
-
this.
|
|
107
|
+
set zq(a) {
|
|
108
|
+
this.zo = a;
|
|
109
109
|
}
|
|
110
|
-
get
|
|
111
|
-
return this.
|
|
110
|
+
get abj() {
|
|
111
|
+
return this.abe;
|
|
112
112
|
}
|
|
113
|
-
set
|
|
114
|
-
let b = Rect.l_op_Inequality(this.
|
|
113
|
+
set abj(a) {
|
|
114
|
+
let b = Rect.l_op_Inequality(this.abe, a);
|
|
115
115
|
if (b) {
|
|
116
|
-
let c = this.
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
116
|
+
let c = this.abe;
|
|
117
|
+
this.abe = a;
|
|
118
|
+
this.ss("ActualWorldRect", c, a);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
return this.
|
|
121
|
+
abn() {
|
|
122
|
+
return this.abj;
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
if (this.
|
|
124
|
+
aap() {
|
|
125
|
+
if (this.abv.isEmpty) {
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
this.
|
|
128
|
+
this.abj = this.abt(this.abv, this.db == 1);
|
|
129
129
|
}
|
|
130
|
-
|
|
130
|
+
abt(a, b) {
|
|
131
131
|
let c = a.top;
|
|
132
132
|
let d = a.left;
|
|
133
133
|
let e = a.width;
|
|
@@ -135,25 +135,25 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
135
135
|
let g = SphericalMercatorVerticalScaler.am(a.bottom);
|
|
136
136
|
let h = SphericalMercatorVerticalScaler.am(a.top);
|
|
137
137
|
let i = g - h;
|
|
138
|
-
let j = a.width / XamGeographicMap.
|
|
139
|
-
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.
|
|
138
|
+
let j = a.width / XamGeographicMap.abf.width;
|
|
139
|
+
let k = SphericalMercatorVerticalScaler.am(XamGeographicMap.abf.top);
|
|
140
140
|
let l = i / j;
|
|
141
|
-
if (i / j > this.
|
|
142
|
-
let m = i / this.
|
|
141
|
+
if (i / j > this.z3) {
|
|
142
|
+
let m = i / this.z3;
|
|
143
143
|
let n = m - j;
|
|
144
|
-
d = d - (n / 2) * XamGeographicMap.
|
|
145
|
-
e = m * XamGeographicMap.
|
|
144
|
+
d = d - (n / 2) * XamGeographicMap.abf.width;
|
|
145
|
+
e = m * XamGeographicMap.abf.width;
|
|
146
146
|
if (b) {
|
|
147
|
-
if (d < XamGeographicMap.
|
|
148
|
-
d += (XamGeographicMap.
|
|
147
|
+
if (d < XamGeographicMap.abf.left) {
|
|
148
|
+
d += (XamGeographicMap.abf.left - d);
|
|
149
149
|
}
|
|
150
|
-
else if ((d + e) > XamGeographicMap.
|
|
151
|
-
d -= ((d + e) - XamGeographicMap.
|
|
150
|
+
else if ((d + e) > XamGeographicMap.abf.right) {
|
|
151
|
+
d -= ((d + e) - XamGeographicMap.abf.right);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
else if (i / j < this.
|
|
156
|
-
let o = this.
|
|
155
|
+
else if (i / j < this.z3) {
|
|
156
|
+
let o = this.z3 * j;
|
|
157
157
|
let p = o - i;
|
|
158
158
|
let q = h - (p / 2);
|
|
159
159
|
let r = g + (p / 2);
|
|
@@ -162,9 +162,9 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
162
162
|
q += (k - q);
|
|
163
163
|
r += (k - q);
|
|
164
164
|
}
|
|
165
|
-
else if (r > (k + this.
|
|
166
|
-
q -= ((r) - (k + this.
|
|
167
|
-
r -= ((r) - (k + this.
|
|
165
|
+
else if (r > (k + this.z3)) {
|
|
166
|
+
q -= ((r) - (k + this.z3));
|
|
167
|
+
r -= ((r) - (k + this.z3));
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
c = SphericalMercatorVerticalScaler.aq(q);
|
|
@@ -174,76 +174,76 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
174
174
|
return s;
|
|
175
175
|
}
|
|
176
176
|
get backgroundContent() {
|
|
177
|
-
return this.
|
|
177
|
+
return this.zl;
|
|
178
178
|
}
|
|
179
179
|
set backgroundContent(a) {
|
|
180
180
|
let b = a != this.backgroundContent;
|
|
181
181
|
if (b) {
|
|
182
182
|
let c = this.backgroundContent;
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
183
|
+
this.zl = a;
|
|
184
|
+
this.ss("BackgroundContent", c, a);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
get
|
|
188
|
-
return this.
|
|
187
|
+
get zi() {
|
|
188
|
+
return this.zh;
|
|
189
189
|
}
|
|
190
|
-
set
|
|
191
|
-
let b = a != this.
|
|
190
|
+
set zi(a) {
|
|
191
|
+
let b = a != this.zi;
|
|
192
192
|
if (b) {
|
|
193
|
-
let c = this.
|
|
194
|
-
this.
|
|
195
|
-
this.
|
|
193
|
+
let c = this.zi;
|
|
194
|
+
this.zh = a;
|
|
195
|
+
this.ss("XAxis", c, a);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
get
|
|
199
|
-
return this.
|
|
198
|
+
get zk() {
|
|
199
|
+
return this.zj;
|
|
200
200
|
}
|
|
201
|
-
set
|
|
202
|
-
let b = a != this.
|
|
201
|
+
set zk(a) {
|
|
202
|
+
let b = a != this.zk;
|
|
203
203
|
if (b) {
|
|
204
|
-
let c = this.
|
|
205
|
-
this.
|
|
206
|
-
this.
|
|
204
|
+
let c = this.zk;
|
|
205
|
+
this.zj = a;
|
|
206
|
+
this.ss("YAxis", c, a);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
getZoomRectFromGeoRect(a) {
|
|
210
210
|
return this.getZoomFromGeographicRect(a);
|
|
211
211
|
}
|
|
212
|
-
|
|
213
|
-
this.
|
|
212
|
+
aaz(a) {
|
|
213
|
+
this.zb = a;
|
|
214
214
|
}
|
|
215
|
-
|
|
216
|
-
this.
|
|
215
|
+
aay(a) {
|
|
216
|
+
this.abv = a;
|
|
217
217
|
}
|
|
218
218
|
getZoomFromGeographicRect(a) {
|
|
219
|
-
return this.
|
|
219
|
+
return this.abl(a, true, 0);
|
|
220
220
|
}
|
|
221
|
-
|
|
222
|
-
return this.
|
|
221
|
+
abk(a, b) {
|
|
222
|
+
return this.abl(a, false, b);
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
abl(a, b, c) {
|
|
225
225
|
let d = a;
|
|
226
226
|
if (b) {
|
|
227
|
-
d = this.
|
|
228
|
-
}
|
|
229
|
-
let e = this.
|
|
230
|
-
let f = this.
|
|
231
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
232
|
-
g.c = this.
|
|
233
|
-
let h = new ScalerParams(1, XamGeographicMap.
|
|
234
|
-
h.c = this.
|
|
235
|
-
let i = this.
|
|
236
|
-
let j = this.
|
|
237
|
-
let k = this.
|
|
238
|
-
let l = this.
|
|
239
|
-
let m = (i - c) / this.
|
|
240
|
-
let n = (l - c) / this.
|
|
241
|
-
let o = (j - i + (c * 2)) / this.
|
|
242
|
-
let p = (k - l + (c * 2)) / this.
|
|
227
|
+
d = this.abt(a, false);
|
|
228
|
+
}
|
|
229
|
+
let e = this.zi;
|
|
230
|
+
let f = this.zk;
|
|
231
|
+
let g = new ScalerParams(1, XamGeographicMap.abi, this.za, e.dn);
|
|
232
|
+
g.c = this.yw;
|
|
233
|
+
let h = new ScalerParams(1, XamGeographicMap.abi, this.za, f.dn);
|
|
234
|
+
h.c = this.yw;
|
|
235
|
+
let i = this.zi.f7(d.left, g);
|
|
236
|
+
let j = this.zi.f7(d.right, g);
|
|
237
|
+
let k = this.zk.f7(d.top, h);
|
|
238
|
+
let l = this.zk.f7(d.bottom, h);
|
|
239
|
+
let m = (i - c) / this.za.width;
|
|
240
|
+
let n = (l - c) / this.za.height;
|
|
241
|
+
let o = (j - i + (c * 2)) / this.za.width;
|
|
242
|
+
let p = (k - l + (c * 2)) / this.za.height;
|
|
243
243
|
let q = new Rect(0, m, n, o, p);
|
|
244
|
-
q.intersect(XamGeographicMap.
|
|
244
|
+
q.intersect(XamGeographicMap.abi);
|
|
245
245
|
if (q.isEmpty) {
|
|
246
|
-
q = XamGeographicMap.
|
|
246
|
+
q = XamGeographicMap.abi;
|
|
247
247
|
}
|
|
248
248
|
return q;
|
|
249
249
|
}
|
|
@@ -253,21 +253,21 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
253
253
|
let e = b.x - a.x;
|
|
254
254
|
let f = a.y - b.y;
|
|
255
255
|
if (e < 0 || f < 0) {
|
|
256
|
-
return XamGeographicMap.
|
|
256
|
+
return XamGeographicMap.abi;
|
|
257
257
|
}
|
|
258
258
|
else {
|
|
259
259
|
let g = new Rect(0, c, d, e, f);
|
|
260
260
|
return this.getZoomFromGeographicRect(g);
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
|
-
|
|
264
|
-
let b = this.
|
|
265
|
-
let c = this.
|
|
266
|
-
let d = new ScalerParams(1, a, this.
|
|
267
|
-
d.c = this.
|
|
268
|
-
let e = new ScalerParams(1, a, this.
|
|
269
|
-
e.c = this.
|
|
270
|
-
let f = this.
|
|
263
|
+
abp(a) {
|
|
264
|
+
let b = this.zi;
|
|
265
|
+
let c = this.zk;
|
|
266
|
+
let d = new ScalerParams(1, a, this.za, b.dn);
|
|
267
|
+
d.c = this.yw;
|
|
268
|
+
let e = new ScalerParams(1, a, this.za, c.dn);
|
|
269
|
+
e.c = this.yw;
|
|
270
|
+
let f = this.yv;
|
|
271
271
|
let g = b.ga(f.left, d);
|
|
272
272
|
let h = c.ga(f.top, e);
|
|
273
273
|
let i = b.ga(f.right, d);
|
|
@@ -276,165 +276,165 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
276
276
|
let l = h - j;
|
|
277
277
|
let m = new Rect(0, g, j, k, l);
|
|
278
278
|
if (this.db == 1) {
|
|
279
|
-
m.intersect(XamGeographicMap.
|
|
279
|
+
m.intersect(XamGeographicMap.abf);
|
|
280
280
|
if (m.isEmpty) {
|
|
281
|
-
m = XamGeographicMap.
|
|
281
|
+
m = XamGeographicMap.abf;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
return m;
|
|
285
285
|
}
|
|
286
|
-
aba(a) {
|
|
287
|
-
let b = this.zh.re(a.x);
|
|
288
|
-
let c = this.zj.re(a.y);
|
|
289
|
-
return { $type: Point_$type, x: b, y: c };
|
|
290
|
-
}
|
|
291
286
|
abb(a) {
|
|
292
|
-
let b = this.
|
|
293
|
-
let c = this.
|
|
287
|
+
let b = this.zi.re(a.x);
|
|
288
|
+
let c = this.zk.re(a.y);
|
|
294
289
|
return { $type: Point_$type, x: b, y: c };
|
|
295
290
|
}
|
|
296
291
|
abc(a) {
|
|
297
|
-
|
|
292
|
+
let b = this.zi.gv(a.x);
|
|
293
|
+
let c = this.zk.gv(a.y);
|
|
294
|
+
return { $type: Point_$type, x: b, y: c };
|
|
295
|
+
}
|
|
296
|
+
abd(a) {
|
|
297
|
+
return this.abc(a);
|
|
298
298
|
}
|
|
299
|
-
|
|
299
|
+
aam() {
|
|
300
300
|
let a = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
301
301
|
if (a != null) {
|
|
302
302
|
a.clearTileCache();
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
aas(a) {
|
|
306
306
|
}
|
|
307
|
-
|
|
307
|
+
hd() {
|
|
308
308
|
return true;
|
|
309
309
|
}
|
|
310
|
-
|
|
311
|
-
this.
|
|
310
|
+
aau() {
|
|
311
|
+
this.zu.eh();
|
|
312
312
|
for (let a of fromEnum(this.b9)) {
|
|
313
313
|
a.sv();
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
|
|
317
|
-
if (this.
|
|
318
|
-
if (!this.
|
|
319
|
-
let a = this.
|
|
320
|
-
let b = this.
|
|
321
|
-
this.
|
|
316
|
+
aax() {
|
|
317
|
+
if (this.zt == 2) {
|
|
318
|
+
if (!this.za.isEmpty && this.za.width > 0 && this.za.height > 0) {
|
|
319
|
+
let a = this.zi.re(this.za.left + (this.za.width / 2));
|
|
320
|
+
let b = this.zk.re(this.za.top + (this.za.height / 2));
|
|
321
|
+
this.aba = { $type: Point_$type, x: a, y: b };
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
|
-
if (!this.
|
|
326
|
-
let c = this.
|
|
327
|
-
let d = this.
|
|
328
|
-
this.
|
|
325
|
+
if (!this.za.isEmpty && this.za.width > 0 && this.za.height > 0) {
|
|
326
|
+
let c = this.zi.re(this.za.left);
|
|
327
|
+
let d = this.zk.re(this.za.top);
|
|
328
|
+
this.aba = { $type: Point_$type, x: c, y: d };
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
|
|
333
|
-
if (isNaN_(this.
|
|
334
|
-
this.
|
|
332
|
+
aat() {
|
|
333
|
+
if (isNaN_(this.aba.x) || isNaN_(this.aba.y)) {
|
|
334
|
+
this.aax();
|
|
335
335
|
}
|
|
336
|
-
let a = this.
|
|
337
|
-
let b = this.
|
|
336
|
+
let a = this.aba.x;
|
|
337
|
+
let b = this.aba.y;
|
|
338
338
|
if (!isNaN_(a) && !isNaN_(b)) {
|
|
339
|
-
let c = this.
|
|
340
|
-
let d = this.
|
|
341
|
-
let e = this.
|
|
342
|
-
let f = this.
|
|
343
|
-
if (e > this.
|
|
339
|
+
let c = this.ys.left;
|
|
340
|
+
let d = this.ys.top;
|
|
341
|
+
let e = this.ys.width;
|
|
342
|
+
let f = this.ys.height;
|
|
343
|
+
if (e > this.abh.width) {
|
|
344
344
|
}
|
|
345
345
|
else {
|
|
346
|
-
let g = new ScalerParams(1, XamGeographicMap.
|
|
347
|
-
g.c = this.
|
|
348
|
-
let h = this.
|
|
349
|
-
if (this.
|
|
350
|
-
let i = h / this.
|
|
346
|
+
let g = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zi.dn);
|
|
347
|
+
g.c = this.yw;
|
|
348
|
+
let h = this.zi.f7(a, g);
|
|
349
|
+
if (this.zt == 2) {
|
|
350
|
+
let i = h / this.za.width;
|
|
351
351
|
c = i - (e / 2);
|
|
352
352
|
}
|
|
353
353
|
else {
|
|
354
|
-
c = h / this.
|
|
354
|
+
c = h / this.za.width;
|
|
355
355
|
}
|
|
356
|
-
if (c + e > this.
|
|
357
|
-
c = this.
|
|
356
|
+
if (c + e > this.abh.right) {
|
|
357
|
+
c = this.abh.right - e;
|
|
358
358
|
}
|
|
359
|
-
else if (c < this.
|
|
360
|
-
c = this.
|
|
359
|
+
else if (c < this.abh.left) {
|
|
360
|
+
c = this.abh.left;
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
|
-
if (f > this.
|
|
363
|
+
if (f > this.abh.height) {
|
|
364
364
|
}
|
|
365
365
|
else {
|
|
366
|
-
let j = new ScalerParams(1, XamGeographicMap.
|
|
367
|
-
j.c = this.
|
|
368
|
-
let k = this.
|
|
369
|
-
if (this.
|
|
370
|
-
let l = k / this.
|
|
366
|
+
let j = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zk.dn);
|
|
367
|
+
j.c = this.yw;
|
|
368
|
+
let k = this.zk.f7(b, j);
|
|
369
|
+
if (this.zt == 2) {
|
|
370
|
+
let l = k / this.za.height;
|
|
371
371
|
d = l - (f / 2);
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
|
-
d = k / this.
|
|
374
|
+
d = k / this.za.height;
|
|
375
375
|
}
|
|
376
|
-
if (d + f > this.
|
|
377
|
-
d = this.
|
|
376
|
+
if (d + f > this.abh.bottom) {
|
|
377
|
+
d = this.abh.bottom - f;
|
|
378
378
|
}
|
|
379
|
-
else if (d < this.
|
|
380
|
-
d = this.
|
|
379
|
+
else if (d < this.abh.top) {
|
|
380
|
+
d = this.abh.top;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
this.
|
|
383
|
+
this.ue(new Rect(0, c, d, e, f), false);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
|
|
386
|
+
get_f7() {
|
|
387
387
|
return true;
|
|
388
388
|
}
|
|
389
|
-
|
|
390
|
-
let a = super.
|
|
391
|
-
if (this.
|
|
389
|
+
yt() {
|
|
390
|
+
let a = super.yt();
|
|
391
|
+
if (this.zi == null || this.zk == null) {
|
|
392
392
|
return a;
|
|
393
393
|
}
|
|
394
|
-
this.
|
|
394
|
+
this.y4();
|
|
395
395
|
let b = a.left;
|
|
396
396
|
let c = a.top;
|
|
397
397
|
if (this.db == 1) {
|
|
398
|
-
if (this.
|
|
399
|
-
b = 0.5 - (this.
|
|
398
|
+
if (this.zb.width > this.abh.width) {
|
|
399
|
+
b = 0.5 - (this.zb.width / 2);
|
|
400
400
|
}
|
|
401
|
-
else if (b + a.width > this.
|
|
402
|
-
b = this.
|
|
401
|
+
else if (b + a.width > this.abh.right) {
|
|
402
|
+
b = this.abh.right - this.zb.width;
|
|
403
403
|
}
|
|
404
|
-
else if (b < this.
|
|
405
|
-
b = this.
|
|
404
|
+
else if (b < this.abh.left) {
|
|
405
|
+
b = this.abh.left;
|
|
406
406
|
}
|
|
407
|
-
if (this.
|
|
408
|
-
c = 0.5 - (this.
|
|
407
|
+
if (this.zb.height > this.abh.height) {
|
|
408
|
+
c = 0.5 - (this.zb.height / 2);
|
|
409
409
|
}
|
|
410
|
-
else if (c + this.
|
|
411
|
-
c = this.
|
|
410
|
+
else if (c + this.zb.height > this.abh.bottom) {
|
|
411
|
+
c = this.abh.bottom - this.zb.height;
|
|
412
412
|
}
|
|
413
|
-
else if (c < this.
|
|
414
|
-
c = this.
|
|
413
|
+
else if (c < this.abh.top) {
|
|
414
|
+
c = this.abh.top;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
let d = false;
|
|
418
|
-
if (!this.
|
|
418
|
+
if (!this.zz && this.db == 2 && this.zw) {
|
|
419
419
|
if (b > 1) {
|
|
420
420
|
b = (b - Math.floor(b)) + 1;
|
|
421
421
|
}
|
|
422
422
|
if (b < 0) {
|
|
423
423
|
b = 0 - (Math.ceil(b) - b);
|
|
424
424
|
}
|
|
425
|
-
if ((a.right - this.
|
|
426
|
-
b = this.
|
|
425
|
+
if ((a.right - this.abh.right) > 0 && ((a.right - this.abh.right) / a.width) > 0.8) {
|
|
426
|
+
b = this.abh.left - (a.width - (a.right - this.abh.right));
|
|
427
427
|
d = true;
|
|
428
428
|
}
|
|
429
|
-
else if (a.left < this.
|
|
430
|
-
b = this.
|
|
429
|
+
else if (a.left < this.abh.left && (Math.abs(a.left - this.abh.left) / a.width) > 0.8) {
|
|
430
|
+
b = this.abh.right - (Math.abs(a.left - this.abh.left));
|
|
431
431
|
d = true;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
let e = new Rect(0, b, c, a.width, a.height);
|
|
435
|
-
if (this.
|
|
436
|
-
let f = this.
|
|
437
|
-
f = this.
|
|
435
|
+
if (this.zz) {
|
|
436
|
+
let f = this.abk(this.abv, 1);
|
|
437
|
+
f = this.abm(f);
|
|
438
438
|
let g = e.left + e.width / 2;
|
|
439
439
|
let h = e.top + e.height / 2;
|
|
440
440
|
if (e.width > f.width) {
|
|
@@ -469,17 +469,17 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
if (d) {
|
|
472
|
-
this.
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
472
|
+
this.fq = true;
|
|
473
|
+
this.zb = e;
|
|
474
|
+
this.fq = false;
|
|
475
475
|
}
|
|
476
476
|
return e;
|
|
477
477
|
}
|
|
478
|
-
|
|
478
|
+
ok(a, b) {
|
|
479
479
|
let c = true;
|
|
480
480
|
let d = true;
|
|
481
481
|
let e = 0;
|
|
482
|
-
let f = this.
|
|
482
|
+
let f = this.y4();
|
|
483
483
|
let g = 0;
|
|
484
484
|
let h = 0;
|
|
485
485
|
if ((a.right - f.right) > 0) {
|
|
@@ -496,39 +496,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
496
496
|
}
|
|
497
497
|
if (c) {
|
|
498
498
|
if (d) {
|
|
499
|
-
let i = this.
|
|
500
|
-
let j = this.
|
|
499
|
+
let i = this.zh.f7(-180, b);
|
|
500
|
+
let j = this.zh.f7(180, b);
|
|
501
501
|
e = j - i;
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
504
|
-
let k = this.
|
|
505
|
-
let l = this.
|
|
504
|
+
let k = this.zh.f7(-180, b);
|
|
505
|
+
let l = this.zh.f7(180, b);
|
|
506
506
|
e = k - l;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
return new Tuple$2(Boolean_$type, Number_$type, c, e);
|
|
510
510
|
}
|
|
511
|
-
|
|
512
|
-
let a = new ScalerParams(1, XamGeographicMap.
|
|
513
|
-
a.c = this.
|
|
514
|
-
let b = new ScalerParams(1, XamGeographicMap.
|
|
515
|
-
b.c = this.
|
|
516
|
-
let c = this.
|
|
517
|
-
let d = this.
|
|
518
|
-
let e = this.
|
|
519
|
-
let f = this.
|
|
520
|
-
this.
|
|
521
|
-
return this.
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
let b = this.
|
|
511
|
+
y4() {
|
|
512
|
+
let a = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zi.dn);
|
|
513
|
+
a.c = this.yw;
|
|
514
|
+
let b = new ScalerParams(1, XamGeographicMap.abi, this.za, this.zk.dn);
|
|
515
|
+
b.c = this.yw;
|
|
516
|
+
let c = this.zi.f7(XamGeographicMap.abf.left, a);
|
|
517
|
+
let d = this.zi.f7(XamGeographicMap.abf.right, a);
|
|
518
|
+
let e = this.zk.f7(XamGeographicMap.abf.top, b);
|
|
519
|
+
let f = this.zk.f7(XamGeographicMap.abf.bottom, b);
|
|
520
|
+
this.abh = new Rect(0, c / this.za.width, f / this.za.height, (d - c) / this.za.width, (e - f) / this.za.height);
|
|
521
|
+
return this.abh;
|
|
522
|
+
}
|
|
523
|
+
abm(a) {
|
|
524
|
+
let b = this.ip;
|
|
525
525
|
let c = 0.5 * (a.left + a.right);
|
|
526
526
|
let d = 0.5 * (a.top + a.bottom);
|
|
527
527
|
let e = a.width;
|
|
528
528
|
let f = a.height;
|
|
529
529
|
let g = MathUtil.e(a.width, b, 1);
|
|
530
530
|
let h = MathUtil.e(a.height, b, 1);
|
|
531
|
-
let i = this.
|
|
531
|
+
let i = this.za;
|
|
532
532
|
let j = i.width / i.height;
|
|
533
533
|
let k = g * i.width;
|
|
534
534
|
let l = h * i.height;
|
|
@@ -567,8 +567,8 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
567
567
|
}
|
|
568
568
|
return new Rect(0, p, q, r - p, s - q);
|
|
569
569
|
}
|
|
570
|
-
|
|
571
|
-
super.
|
|
570
|
+
yu(a) {
|
|
571
|
+
super.yu(this.za);
|
|
572
572
|
if (a.isEmpty) {
|
|
573
573
|
return Rect.empty;
|
|
574
574
|
}
|
|
@@ -583,126 +583,126 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
583
583
|
}
|
|
584
584
|
return b;
|
|
585
585
|
}
|
|
586
|
-
|
|
587
|
-
return this.
|
|
586
|
+
abo(a) {
|
|
587
|
+
return this.yu(a);
|
|
588
588
|
}
|
|
589
589
|
dv() {
|
|
590
590
|
return new XamGeographicMapView(this);
|
|
591
591
|
}
|
|
592
|
-
|
|
592
|
+
aao(a) {
|
|
593
593
|
if (a != null) {
|
|
594
594
|
a.b7 = this;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
|
|
598
|
-
super.
|
|
599
|
-
this.
|
|
597
|
+
rx(a) {
|
|
598
|
+
super.rx(a);
|
|
599
|
+
this.zu = a;
|
|
600
600
|
}
|
|
601
|
-
|
|
602
|
-
super.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
601
|
+
r8(a, b) {
|
|
602
|
+
super.r8(a, b);
|
|
603
|
+
this.t0(this.zi);
|
|
604
|
+
this.t0(this.zk);
|
|
605
605
|
if (Rect.l_op_Inequality(a, b)) {
|
|
606
|
-
this.
|
|
606
|
+
this.aat();
|
|
607
607
|
}
|
|
608
|
-
if (this.
|
|
609
|
-
this.
|
|
608
|
+
if (this.zz) {
|
|
609
|
+
this.ys = this.yt();
|
|
610
610
|
}
|
|
611
|
-
this.
|
|
611
|
+
this.aa0();
|
|
612
612
|
}
|
|
613
|
-
get
|
|
614
|
-
return this.
|
|
613
|
+
get z4() {
|
|
614
|
+
return this.z2;
|
|
615
615
|
}
|
|
616
|
-
set
|
|
617
|
-
let b = this.
|
|
618
|
-
this.
|
|
619
|
-
this.
|
|
620
|
-
}
|
|
621
|
-
iu() {
|
|
622
|
-
return this.z3;
|
|
616
|
+
set z4(a) {
|
|
617
|
+
let b = this.z2;
|
|
618
|
+
this.z2 = a;
|
|
619
|
+
this.ss("ActualWindowScale", b, this.z2);
|
|
623
620
|
}
|
|
624
621
|
iv() {
|
|
625
|
-
return this.
|
|
622
|
+
return this.z4;
|
|
626
623
|
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
let a = Math.min(this.yr.width, this.yr.height);
|
|
630
|
-
this.z3 = a;
|
|
624
|
+
iw() {
|
|
625
|
+
return this.z4;
|
|
631
626
|
}
|
|
632
|
-
|
|
633
|
-
|
|
627
|
+
tz() {
|
|
628
|
+
super.tz();
|
|
629
|
+
let a = Math.min(this.ys.width, this.ys.height);
|
|
630
|
+
this.z4 = a;
|
|
631
|
+
}
|
|
632
|
+
g1() {
|
|
633
|
+
return this.zw;
|
|
634
634
|
}
|
|
635
635
|
dc() {
|
|
636
636
|
if (this.dd == 0) {
|
|
637
|
-
if (this.
|
|
637
|
+
if (this.zx) {
|
|
638
638
|
return 2;
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
return this.dd;
|
|
642
642
|
}
|
|
643
|
-
|
|
644
|
-
super.
|
|
643
|
+
r9(a, b, c, d) {
|
|
644
|
+
super.r9(a, b, c, d);
|
|
645
645
|
switch (b) {
|
|
646
646
|
case "ZoomCoercionMode":
|
|
647
|
-
this.
|
|
647
|
+
this.aap();
|
|
648
648
|
break;
|
|
649
649
|
case "WindowRect":
|
|
650
|
-
this.
|
|
650
|
+
this.aax();
|
|
651
651
|
break;
|
|
652
652
|
case XamGeographicMap.$$p[0]:
|
|
653
|
-
this.
|
|
654
|
-
if (this.
|
|
655
|
-
this.
|
|
653
|
+
this.zq = this.zr();
|
|
654
|
+
if (this.zn != null) {
|
|
655
|
+
this.zn.isHorizontalWrappingEnabled = this.zq == 2;
|
|
656
656
|
}
|
|
657
657
|
break;
|
|
658
658
|
case XamGeographicMap.$$p[1]:
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
659
|
+
this.zw = this.zx;
|
|
660
|
+
this.zq = this.zr();
|
|
661
661
|
this.db = this.dc();
|
|
662
|
-
if (this.
|
|
663
|
-
this.
|
|
662
|
+
if (this.zn != null) {
|
|
663
|
+
this.zn.isHorizontalWrappingEnabled = this.zq == 2;
|
|
664
664
|
}
|
|
665
665
|
break;
|
|
666
666
|
case XamGeographicMap.$$p[4]:
|
|
667
|
-
this.
|
|
667
|
+
this.ys = this.yt();
|
|
668
668
|
break;
|
|
669
669
|
case "BackgroundContent":
|
|
670
|
-
if (this.
|
|
671
|
-
let e = this.
|
|
672
|
-
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.
|
|
673
|
-
this.
|
|
670
|
+
if (this.zn != null) {
|
|
671
|
+
let e = this.zn;
|
|
672
|
+
e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.aaq));
|
|
673
|
+
this.zn.deferralHandler = null;
|
|
674
674
|
}
|
|
675
|
-
this.
|
|
676
|
-
if (this.
|
|
677
|
-
let f = this.
|
|
678
|
-
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.
|
|
679
|
-
this.
|
|
680
|
-
this.
|
|
675
|
+
this.zn = typeCast(GeographicMapImagery.$, this.backgroundContent);
|
|
676
|
+
if (this.zn != null) {
|
|
677
|
+
let f = this.zn;
|
|
678
|
+
f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.aaq));
|
|
679
|
+
this.zn.deferralHandler = this;
|
|
680
|
+
this.zn.isHorizontalWrappingEnabled = this.zq == 2;
|
|
681
681
|
}
|
|
682
|
-
this.
|
|
683
|
-
if (this.
|
|
684
|
-
this.
|
|
685
|
-
this.
|
|
686
|
-
this.
|
|
682
|
+
this.zu.fx(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
|
|
683
|
+
if (this.zn != null) {
|
|
684
|
+
this.zn.geographicMap = this;
|
|
685
|
+
this.zu.fu(this.ys);
|
|
686
|
+
this.zu.fy(this.ik);
|
|
687
687
|
}
|
|
688
688
|
break;
|
|
689
689
|
case "YAxis":
|
|
690
690
|
case "XAxis":
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
691
|
+
this.aav(c);
|
|
692
|
+
this.aao(d);
|
|
693
693
|
break;
|
|
694
694
|
case XamGeographicMap.$$p[6]:
|
|
695
|
-
if (!this.
|
|
696
|
-
this.
|
|
695
|
+
if (!this.zy) {
|
|
696
|
+
this.zb = XamGeographicMap.abi;
|
|
697
697
|
}
|
|
698
|
-
this.
|
|
699
|
-
this.aav();
|
|
698
|
+
this.aap();
|
|
700
699
|
this.aaw();
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
700
|
+
this.aax();
|
|
701
|
+
this.ys = this.yt();
|
|
702
|
+
this.zu.fv();
|
|
703
703
|
break;
|
|
704
704
|
case "ActualWindowRect":
|
|
705
|
-
this.
|
|
705
|
+
this.zu.fu(this.ys);
|
|
706
706
|
break;
|
|
707
707
|
case "ActualWorldRect":
|
|
708
708
|
for (let g of fromEnum(this.b9)) {
|
|
@@ -710,30 +710,30 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
710
710
|
}
|
|
711
711
|
break;
|
|
712
712
|
case XamGeographicMap.$$p[5]:
|
|
713
|
-
this.
|
|
713
|
+
this.z4 = this.z5;
|
|
714
714
|
break;
|
|
715
715
|
case "ActualWindowScale":
|
|
716
|
-
if (!this.
|
|
717
|
-
this.
|
|
716
|
+
if (!this.g9) {
|
|
717
|
+
this.ub(this.iv(), this.iw());
|
|
718
718
|
}
|
|
719
719
|
break;
|
|
720
720
|
case "ActualPixelScalingRatio":
|
|
721
|
-
this.
|
|
721
|
+
this.zu.fy(this.ik);
|
|
722
722
|
break;
|
|
723
723
|
case "WindowRectMinWidth":
|
|
724
724
|
case "WindowRectMinHeight":
|
|
725
725
|
let h = d;
|
|
726
726
|
if (isNaN_(h) || isInfinity(h)) {
|
|
727
|
+
this.ip = 5E-06;
|
|
727
728
|
this.io = 5E-06;
|
|
728
|
-
this.im = 5E-06;
|
|
729
729
|
}
|
|
730
730
|
else {
|
|
731
|
+
this.ip = h;
|
|
731
732
|
this.io = h;
|
|
732
|
-
this.im = h;
|
|
733
733
|
}
|
|
734
734
|
break;
|
|
735
735
|
case XamGeographicMap.$$p[7]:
|
|
736
|
-
this.
|
|
736
|
+
this.t6();
|
|
737
737
|
break;
|
|
738
738
|
case "MarkerAutomaticBehavior":
|
|
739
739
|
for (let i of fromEnum(this.b9)) {
|
|
@@ -742,39 +742,39 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
742
742
|
break;
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
|
|
745
|
+
aaq(a, b) {
|
|
746
746
|
if (this.imageTilesReady != null) {
|
|
747
747
|
this.imageTilesReady(this, new ImageTilesReadyEventArgs());
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
|
|
750
|
+
aav(a) {
|
|
751
751
|
if (a != null) {
|
|
752
752
|
a.b7 = null;
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
|
|
756
|
-
if (this.
|
|
757
|
-
this.
|
|
758
|
-
this.
|
|
755
|
+
aaw() {
|
|
756
|
+
if (this.zi != null) {
|
|
757
|
+
this.zi.rb = this.abj.left;
|
|
758
|
+
this.zi.ra = this.abj.right;
|
|
759
759
|
}
|
|
760
|
-
if (this.
|
|
761
|
-
this.
|
|
762
|
-
this.
|
|
760
|
+
if (this.zk != null) {
|
|
761
|
+
this.zk.rb = this.abj.top;
|
|
762
|
+
this.zk.ra = this.abj.bottom;
|
|
763
763
|
}
|
|
764
|
-
this.
|
|
765
|
-
this.
|
|
764
|
+
this.zi.ef(true);
|
|
765
|
+
this.zk.ef(true);
|
|
766
766
|
}
|
|
767
767
|
getFontInfo() {
|
|
768
|
-
this.
|
|
769
|
-
return this.
|
|
768
|
+
this.zv = this.zu.fr;
|
|
769
|
+
return this.zv;
|
|
770
770
|
}
|
|
771
|
-
|
|
772
|
-
return this.
|
|
771
|
+
xw() {
|
|
772
|
+
return this.zu.fz;
|
|
773
773
|
}
|
|
774
774
|
getFontBrush() {
|
|
775
|
-
return this.
|
|
775
|
+
return this.zu.f0;
|
|
776
776
|
}
|
|
777
|
-
|
|
777
|
+
tl(a, b) {
|
|
778
778
|
if (typeCast(ItfConverter.$, b) !== null) {
|
|
779
779
|
let c = b;
|
|
780
780
|
let d = a;
|
|
@@ -782,33 +782,33 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
782
782
|
d.xv = c.triangulationSource.triangles;
|
|
783
783
|
}
|
|
784
784
|
else {
|
|
785
|
-
super.
|
|
785
|
+
super.tl(a, b);
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
register(a, b) {
|
|
789
|
-
this.
|
|
789
|
+
this.s7(a, b);
|
|
790
790
|
}
|
|
791
791
|
unRegister(a) {
|
|
792
|
-
this.
|
|
792
|
+
this.ty(a);
|
|
793
793
|
}
|
|
794
794
|
deferredRefresh() {
|
|
795
|
-
this.
|
|
795
|
+
this.o1();
|
|
796
796
|
}
|
|
797
797
|
deferAction(a) {
|
|
798
|
-
if (this.
|
|
799
|
-
this.
|
|
798
|
+
if (this.z7 != null) {
|
|
799
|
+
this.z7.setTimeout(a, 0);
|
|
800
800
|
}
|
|
801
801
|
else {
|
|
802
802
|
window.setTimeout(a, 0);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
|
|
806
|
-
this.
|
|
805
|
+
aan(a) {
|
|
806
|
+
this.t5(a);
|
|
807
807
|
}
|
|
808
|
-
|
|
808
|
+
z8() {
|
|
809
809
|
let a = new ChartVisualData();
|
|
810
|
-
let b = this.
|
|
811
|
-
let c = this.
|
|
810
|
+
let b = this.zi.hu();
|
|
811
|
+
let c = this.zk.hu();
|
|
812
812
|
a.axes.add1(b);
|
|
813
813
|
a.axes.add1(c);
|
|
814
814
|
for (let d = 0; d < this.b9.count; d++) {
|
|
@@ -816,42 +816,42 @@ let XamGeographicMap = /*@__PURE__*/ (() => {
|
|
|
816
816
|
a.series.add1(e);
|
|
817
817
|
}
|
|
818
818
|
a.name = this.name;
|
|
819
|
-
a.contentArea = RectData.b(this.
|
|
820
|
-
a.centralArea = RectData.b(this.
|
|
821
|
-
a.plotArea = RectData.b(this.
|
|
819
|
+
a.contentArea = RectData.b(this.za);
|
|
820
|
+
a.centralArea = RectData.b(this.za);
|
|
821
|
+
a.plotArea = RectData.b(this.za);
|
|
822
822
|
return a;
|
|
823
823
|
}
|
|
824
|
-
|
|
824
|
+
y0(a, b, c) {
|
|
825
825
|
return a;
|
|
826
826
|
}
|
|
827
|
-
|
|
827
|
+
aar() {
|
|
828
828
|
}
|
|
829
|
-
get
|
|
830
|
-
return this.
|
|
829
|
+
get abu() {
|
|
830
|
+
return this.abg;
|
|
831
831
|
}
|
|
832
|
-
set
|
|
833
|
-
this.
|
|
832
|
+
set abu(a) {
|
|
833
|
+
this.abg = a;
|
|
834
834
|
}
|
|
835
|
-
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
835
|
+
aa1(a) {
|
|
836
|
+
this.abu = a;
|
|
837
|
+
this.aa0();
|
|
838
838
|
}
|
|
839
|
-
|
|
840
|
-
if (this.
|
|
841
|
-
let a = this.getZoomFromGeographicRect(this.
|
|
842
|
-
this.
|
|
843
|
-
this.
|
|
839
|
+
aa0() {
|
|
840
|
+
if (this.z1 && !this.abu.isEmpty) {
|
|
841
|
+
let a = this.getZoomFromGeographicRect(this.abu);
|
|
842
|
+
this.abu = Rect.empty;
|
|
843
|
+
this.ue(a, false);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
get
|
|
847
|
-
return !this.
|
|
846
|
+
get z1() {
|
|
847
|
+
return !this.za.isEmpty && !this.yw.isEmpty;
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
850
|
XamGeographicMap.$t = /*@__PURE__*/ markType(XamGeographicMap, 'XamGeographicMap', SeriesViewer.$, [IMapRenderDeferralHandler_$type]);
|
|
851
|
-
XamGeographicMap.
|
|
852
|
-
XamGeographicMap.
|
|
853
|
-
XamGeographicMap.
|
|
854
|
-
XamGeographicMap.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, '
|
|
851
|
+
XamGeographicMap.zs = 0;
|
|
852
|
+
XamGeographicMap.abf = /*@__PURE__*/ new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
|
|
853
|
+
XamGeographicMap.abi = /*@__PURE__*/ new Rect(0, 0, 0, 1, 1);
|
|
854
|
+
XamGeographicMap.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'ss', ['BackgroundTilingMode:zp:aa2', [MapBackgroundTilingMode_$type, /*@__PURE__*/ enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:zx:aa3', [0, false], 'ResizeBehavior:zt:aa4', [MapResizeBehavior_$type, /*@__PURE__*/ enumGetBox(MapResizeBehavior_$type, XamGeographicMap.zs)], 'SuppressZoomResetOnWorldRectChange:zy:aa5', [0, false], 'UseWorldRectForZoomBounds:zz:aa6', [0, false], 'WindowScale:z5:aa7', [1, NaN], 'WorldRect:abv:aa8', [Rect.$, XamGeographicMap.abf], 'Zoomable:z0:aa9', [0, true]]);
|
|
855
855
|
return XamGeographicMap;
|
|
856
856
|
})();
|
|
857
857
|
export { XamGeographicMap };
|
|
@@ -979,14 +979,14 @@ let GeographicMapImagery = /*@__PURE__*/ (() => {
|
|
|
979
979
|
return a;
|
|
980
980
|
}
|
|
981
981
|
let b = new Rect(0, 0, 0, a.width, a.height);
|
|
982
|
-
let c = this.geographicMap.
|
|
983
|
-
let d = XamGeographicMap.
|
|
984
|
-
let e = this.geographicMap.
|
|
982
|
+
let c = this.geographicMap.abo(b);
|
|
983
|
+
let d = XamGeographicMap.abf;
|
|
984
|
+
let e = this.geographicMap.abj;
|
|
985
985
|
let f = Math.min(this.windowRect.height, this.windowRect.width);
|
|
986
986
|
let g = e.width / d.width;
|
|
987
987
|
this.ao.a5 = (b.width / c.width) * f * g;
|
|
988
|
-
let h = this.geographicMap.
|
|
989
|
-
let i = this.geographicMap.
|
|
988
|
+
let h = this.geographicMap.zi;
|
|
989
|
+
let i = this.geographicMap.zk;
|
|
990
990
|
let j = new ScalerParams(1, this.windowRect, b, h.dn);
|
|
991
991
|
j.c = c;
|
|
992
992
|
let k = new ScalerParams(1, this.windowRect, b, i.dn);
|
|
@@ -1097,8 +1097,8 @@ let GeographicXYTriangulatingSeriesView = /*@__PURE__*/ (() => {
|
|
|
1097
1097
|
a.xl = null;
|
|
1098
1098
|
return;
|
|
1099
1099
|
}
|
|
1100
|
-
a.xk = this.cu.dc.
|
|
1101
|
-
a.xl = this.cu.dc.
|
|
1100
|
+
a.xk = this.cu.dc.zi;
|
|
1101
|
+
a.xl = this.cu.dc.zk;
|
|
1102
1102
|
}
|
|
1103
1103
|
cw() {
|
|
1104
1104
|
this.cu.xm.ym = this.cu.xy;
|
|
@@ -1169,15 +1169,15 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1169
1169
|
this.fs = NaN;
|
|
1170
1170
|
this.f2 = Rect.empty;
|
|
1171
1171
|
this.fq = a;
|
|
1172
|
-
this.fq.
|
|
1173
|
-
this.fq.
|
|
1172
|
+
this.fq.xp = 2;
|
|
1173
|
+
this.fq.jx = 5E-06;
|
|
1174
1174
|
}
|
|
1175
1175
|
m(a) {
|
|
1176
1176
|
return 2;
|
|
1177
1177
|
}
|
|
1178
1178
|
bn(a) {
|
|
1179
1179
|
this.j.bw(a);
|
|
1180
|
-
this.fq.
|
|
1180
|
+
this.fq.aan(a);
|
|
1181
1181
|
this.eo();
|
|
1182
1182
|
}
|
|
1183
1183
|
get_aq() {
|
|
@@ -1240,13 +1240,13 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
}
|
|
1242
1242
|
fu(a) {
|
|
1243
|
-
if (this.fq.
|
|
1244
|
-
this.fq.
|
|
1243
|
+
if (this.fq.zn != null) {
|
|
1244
|
+
this.fq.zn.windowRect = a;
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
fx(a, b) {
|
|
1248
|
-
if (this.fq.
|
|
1249
|
-
this.fq.
|
|
1248
|
+
if (this.fq.zn != null) {
|
|
1249
|
+
this.fq.zn.windowRect = this.fq.ys;
|
|
1250
1250
|
}
|
|
1251
1251
|
if (a != null) {
|
|
1252
1252
|
let c = a.ao;
|
|
@@ -1273,7 +1273,7 @@ let XamGeographicMapView = /*@__PURE__*/ (() => {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
1275
|
fw(a) {
|
|
1276
|
-
let b = this.fq.
|
|
1276
|
+
let b = this.fq.ik;
|
|
1277
1277
|
if (b != 1) {
|
|
1278
1278
|
a.aa();
|
|
1279
1279
|
a.ab(b, b);
|