igniteui-angular-maps 20.0.0 → 20.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-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
|
@@ -260,80 +260,80 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
260
260
|
* Gets or sets zoomability of the current control
|
|
261
261
|
*/
|
|
262
262
|
get zoomable() {
|
|
263
|
-
return this.i.
|
|
263
|
+
return this.i.x1;
|
|
264
264
|
}
|
|
265
265
|
set zoomable(v) {
|
|
266
|
-
this.i.
|
|
266
|
+
this.i.x1 = ensureBool(v);
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
269
|
* Gets or sets the behavior to use during resize.
|
|
270
270
|
*/
|
|
271
271
|
get resizeBehavior() {
|
|
272
|
-
return this.i.
|
|
272
|
+
return this.i.xu;
|
|
273
273
|
}
|
|
274
274
|
set resizeBehavior(v) {
|
|
275
|
-
this.i.
|
|
275
|
+
this.i.xu = ensureEnum(MapResizeBehavior_$type, v);
|
|
276
276
|
}
|
|
277
277
|
/**
|
|
278
278
|
* Gets or sets if the map should horizontally wrap.
|
|
279
279
|
*/
|
|
280
280
|
get isHorizontalWrappingEnabled() {
|
|
281
|
-
return this.i.
|
|
281
|
+
return this.i.xy;
|
|
282
282
|
}
|
|
283
283
|
set isHorizontalWrappingEnabled(v) {
|
|
284
|
-
this.i.
|
|
284
|
+
this.i.xy = ensureBool(v);
|
|
285
285
|
}
|
|
286
286
|
/**
|
|
287
287
|
* Gets or sets if the map should horizontally wrap.
|
|
288
288
|
*/
|
|
289
289
|
get backgroundTilingMode() {
|
|
290
|
-
return this.i.
|
|
290
|
+
return this.i.xq;
|
|
291
291
|
}
|
|
292
292
|
set backgroundTilingMode(v) {
|
|
293
|
-
this.i.
|
|
293
|
+
this.i.xq = ensureEnum(MapBackgroundTilingMode_$type, v);
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
296
|
* Gets or sets whether to use the uncoerced world rect to constrain the zoom bounds.
|
|
297
297
|
*/
|
|
298
298
|
get useWorldRectForZoomBounds() {
|
|
299
|
-
return this.i.
|
|
299
|
+
return this.i.x0;
|
|
300
300
|
}
|
|
301
301
|
set useWorldRectForZoomBounds(v) {
|
|
302
|
-
this.i.
|
|
302
|
+
this.i.x0 = ensureBool(v);
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
305
|
* Gets or sets whether skip resetting the zoom when the world rect changes.
|
|
306
306
|
*/
|
|
307
307
|
get suppressZoomResetOnWorldRectChange() {
|
|
308
|
-
return this.i.
|
|
308
|
+
return this.i.xz;
|
|
309
309
|
}
|
|
310
310
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
311
|
-
this.i.
|
|
311
|
+
this.i.xz = ensureBool(v);
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
314
314
|
* Gets or sets the world bounding rectangle.
|
|
315
315
|
*/
|
|
316
316
|
get worldRect() {
|
|
317
|
-
return fromRect(this.i.
|
|
317
|
+
return fromRect(this.i.zw);
|
|
318
318
|
}
|
|
319
319
|
set worldRect(v) {
|
|
320
|
-
this.i.
|
|
320
|
+
this.i.zw = toRect(v);
|
|
321
321
|
}
|
|
322
322
|
/**
|
|
323
323
|
* Gets the actual value of the WorldRect.
|
|
324
324
|
*/
|
|
325
325
|
get actualWorldRect() {
|
|
326
|
-
return fromRect(this.i.
|
|
326
|
+
return fromRect(this.i.zk);
|
|
327
327
|
}
|
|
328
328
|
set actualWorldRect(v) {
|
|
329
|
-
this.i.
|
|
329
|
+
this.i.zk = toRect(v);
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
332
|
* The X-axis for this IgxGeographicMap.Component
|
|
333
333
|
* Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
|
|
334
334
|
*/
|
|
335
335
|
get xAxis() {
|
|
336
|
-
const r = this.i.
|
|
336
|
+
const r = this.i.xj;
|
|
337
337
|
if (r == null) {
|
|
338
338
|
return null;
|
|
339
339
|
}
|
|
@@ -349,14 +349,14 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
349
349
|
set xAxis(v) {
|
|
350
350
|
if (v != null && this._stylingContainer && v._styling)
|
|
351
351
|
v._styling(this._stylingContainer, this, this);
|
|
352
|
-
v == null ? this.i.
|
|
352
|
+
v == null ? this.i.xj = null : this.i.xj = v.i;
|
|
353
353
|
}
|
|
354
354
|
/**
|
|
355
355
|
* The Y-axis for this IgxGeographicMap.Component
|
|
356
356
|
* Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
|
|
357
357
|
*/
|
|
358
358
|
get yAxis() {
|
|
359
|
-
const r = this.i.
|
|
359
|
+
const r = this.i.xl;
|
|
360
360
|
if (r == null) {
|
|
361
361
|
return null;
|
|
362
362
|
}
|
|
@@ -372,39 +372,39 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
372
372
|
set yAxis(v) {
|
|
373
373
|
if (v != null && this._stylingContainer && v._styling)
|
|
374
374
|
v._styling(this._stylingContainer, this, this);
|
|
375
|
-
v == null ? this.i.
|
|
375
|
+
v == null ? this.i.xl = null : this.i.xl = v.i;
|
|
376
376
|
}
|
|
377
377
|
/**
|
|
378
378
|
* Indicates if this SeriesViewer is a map.
|
|
379
379
|
*/
|
|
380
380
|
get isMap() {
|
|
381
|
-
return this.i.
|
|
381
|
+
return this.i.fh;
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
385
385
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
386
386
|
*/
|
|
387
387
|
get windowScale() {
|
|
388
|
-
return this.i.
|
|
388
|
+
return this.i.x6;
|
|
389
389
|
}
|
|
390
390
|
set windowScale(v) {
|
|
391
|
-
this.i.
|
|
391
|
+
this.i.x6 = +v;
|
|
392
392
|
}
|
|
393
393
|
/**
|
|
394
394
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
395
395
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
396
396
|
*/
|
|
397
397
|
get actualWindowScale() {
|
|
398
|
-
return this.i.
|
|
398
|
+
return this.i.x5;
|
|
399
399
|
}
|
|
400
400
|
set actualWindowScale(v) {
|
|
401
|
-
this.i.
|
|
401
|
+
this.i.x5 = +v;
|
|
402
402
|
}
|
|
403
403
|
/**
|
|
404
404
|
* Gets whether or not the control is ready for zooming
|
|
405
405
|
*/
|
|
406
406
|
get zoomIsReady() {
|
|
407
|
-
return this.i.
|
|
407
|
+
return this.i.x2;
|
|
408
408
|
}
|
|
409
409
|
findByName(name) {
|
|
410
410
|
var baseResult = super.findByName(name);
|
|
@@ -432,7 +432,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
432
432
|
|
|
433
433
|
*/
|
|
434
434
|
getCurrentActualWorldRect() {
|
|
435
|
-
let iv = this.i.
|
|
435
|
+
let iv = this.i.zo();
|
|
436
436
|
return fromRect(iv);
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
@@ -449,14 +449,14 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
449
449
|
|
|
450
450
|
*/
|
|
451
451
|
updateZoomWindow(zoomWindow) {
|
|
452
|
-
this.i.
|
|
452
|
+
this.i.y0(toRect(zoomWindow));
|
|
453
453
|
}
|
|
454
454
|
/**
|
|
455
455
|
* Updates world rect in geographic coordinates
|
|
456
456
|
|
|
457
457
|
*/
|
|
458
458
|
updateWorldRect(worldRect) {
|
|
459
|
-
this.i.
|
|
459
|
+
this.i.yz(toRect(worldRect));
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
462
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -468,7 +468,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
468
468
|
return fromRect(iv);
|
|
469
469
|
}
|
|
470
470
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
471
|
-
let iv = this.i.
|
|
471
|
+
let iv = this.i.zl(toRect(geographic), extraPixelPadding);
|
|
472
472
|
return fromRect(iv);
|
|
473
473
|
}
|
|
474
474
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -481,7 +481,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
481
481
|
* @param windowRect * The zoom area.
|
|
482
482
|
*/
|
|
483
483
|
getGeographicFromZoom(windowRect) {
|
|
484
|
-
let iv = this.i.
|
|
484
|
+
let iv = this.i.zq(toRect(windowRect));
|
|
485
485
|
return fromRect(iv);
|
|
486
486
|
}
|
|
487
487
|
/**
|
|
@@ -490,7 +490,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
490
490
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
491
491
|
*/
|
|
492
492
|
getGeographicPoint(pixelCoordinate) {
|
|
493
|
-
let iv = this.i.
|
|
493
|
+
let iv = this.i.zc(toPoint(pixelCoordinate));
|
|
494
494
|
return fromPoint(iv);
|
|
495
495
|
}
|
|
496
496
|
/**
|
|
@@ -499,7 +499,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
499
499
|
* @param geographicCoordinate * A geographic coordinate
|
|
500
500
|
*/
|
|
501
501
|
getPixelPoint(geographicCoordinate) {
|
|
502
|
-
let iv = this.i.
|
|
502
|
+
let iv = this.i.zd(toPoint(geographicCoordinate));
|
|
503
503
|
return fromPoint(iv);
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
@@ -508,7 +508,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
508
508
|
* @param geographicCoordinate * A geographic coordinate
|
|
509
509
|
*/
|
|
510
510
|
getWindowPoint(geographicCoordinate) {
|
|
511
|
-
let iv = this.i.
|
|
511
|
+
let iv = this.i.ze(toPoint(geographicCoordinate));
|
|
512
512
|
return fromPoint(iv);
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
@@ -516,21 +516,21 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
516
516
|
|
|
517
517
|
*/
|
|
518
518
|
clearTileCache() {
|
|
519
|
-
this.i.
|
|
519
|
+
this.i.yn();
|
|
520
520
|
}
|
|
521
521
|
/**
|
|
522
522
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
523
523
|
|
|
524
524
|
*/
|
|
525
525
|
styleUpdated() {
|
|
526
|
-
this.i.
|
|
526
|
+
this.i.yv();
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
529
|
* Gets actual window scale for horizontal dimension of the control
|
|
530
530
|
|
|
531
531
|
*/
|
|
532
532
|
getActualWindowScaleHorizontal() {
|
|
533
|
-
let iv = this.i.
|
|
533
|
+
let iv = this.i.hz();
|
|
534
534
|
return (iv);
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
@@ -538,7 +538,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
538
538
|
|
|
539
539
|
*/
|
|
540
540
|
getActualWindowScaleVertical() {
|
|
541
|
-
let iv = this.i.
|
|
541
|
+
let iv = this.i.h0();
|
|
542
542
|
return (iv);
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
@@ -553,7 +553,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
553
553
|
|
|
554
554
|
*/
|
|
555
555
|
exportVisualData() {
|
|
556
|
-
let iv = this.i.
|
|
556
|
+
let iv = this.i.x9();
|
|
557
557
|
return (iv);
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
@@ -562,7 +562,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
562
562
|
* @param geographic * The geographic region to zoom to.
|
|
563
563
|
*/
|
|
564
564
|
zoomToGeographic(geographic) {
|
|
565
|
-
this.i.
|
|
565
|
+
this.i.y2(toRect(geographic));
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
568
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -67,14 +67,14 @@ var GeographicHighDensityScatterSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
67
67
|
a.xc = null;
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
a.xa = this.cu.dc.
|
|
71
|
-
a.xc = this.cu.dc.
|
|
70
|
+
a.xa = this.cu.dc.xj;
|
|
71
|
+
a.xc = this.cu.dc.xl;
|
|
72
72
|
};
|
|
73
73
|
GeographicHighDensityScatterSeriesView.prototype.c6 = function () {
|
|
74
|
-
this.cu.w5.xa = this.cu.dc.
|
|
74
|
+
this.cu.w5.xa = this.cu.dc.xj;
|
|
75
75
|
};
|
|
76
76
|
GeographicHighDensityScatterSeriesView.prototype.c7 = function () {
|
|
77
|
-
this.cu.w5.xc = this.cu.dc.
|
|
77
|
+
this.cu.w5.xc = this.cu.dc.xl;
|
|
78
78
|
};
|
|
79
79
|
GeographicHighDensityScatterSeriesView.prototype.cx = function () {
|
|
80
80
|
this.cu.w5.aak = this.cu.yd;
|
|
@@ -207,10 +207,10 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
207
207
|
case "SeriesViewer":
|
|
208
208
|
this.w5.dc = this.dc;
|
|
209
209
|
if (c != null) {
|
|
210
|
-
c.
|
|
210
|
+
c.rn(this.w5);
|
|
211
211
|
}
|
|
212
212
|
if (d != null) {
|
|
213
|
-
this.dc.
|
|
213
|
+
this.dc.nq(this.w5);
|
|
214
214
|
}
|
|
215
215
|
this.w5.rf(this.wx);
|
|
216
216
|
this.w5.index = this.index;
|
|
@@ -309,7 +309,7 @@ var GeographicMapSeriesHost = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
309
309
|
return;
|
|
310
310
|
}
|
|
311
311
|
if (!isNaN_(this.w7)) {
|
|
312
|
-
if (this.dc.
|
|
312
|
+
if (this.dc.wt.width > this.w7) {
|
|
313
313
|
var hs_ = this.w5;
|
|
314
314
|
var v_ = 1;
|
|
315
315
|
hs_.visibility = v_;
|
|
@@ -68,10 +68,10 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
68
68
|
this.cu.w5.aae = this.cu.xh;
|
|
69
69
|
};
|
|
70
70
|
GeographicProportionalSymbolSeriesView.prototype.db = function () {
|
|
71
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
71
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
72
72
|
};
|
|
73
73
|
GeographicProportionalSymbolSeriesView.prototype.dc = function () {
|
|
74
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
74
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
75
75
|
};
|
|
76
76
|
GeographicProportionalSymbolSeriesView.prototype.da = function () {
|
|
77
77
|
var a = this.cu.w5;
|
|
@@ -80,8 +80,8 @@ var GeographicProportionalSymbolSeriesView = /** @class */ /*@__PURE__*/ (functi
|
|
|
80
80
|
a.yAxis = null;
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
a.xAxis = this.cu.dc.
|
|
84
|
-
a.yAxis = this.cu.dc.
|
|
83
|
+
a.xAxis = this.cu.dc.xj;
|
|
84
|
+
a.yAxis = this.cu.dc.xl;
|
|
85
85
|
};
|
|
86
86
|
GeographicProportionalSymbolSeriesView.prototype.c4 = function () {
|
|
87
87
|
this.cu.w5.yo = this.cu.x9;
|
|
@@ -178,8 +178,8 @@ var GeographicShapeSeriesBaseView = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
178
178
|
a.xl = null;
|
|
179
179
|
return;
|
|
180
180
|
}
|
|
181
|
-
a.xj = this.cu.dc.
|
|
182
|
-
a.xl = this.cu.dc.
|
|
181
|
+
a.xj = this.cu.dc.xj;
|
|
182
|
+
a.xl = this.cu.dc.xl;
|
|
183
183
|
};
|
|
184
184
|
GeographicShapeSeriesBaseView.prototype.cx = function () {
|
|
185
185
|
this.cu.w5.zc = this.cu.x4;
|
|
@@ -57,10 +57,10 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
57
57
|
this.cu.w5.aae = this.cu.xh;
|
|
58
58
|
};
|
|
59
59
|
GeographicSymbolSeriesView.prototype.c5 = function () {
|
|
60
|
-
this.cu.w5.xAxis = this.cu.dc.
|
|
60
|
+
this.cu.w5.xAxis = this.cu.dc.xj;
|
|
61
61
|
};
|
|
62
62
|
GeographicSymbolSeriesView.prototype.c6 = function () {
|
|
63
|
-
this.cu.w5.yAxis = this.cu.dc.
|
|
63
|
+
this.cu.w5.yAxis = this.cu.dc.xl;
|
|
64
64
|
};
|
|
65
65
|
GeographicSymbolSeriesView.prototype.c4 = function () {
|
|
66
66
|
var a = this.cu.w5;
|
|
@@ -69,8 +69,8 @@ var GeographicSymbolSeriesView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
69
69
|
a.yAxis = null;
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
a.xAxis = this.cu.dc.
|
|
73
|
-
a.yAxis = this.cu.dc.
|
|
72
|
+
a.xAxis = this.cu.dc.xj;
|
|
73
|
+
a.yAxis = this.cu.dc.xl;
|
|
74
74
|
};
|
|
75
75
|
GeographicSymbolSeriesView.prototype.cy = function () {
|
|
76
76
|
this.cu.w5.yy = this.cu.yd;
|
|
@@ -106,7 +106,7 @@ var TileSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
106
106
|
if (f != null && typeCast(XamGeographicMap.$, this.dc) !== null) {
|
|
107
107
|
f.geographicMap = this.dc;
|
|
108
108
|
this.aao(this.cw);
|
|
109
|
-
this.aac.dr(this.dc.
|
|
109
|
+
this.aac.dr(this.dc.wt);
|
|
110
110
|
}
|
|
111
111
|
this.qn();
|
|
112
112
|
break;
|