igniteui-angular-maps 18.2.0-beta.0 → 18.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,22 +44,22 @@ 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.xg = null;
48
- _this.w5 = false;
49
- _this.wx = 1;
50
- _this.xc = 0;
51
- _this.yn = null;
52
- _this.wu = null;
53
- _this.wq = null;
54
- _this.ws = null;
55
- _this.ww = null;
56
- _this.yj = { $type: Point_$type, x: NaN, y: NaN };
57
- _this.yq = null;
58
- _this.xb = 1;
47
+ _this.xh = null;
48
+ _this.w6 = false;
49
+ _this.wy = 1;
50
+ _this.xd = 0;
51
+ _this.yo = null;
52
+ _this.wv = null;
53
+ _this.wr = null;
54
+ _this.wt = null;
55
+ _this.wx = null;
56
+ _this.yk = { $type: Point_$type, x: NaN, y: NaN };
57
+ _this.yr = null;
58
+ _this.xc = 1;
59
59
  _this.imageTilesReady = null;
60
- _this.w4 = null;
61
- _this.yp = Rect.empty;
62
- _this.xc = SphericalMercatorVerticalScaler.am(XamGeographicMap.yo.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.yo.top);
60
+ _this.w5 = null;
61
+ _this.yq = Rect.empty;
62
+ _this.xd = SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.bottom) - SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.top);
63
63
  _this.ab = XamGeographicMap.$;
64
64
  _this.backgroundContent = new OpenStreetMapImagery();
65
65
  var a = ((function () {
@@ -68,79 +68,79 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
68
68
  return $ret;
69
69
  })());
70
70
  a.cf = true;
71
- _this.wr = a;
72
- _this.wr.n4 = new SphericalMercatorHorizontalScaler();
71
+ _this.ws = a;
72
+ _this.ws.n4 = new SphericalMercatorHorizontalScaler();
73
73
  var b = ((function () {
74
74
  var $ret = new NumericYAxis();
75
75
  $ret.bi = _this;
76
76
  return $ret;
77
77
  })());
78
78
  b.cf = true;
79
- _this.wt = b;
80
- _this.wt.n4 = new SphericalMercatorVerticalScaler();
81
- _this.xy();
82
- _this.x5();
79
+ _this.wu = b;
80
+ _this.wu.n4 = new SphericalMercatorVerticalScaler();
81
+ _this.xz();
82
+ _this.x6();
83
83
  _this.n0();
84
84
  return _this;
85
85
  }
86
86
  XamGeographicMap.prototype.provideContainer = function (a) {
87
87
  _super.prototype.provideContainer.call(this, a);
88
- this.wr.provideRenderer(a);
89
- this.wt.provideRenderer(a);
88
+ this.ws.provideRenderer(a);
89
+ this.wu.provideRenderer(a);
90
90
  };
91
91
  XamGeographicMap.prototype.n0 = function () {
92
92
  _super.prototype.n0.call(this);
93
- this.w3.fv(this.hi);
93
+ this.w4.fv(this.hi);
94
94
  };
95
95
  XamGeographicMap.prototype.fl = function () {
96
- return this.w9;
96
+ return this.xa;
97
97
  };
98
98
  XamGeographicMap.prototype.fm = function () {
99
- return this.w9;
99
+ return this.xa;
100
100
  };
