igniteui-angular-maps 14.1.1 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-maps.umd.js +1512 -1461
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/GeographicContourLineSeriesView_combined.js +36 -36
- package/esm2015/lib/GeographicHighDensityScatterSeriesView_combined.js +79 -79
- package/esm2015/lib/GeographicMapSeriesHost_combined.js +176 -176
- package/esm2015/lib/GeographicMarkerSeries.js +29 -29
- package/esm2015/lib/GeographicPolylineSeriesView_combined.js +17 -17
- package/esm2015/lib/GeographicProportionalSymbolSeriesView_combined.js +89 -89
- package/esm2015/lib/GeographicShapeSeriesBase_combined.js +60 -60
- package/esm2015/lib/GeographicShapeSeriesView_combined.js +56 -56
- package/esm2015/lib/GeographicSymbolSeriesView_combined.js +56 -56
- package/esm2015/lib/GeographicTileSeries.js +28 -28
- package/esm2015/lib/TileSeries_combined.js +88 -88
- package/esm2015/lib/XamGeographicMap_combined.js +472 -460
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +27 -24
- package/esm2015/lib/igx-geographic-high-density-scatter-series-component.js +23 -23
- package/esm2015/lib/igx-geographic-map-component.js +52 -50
- package/esm2015/lib/igx-geographic-map-imagery.js +25 -2
- package/esm2015/lib/igx-geographic-map-series-host-component.js +21 -21
- package/esm2015/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm2015/lib/igx-geographic-polyline-series-component.js +11 -11
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +44 -42
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +19 -17
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +26 -20
- package/esm2015/lib/igx-geographic-shape-series-component.js +33 -33
- package/esm2015/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm2015/lib/igx-geographic-tile-series-component.js +6 -5
- package/esm2015/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm2015/lib/igx-tile-series-component.js +5 -4
- package/esm5/lib/GeographicContourLineSeriesView_combined.js +36 -36
- package/esm5/lib/GeographicHighDensityScatterSeriesView_combined.js +79 -79
- package/esm5/lib/GeographicMapSeriesHost_combined.js +174 -174
- package/esm5/lib/GeographicMarkerSeries.js +29 -29
- package/esm5/lib/GeographicPolylineSeriesView_combined.js +17 -17
- package/esm5/lib/GeographicProportionalSymbolSeriesView_combined.js +89 -89
- package/esm5/lib/GeographicShapeSeriesBase_combined.js +59 -59
- package/esm5/lib/GeographicShapeSeriesView_combined.js +56 -56
- package/esm5/lib/GeographicSymbolSeriesView_combined.js +56 -56
- package/esm5/lib/GeographicTileSeries.js +27 -27
- package/esm5/lib/TileSeries_combined.js +86 -86
- package/esm5/lib/XamGeographicMap_combined.js +465 -453
- package/esm5/lib/igx-geographic-contour-line-series-component.js +27 -24
- package/esm5/lib/igx-geographic-high-density-scatter-series-component.js +23 -23
- package/esm5/lib/igx-geographic-map-component.js +52 -50
- package/esm5/lib/igx-geographic-map-imagery.js +26 -3
- package/esm5/lib/igx-geographic-map-series-host-component.js +21 -21
- package/esm5/lib/igx-geographic-marker-series-component.js +22 -22
- package/esm5/lib/igx-geographic-polyline-series-component.js +11 -11
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +44 -42
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +19 -17
- package/esm5/lib/igx-geographic-shape-series-base-component.js +26 -20
- package/esm5/lib/igx-geographic-shape-series-component.js +33 -33
- package/esm5/lib/igx-geographic-symbol-series-component.js +14 -14
- package/esm5/lib/igx-geographic-tile-series-component.js +6 -5
- package/esm5/lib/igx-geographic-xy-triangulating-series-component.js +12 -12
- package/esm5/lib/igx-tile-series-component.js +5 -4
- package/fesm2015/igniteui-angular-maps.js +1525 -1474
- package/fesm5/igniteui-angular-maps.js +1513 -1462
- package/lib/GeographicContourLineSeriesView_combined.d.ts +14 -14
- package/lib/GeographicHighDensityScatterSeriesView_combined.d.ts +24 -24
- package/lib/GeographicMapSeriesHost_combined.d.ts +39 -39
- package/lib/GeographicMarkerSeries.d.ts +18 -18
- package/lib/GeographicMarkerSeriesBase.d.ts +1 -1
- package/lib/GeographicPolylineSeriesView_combined.d.ts +8 -8
- package/lib/GeographicProportionalSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicProportionalSymbolSeriesView_combined.d.ts +25 -25
- package/lib/GeographicShapeSeriesBaseBase.d.ts +1 -1
- package/lib/GeographicShapeSeriesBase_combined.d.ts +23 -23
- package/lib/GeographicShapeSeriesView_combined.d.ts +27 -27
- package/lib/GeographicSymbolSeriesBase.d.ts +1 -1
- package/lib/GeographicSymbolSeriesView_combined.d.ts +19 -19
- package/lib/GeographicTileSeries.d.ts +10 -10
- package/lib/GeographicXYTriangulatingSeriesBase.d.ts +1 -1
- package/lib/TileSeries_combined.d.ts +21 -21
- package/lib/XamGeographicMap_combined.d.ts +112 -112
- package/lib/igx-geographic-map-imagery.d.ts +4 -1
- package/package.json +2 -2
|
@@ -30,79 +30,82 @@ export let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
30
30
|
* Gets whether the current series shows a line contour shape.
|
|
31
31
|
*/
|
|
32
32
|
get isLineContour() {
|
|
33
|
-
return this.i.
|
|
33
|
+
return this.i.d1;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* The name of the property from which to retrieve the numeric values from the ItemsSource items.
|
|
37
37
|
*/
|
|
38
38
|
get valueMemberPath() {
|
|
39
|
-
return this.i.
|
|
39
|
+
return this.i.q9;
|
|
40
40
|
}
|
|
41
41
|
set valueMemberPath(v) {
|
|
42
|
-
this.i.
|
|
42
|
+
this.i.q9 = v;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* The ValueBrushScale to use when determining Brushes for each contour line, based on the values found in ValueMemberPath.
|
|
46
46
|
*/
|
|
47
47
|
get fillScale() {
|
|
48
|
-
|
|
48
|
+
const r = this.i.q5;
|
|
49
|
+
if (r == null) {
|
|
49
50
|
return null;
|
|
50
51
|
}
|
|
51
|
-
if (!
|
|
52
|
-
let e = IgxValueBrushScaleComponent._createFromInternal(
|
|
52
|
+
if (!r.externalObject) {
|
|
53
|
+
let e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
53
54
|
if (e) {
|
|
54
|
-
e._implementation =
|
|
55
|
+
e._implementation = r;
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
+
r.externalObject = e;
|
|
57
58
|
}
|
|
58
|
-
return
|
|
59
|
+
return r.externalObject;
|
|
59
60
|
}
|
|
60
61
|
set fillScale(v) {
|
|
61
62
|
if (v != null && this._stylingContainer && v._styling)
|
|
62
63
|
v._styling(this._stylingContainer, this, this);
|
|
63
|
-
v == null ? this.i.
|
|
64
|
+
v == null ? this.i.q5 = null : this.i.q5 = v.i;
|
|
64
65
|
}
|
|
65
66
|
/**
|
|
66
67
|
* Gets actual fill scale that is set on the FillScale property or default FillScale
|
|
67
68
|
*/
|
|
68
69
|
get actualFillScale() {
|
|
69
|
-
|
|
70
|
+
const r = this.i.q4;
|
|
71
|
+
if (r == null) {
|
|
70
72
|
return null;
|
|
71
73
|
}
|
|
72
|
-
if (!
|
|
73
|
-
let e = IgxValueBrushScaleComponent._createFromInternal(
|
|
74
|
+
if (!r.externalObject) {
|
|
75
|
+
let e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
74
76
|
if (e) {
|
|
75
|
-
e._implementation =
|
|
77
|
+
e._implementation = r;
|
|
76
78
|
}
|
|
77
|
-
|
|
79
|
+
r.externalObject = e;
|
|
78
80
|
}
|
|
79
|
-
return
|
|
81
|
+
return r.externalObject;
|
|
80
82
|
}
|
|
81
83
|
set actualFillScale(v) {
|
|
82
84
|
if (v != null && this._stylingContainer && v._styling)
|
|
83
85
|
v._styling(this._stylingContainer, this, this);
|
|
84
|
-
v == null ? this.i.
|
|
86
|
+
v == null ? this.i.q4 = null : this.i.q4 = v.i;
|
|
85
87
|
}
|
|
86
88
|
/**
|
|
87
89
|
* The ContourValueResolver used to determine the numeric values of contours.
|
|
88
90
|
*/
|
|
89
91
|
get valueResolver() {
|
|
90
|
-
|
|
92
|
+
const r = this.i.q1;
|
|
93
|
+
if (r == null) {
|
|
91
94
|
return null;
|
|
92
95
|
}
|
|
93
|
-
if (!
|
|
94
|
-
let e = IgxContourValueResolverComponent._createFromInternal(
|
|
96
|
+
if (!r.externalObject) {
|
|
97
|
+
let e = IgxContourValueResolverComponent._createFromInternal(r);
|
|
95
98
|
if (e) {
|
|
96
|
-
e._implementation =
|
|
99
|
+
e._implementation = r;
|
|
97
100
|
}
|
|
98
|
-
|
|
101
|
+
r.externalObject = e;
|
|
99
102
|
}
|
|
100
|
-
return
|
|
103
|
+
return r.externalObject;
|
|
101
104
|
}
|
|
102
105
|
set valueResolver(v) {
|
|
103
106
|
if (v != null && this._stylingContainer && v._styling)
|
|
104
107
|
v._styling(this._stylingContainer, this, this);
|
|
105
|
-
v == null ? this.i.
|
|
108
|
+
v == null ? this.i.q1 = null : this.i.q1 = v.i;
|
|
106
109
|
}
|
|
107
110
|
findByName(name) {
|
|
108
111
|
var baseResult = super.findByName(name);
|
|
@@ -29,106 +29,106 @@ export let IgxGeographicHighDensityScatterSeriesComponent = /*@__PURE__*/ (() =>
|
|
|
29
29
|
* Gets whether the current series shows pixels.
|
|
30
30
|
*/
|
|
31
31
|
get isPixel() {
|
|
32
|
-
return this.i.
|
|
32
|
+
return this.i.d6;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* The name of the property of ItemsSource items which contains the latitude coordinate of the symbol.
|
|
36
36
|
*/
|
|
37
37
|
get latitudeMemberPath() {
|
|
38
|
-
return this.i.
|
|
38
|
+
return this.i.qx;
|
|
39
39
|
}
|
|
40
40
|
set latitudeMemberPath(v) {
|
|
41
|
-
this.i.
|
|
41
|
+
this.i.qx = v;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* The name of the property of ItemsSource items which contains the longitude coordinate of the symbol.
|
|
45
45
|
*/
|
|
46
46
|
get longitudeMemberPath() {
|
|
47
|
-
return this.i.
|
|
47
|
+
return this.i.qz;
|
|
48
48
|
}
|
|
49
49
|
set longitudeMemberPath(v) {
|
|
50
|
-
this.i.
|
|
50
|
+
this.i.qz = v;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Gets or sets the whether to use use brute force mode.
|
|
54
54
|
*/
|
|
55
55
|
get useBruteForce() {
|
|
56
|
-
return this.i.
|
|
56
|
+
return this.i.qm;
|
|
57
57
|
}
|
|
58
58
|
set useBruteForce(v) {
|
|
59
|
-
this.i.
|
|
59
|
+
this.i.qm = ensureBool(v);
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Gets or sets the whether to progressively load the data into the chart.
|
|
63
63
|
*/
|
|
64
64
|
get progressiveLoad() {
|
|
65
|
-
return this.i.
|
|
65
|
+
return this.i.ql;
|
|
66
66
|
}
|
|
67
67
|
set progressiveLoad(v) {
|
|
68
|
-
this.i.
|
|
68
|
+
this.i.ql = ensureBool(v);
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Gets or sets the whether the chart reacts to mouse move events.
|
|
72
72
|
*/
|
|
73
73
|
get mouseOverEnabled() {
|
|
74
|
-
return this.i.
|
|
74
|
+
return this.i.qk;
|
|
75
75
|
}
|
|
76
76
|
set mouseOverEnabled(v) {
|
|
77
|
-
this.i.
|
|
77
|
+
this.i.qk = ensureBool(v);
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Gets or sets the density value that maps to the minimum heat color.
|
|
81
81
|
*/
|
|
82
82
|
get heatMinimum() {
|
|
83
|
-
return this.i.
|
|
83
|
+
return this.i.qo;
|
|
84
84
|
}
|
|
85
85
|
set heatMinimum(v) {
|
|
86
|
-
this.i.
|
|
86
|
+
this.i.qo = +v;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Gets or sets the value that maps to the maximum heat color.
|
|
90
90
|
*/
|
|
91
91
|
get heatMaximum() {
|
|
92
|
-
return this.i.
|
|
92
|
+
return this.i.qn;
|
|
93
93
|
}
|
|
94
94
|
set heatMaximum(v) {
|
|
95
|
-
this.i.
|
|
95
|
+
this.i.qn = +v;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Gets or sets the color to use for the minimum end of the scale.
|
|
99
99
|
*/
|
|
100
100
|
get heatMinimumColor() {
|
|
101
|
-
return colorToString(this.i.
|
|
101
|
+
return colorToString(this.i.ri);
|
|
102
102
|
}
|
|
103
103
|
set heatMinimumColor(v) {
|
|
104
|
-
this.i.
|
|
104
|
+
this.i.ri = stringToColor(v);
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Gets or sets the color to use for the maximum end of the scale.
|
|
108
108
|
*/
|
|
109
109
|
get heatMaximumColor() {
|
|
110
|
-
return colorToString(this.i.
|
|
110
|
+
return colorToString(this.i.rh);
|
|
111
111
|
}
|
|
112
112
|
set heatMaximumColor(v) {
|
|
113
|
-
this.i.
|
|
113
|
+
this.i.rh = stringToColor(v);
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* Gets or sets the the pixel extent of the square data points that are rendered.
|
|
117
117
|
*/
|
|
118
118
|
get pointExtent() {
|
|
119
|
-
return this.i.
|
|
119
|
+
return this.i.qr;
|
|
120
120
|
}
|
|
121
121
|
set pointExtent(v) {
|
|
122
|
-
this.i.
|
|
122
|
+
this.i.qr = +v;
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Represents the current status of the progressive load of the series. It will range from 0 to 100, where 100 is fully loaded.
|
|
126
126
|
*/
|
|
127
127
|
get progressiveStatus() {
|
|
128
|
-
return this.i.
|
|
128
|
+
return this.i.qs;
|
|
129
129
|
}
|
|
130
130
|
set progressiveStatus(v) {
|
|
131
|
-
this.i.
|
|
131
|
+
this.i.qs = +v;
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* Raised when the progressive loading state of the series has changed.
|
|
@@ -260,149 +260,151 @@ 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.ue;
|
|
264
264
|
}
|
|
265
265
|
set zoomable(v) {
|
|
266
|
-
this.i.
|
|
266
|
+
this.i.ue = 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.t7;
|
|
273
273
|
}
|
|
274
274
|
set resizeBehavior(v) {
|
|
275
|
-
this.i.
|
|
275
|
+
this.i.t7 = 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.ub;
|
|
282
282
|
}
|
|
283
283
|
set isHorizontalWrappingEnabled(v) {
|
|
284
|
-
this.i.
|
|
284
|
+
this.i.ub = 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.t3;
|
|
291
291
|
}
|
|
292
292
|
set backgroundTilingMode(v) {
|
|
293
|
-
this.i.
|
|
293
|
+
this.i.t3 = 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.ud;
|
|
300
300
|
}
|
|
301
301
|
set useWorldRectForZoomBounds(v) {
|
|
302
|
-
this.i.
|
|
302
|
+
this.i.ud = 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.uc;
|
|
309
309
|
}
|
|
310
310
|
set suppressZoomResetOnWorldRectChange(v) {
|
|
311
|
-
this.i.
|
|
311
|
+
this.i.uc = 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.v9);
|
|
318
318
|
}
|
|
319
319
|
set worldRect(v) {
|
|
320
|
-
this.i.
|
|
320
|
+
this.i.v9 = 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.vx);
|
|
327
327
|
}
|
|
328
328
|
set actualWorldRect(v) {
|
|
329
|
-
this.i.
|
|
329
|
+
this.i.vx = 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
|
-
|
|
336
|
+
const r = this.i.tw;
|
|
337
|
+
if (r == null) {
|
|
337
338
|
return null;
|
|
338
339
|
}
|
|
339
|
-
if (!
|
|
340
|
-
let e = IgxNumericXAxisComponent._createFromInternal(
|
|
340
|
+
if (!r.externalObject) {
|
|
341
|
+
let e = IgxNumericXAxisComponent._createFromInternal(r);
|
|
341
342
|
if (e) {
|
|
342
|
-
e._implementation =
|
|
343
|
+
e._implementation = r;
|
|
343
344
|
}
|
|
344
|
-
|
|
345
|
+
r.externalObject = e;
|
|
345
346
|
}
|
|
346
|
-
return
|
|
347
|
+
return r.externalObject;
|
|
347
348
|
}
|
|
348
349
|
set xAxis(v) {
|
|
349
350
|
if (v != null && this._stylingContainer && v._styling)
|
|
350
351
|
v._styling(this._stylingContainer, this, this);
|
|
351
|
-
v == null ? this.i.
|
|
352
|
+
v == null ? this.i.tw = null : this.i.tw = v.i;
|
|
352
353
|
}
|
|
353
354
|
/**
|
|
354
355
|
* The Y-axis for this IgxGeographicMap.Component
|
|
355
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.
|
|
356
357
|
*/
|
|
357
358
|
get yAxis() {
|
|
358
|
-
|
|
359
|
+
const r = this.i.ty;
|
|
360
|
+
if (r == null) {
|
|
359
361
|
return null;
|
|
360
362
|
}
|
|
361
|
-
if (!
|
|
362
|
-
let e = IgxNumericYAxisComponent._createFromInternal(
|
|
363
|
+
if (!r.externalObject) {
|
|
364
|
+
let e = IgxNumericYAxisComponent._createFromInternal(r);
|
|
363
365
|
if (e) {
|
|
364
|
-
e._implementation =
|
|
366
|
+
e._implementation = r;
|
|
365
367
|
}
|
|
366
|
-
|
|
368
|
+
r.externalObject = e;
|
|
367
369
|
}
|
|
368
|
-
return
|
|
370
|
+
return r.externalObject;
|
|
369
371
|
}
|
|
370
372
|
set yAxis(v) {
|
|
371
373
|
if (v != null && this._stylingContainer && v._styling)
|
|
372
374
|
v._styling(this._stylingContainer, this, this);
|
|
373
|
-
v == null ? this.i.
|
|
375
|
+
v == null ? this.i.ty = null : this.i.ty = v.i;
|
|
374
376
|
}
|
|
375
377
|
/**
|
|
376
378
|
* Indicates if this SeriesViewer is a map.
|
|
377
379
|
*/
|
|
378
380
|
get isMap() {
|
|
379
|
-
return this.i.
|
|
381
|
+
return this.i.ej;
|
|
380
382
|
}
|
|
381
383
|
/**
|
|
382
384
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
383
385
|
* This property is effectively a shortcut to the Width/Height of the WindowRect property.
|
|
384
386
|
*/
|
|
385
387
|
get windowScale() {
|
|
386
|
-
return this.i.
|
|
388
|
+
return this.i.uj;
|
|
387
389
|
}
|
|
388
390
|
set windowScale(v) {
|
|
389
|
-
this.i.
|
|
391
|
+
this.i.uj = +v;
|
|
390
392
|
}
|
|
391
393
|
/**
|
|
392
394
|
* A number between 0 and 1 determining the scale of the horizontal/vertical zoom.
|
|
393
395
|
* This property is effectively a shortcut to the Width/Height of the ActualWindowRect property.
|
|
394
396
|
*/
|
|
395
397
|
get actualWindowScale() {
|
|
396
|
-
return this.i.
|
|
398
|
+
return this.i.ui;
|
|
397
399
|
}
|
|
398
400
|
set actualWindowScale(v) {
|
|
399
|
-
this.i.
|
|
401
|
+
this.i.ui = +v;
|
|
400
402
|
}
|
|
401
403
|
/**
|
|
402
404
|
* Gets whether or not the control is ready for zooming
|
|
403
405
|
*/
|
|
404
406
|
get zoomIsReady() {
|
|
405
|
-
return this.i.
|
|
407
|
+
return this.i.uf;
|
|
406
408
|
}
|
|
407
409
|
findByName(name) {
|
|
408
410
|
var baseResult = super.findByName(name);
|
|
@@ -430,7 +432,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
430
432
|
|
|
431
433
|
*/
|
|
432
434
|
getCurrentActualWorldRect() {
|
|
433
|
-
let iv = this.i.
|
|
435
|
+
let iv = this.i.v1();
|
|
434
436
|
return fromRect(iv);
|
|
435
437
|
}
|
|
436
438
|
/**
|
|
@@ -447,14 +449,14 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
447
449
|
|
|
448
450
|
*/
|
|
449
451
|
updateZoomWindow(zoomWindow) {
|
|
450
|
-
this.i.
|
|
452
|
+
this.i.vd(toRect(zoomWindow));
|
|
451
453
|
}
|
|
452
454
|
/**
|
|
453
455
|
* Updates world rect in geographic coordinates
|
|
454
456
|
|
|
455
457
|
*/
|
|
456
458
|
updateWorldRect(worldRect) {
|
|
457
|
-
this.i.
|
|
459
|
+
this.i.vc(toRect(worldRect));
|
|
458
460
|
}
|
|
459
461
|
/**
|
|
460
462
|
* Given the current plot area of the control and a geographic region, get the WindowRect that would encompass that geographic region.
|
|
@@ -466,7 +468,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
466
468
|
return fromRect(iv);
|
|
467
469
|
}
|
|
468
470
|
convertGeographicToZoom(geographic, extraPixelPadding) {
|
|
469
|
-
let iv = this.i.
|
|
471
|
+
let iv = this.i.vy(toRect(geographic), extraPixelPadding);
|
|
470
472
|
return fromRect(iv);
|
|
471
473
|
}
|
|
472
474
|
getZoomFromGeographicPoints(northWest, southEast) {
|
|
@@ -479,7 +481,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
479
481
|
* @param windowRect * The zoom area.
|
|
480
482
|
*/
|
|
481
483
|
getGeographicFromZoom(windowRect) {
|
|
482
|
-
let iv = this.i.
|
|
484
|
+
let iv = this.i.v3(toRect(windowRect));
|
|
483
485
|
return fromRect(iv);
|
|
484
486
|
}
|
|
485
487
|
/**
|
|
@@ -488,7 +490,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
488
490
|
* @param pixelCoordinate * A pixel-based coordinate
|
|
489
491
|
*/
|
|
490
492
|
getGeographicPoint(pixelCoordinate) {
|
|
491
|
-
let iv = this.i.
|
|
493
|
+
let iv = this.i.vp(toPoint(pixelCoordinate));
|
|
492
494
|
return fromPoint(iv);
|
|
493
495
|
}
|
|
494
496
|
/**
|
|
@@ -497,7 +499,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
497
499
|
* @param geographicCoordinate * A geographic coordinate
|
|
498
500
|
*/
|
|
499
501
|
getPixelPoint(geographicCoordinate) {
|
|
500
|
-
let iv = this.i.
|
|
502
|
+
let iv = this.i.vq(toPoint(geographicCoordinate));
|
|
501
503
|
return fromPoint(iv);
|
|
502
504
|
}
|
|
503
505
|
/**
|
|
@@ -506,7 +508,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
506
508
|
* @param geographicCoordinate * A geographic coordinate
|
|
507
509
|
*/
|
|
508
510
|
getWindowPoint(geographicCoordinate) {
|
|
509
|
-
let iv = this.i.
|
|
511
|
+
let iv = this.i.vr(toPoint(geographicCoordinate));
|
|
510
512
|
return fromPoint(iv);
|
|
511
513
|
}
|
|
512
514
|
/**
|
|
@@ -514,21 +516,21 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
514
516
|
|
|
515
517
|
*/
|
|
516
518
|
clearTileCache() {
|
|
517
|
-
this.i.
|
|
519
|
+
this.i.u0();
|
|
518
520
|
}
|
|
519
521
|
/**
|
|
520
522
|
* Notifies the chart that the CSS styles in effect have been updated.
|
|
521
523
|
|
|
522
524
|
*/
|
|
523
525
|
styleUpdated() {
|
|
524
|
-
this.i.
|
|
526
|
+
this.i.u8();
|
|
525
527
|
}
|
|
526
528
|
/**
|
|
527
529
|
* Gets actual window scale for horizontal dimension of the control
|
|
528
530
|
|
|
529
531
|
*/
|
|
530
532
|
getActualWindowScaleHorizontal() {
|
|
531
|
-
let iv = this.i.
|
|
533
|
+
let iv = this.i.gm();
|
|
532
534
|
return (iv);
|
|
533
535
|
}
|
|
534
536
|
/**
|
|
@@ -536,7 +538,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
536
538
|
|
|
537
539
|
*/
|
|
538
540
|
getActualWindowScaleVertical() {
|
|
539
|
-
let iv = this.i.
|
|
541
|
+
let iv = this.i.gn();
|
|
540
542
|
return (iv);
|
|
541
543
|
}
|
|
542
544
|
/**
|
|
@@ -551,7 +553,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
551
553
|
|
|
552
554
|
*/
|
|
553
555
|
exportVisualData() {
|
|
554
|
-
let iv = this.i.
|
|
556
|
+
let iv = this.i.um();
|
|
555
557
|
return (iv);
|
|
556
558
|
}
|
|
557
559
|
/**
|
|
@@ -560,7 +562,7 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
560
562
|
* @param geographic * The geographic region to zoom to.
|
|
561
563
|
*/
|
|
562
564
|
zoomToGeographic(geographic) {
|
|
563
|
-
this.i.
|
|
565
|
+
this.i.vf(toRect(geographic));
|
|
564
566
|
}
|
|
565
567
|
/**
|
|
566
568
|
* This event is fired whenever the image tiles transition from a loading state (e.g. some are fading in) to a loaded state.
|
|
@@ -4,6 +4,7 @@ import { IgxImageTilesReadyEventArgs } from "./igx-image-tiles-ready-event-args"
|
|
|
4
4
|
import { IgxImagesChangedEventArgs } from "./igx-images-changed-event-args";
|
|
5
5
|
import { IgxCancellingMultiScaleImageEventArgs } from "igniteui-angular-core";
|
|
6
6
|
import { IgxDownloadingMultiScaleImageEventArgs } from "igniteui-angular-core";
|
|
7
|
+
import { TypeRegistrar } from "igniteui-angular-core";
|
|
7
8
|
import { fromRect, toRect, ensureBool } from "igniteui-angular-core";
|
|
8
9
|
/**
|
|
9
10
|
* Control class used for displaying multi-scale TileSource imagery. Designed to be used for background imagery in the IgxGeographicMap.Component
|
|
@@ -27,6 +28,22 @@ export class IgxGeographicMapImagery {
|
|
|
27
28
|
*/
|
|
28
29
|
get i() {
|
|
29
30
|
return this._implementation;
|
|
31
|
+
} /**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
static _createFromInternal(internal) {
|
|
35
|
+
if (!internal) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
if (!internal.$type) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
let name = internal.$type.name;
|
|
42
|
+
let externalName = "Igx" + name + "Component";
|
|
43
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return TypeRegistrar.create(externalName);
|
|
30
47
|
}
|
|
31
48
|
onImplementationCreated() {
|
|
32
49
|
}
|
|
@@ -58,10 +75,11 @@ export class IgxGeographicMapImagery {
|
|
|
58
75
|
* The IgxGeographicMapComponent which is hosting this GeographicMapImagery control.
|
|
59
76
|
*/
|
|
60
77
|
get geographicMap() {
|
|
61
|
-
|
|
78
|
+
const r = this.i.geographicMap;
|
|
79
|
+
if (r == null) {
|
|
62
80
|
return null;
|
|
63
81
|
}
|
|
64
|
-
return
|
|
82
|
+
return r.externalObject;
|
|
65
83
|
}
|
|
66
84
|
set geographicMap(v) {
|
|
67
85
|
v == null ? this.i.geographicMap = null : this.i.geographicMap = v.i;
|
|
@@ -100,6 +118,11 @@ export class IgxGeographicMapImagery {
|
|
|
100
118
|
this.i.opacity = +v;
|
|
101
119
|
}
|
|
102
120
|
findByName(name) {
|
|
121
|
+
if (this.findEphemera) {
|
|
122
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
123
|
+
return this.findEphemera(name);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
103
126
|
if (this.geographicMap && this.geographicMap.name && this.geographicMap.name == name) {
|
|
104
127
|
return this.geographicMap;
|
|
105
128
|
}
|