igniteui-angular-maps 14.1.2 → 15.0.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 +292 -251
- 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 +13 -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 +13 -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 +106 -65
- package/fesm5/igniteui-angular-maps.js +107 -66
- package/lib/igx-geographic-map-imagery.d.ts +4 -1
- package/package.json +5 -5
|
@@ -178,15 +178,23 @@ 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
|
-
|
|
187
|
-
|
|
187
|
+
if (r.$type) {
|
|
188
|
+
e._implementation = r;
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
if (e.i.setNativeElement) {
|
|
192
|
+
e.i.setNativeElement(r);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
r.externalObject = e;
|
|
188
196
|
}
|
|
189
|
-
return
|
|
197
|
+
return r.externalObject;
|
|
190
198
|
},
|
|
191
199
|
set: function (v) {
|
|
192
200
|
v == null ? this.i.qn = null : this.i.qn = v.i;
|
|
@@ -45,10 +45,11 @@ var IgxGeographicTileSeriesComponent = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
45
45
|
* The MapImagery which is used to provide the tiles for display.
|
|
46
46
|
*/
|
|
47
47
|
get: function () {
|
|
48
|
-
|
|
48
|
+
var r = this.i.ri;
|
|
49
|
+
if (r == null) {
|
|
49
50
|
return null;
|
|
50
51
|
}
|
|
51
|
-
return
|
|
52
|
+
return r.externalObject;
|
|
52
53
|
},
|
|
53
54
|
set: function (v) {
|
|
54
55
|
v == null ? this.i.ri = null : this.i.ri = v.i;
|
|
@@ -40,10 +40,11 @@ var IgxTileSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
40
40
|
* The MapImagery which is used to provide the tiles for display.
|
|
41
41
|
*/
|
|
42
42
|
get: function () {
|
|
43
|
-
|
|
43
|
+
var r = this.i.sz;
|
|
44
|
+
if (r == null) {
|
|
44
45
|
return null;
|
|
45
46
|
}
|
|
46
|
-
return
|
|
47
|
+
return r.externalObject;
|
|
47
48
|
},
|
|
48
49
|
set: function (v) {
|
|
49
50
|
v == null ? this.i.sz = null : this.i.sz = v.i;
|
|
@@ -2645,17 +2645,18 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2645
2645
|
* 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.
|
|
2646
2646
|
*/
|
|
2647
2647
|
get xAxis() {
|
|
2648
|
-
|
|
2648
|
+
const r = this.i.tw;
|
|
2649
|
+
if (r == null) {
|
|
2649
2650
|
return null;
|
|
2650
2651
|
}
|
|
2651
|
-
if (!
|
|
2652
|
-
let e = IgxNumericXAxisComponent._createFromInternal(
|
|
2652
|
+
if (!r.externalObject) {
|
|
2653
|
+
let e = IgxNumericXAxisComponent._createFromInternal(r);
|
|
2653
2654
|
if (e) {
|
|
2654
|
-
e._implementation =
|
|
2655
|
+
e._implementation = r;
|
|
2655
2656
|
}
|
|
2656
|
-
|
|
2657
|
+
r.externalObject = e;
|
|
2657
2658
|
}
|
|
2658
|
-
return
|
|
2659
|
+
return r.externalObject;
|
|
2659
2660
|
}
|
|
2660
2661
|
set xAxis(v) {
|
|
2661
2662
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -2667,17 +2668,18 @@ let IgxGeographicMapComponent = /*@__PURE__*/ (() => {
|
|
|
2667
2668
|
* 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.
|
|
2668
2669
|
*/
|
|
2669
2670
|
get yAxis() {
|
|
2670
|
-
|
|
2671
|
+
const r = this.i.ty;
|
|
2672
|
+
if (r == null) {
|
|
2671
2673
|
return null;
|
|
2672
2674
|
}
|
|
2673
|
-
if (!
|
|
2674
|
-
let e = IgxNumericYAxisComponent._createFromInternal(
|
|
2675
|
+
if (!r.externalObject) {
|
|
2676
|
+
let e = IgxNumericYAxisComponent._createFromInternal(r);
|
|
2675
2677
|
if (e) {
|
|
2676
|
-
e._implementation =
|
|
2678
|
+
e._implementation = r;
|
|
2677
2679
|
}
|
|
2678
|
-
|
|
2680
|
+
r.externalObject = e;
|
|
2679
2681
|
}
|
|
2680
|
-
return
|
|
2682
|
+
return r.externalObject;
|
|
2681
2683
|
}
|
|
2682
2684
|
set yAxis(v) {
|
|
2683
2685
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -3094,6 +3096,22 @@ class IgxGeographicMapImagery {
|
|
|
3094
3096
|
*/
|
|
3095
3097
|
get i() {
|
|
3096
3098
|
return this._implementation;
|
|
3099
|
+
} /**
|
|
3100
|
+
* @hidden
|
|
3101
|
+
*/
|
|
3102
|
+
static _createFromInternal(internal) {
|
|
3103
|
+
if (!internal) {
|
|
3104
|
+
return null;
|
|
3105
|
+
}
|
|
3106
|
+
if (!internal.$type) {
|
|
3107
|
+
return null;
|
|
3108
|
+
}
|
|
3109
|
+
let name = internal.$type.name;
|
|
3110
|
+
let externalName = "Igx" + name + "Component";
|
|
3111
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
3112
|
+
return null;
|
|
3113
|
+
}
|
|
3114
|
+
return TypeRegistrar.create(externalName);
|
|
3097
3115
|
}
|
|
3098
3116
|
onImplementationCreated() {
|
|
3099
3117
|
}
|
|
@@ -3125,10 +3143,11 @@ class IgxGeographicMapImagery {
|
|
|
3125
3143
|
* The IgxGeographicMapComponent which is hosting this GeographicMapImagery control.
|
|
3126
3144
|
*/
|
|
3127
3145
|
get geographicMap() {
|
|
3128
|
-
|
|
3146
|
+
const r = this.i.geographicMap;
|
|
3147
|
+
if (r == null) {
|
|
3129
3148
|
return null;
|
|
3130
3149
|
}
|
|
3131
|
-
return
|
|
3150
|
+
return r.externalObject;
|
|
3132
3151
|
}
|
|
3133
3152
|
set geographicMap(v) {
|
|
3134
3153
|
v == null ? this.i.geographicMap = null : this.i.geographicMap = v.i;
|
|
@@ -3167,6 +3186,11 @@ class IgxGeographicMapImagery {
|
|
|
3167
3186
|
this.i.opacity = +v;
|
|
3168
3187
|
}
|
|
3169
3188
|
findByName(name) {
|
|
3189
|
+
if (this.findEphemera) {
|
|
3190
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
3191
|
+
return this.findEphemera(name);
|
|
3192
|
+
}
|
|
3193
|
+
}
|
|
3170
3194
|
if (this.geographicMap && this.geographicMap.name && this.geographicMap.name == name) {
|
|
3171
3195
|
return this.geographicMap;
|
|
3172
3196
|
}
|
|
@@ -4750,15 +4774,23 @@ let IgxGeographicShapeSeriesBaseComponent = /*@__PURE__*/ (() => {
|
|
|
4750
4774
|
* Set a shapefile datasource to use with the series.
|
|
4751
4775
|
*/
|
|
4752
4776
|
get shapefileDataSource() {
|
|
4753
|
-
|
|
4777
|
+
const r = this.i.qn;
|
|
4778
|
+
if (r == null) {
|
|
4754
4779
|
return null;
|
|
4755
4780
|
}
|
|
4756
|
-
if (!
|
|
4781
|
+
if (!r.externalObject) {
|
|
4757
4782
|
let e = new IgxShapeDataSource();
|
|
4758
|
-
|
|
4759
|
-
|
|
4783
|
+
if (r.$type) {
|
|
4784
|
+
e._implementation = r;
|
|
4785
|
+
}
|
|
4786
|
+
else {
|
|
4787
|
+
if (e.i.setNativeElement) {
|
|
4788
|
+
e.i.setNativeElement(r);
|
|
4789
|
+
}
|
|
4790
|
+
}
|
|
4791
|
+
r.externalObject = e;
|
|
4760
4792
|
}
|
|
4761
|
-
return
|
|
4793
|
+
return r.externalObject;
|
|
4762
4794
|
}
|
|
4763
4795
|
set shapefileDataSource(v) {
|
|
4764
4796
|
v == null ? this.i.qn = null : this.i.qn = v.i;
|
|
@@ -6250,10 +6282,11 @@ let IgxTileSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
6250
6282
|
* The MapImagery which is used to provide the tiles for display.
|
|
6251
6283
|
*/
|
|
6252
6284
|
get tileImagery() {
|
|
6253
|
-
|
|
6285
|
+
const r = this.i.sz;
|
|
6286
|
+
if (r == null) {
|
|
6254
6287
|
return null;
|
|
6255
6288
|
}
|
|
6256
|
-
return
|
|
6289
|
+
return r.externalObject;
|
|
6257
6290
|
}
|
|
6258
6291
|
set tileImagery(v) {
|
|
6259
6292
|
v == null ? this.i.sz = null : this.i.sz = v.i;
|
|
@@ -6445,10 +6478,11 @@ let IgxGeographicTileSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
6445
6478
|
* The MapImagery which is used to provide the tiles for display.
|
|
6446
6479
|
*/
|
|
6447
6480
|
get tileImagery() {
|
|
6448
|
-
|
|
6481
|
+
const r = this.i.ri;
|
|
6482
|
+
if (r == null) {
|
|
6449
6483
|
return null;
|
|
6450
6484
|
}
|
|
6451
|
-
return
|
|
6485
|
+
return r.externalObject;
|
|
6452
6486
|
}
|
|
6453
6487
|
set tileImagery(v) {
|
|
6454
6488
|
v == null ? this.i.ri = null : this.i.ri = v.i;
|
|
@@ -7110,17 +7144,18 @@ let IgxGeographicProportionalSymbolSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7110
7144
|
* Gets or sets the radius size scale for the bubbles.
|
|
7111
7145
|
*/
|
|
7112
7146
|
get radiusScale() {
|
|
7113
|
-
|
|
7147
|
+
const r = this.i.rl;
|
|
7148
|
+
if (r == null) {
|
|
7114
7149
|
return null;
|
|
7115
7150
|
}
|
|
7116
|
-
if (!
|
|
7117
|
-
let e = IgxSizeScaleComponent._createFromInternal(
|
|
7151
|
+
if (!r.externalObject) {
|
|
7152
|
+
let e = IgxSizeScaleComponent._createFromInternal(r);
|
|
7118
7153
|
if (e) {
|
|
7119
|
-
e._implementation =
|
|
7154
|
+
e._implementation = r;
|
|
7120
7155
|
}
|
|
7121
|
-
|
|
7156
|
+
r.externalObject = e;
|
|
7122
7157
|
}
|
|
7123
|
-
return
|
|
7158
|
+
return r.externalObject;
|
|
7124
7159
|
}
|
|
7125
7160
|
set radiusScale(v) {
|
|
7126
7161
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -7149,17 +7184,18 @@ let IgxGeographicProportionalSymbolSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7149
7184
|
* Gets or sets the brush scale for the marker brush.
|
|
7150
7185
|
*/
|
|
7151
7186
|
get fillScale() {
|
|
7152
|
-
|
|
7187
|
+
const r = this.i.ri;
|
|
7188
|
+
if (r == null) {
|
|
7153
7189
|
return null;
|
|
7154
7190
|
}
|
|
7155
|
-
if (!
|
|
7156
|
-
let e = IgxBrushScaleComponent._createFromInternal(
|
|
7191
|
+
if (!r.externalObject) {
|
|
7192
|
+
let e = IgxBrushScaleComponent._createFromInternal(r);
|
|
7157
7193
|
if (e) {
|
|
7158
|
-
e._implementation =
|
|
7194
|
+
e._implementation = r;
|
|
7159
7195
|
}
|
|
7160
|
-
|
|
7196
|
+
r.externalObject = e;
|
|
7161
7197
|
}
|
|
7162
|
-
return
|
|
7198
|
+
return r.externalObject;
|
|
7163
7199
|
}
|
|
7164
7200
|
set fillScale(v) {
|
|
7165
7201
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -7977,17 +8013,18 @@ let IgxGeographicScatterAreaSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7977
8013
|
* The ColorScale used to resolve the color values of points in the series.
|
|
7978
8014
|
*/
|
|
7979
8015
|
get colorScale() {
|
|
7980
|
-
|
|
8016
|
+
const r = this.i.q3;
|
|
8017
|
+
if (r == null) {
|
|
7981
8018
|
return null;
|
|
7982
8019
|
}
|
|
7983
|
-
if (!
|
|
7984
|
-
let e = IgxColorScaleComponent._createFromInternal(
|
|
8020
|
+
if (!r.externalObject) {
|
|
8021
|
+
let e = IgxColorScaleComponent._createFromInternal(r);
|
|
7985
8022
|
if (e) {
|
|
7986
|
-
e._implementation =
|
|
8023
|
+
e._implementation = r;
|
|
7987
8024
|
}
|
|
7988
|
-
|
|
8025
|
+
r.externalObject = e;
|
|
7989
8026
|
}
|
|
7990
|
-
return
|
|
8027
|
+
return r.externalObject;
|
|
7991
8028
|
}
|
|
7992
8029
|
set colorScale(v) {
|
|
7993
8030
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -7998,17 +8035,18 @@ let IgxGeographicScatterAreaSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7998
8035
|
* Gets actual color scale that is set on ColorScale property or default ColorScale
|
|
7999
8036
|
*/
|
|
8000
8037
|
get actualColorScale() {
|
|
8001
|
-
|
|
8038
|
+
const r = this.i.q2;
|
|
8039
|
+
if (r == null) {
|
|
8002
8040
|
return null;
|
|
8003
8041
|
}
|
|
8004
|
-
if (!
|
|
8005
|
-
let e = IgxColorScaleComponent._createFromInternal(
|
|
8042
|
+
if (!r.externalObject) {
|
|
8043
|
+
let e = IgxColorScaleComponent._createFromInternal(r);
|
|
8006
8044
|
if (e) {
|
|
8007
|
-
e._implementation =
|
|
8045
|
+
e._implementation = r;
|
|
8008
8046
|
}
|
|
8009
|
-
|
|
8047
|
+
r.externalObject = e;
|
|
8010
8048
|
}
|
|
8011
|
-
return
|
|
8049
|
+
return r.externalObject;
|
|
8012
8050
|
}
|
|
8013
8051
|
set actualColorScale(v) {
|
|
8014
8052
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -8768,17 +8806,18 @@ let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
8768
8806
|
* The ValueBrushScale to use when determining Brushes for each contour line, based on the values found in ValueMemberPath.
|
|
8769
8807
|
*/
|
|
8770
8808
|
get fillScale() {
|
|
8771
|
-
|
|
8809
|
+
const r = this.i.q5;
|
|
8810
|
+
if (r == null) {
|
|
8772
8811
|
return null;
|
|
8773
8812
|
}
|
|
8774
|
-
if (!
|
|
8775
|
-
let e = IgxValueBrushScaleComponent._createFromInternal(
|
|
8813
|
+
if (!r.externalObject) {
|
|
8814
|
+
let e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
8776
8815
|
if (e) {
|
|
8777
|
-
e._implementation =
|
|
8816
|
+
e._implementation = r;
|
|
8778
8817
|
}
|
|
8779
|
-
|
|
8818
|
+
r.externalObject = e;
|
|
8780
8819
|
}
|
|
8781
|
-
return
|
|
8820
|
+
return r.externalObject;
|
|
8782
8821
|
}
|
|
8783
8822
|
set fillScale(v) {
|
|
8784
8823
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -8789,17 +8828,18 @@ let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
8789
8828
|
* Gets actual fill scale that is set on the FillScale property or default FillScale
|
|
8790
8829
|
*/
|
|
8791
8830
|
get actualFillScale() {
|
|
8792
|
-
|
|
8831
|
+
const r = this.i.q4;
|
|
8832
|
+
if (r == null) {
|
|
8793
8833
|
return null;
|
|
8794
8834
|
}
|
|
8795
|
-
if (!
|
|
8796
|
-
let e = IgxValueBrushScaleComponent._createFromInternal(
|
|
8835
|
+
if (!r.externalObject) {
|
|
8836
|
+
let e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
8797
8837
|
if (e) {
|
|
8798
|
-
e._implementation =
|
|
8838
|
+
e._implementation = r;
|
|
8799
8839
|
}
|
|
8800
|
-
|
|
8840
|
+
r.externalObject = e;
|
|
8801
8841
|
}
|
|
8802
|
-
return
|
|
8842
|
+
return r.externalObject;
|
|
8803
8843
|
}
|
|
8804
8844
|
set actualFillScale(v) {
|
|
8805
8845
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -8810,17 +8850,18 @@ let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
8810
8850
|
* The ContourValueResolver used to determine the numeric values of contours.
|
|
8811
8851
|
*/
|
|
8812
8852
|
get valueResolver() {
|
|
8813
|
-
|
|
8853
|
+
const r = this.i.q1;
|
|
8854
|
+
if (r == null) {
|
|
8814
8855
|
return null;
|
|
8815
8856
|
}
|
|
8816
|
-
if (!
|
|
8817
|
-
let e = IgxContourValueResolverComponent._createFromInternal(
|
|
8857
|
+
if (!r.externalObject) {
|
|
8858
|
+
let e = IgxContourValueResolverComponent._createFromInternal(r);
|
|
8818
8859
|
if (e) {
|
|
8819
|
-
e._implementation =
|
|
8860
|
+
e._implementation = r;
|
|
8820
8861
|
}
|
|
8821
|
-
|
|
8862
|
+
r.externalObject = e;
|
|
8822
8863
|
}
|
|
8823
|
-
return
|
|
8864
|
+
return r.externalObject;
|
|
8824
8865
|
}
|
|
8825
8866
|
set valueResolver(v) {
|
|
8826
8867
|
if (v != null && this._stylingContainer && v._styling)
|