101
- XamGeographicMap.prototype.w0 = function () {
102
- if (this.wy == 0) {
103
- if (this.w5) {
101
+ XamGeographicMap.prototype.w1 = function () {
102
+ if (this.wz == 0) {
103
+ if (this.w6) {
104
104
  return 2;
105
105
  }
106
106
  }
107
107
  return 1;
108
108
  };
109
- Object.defineProperty(XamGeographicMap.prototype, "wz", {
109
+ Object.defineProperty(XamGeographicMap.prototype, "w0", {
110
110
  get: function () {
111
- return this.wx;
111
+ return this.wy;
112
112
  },
113
113
  set: function (a) {
114
- this.wx = a;
114
+ this.wy = a;
115
115
  },
116
116
  enumerable: false,
117
117
  configurable: true
118
118
  });
119
- Object.defineProperty(XamGeographicMap.prototype, "ys", {
119
+ Object.defineProperty(XamGeographicMap.prototype, "yt", {
120
120
  get: function () {
121
- return this.yn;
121
+ return this.yo;
122
122
  },
123
123
  set: function (a) {
124
- var b = Rect.l_op_Inequality(this.yn, a);
124
+ var b = Rect.l_op_Inequality(this.yo, a);
125
125
  if (b) {
126
- var c = this.yn;
127
- this.yn = a;
126
+ var c = this.yo;
127
+ this.yo = a;
128
128
  this.qm("ActualWorldRect", c, a);
129
129
  }
130
130
  },
131
131
  enumerable: false,
132
132
  configurable: true
133
133
  });
134
- XamGeographicMap.prototype.yw = function () {
135
- return this.ys;
134
+ XamGeographicMap.prototype.yx = function () {
135
+ return this.yt;
136
136
  };
137
- XamGeographicMap.prototype.xy = function () {
138
- if (this.y4.isEmpty) {
137
+ XamGeographicMap.prototype.xz = function () {
138
+ if (this.y5.isEmpty) {
139
139
  return;
140
140
  }
141
- this.ys = this.y2(this.y4, this.cr == 1);
141
+ this.yt = this.y3(this.y5, this.cr == 1);
142
142
  };
143
- XamGeographicMap.prototype.y2 = function (a, b) {
143
+ XamGeographicMap.prototype.y3 = 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.yo.width;
152
- var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.yo.top);
151
+ var j = a.width / XamGeographicMap.yp.width;
152
+ var k = SphericalMercatorVerticalScaler.am(XamGeographicMap.yp.top);
153
153
  var l = i / j;
154
- if (i / j > this.xc) {
155
- var m = i / this.xc;
154
+ if (i / j > this.xd) {
155
+ var m = i / this.xd;
156
156
  var n = m - j;
157
- d = d - (n / 2) * XamGeographicMap.yo.width;
158
- e = m * XamGeographicMap.yo.width;
157
+ d = d - (n / 2) * XamGeographicMap.yp.width;
158
+ e = m * XamGeographicMap.yp.width;
159
159
  if (b) {
160
- if (d < XamGeographicMap.yo.left) {
161
- d += (XamGeographicMap.yo.left - d);
160
+ if (d < XamGeographicMap.yp.left) {
161
+ d += (XamGeographicMap.yp.left - d);
162
162
  }
163
- else if ((d + e) > XamGeographicMap.yo.right) {
164
- d -= ((d + e) - XamGeographicMap.yo.right);
163
+ else if ((d + e) > XamGeographicMap.yp.right) {
164
+ d -= ((d + e) - XamGeographicMap.yp.right);
165
165
  }
166
166
  }
167
167
  }
168
- else if (i / j < this.xc) {
169
- var o = this.xc * j;
168
+ else if (i / j < this.xd) {
169
+ var o = this.xd * 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.xc)) {
179
- q -= ((r) - (k + this.xc));
180
- r -= ((r) - (k + this.xc));
178
+ else if (r > (k + this.xd)) {
179
+ q -= ((r) - (k + this.xd));
180
+ r -= ((r) - (k + this.xd));
181
181
  }
182
182
  }
183
183
  c = SphericalMercatorVerticalScaler.aq(q);
@@ -188,43 +188,43 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
188
188
  };
189
189
  Object.defineProperty(XamGeographicMap.prototype, "backgroundContent", {
190
190
  get: function () {
191
- return this.wu;
191
+ return this.wv;
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.wu = a;
197
+ this.wv = a;
198
198
  this.qm("BackgroundContent", c, a);
199
199
  }
200
200
  },
201
201
  enumerable: false,
202
202
  configurable: true
203
203
  });
204
- Object.defineProperty(XamGeographicMap.prototype, "wr", {
204
+ Object.defineProperty(XamGeographicMap.prototype, "ws", {
205
205
  get: function () {
206
- return this.wq;
206
+ return this.wr;
207
207
  },
208
208
  set: function (a) {
209
- var b = a != this.wr;
209
+ var b = a != this.ws;
210
210
  if (b) {
211
- var c = this.wr;
212
- this.wq = a;
211
+ var c = this.ws;
212
+ this.wr = a;
213
213
  this.qm("XAxis", c, a);
214
214
  }
215
215
  },
216
216
  enumerable: false,
217
217
  configurable: true
218
218
  });
219
- Object.defineProperty(XamGeographicMap.prototype, "wt", {
219
+ Object.defineProperty(XamGeographicMap.prototype, "wu", {
220
220
  get: function () {
221
- return this.ws;
221
+ return this.wt;
222
222
  },
223
223
  set: function (a) {
224
- var b = a != this.wt;
224
+ var b = a != this.wu;
225
225
  if (b) {
226
- var c = this.wt;
227
- this.ws = a;
226
+ var c = this.wu;
227
+ this.wt = a;
228
228
  this.qm("YAxis", c, a);
229
229
  }
230
230
  },
@@ -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.x8 = function (a) {
238
- this.wk = a;
237
+ XamGeographicMap.prototype.x9 = function (a) {
238
+ this.wl = a;
239
239
  };
240
- XamGeographicMap.prototype.x7 = function (a) {
241
- this.y4 = a;
240
+ XamGeographicMap.prototype.x8 = function (a) {
241
+ this.y5 = a;
242
242
  };
243
243
  XamGeographicMap.prototype.getZoomFromGeographicRect = function (a) {
244
- return this.yu(a, true, 0);
244
+ return this.yv(a, true, 0);
245
245
  };
246
- XamGeographicMap.prototype.yt = function (a, b) {
247
- return this.yu(a, false, b);
246
+ XamGeographicMap.prototype.yu = function (a, b) {
247
+ return this.yv(a, false, b);
248
248
  };
249
- XamGeographicMap.prototype.yu = function (a, b, c) {
249
+ XamGeographicMap.prototype.yv = function (a, b, c) {
250
250
  var d = a;
251
251
  if (b) {
252
- d = this.y2(a, false);
252
+ d = this.y3(a, false);
253
253
  }
254
- var e = this.wr;
255
- var f = this.wt;
256
- var g = new ScalerParams(1, XamGeographicMap.yr, this.wj, e.ch);
254
+ var e = this.ws;
255
+ var f = this.wu;
256
+ var g = new ScalerParams(1, XamGeographicMap.ys, this.wk, e.ch);
257
257
  g.c = this.v8;
258
- var h = new ScalerParams(1, XamGeographicMap.yr, this.wj, f.ch);
258
+ var h = new ScalerParams(1, XamGeographicMap.ys, this.wk, f.ch);
259
259
  h.c = this.v8;
260
- var i = this.wr.el(d.left, g);
261
- var j = this.wr.el(d.right, g);
262
- var k = this.wt.el(d.top, h);
263
- var l = this.wt.el(d.bottom, h);
264
- var m = (i - c) / this.wj.width;
265
- var n = (l - c) / this.wj.height;
266
- var o = (j - i + (c * 2)) / this.wj.width;
267
- var p = (k - l + (c * 2)) / this.wj.height;
260
+ var i = this.ws.el(d.left, g);
261
+ var j = this.ws.el(d.right, g);
262
+ var k = this.wu.el(d.top, h);
263
+ var l = this.wu.el(d.bottom, h);
264
+ var m = (i - c) / this.wk.width;
265
+ var n = (l - c) / this.wk.height;
266
+ var o = (j - i + (c * 2)) / this.wk.width;
267
+ var p = (k - l + (c * 2)) / this.wk.height;
268
268
  var q = new Rect(0, m, n, o, p);
269
- q.intersect(XamGeographicMap.yr);
269
+ q.intersect(XamGeographicMap.ys);
270
270
  if (q.isEmpty) {
271
- q = XamGeographicMap.yr;
271
+ q = XamGeographicMap.ys;
272
272
  }
273
273
  return q;
274
274
  };
@@ -278,19 +278,19 @@ 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.yr;
281
+ return XamGeographicMap.ys;
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.yy = function (a) {
289
- var b = this.wr;
290
- var c = this.wt;
291
- var d = new ScalerParams(1, a, this.wj, b.ch);
288
+ XamGeographicMap.prototype.yz = function (a) {
289
+ var b = this.ws;
290
+ var c = this.wu;
291
+ var d = new ScalerParams(1, a, this.wk, b.ch);
292
292
  d.c = this.v8;
293
- var e = new ScalerParams(1, a, this.wj, c.ch);
293
+ var e = new ScalerParams(1, a, this.wk, c.ch);
294
294
  e.c = this.v8;
295
295
  var f = this.v7;
296
296
  var g = b.eo(f.left, d);
@@ -301,40 +301,40 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
301
301
  var l = h - j;
302
302
  var m = new Rect(0, g, j, k, l);
303
303
  if (this.cr == 1) {
304
- m.intersect(XamGeographicMap.yo);
304
+ m.intersect(XamGeographicMap.yp);
305
305
  if (m.isEmpty) {
306
- m = XamGeographicMap.yo;
306
+ m = XamGeographicMap.yp;
307
307
  }
308
308
  }
309
309
  return m;
310
310
  };
311
- XamGeographicMap.prototype.yk = function (a) {
312
- var b = this.wr.mf(a.x);
313
- var c = this.wt.mf(a.y);
314
- return { $type: Point_$type, x: b, y: c };
315
- };
316
311
  XamGeographicMap.prototype.yl = function (a) {
317
- var b = this.wr.e6(a.x);
318
- var c = this.wt.e6(a.y);
312
+ var b = this.ws.mf(a.x);
313
+ var c = this.wu.mf(a.y);
319
314
  return { $type: Point_$type, x: b, y: c };
320
315
  };
321
316
  XamGeographicMap.prototype.ym = function (a) {
322
- return this.yl(a);
317
+ var b = this.ws.e6(a.x);
318
+ var c = this.wu.e6(a.y);
319
+ return { $type: Point_$type, x: b, y: c };
320
+ };
321
+ XamGeographicMap.prototype.yn = function (a) {
322
+ return this.ym(a);
323
323
  };
324
- XamGeographicMap.prototype.xv = function () {
324
+ XamGeographicMap.prototype.xw = 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.x1 = function (a) {
330
+ XamGeographicMap.prototype.x2 = function (a) {
331
331
  };
332
332
  XamGeographicMap.prototype.gg = function () {
333
333
  return true;
334
334
  };
335
- XamGeographicMap.prototype.x3 = function () {
335
+ XamGeographicMap.prototype.x4 = function () {
336
336
  var e_1, _a;
337
- this.w3.ee();
337
+ this.w4.ee();
338
338
  try {
339
339
  for (var _b = __values(fromEnum(this.series)), _c = _b.next(); !_c.done; _c = _b.next()) {
340
340
  var a = _c.value;
@@ -355,71 +355,71 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
355
355
  }
356
356
  }
357
357
  };
358
- XamGeographicMap.prototype.x6 = function () {
359
- if (this.w2 == 2) {
360
- if (!this.wj.isEmpty && this.wj.width > 0 && this.wj.height > 0) {
361
- var a = this.wr.mf(this.wj.left + (this.wj.width / 2));
362
- var b = this.wt.mf(this.wj.top + (this.wj.height / 2));
363
- this.yj = { $type: Point_$type, x: a, y: b };
358
+ XamGeographicMap.prototype.x7 = function () {
359
+ if (this.w3 == 2) {
360
+ if (!this.wk.isEmpty && this.wk.width > 0 && this.wk.height > 0) {
361
+ var a = this.ws.mf(this.wk.left + (this.wk.width / 2));
362
+ var b = this.wu.mf(this.wk.top + (this.wk.height / 2));
363
+ this.yk = { $type: Point_$type, x: a, y: b };
364
364
  }
365
365
  }
366
366
  else {
367
- if (!this.wj.isEmpty && this.wj.width > 0 && this.wj.height > 0) {
368
- var c = this.wr.mf(this.wj.left);
369
- var d = this.wt.mf(this.wj.top);
370
- this.yj = { $type: Point_$type, x: c, y: d };
367
+ if (!this.wk.isEmpty && this.wk.width > 0 && this.wk.height > 0) {
368
+ var c = this.ws.mf(this.wk.left);
369
+ var d = this.wu.mf(this.wk.top);
370
+ this.yk = { $type: Point_$type, x: c, y: d };
371
371
  }
372
372
  }
373
373
  };
374
- XamGeographicMap.prototype.x2 = function () {
375
- if (isNaN_(this.yj.x) || isNaN_(this.yj.y)) {
376
- this.x6();
374
+ XamGeographicMap.prototype.x3 = function () {
375
+ if (isNaN_(this.yk.x) || isNaN_(this.yk.y)) {
376
+ this.x7();
377
377
  }
378
- var a = this.yj.x;
379
- var b = this.yj.y;
378
+ var a = this.yk.x;
379
+ var b = this.yk.y;
380
380
  if (!isNaN_(a) && !isNaN_(b)) {
381
381
  var c = this.v4.left;
382
382
  var d = this.v4.top;
383
383
  var e = this.v4.width;
384
384
  var f = this.v4.height;
385
- if (e > this.yq.width) {
385
+ if (e > this.yr.width) {
386
386
  }
387
387
  else {
388
- var g = new ScalerParams(1, XamGeographicMap.yr, this.wj, this.wr.ch);
388
+ var g = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.ws.ch);
389
389
  g.c = this.v8;
390
- var h = this.wr.el(a, g);
391
- if (this.w2 == 2) {
392
- var i = h / this.wj.width;
390
+ var h = this.ws.el(a, g);
391
+ if (this.w3 == 2) {
392
+ var i = h / this.wk.width;
393
393
  c = i - (e / 2);
394
394
  }
395
395
  else {
396
- c = h / this.wj.width;
396
+ c = h / this.wk.width;
397
397
  }
398
- if (c + e > this.yq.right) {
399
- c = this.yq.right - e;
398
+ if (c + e > this.yr.right) {
399
+ c = this.yr.right - e;
400
400
  }
401
- else if (c < this.yq.left) {
402
- c = this.yq.left;
401
+ else if (c < this.yr.left) {
402
+ c = this.yr.left;
403
403
  }
404
404
  }
405
- if (f > this.yq.height) {
405
+ if (f > this.yr.height) {
406
406
  }
407
407
  else {
408
- var j = new ScalerParams(1, XamGeographicMap.yr, this.wj, this.wt.ch);
408
+ var j = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.wu.ch);
409
409
  j.c = this.v8;
410
- var k = this.wt.el(b, j);
411
- if (this.w2 == 2) {
412
- var l = k / this.wj.height;
410
+ var k = this.wu.el(b, j);
411
+ if (this.w3 == 2) {
412
+ var l = k / this.wk.height;
413
413
  d = l - (f / 2);
414
414
  }
415
415
  else {
416
- d = k / this.wj.height;
416
+ d = k / this.wk.height;
417
417
  }
418
- if (d + f > this.yq.bottom) {
419
- d = this.yq.bottom - f;
418
+ if (d + f > this.yr.bottom) {
419
+ d = this.yr.bottom - f;
420
420
  }
421
- else if (d < this.yq.top) {
422
- d = this.yq.top;
421
+ else if (d < this.yr.top) {
422
+ d = this.yr.top;
423
423
  }
424
424
  }
425
425
  this.rx(new Rect(0, c, d, e, f), false);
@@ -430,53 +430,53 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
430
430
  };
431
431
  XamGeographicMap.prototype.v5 = function () {
432
432
  var a = _super.prototype.v5.call(this);
433
- if (this.wr == null || this.wt == null) {
433
+ if (this.ws == null || this.wu == null) {
434
434
  return a;
435
435
  }
436
436
  this.wf();
437
437
  var b = a.left;
438
438
  var c = a.top;
439
439
  if (this.cr == 1) {
440
- if (this.wk.width > this.yq.width) {
441
- b = 0.5 - (this.wk.width / 2);
440
+ if (this.wl.width > this.yr.width) {
441
+ b = 0.5 - (this.wl.width / 2);
442
442
  }
443
- else if (b + a.width > this.yq.right) {
444
- b = this.yq.right - this.wk.width;
443
+ else if (b + a.width > this.yr.right) {
444
+ b = this.yr.right - this.wl.width;
445
445
  }
446
- else if (b < this.yq.left) {
447
- b = this.yq.left;
446
+ else if (b < this.yr.left) {
447
+ b = this.yr.left;
448
448
  }
449
- if (this.wk.height > this.yq.height) {
450
- c = 0.5 - (this.wk.height / 2);
449
+ if (this.wl.height > this.yr.height) {
450
+ c = 0.5 - (this.wl.height / 2);
451
451
  }
452
- else if (c + this.wk.height > this.yq.bottom) {
453
- c = this.yq.bottom - this.wk.height;
452
+ else if (c + this.wl.height > this.yr.bottom) {
453
+ c = this.yr.bottom - this.wl.height;
454
454
  }
455
- else if (c < this.yq.top) {
456
- c = this.yq.top;
455
+ else if (c < this.yr.top) {
456
+ c = this.yr.top;
457
457
  }
458
458
  }
459
459
  var d = false;
460
- if (!this.w8 && this.cr == 2 && this.w5) {
460
+ if (!this.w9 && this.cr == 2 && this.w6) {
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.yq.right) > 0 && ((a.right - this.yq.right) / a.width) > 0.8) {
468
- b = this.yq.left - (a.width - (a.right - this.yq.right));
467
+ if ((a.right - this.yr.right) > 0 && ((a.right - this.yr.right) / a.width) > 0.8) {
468
+ b = this.yr.left - (a.width - (a.right - this.yr.right));
469
469
  d = true;
470
470
  }
471
- else if (a.left < this.yq.left && (Math.abs(a.left - this.yq.left) / a.width) > 0.8) {
472
- b = this.yq.right - (Math.abs(a.left - this.yq.left));
471
+ else if (a.left < this.yr.left && (Math.abs(a.left - this.yr.left) / a.width) > 0.8) {
472
+ b = this.yr.right - (Math.abs(a.left - this.yr.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.w8) {
478
- var f = this.yt(this.y4, 1);
479
- f = this.yv(f);
477
+ if (this.w9) {
478
+ var f = this.yu(this.y5, 1);
479
+ f = this.yw(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) {
@@ -512,7 +512,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
512
512
  }
513
513
  if (d) {
514
514
  this.ez = true;
515
- this.wk = e;
515
+ this.wl = e;
516
516
  this.ez = false;
517
517
  }
518
518
  return e;
@@ -538,31 +538,31 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
538
538
  }
539
539
  if (c) {
540
540
  if (d) {
541
- var i = this.wq.el(-180, b);
542
- var j = this.wq.el(180, b);
541
+ var i = this.wr.el(-180, b);
542
+ var j = this.wr.el(180, b);
543
543
  e = j - i;
544
544
  }
545
545
  else {
546
- var k = this.wq.el(-180, b);
547
- var l = this.wq.el(180, b);
546
+ var k = this.wr.el(-180, b);
547
+ var l = this.wr.el(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
553
  XamGeographicMap.prototype.wf = function () {
554
- var a = new ScalerParams(1, XamGeographicMap.yr, this.wj, this.wr.ch);
554
+ var a = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.ws.ch);
555
555
  a.c = this.v8;
556
- var b = new ScalerParams(1, XamGeographicMap.yr, this.wj, this.wt.ch);
556
+ var b = new ScalerParams(1, XamGeographicMap.ys, this.wk, this.wu.ch);
557
557
  b.c = this.v8;
558
- var c = this.wr.el(XamGeographicMap.yo.left, a);
559
- var d = this.wr.el(XamGeographicMap.yo.right, a);
560
- var e = this.wt.el(XamGeographicMap.yo.top, b);
561
- var f = this.wt.el(XamGeographicMap.yo.bottom, b);
562
- this.yq = new Rect(0, c / this.wj.width, f / this.wj.height, (d - c) / this.wj.width, (e - f) / this.wj.height);
563
- return this.yq;
564
- };
565
- XamGeographicMap.prototype.yv = function (a) {
558
+ var c = this.ws.el(XamGeographicMap.yp.left, a);
559
+ var d = this.ws.el(XamGeographicMap.yp.right, a);
560
+ var e = this.wu.el(XamGeographicMap.yp.top, b);
561
+ var f = this.wu.el(XamGeographicMap.yp.bottom, b);
562
+ this.yr = new Rect(0, c / this.wk.width, f / this.wk.height, (d - c) / this.wk.width, (e - f) / this.wk.height);
563
+ return this.yr;
564
+ };
565
+ XamGeographicMap.prototype.yw = function (a) {
566
566
  var b = this.hm;
567
567
  var c = 0.5 * (a.left + a.right);
568
568
  var d = 0.5 * (a.top + a.bottom);
@@ -570,7 +570,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
570
570
  var f = a.height;
571
571
  var g = MathUtil.d(a.width, b, 1);
572
572
  var h = MathUtil.d(a.height, b, 1);
573
- var i = this.wj;
573
+ var i = this.wk;
574
574
  var j = i.width / i.height;
575
575
  var k = g * i.width;
576
576
  var l = h * i.height;
@@ -610,7 +610,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
610
610
  return new Rect(0, p, q, r - p, s - q);
611
611
  };
612
612
  XamGeographicMap.prototype.v6 = function (a) {
613
- _super.prototype.v6.call(this, this.wj);
613
+ _super.prototype.v6.call(this, this.wk);
614
614
  if (a.isEmpty) {
615
615
  return Rect.empty;
616
616
  }
@@ -625,62 +625,62 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
625
625
  }
626
626
  return b;
627
627
  };
628
- XamGeographicMap.prototype.yx = function (a) {
628
+ XamGeographicMap.prototype.yy = function (a) {
629
629
  return this.v6(a);
630
630
  };
631
631
  XamGeographicMap.prototype.c8 = function () {
632
632
  return new XamGeographicMapView(this);
633
633
  };
634
- XamGeographicMap.prototype.xx = function (a) {
634
+ XamGeographicMap.prototype.xy = function (a) {
635
635
  if (a != null) {
636
636
  a.bi = this;
637
637
  }
638
638
  };
639
639
  XamGeographicMap.prototype.p5 = function (a) {
640
640
  _super.prototype.p5.call(this, a);
641
- this.w3 = a;
641
+ this.w4 = a;
642
642
  };
643
643
  XamGeographicMap.prototype.qg = function (a, b) {
644
644
  _super.prototype.qg.call(this, a, b);
645
- this.rl(this.wr);
646
- this.rl(this.wt);
645
+ this.rl(this.ws);
646
+ this.rl(this.wu);
647
647
  if (Rect.l_op_Inequality(a, b)) {
648
- this.x2();
648
+ this.x3();
649
649
  }
650
- if (this.w8) {
650
+ if (this.w9) {
651
651
  this.v4 = this.v5();
652
652
  }
653
- this.x9();
653
+ this.ya();
654
654
  };
655
- Object.defineProperty(XamGeographicMap.prototype, "xd", {
655
+ Object.defineProperty(XamGeographicMap.prototype, "xe", {
656
656
  get: function () {
657
- return this.xb;
657
+ return this.xc;
658
658
  },
659
659
  set: function (a) {
660
- var b = this.xb;
661
- this.xb = a;
662
- this.qm("ActualWindowScale", b, this.xb);
660
+ var b = this.xc;
661
+ this.xc = a;
662
+ this.qm("ActualWindowScale", b, this.xc);
663
663
  },
664
664
  enumerable: false,
665
665
  configurable: true
666
666
  });
667
667
  XamGeographicMap.prototype.hs = function () {
668
- return this.xd;
668
+ return this.xe;
669
669
  };
670
670
  XamGeographicMap.prototype.ht = function () {
671
- return this.xd;
671
+ return this.xe;
672
672
  };
673
673
  XamGeographicMap.prototype.rk = function () {
674
674
  _super.prototype.rk.call(this);
675
675
  var a = Math.min(this.v4.width, this.v4.height);
676
- this.xd = a;
676
+ this.xe = a;
677
677
  };
678
678
  XamGeographicMap.prototype.f4 = function () {
679
- return this.w5;
679
+ return this.w6;
680
680
  };
681
681
  XamGeographicMap.prototype.cs = function () {
682
682
  if (this.ct == 0) {
683
- if (this.w6) {
683
+ if (this.w7) {
684
684
  return 2;
685
685
  }
686
686
  }
@@ -691,65 +691,65 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
691
691
  _super.prototype.qh.call(this, a, b, c, d);
692
692
  switch (b) {
693
693
  case "ZoomCoercionMode":
694
- this.xy();
694
+ this.xz();
695
695
  break;
696
696
  case "WindowRect":
697
- this.x6();
697
+ this.x7();
698
698
  break;
699
699
  case XamGeographicMap.$$p[0]:
700
- this.wz = this.w0();
701
- if (this.ww != null) {
702
- this.ww.isHorizontalWrappingEnabled = this.wz == 2;
700
+ this.w0 = this.w1();
701
+ if (this.wx != null) {
702
+ this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
703
703
  }
704
704
  break;
705
705
  case XamGeographicMap.$$p[1]:
706
- this.w5 = this.w6;
707
- this.wz = this.w0();
706
+ this.w6 = this.w7;
707
+ this.w0 = this.w1();
708
708
  this.cr = this.cs();
709
- if (this.ww != null) {
710
- this.ww.isHorizontalWrappingEnabled = this.wz == 2;
709
+ if (this.wx != null) {
710
+ this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
711
711
  }
712
712
  break;
713
713
  case XamGeographicMap.$$p[4]:
714
714
  this.v4 = this.v5();
715
715
  break;
716
716
  case "BackgroundContent":
717
- if (this.ww != null) {
718
- var e = this.ww;
719
- e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.xz));
720
- this.ww.deferralHandler = null;
717
+ if (this.wx != null) {
718
+ var e = this.wx;
719
+ e.imageTilesReady = delegateRemove(e.imageTilesReady, runOn(this, this.x0));
720
+ this.wx.deferralHandler = null;
721
721
  }
722
- this.ww = typeCast(GeographicMapImagery.$, this.backgroundContent);
723
- if (this.ww != null) {
724
- var f = this.ww;
725
- f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.xz));
726
- this.ww.deferralHandler = this;
727
- this.ww.isHorizontalWrappingEnabled = this.wz == 2;
722
+ this.wx = typeCast(GeographicMapImagery.$, this.backgroundContent);
723
+ if (this.wx != null) {
724
+ var f = this.wx;
725
+ f.imageTilesReady = delegateCombine(f.imageTilesReady, runOn(this, this.x0));
726
+ this.wx.deferralHandler = this;
727
+ this.wx.isHorizontalWrappingEnabled = this.w0 == 2;
728
728
  }
729
- this.w3.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
730
- if (this.ww != null) {
731
- this.ww.geographicMap = this;
732
- this.w3.fr(this.v4);
733
- this.w3.fv(this.hi);
729
+ this.w4.fu(typeCast(GeographicMapImagery.$, c), typeCast(GeographicMapImagery.$, d));
730
+ if (this.wx != null) {
731
+ this.wx.geographicMap = this;
732
+ this.w4.fr(this.v4);
733
+ this.w4.fv(this.hi);
734
734
  }
735
735
  break;
736
736
  case "YAxis":
737
737
  case "XAxis":
738
- this.x4(c);
739
- this.xx(d);
738
+ this.x5(c);
739
+ this.xy(d);
740
740
  break;
741
741
  case XamGeographicMap.$$p[6]:
742
- if (!this.w7) {
743
- this.wk = XamGeographicMap.yr;
742
+ if (!this.w8) {
743
+ this.wl = XamGeographicMap.ys;
744
744
  }
745
- this.xy();
746
- this.x5();
745
+ this.xz();
747
746
  this.x6();
747
+ this.x7();
748
748
  this.v4 = this.v5();
749
- this.w3.fs();
749
+ this.w4.fs();
750
750
  break;
751
751
  case "ActualWindowRect":
752
- this.w3.fr(this.v4);
752
+ this.w4.fr(this.v4);
753
753
  break;
754
754
  case "ActualWorldRect":
755
755
  try {
@@ -773,7 +773,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
773
773
  }
774
774
  break;
775
775
  case XamGeographicMap.$$p[5]:
776
- this.xd = this.xe;
776
+ this.xe = this.xf;
777
777
  break;
778
778
  case "ActualWindowScale":
779
779
  if (!this.gc) {
@@ -781,7 +781,7 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
781
781
  }
782
782
  break;
783
783
  case "ActualPixelScalingRatio":
784
- this.w3.fv(this.hi);
784
+ this.w4.fv(this.hi);
785
785
  break;
786
786
  case "WindowRectMinWidth":
787
787
  case "WindowRectMinHeight":
@@ -821,37 +821,37 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
821
821
  break;
822
822
  }
823
823
  };
824
- XamGeographicMap.prototype.xz = function (a, b) {
824
+ XamGeographicMap.prototype.x0 = function (a, b) {
825
825
  if (this.imageTilesReady != null) {
826
826
  this.imageTilesReady(this, new ImageTilesReadyEventArgs());
827
827
  }
828
828
  };
829
- XamGeographicMap.prototype.x4 = function (a) {
829
+ XamGeographicMap.prototype.x5 = function (a) {
830
830
  if (a != null) {
831
831
  a.bi = null;
832
832
  }
833
833
  };
834
- XamGeographicMap.prototype.x5 = function () {
835
- if (this.wr != null) {
836
- this.wr.mc = this.ys.left;
837
- this.wr.mb = this.ys.right;
834
+ XamGeographicMap.prototype.x6 = function () {
835
+ if (this.ws != null) {
836
+ this.ws.mc = this.yt.left;
837
+ this.ws.mb = this.yt.right;
838
838
  }
839
- if (this.wt != null) {
840
- this.wt.mc = this.ys.top;
841
- this.wt.mb = this.ys.bottom;
839
+ if (this.wu != null) {
840
+ this.wu.mc = this.yt.top;
841
+ this.wu.mb = this.yt.bottom;
842
842
  }
843
- this.wr.c2(true);
844
- this.wt.c2(true);
843
+ this.ws.c2(true);
844
+ this.wu.c2(true);
845
845
  };
846
846
  XamGeographicMap.prototype.getFontInfo = function () {
847
- this.w4 = this.w3.fo;
848
- return this.w4;
847
+ this.w5 = this.w4.fo;
848
+ return this.w5;
849
849
  };
850
850
  XamGeographicMap.prototype.u8 = function () {
851
- return this.w3.fw;
851
+ return this.w4.fw;
852
852
  };
853
853
  XamGeographicMap.prototype.getFontBrush = function () {
854
- return this.w3.fx;
854
+ return this.w4.fx;
855
855
  };
856
856
  XamGeographicMap.prototype.rd = function (a, b) {
857
857
  if (typeCast(ItfConverter.$, b) !== null) {
@@ -874,20 +874,20 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
874
874
  this.ni();
875
875
  };
876
876
  XamGeographicMap.prototype.deferAction = function (a) {
877
- if (this.xg != null) {
878
- this.xg.setTimeout(a, 0);
877
+ if (this.xh != null) {
878
+ this.xh.setTimeout(a, 0);
879
879
  }
880
880
  else {
881
881
  window.setTimeout(a, 0);
882
882
  }
883
883
  };
884
- XamGeographicMap.prototype.xw = function (a) {
884
+ XamGeographicMap.prototype.xx = function (a) {
885
885
  this.rq(a);
886
886
  };
887
- XamGeographicMap.prototype.xh = function () {
887
+ XamGeographicMap.prototype.xi = function () {
888
888
  var a = new ChartVisualData();
889
- var b = this.wr.fy();
890
- var c = this.wt.fy();
889
+ var b = this.ws.fy();
890
+ var c = this.wu.fy();
891
891
  a.axes.add1(b);
892
892
  a.axes.add1(c);
893
893
  for (var d = 0; d < this.series.count; d++) {
@@ -895,49 +895,49 @@ var XamGeographicMap = /** @class */ /*@__PURE__*/ (function (_super) {
895
895
  a.series.add1(e);
896
896
  }
897
897
  a.name = this.name;
898
- a.contentArea = RectData.b(this.wj);
899
- a.centralArea = RectData.b(this.wj);
900
- a.plotArea = RectData.b(this.wj);
898
+ a.contentArea = RectData.b(this.wk);
899
+ a.centralArea = RectData.b(this.wk);
900
+ a.plotArea = RectData.b(this.wk);
901
901
  return a;
902
902
  };
903
903
  XamGeographicMap.prototype.wb = function (a, b, c) {
904
904
  return a;
905
905
  };
906
- XamGeographicMap.prototype.x0 = function () {
906
+ XamGeographicMap.prototype.x1 = function () {
907
907
  };
908
- Object.defineProperty(XamGeographicMap.prototype, "y3", {
908
+ Object.defineProperty(XamGeographicMap.prototype, "y4", {
909
909
  get: function () {
910
- return this.yp;
910
+ return this.yq;
911
911
  },
912
912
  set: function (a) {
913
- this.yp = a;
913
+ this.yq = a;
914
914
  },
915
915
  enumerable: false,
916
916
  configurable: true
917
917
  });
918
- XamGeographicMap.prototype.ya = function (a) {
919
- this.y3 = a;
920
- this.x9();
921
- };
922
- XamGeographicMap.prototype.x9 = function () {
923
- if (this.xa && !this.y3.isEmpty) {
924
- var a = this.getZoomFromGeographicRect(this.y3);
925
- this.y3 = Rect.empty;
918
+ XamGeographicMap.prototype.yb = function (a) {
919
+ this.y4 = a;
920
+ this.ya();
921
+ };
922
+ XamGeographicMap.prototype.ya = function () {
923
+ if (this.xb && !this.y4.isEmpty) {
924
+ var a = this.getZoomFromGeographicRect(this.y4);
925
+ this.y4 = Rect.empty;
926
926
  this.rx(a, false);
927
927
  }
928
928
  };
929
- Object.defineProperty(XamGeographicMap.prototype, "xa", {
929
+ Object.defineProperty(XamGeographicMap.prototype, "xb", {
930
930
  get: function () {
931
- return !this.wj.isEmpty && !this.v8.isEmpty;
931
+ return !this.wk.isEmpty && !this.v8.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.w1 = 0;
938
- XamGeographicMap.yo = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
939
- XamGeographicMap.yr = new Rect(0, 0, 0, 1, 1);
940
- XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'qm', ['BackgroundTilingMode:wy:yb', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:w6:yc', [0, false], 'ResizeBehavior:w2:yd', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.w1)], 'SuppressZoomResetOnWorldRectChange:w7:ye', [0, false], 'UseWorldRectForZoomBounds:w8:yf', [0, false], 'WindowScale:xe:yg', [1, NaN], 'WorldRect:y4:yh', [Rect.$, XamGeographicMap.yo], 'Zoomable:w9:yi', [0, true]]);
937
+ XamGeographicMap.w2 = 0;
938
+ XamGeographicMap.yp = new Rect(2, { $type: Point_$type, x: -180, y: -85.05112878 }, { $type: Point_$type, x: 180, y: 85.05112878 });
939
+ XamGeographicMap.ys = new Rect(0, 0, 0, 1, 1);
940
+ XamGeographicMap.$$p = markDep(DependencyProperty, PropertyMetadata, XamGeographicMap, 'qm', ['BackgroundTilingMode:wz:yc', [MapBackgroundTilingMode_$type, enumGetBox(MapBackgroundTilingMode_$type, 0)], 'IsHorizontalWrappingEnabled:w7:yd', [0, false], 'ResizeBehavior:w3:ye', [MapResizeBehavior_$type, enumGetBox(MapResizeBehavior_$type, XamGeographicMap.w2)], 'SuppressZoomResetOnWorldRectChange:w8:yf', [0, false], 'UseWorldRectForZoomBounds:w9:yg', [0, false], 'WindowScale:xf:yh', [1, NaN], 'WorldRect:y5:yi', [Rect.$, XamGeographicMap.yp], 'Zoomable:xa:yj', [0, true]]);
941
941
  return XamGeographicMap;
942
942
  }(SeriesViewer));
943
943
  export { XamGeographicMap };
@@ -1081,14 +1081,14 @@ 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.yx(b);
1085
- var d = XamGeographicMap.yo;
1086
- var e = this.geographicMap.ys;
1084
+ var c = this.geographicMap.yy(b);
1085
+ var d = XamGeographicMap.yp;
1086
+ var e = this.geographicMap.yt;
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.wr;
1091
- var i = this.geographicMap.wt;
1090
+ var h = this.geographicMap.ws;
1091
+ var i = this.geographicMap.wu;
1092
1092
  var j = new ScalerParams(1, this.windowRect, b, h.ch);
1093
1093
  j.c = c;
1094
1094
  var k = new ScalerParams(1, this.windowRect, b, i.ch);
@@ -1209,8 +1209,8 @@ var GeographicXYTriangulatingSeriesView = /** @class */ /*@__PURE__*/ (function
1209
1209
  a.wx = null;
1210
1210
  return;
1211
1211
  }
1212
- a.ww = this.ch.db.wr;
1213
- a.wx = this.ch.db.wt;
1212
+ a.ww = this.ch.db.ws;
1213
+ a.wx = this.ch.db.wu;
1214
1214
  };
1215
1215
  GeographicXYTriangulatingSeriesView.prototype.cj = function () {
1216
1216
  this.ch.wy.xy = this.ch.xa;
@@ -1295,7 +1295,7 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
1295
1295
  };
1296
1296
  XamGeographicMapView.prototype.bk = function (a) {
1297
1297
  this.j.bw(a);
1298
- this.fn.xw(a);
1298
+ this.fn.xx(a);
1299
1299
  this.el();
1300
1300
  };
1301
1301
  XamGeographicMapView.prototype.get_ap = function () {
@@ -1358,13 +1358,13 @@ var XamGeographicMapView = /** @class */ /*@__PURE__*/ (function (_super) {
1358
1358
  }
1359
1359
  };
1360
1360
  XamGeographicMapView.prototype.fr = function (a) {
1361
- if (this.fn.ww != null) {
1362
- this.fn.ww.windowRect = a;
1361
+ if (this.fn.wx != null) {
1362
+ this.fn.wx.windowRect = a;
1363
1363
  }
1364
1364
  };
1365
1365
  XamGeographicMapView.prototype.fu = function (a, b) {
1366
- if (this.fn.ww != null) {
1367
- this.fn.ww.windowRect = this.fn.v4;
1366
+ if (this.fn.wx != null) {
1367
+ this.fn.wx.windowRect = this.fn.v4;
1368
1368
  }
1369
1369
  if (a != null) {
1370
1370
  var c = a.ao;