igniteui-angular-maps 14.1.2 → 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 +105 -66
- package/bundles/igniteui-angular-maps.umd.min.js +1 -1
- package/esm2015/lib/igx-geographic-contour-line-series-component.js +21 -18
- package/esm2015/lib/igx-geographic-map-component.js +14 -12
- package/esm2015/lib/igx-geographic-map-imagery.js +25 -2
- package/esm2015/lib/igx-geographic-proportional-symbol-series-component.js +14 -12
- package/esm2015/lib/igx-geographic-scatter-area-series-component.js +14 -12
- package/esm2015/lib/igx-geographic-shape-series-base-component.js +11 -5
- package/esm2015/lib/igx-geographic-tile-series-component.js +3 -2
- package/esm2015/lib/igx-tile-series-component.js +3 -2
- package/esm5/lib/igx-geographic-contour-line-series-component.js +21 -18
- package/esm5/lib/igx-geographic-map-component.js +14 -12
- package/esm5/lib/igx-geographic-map-imagery.js +26 -3
- package/esm5/lib/igx-geographic-proportional-symbol-series-component.js +14 -12
- package/esm5/lib/igx-geographic-scatter-area-series-component.js +14 -12
- package/esm5/lib/igx-geographic-shape-series-base-component.js +11 -5
- package/esm5/lib/igx-geographic-tile-series-component.js +3 -2
- package/esm5/lib/igx-tile-series-component.js +3 -2
- package/fesm2015/igniteui-angular-maps.js +104 -65
- package/fesm5/igniteui-angular-maps.js +105 -66
- package/lib/igx-geographic-map-imagery.d.ts +4 -1
- package/package.json +2 -2
|
@@ -45,17 +45,18 @@ export let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
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)
|
|
@@ -66,17 +67,18 @@ export let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
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)
|
|
@@ -87,17 +89,18 @@ export let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
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)
|
|
@@ -333,17 +333,18 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
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)
|
|
@@ -355,17 +356,18 @@ export let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
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)
|
|
@@ -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
|
}
|
|
@@ -68,17 +68,18 @@ export let IgxGeographicProportionalSymbolSeriesComponent = /*@__PURE__*/ (() =>
|
|
|
68
68
|
* Gets or sets the radius size scale for the bubbles.
|
|
69
69
|
*/
|
|
70
70
|
get radiusScale() {
|
|
71
|
-
|
|
71
|
+
const r = this.i.rl;
|
|
72
|
+
if (r == null) {
|
|
72
73
|
return null;
|
|
73
74
|
}
|
|
74
|
-
if (!
|
|
75
|
-
let e = IgxSizeScaleComponent._createFromInternal(
|
|
75
|
+
if (!r.externalObject) {
|
|
76
|
+
let e = IgxSizeScaleComponent._createFromInternal(r);
|
|
76
77
|
if (e) {
|
|
77
|
-
e._implementation =
|
|
78
|
+
e._implementation = r;
|
|
78
79
|
}
|
|
79
|
-
|
|
80
|
+
r.externalObject = e;
|
|
80
81
|
}
|
|
81
|
-
return
|
|
82
|
+
return r.externalObject;
|
|
82
83
|
}
|
|
83
84
|
set radiusScale(v) {
|
|
84
85
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -107,17 +108,18 @@ export let IgxGeographicProportionalSymbolSeriesComponent = /*@__PURE__*/ (() =>
|
|
|
107
108
|
* Gets or sets the brush scale for the marker brush.
|
|
108
109
|
*/
|
|
109
110
|
get fillScale() {
|
|
110
|
-
|
|
111
|
+
const r = this.i.ri;
|
|
112
|
+
if (r == null) {
|
|
111
113
|
return null;
|
|
112
114
|
}
|
|
113
|
-
if (!
|
|
114
|
-
let e = IgxBrushScaleComponent._createFromInternal(
|
|
115
|
+
if (!r.externalObject) {
|
|
116
|
+
let e = IgxBrushScaleComponent._createFromInternal(r);
|
|
115
117
|
if (e) {
|
|
116
|
-
e._implementation =
|
|
118
|
+
e._implementation = r;
|
|
117
119
|
}
|
|
118
|
-
|
|
120
|
+
r.externalObject = e;
|
|
119
121
|
}
|
|
120
|
-
return
|
|
122
|
+
return r.externalObject;
|
|
121
123
|
}
|
|
122
124
|
set fillScale(v) {
|
|
123
125
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -44,17 +44,18 @@ export let IgxGeographicScatterAreaSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
44
44
|
* The ColorScale used to resolve the color values of points in the series.
|
|
45
45
|
*/
|
|
46
46
|
get colorScale() {
|
|
47
|
-
|
|
47
|
+
const r = this.i.q3;
|
|
48
|
+
if (r == null) {
|
|
48
49
|
return null;
|
|
49
50
|
}
|
|
50
|
-
if (!
|
|
51
|
-
let e = IgxColorScaleComponent._createFromInternal(
|
|
51
|
+
if (!r.externalObject) {
|
|
52
|
+
let e = IgxColorScaleComponent._createFromInternal(r);
|
|
52
53
|
if (e) {
|
|
53
|
-
e._implementation =
|
|
54
|
+
e._implementation = r;
|
|
54
55
|
}
|
|
55
|
-
|
|
56
|
+
r.externalObject = e;
|
|
56
57
|
}
|
|
57
|
-
return
|
|
58
|
+
return r.externalObject;
|
|
58
59
|
}
|
|
59
60
|
set colorScale(v) {
|
|
60
61
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -65,17 +66,18 @@ export let IgxGeographicScatterAreaSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
65
66
|
* Gets actual color scale that is set on ColorScale property or default ColorScale
|
|
66
67
|
*/
|
|
67
68
|
get actualColorScale() {
|
|
68
|
-
|
|
69
|
+
const r = this.i.q2;
|
|
70
|
+
if (r == null) {
|
|
69
71
|
return null;
|
|
70
72
|
}
|
|
71
|
-
if (!
|
|
72
|
-
let e = IgxColorScaleComponent._createFromInternal(
|
|
73
|
+
if (!r.externalObject) {
|
|
74
|
+
let e = IgxColorScaleComponent._createFromInternal(r);
|
|
73
75
|
if (e) {
|
|
74
|
-
e._implementation =
|
|
76
|
+
e._implementation = r;
|
|
75
77
|
}
|
|
76
|
-
|
|
78
|
+
r.externalObject = e;
|
|
77
79
|
}
|
|
78
|
-
return
|
|
80
|
+
return r.externalObject;
|
|
79
81
|
}
|
|
80
82
|
set actualColorScale(v) {
|
|
81
83
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -138,15 +138,21 @@ export let IgxGeographicShapeSeriesBaseComponent = /*@__PURE__*/ (() => {
|
|
|
138
138
|
* Set a shapefile datasource to use with the series.
|
|
139
139
|
*/
|
|
140
140
|
get shapefileDataSource() {
|
|
141
|
-
|
|
141
|
+
const r = this.i.qn;
|
|
142
|
+
if (r == null) {
|
|
142
143
|
return null;
|
|
143
144
|
}
|
|
144
|
-
if (!
|
|
145
|
+
if (!r.externalObject) {
|
|
145
146
|
let e = new IgxShapeDataSource();
|
|
146
|
-
e.
|
|
147
|
-
|
|
147
|
+
if (e.i.setNativeElement) {
|
|
148
|
+
e.i.setNativeElement(r);
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
e._implementation = r;
|
|
152
|
+
}
|
|
153
|
+
r.externalObject = e;
|
|
148
154
|
}
|
|
149
|
-
return
|
|
155
|
+
return r.externalObject;
|
|
150
156
|
}
|
|
151
157
|
set shapefileDataSource(v) {
|
|
152
158
|
v == null ? this.i.qn = null : this.i.qn = v.i;
|
|
@@ -34,10 +34,11 @@ export let IgxGeographicTileSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
34
34
|
* The MapImagery which is used to provide the tiles for display.
|
|
35
35
|
*/
|
|
36
36
|
get tileImagery() {
|
|
37
|
-
|
|
37
|
+
const r = this.i.ri;
|
|
38
|
+
if (r == null) {
|
|
38
39
|
return null;
|
|
39
40
|
}
|
|
40
|
-
return
|
|
41
|
+
return r.externalObject;
|
|
41
42
|
}
|
|
42
43
|
set tileImagery(v) {
|
|
43
44
|
v == null ? this.i.ri = null : this.i.ri = v.i;
|
|
@@ -30,10 +30,11 @@ export let IgxTileSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
30
30
|
* The MapImagery which is used to provide the tiles for display.
|
|
31
31
|
*/
|
|
32
32
|
get tileImagery() {
|
|
33
|
-
|
|
33
|
+
const r = this.i.sz;
|
|
34
|
+
if (r == null) {
|
|
34
35
|
return null;
|
|
35
36
|
}
|
|
36
|
-
return
|
|
37
|
+
return r.externalObject;
|
|
37
38
|
}
|
|
38
39
|
set tileImagery(v) {
|
|
39
40
|
v == null ? this.i.sz = null : this.i.sz = v.i;
|
|
@@ -60,17 +60,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
|
|
|
60
60
|
* The ValueBrushScale to use when determining Brushes for each contour line, based on the values found in ValueMemberPath.
|
|
61
61
|
*/
|
|
62
62
|
get: function () {
|
|
63
|
-
|
|
63
|
+
var r = this.i.q5;
|
|
64
|
+
if (r == null) {
|
|
64
65
|
return null;
|
|
65
66
|
}
|
|
66
|
-
if (!
|
|
67
|
-
var e = IgxValueBrushScaleComponent._createFromInternal(
|
|
67
|
+
if (!r.externalObject) {
|
|
68
|
+
var e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
68
69
|
if (e) {
|
|
69
|
-
e._implementation =
|
|
70
|
+
e._implementation = r;
|
|
70
71
|
}
|
|
71
|
-
|
|
72
|
+
r.externalObject = e;
|
|
72
73
|
}
|
|
73
|
-
return
|
|
74
|
+
return r.externalObject;
|
|
74
75
|
},
|
|
75
76
|
set: function (v) {
|
|
76
77
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -85,17 +86,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
|
|
|
85
86
|
* Gets actual fill scale that is set on the FillScale property or default FillScale
|
|
86
87
|
*/
|
|
87
88
|
get: function () {
|
|
88
|
-
|
|
89
|
+
var r = this.i.q4;
|
|
90
|
+
if (r == null) {
|
|
89
91
|
return null;
|
|
90
92
|
}
|
|
91
|
-
if (!
|
|
92
|
-
var e = IgxValueBrushScaleComponent._createFromInternal(
|
|
93
|
+
if (!r.externalObject) {
|
|
94
|
+
var e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
93
95
|
if (e) {
|
|
94
|
-
e._implementation =
|
|
96
|
+
e._implementation = r;
|
|
95
97
|
}
|
|
96
|
-
|
|
98
|
+
r.externalObject = e;
|
|
97
99
|
}
|
|
98
|
-
return
|
|
100
|
+
return r.externalObject;
|
|
99
101
|
},
|
|
100
102
|
set: function (v) {
|
|
101
103
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -110,17 +112,18 @@ var IgxGeographicContourLineSeriesComponent = /** @class */ /*@__PURE__*/ (funct
|
|
|
110
112
|
* The ContourValueResolver used to determine the numeric values of contours.
|
|
111
113
|
*/
|
|
112
114
|
get: function () {
|
|
113
|
-
|
|
115
|
+
var r = this.i.q1;
|
|
116
|
+
if (r == null) {
|
|
114
117
|
return null;
|
|
115
118
|
}
|
|
116
|
-
if (!
|
|
117
|
-
var e = IgxContourValueResolverComponent._createFromInternal(
|
|
119
|
+
if (!r.externalObject) {
|
|
120
|
+
var e = IgxContourValueResolverComponent._createFromInternal(r);
|
|
118
121
|
if (e) {
|
|
119
|
-
e._implementation =
|
|
122
|
+
e._implementation = r;
|
|
120
123
|
}
|
|
121
|
-
|
|
124
|
+
r.externalObject = e;
|
|
122
125
|
}
|
|
123
|
-
return
|
|
126
|
+
return r.externalObject;
|
|
124
127
|
},
|
|
125
128
|
set: function (v) {
|
|
126
129
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -399,17 +399,18 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
399
399
|
* 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.
|
|
400
400
|
*/
|
|
401
401
|
get: function () {
|
|
402
|
-
|
|
402
|
+
var r = this.i.tw;
|
|
403
|
+
if (r == null) {
|
|
403
404
|
return null;
|
|
404
405
|
}
|
|
405
|
-
if (!
|
|
406
|
-
var e = IgxNumericXAxisComponent._createFromInternal(
|
|
406
|
+
if (!r.externalObject) {
|
|
407
|
+
var e = IgxNumericXAxisComponent._createFromInternal(r);
|
|
407
408
|
if (e) {
|
|
408
|
-
e._implementation =
|
|
409
|
+
e._implementation = r;
|
|
409
410
|
}
|
|
410
|
-
|
|
411
|
+
r.externalObject = e;
|
|
411
412
|
}
|
|
412
|
-
return
|
|
413
|
+
return r.externalObject;
|
|
413
414
|
},
|
|
414
415
|
set: function (v) {
|
|
415
416
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -425,17 +426,18 @@ var IgxGeographicMapComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
425
426
|
* 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.
|
|
426
427
|
*/
|
|
427
428
|
get: function () {
|
|
428
|
-
|
|
429
|
+
var r = this.i.ty;
|
|
430
|
+
if (r == null) {
|
|
429
431
|
return null;
|
|
430
432
|
}
|
|
431
|
-
if (!
|
|
432
|
-
var e = IgxNumericYAxisComponent._createFromInternal(
|
|
433
|
+
if (!r.externalObject) {
|
|
434
|
+
var e = IgxNumericYAxisComponent._createFromInternal(r);
|
|
433
435
|
if (e) {
|
|
434
|
-
e._implementation =
|
|
436
|
+
e._implementation = r;
|
|
435
437
|
}
|
|
436
|
-
|
|
438
|
+
r.externalObject = e;
|
|
437
439
|
}
|
|
438
|
-
return
|
|
440
|
+
return r.externalObject;
|
|
439
441
|
},
|
|
440
442
|
set: function (v) {
|
|
441
443
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -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
|
|
@@ -28,10 +29,26 @@ var IgxGeographicMapImagery = /** @class */ /*@__PURE__*/ (function () {
|
|
|
28
29
|
*/
|
|
29
30
|
get: function () {
|
|
30
31
|
return this._implementation;
|
|
31
|
-
}
|
|
32
|
+
} /**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/,
|
|
32
35
|
enumerable: false,
|
|
33
36
|
configurable: true
|
|
34
37
|
});
|
|
38
|
+
IgxGeographicMapImagery._createFromInternal = function (internal) {
|
|
39
|
+
if (!internal) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
if (!internal.$type) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
var name = internal.$type.name;
|
|
46
|
+
var externalName = "Igx" + name + "Component";
|
|
47
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return TypeRegistrar.create(externalName);
|
|
51
|
+
};
|
|
35
52
|
IgxGeographicMapImagery.prototype.onImplementationCreated = function () {
|
|
36
53
|
};
|
|
37
54
|
IgxGeographicMapImagery.prototype._provideImplementation = function (i) {
|
|
@@ -71,10 +88,11 @@ var IgxGeographicMapImagery = /** @class */ /*@__PURE__*/ (function () {
|
|
|
71
88
|
* The IgxGeographicMapComponent which is hosting this GeographicMapImagery control.
|
|
72
89
|
*/
|
|
73
90
|
get: function () {
|
|
74
|
-
|
|
91
|
+
var r = this.i.geographicMap;
|
|
92
|
+
if (r == null) {
|
|
75
93
|
return null;
|
|
76
94
|
}
|
|
77
|
-
return
|
|
95
|
+
return r.externalObject;
|
|
78
96
|
},
|
|
79
97
|
set: function (v) {
|
|
80
98
|
v == null ? this.i.geographicMap = null : this.i.geographicMap = v.i;
|
|
@@ -132,6 +150,11 @@ var IgxGeographicMapImagery = /** @class */ /*@__PURE__*/ (function () {
|
|
|
132
150
|
configurable: true
|
|
133
151
|
});
|
|
134
152
|
IgxGeographicMapImagery.prototype.findByName = function (name) {
|
|
153
|
+
if (this.findEphemera) {
|
|
154
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
155
|
+
return this.findEphemera(name);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
135
158
|
if (this.geographicMap && this.geographicMap.name && this.geographicMap.name == name) {
|
|
136
159
|
return this.geographicMap;
|
|
137
160
|
}
|
|
@@ -91,17 +91,18 @@ var IgxGeographicProportionalSymbolSeriesComponent = /** @class */ /*@__PURE__*/
|
|
|
91
91
|
* Gets or sets the radius size scale for the bubbles.
|
|
92
92
|
*/
|
|
93
93
|
get: function () {
|
|
94
|
-
|
|
94
|
+
var r = this.i.rl;
|
|
95
|
+
if (r == null) {
|
|
95
96
|
return null;
|
|
96
97
|
}
|
|
97
|
-
if (!
|
|
98
|
-
var e = IgxSizeScaleComponent._createFromInternal(
|
|
98
|
+
if (!r.externalObject) {
|
|
99
|
+
var e = IgxSizeScaleComponent._createFromInternal(r);
|
|
99
100
|
if (e) {
|
|
100
|
-
e._implementation =
|
|
101
|
+
e._implementation = r;
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
+
r.externalObject = e;
|
|
103
104
|
}
|
|
104
|
-
return
|
|
105
|
+
return r.externalObject;
|
|
105
106
|
},
|
|
106
107
|
set: function (v) {
|
|
107
108
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -142,17 +143,18 @@ var IgxGeographicProportionalSymbolSeriesComponent = /** @class */ /*@__PURE__*/
|
|
|
142
143
|
* Gets or sets the brush scale for the marker brush.
|
|
143
144
|
*/
|
|
144
145
|
get: function () {
|
|
145
|
-
|
|
146
|
+
var r = this.i.ri;
|
|
147
|
+
if (r == null) {
|
|
146
148
|
return null;
|
|
147
149
|
}
|
|
148
|
-
if (!
|
|
149
|
-
var e = IgxBrushScaleComponent._createFromInternal(
|
|
150
|
+
if (!r.externalObject) {
|
|
151
|
+
var e = IgxBrushScaleComponent._createFromInternal(r);
|
|
150
152
|
if (e) {
|
|
151
|
-
e._implementation =
|
|
153
|
+
e._implementation = r;
|
|
152
154
|
}
|
|
153
|
-
|
|
155
|
+
r.externalObject = e;
|
|
154
156
|
}
|
|
155
|
-
return
|
|
157
|
+
return r.externalObject;
|
|
156
158
|
},
|
|
157
159
|
set: function (v) {
|
|
158
160
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -59,17 +59,18 @@ var IgxGeographicScatterAreaSeriesComponent = /** @class */ /*@__PURE__*/ (funct
|
|
|
59
59
|
* The ColorScale used to resolve the color values of points in the series.
|
|
60
60
|
*/
|
|
61
61
|
get: function () {
|
|
62
|
-
|
|
62
|
+
var r = this.i.q3;
|
|
63
|
+
if (r == null) {
|
|
63
64
|
return null;
|
|
64
65
|
}
|
|
65
|
-
if (!
|
|
66
|
-
var e = IgxColorScaleComponent._createFromInternal(
|
|
66
|
+
if (!r.externalObject) {
|
|
67
|
+
var e = IgxColorScaleComponent._createFromInternal(r);
|
|
67
68
|
if (e) {
|
|
68
|
-
e._implementation =
|
|
69
|
+
e._implementation = r;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
+
r.externalObject = e;
|
|
71
72
|
}
|
|
72
|
-
return
|
|
73
|
+
return r.externalObject;
|
|
73
74
|
},
|
|
74
75
|
set: function (v) {
|
|
75
76
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -84,17 +85,18 @@ var IgxGeographicScatterAreaSeriesComponent = /** @class */ /*@__PURE__*/ (funct
|
|
|
84
85
|
* Gets actual color scale that is set on ColorScale property or default ColorScale
|
|
85
86
|
*/
|
|
86
87
|
get: function () {
|
|
87
|
-
|
|
88
|
+
var r = this.i.q2;
|
|
89
|
+
if (r == null) {
|
|
88
90
|
return null;
|
|
89
91
|
}
|
|
90
|
-
if (!
|
|
91
|
-
var e = IgxColorScaleComponent._createFromInternal(
|
|
92
|
+
if (!r.externalObject) {
|
|
93
|
+
var e = IgxColorScaleComponent._createFromInternal(r);
|
|
92
94
|
if (e) {
|
|
93
|
-
e._implementation =
|
|
95
|
+
e._implementation = r;
|
|
94
96
|
}
|
|
95
|
-
|
|
97
|
+
r.externalObject = e;
|
|
96
98
|
}
|
|
97
|
-
return
|
|
99
|
+
return r.externalObject;
|
|
98
100
|
},
|
|
99
101
|
set: function (v) {
|
|
100
102
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -178,15 +178,21 @@ var IgxGeographicShapeSeriesBaseComponent = /** @class */ /*@__PURE__*/ (functio
|
|
|
178
178
|
* Set a shapefile datasource to use with the series.
|
|
179
179
|
*/
|
|
180
180
|
get: function () {
|
|
181
|
-
|
|
181
|
+
var r = this.i.qn;
|
|
182
|
+
if (r == null) {
|
|
182
183
|
return null;
|
|
183
184
|
}
|
|
184
|
-
if (!
|
|
185
|
+
if (!r.externalObject) {
|
|
185
186
|
var e = new IgxShapeDataSource();
|
|
186
|
-
e.
|
|
187
|
-
|
|
187
|
+
if (e.i.setNativeElement) {
|
|
188
|
+
e.i.setNativeElement(r);
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
e._implementation = r;
|
|
192
|
+
}
|
|
193
|
+
r.externalObject = e;
|
|
188
194
|
}
|
|
189
|
-
return
|
|
195
|
+
return r.externalObject;
|
|
190
196
|
},
|
|
191
197
|
set: function (v) {
|
|
192
198
|
v == null ? this.i.qn = null : this.i.qn = v.i;
|