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,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,21 @@ 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
|
-
e.
|
|
4759
|
-
|
|
4783
|
+
if (e.i.setNativeElement) {
|
|
4784
|
+
e.i.setNativeElement(r);
|
|
4785
|
+
}
|
|
4786
|
+
else {
|
|
4787
|
+
e._implementation = r;
|
|
4788
|
+
}
|
|
4789
|
+
r.externalObject = e;
|
|
4760
4790
|
}
|
|
4761
|
-
return
|
|
4791
|
+
return r.externalObject;
|
|
4762
4792
|
}
|
|
4763
4793
|
set shapefileDataSource(v) {
|
|
4764
4794
|
v == null ? this.i.qn = null : this.i.qn = v.i;
|
|
@@ -6250,10 +6280,11 @@ let IgxTileSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
6250
6280
|
* The MapImagery which is used to provide the tiles for display.
|
|
6251
6281
|
*/
|
|
6252
6282
|
get tileImagery() {
|
|
6253
|
-
|
|
6283
|
+
const r = this.i.sz;
|
|
6284
|
+
if (r == null) {
|
|
6254
6285
|
return null;
|
|
6255
6286
|
}
|
|
6256
|
-
return
|
|
6287
|
+
return r.externalObject;
|
|
6257
6288
|
}
|
|
6258
6289
|
set tileImagery(v) {
|
|
6259
6290
|
v == null ? this.i.sz = null : this.i.sz = v.i;
|
|
@@ -6445,10 +6476,11 @@ let IgxGeographicTileSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
6445
6476
|
* The MapImagery which is used to provide the tiles for display.
|
|
6446
6477
|
*/
|
|
6447
6478
|
get tileImagery() {
|
|
6448
|
-
|
|
6479
|
+
const r = this.i.ri;
|
|
6480
|
+
if (r == null) {
|
|
6449
6481
|
return null;
|
|
6450
6482
|
}
|
|
6451
|
-
return
|
|
6483
|
+
return r.externalObject;
|
|
6452
6484
|
}
|
|
6453
6485
|
set tileImagery(v) {
|
|
6454
6486
|
v == null ? this.i.ri = null : this.i.ri = v.i;
|
|
@@ -7110,17 +7142,18 @@ let IgxGeographicProportionalSymbolSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7110
7142
|
* Gets or sets the radius size scale for the bubbles.
|
|
7111
7143
|
*/
|
|
7112
7144
|
get radiusScale() {
|
|
7113
|
-
|
|
7145
|
+
const r = this.i.rl;
|
|
7146
|
+
if (r == null) {
|
|
7114
7147
|
return null;
|
|
7115
7148
|
}
|
|
7116
|
-
if (!
|
|
7117
|
-
let e = IgxSizeScaleComponent._createFromInternal(
|
|
7149
|
+
if (!r.externalObject) {
|
|
7150
|
+
let e = IgxSizeScaleComponent._createFromInternal(r);
|
|
7118
7151
|
if (e) {
|
|
7119
|
-
e._implementation =
|
|
7152
|
+
e._implementation = r;
|
|
7120
7153
|
}
|
|
7121
|
-
|
|
7154
|
+
r.externalObject = e;
|
|
7122
7155
|
}
|
|
7123
|
-
return
|
|
7156
|
+
return r.externalObject;
|
|
7124
7157
|
}
|
|
7125
7158
|
set radiusScale(v) {
|
|
7126
7159
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -7149,17 +7182,18 @@ let IgxGeographicProportionalSymbolSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7149
7182
|
* Gets or sets the brush scale for the marker brush.
|
|
7150
7183
|
*/
|
|
7151
7184
|
get fillScale() {
|
|
7152
|
-
|
|
7185
|
+
const r = this.i.ri;
|
|
7186
|
+
if (r == null) {
|
|
7153
7187
|
return null;
|
|
7154
7188
|
}
|
|
7155
|
-
if (!
|
|
7156
|
-
let e = IgxBrushScaleComponent._createFromInternal(
|
|
7189
|
+
if (!r.externalObject) {
|
|
7190
|
+
let e = IgxBrushScaleComponent._createFromInternal(r);
|
|
7157
7191
|
if (e) {
|
|
7158
|
-
e._implementation =
|
|
7192
|
+
e._implementation = r;
|
|
7159
7193
|
}
|
|
7160
|
-
|
|
7194
|
+
r.externalObject = e;
|
|
7161
7195
|
}
|
|
7162
|
-
return
|
|
7196
|
+
return r.externalObject;
|
|
7163
7197
|
}
|
|
7164
7198
|
set fillScale(v) {
|
|
7165
7199
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -7977,17 +8011,18 @@ let IgxGeographicScatterAreaSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7977
8011
|
* The ColorScale used to resolve the color values of points in the series.
|
|
7978
8012
|
*/
|
|
7979
8013
|
get colorScale() {
|
|
7980
|
-
|
|
8014
|
+
const r = this.i.q3;
|
|
8015
|
+
if (r == null) {
|
|
7981
8016
|
return null;
|
|
7982
8017
|
}
|
|
7983
|
-
if (!
|
|
7984
|
-
let e = IgxColorScaleComponent._createFromInternal(
|
|
8018
|
+
if (!r.externalObject) {
|
|
8019
|
+
let e = IgxColorScaleComponent._createFromInternal(r);
|
|
7985
8020
|
if (e) {
|
|
7986
|
-
e._implementation =
|
|
8021
|
+
e._implementation = r;
|
|
7987
8022
|
}
|
|
7988
|
-
|
|
8023
|
+
r.externalObject = e;
|
|
7989
8024
|
}
|
|
7990
|
-
return
|
|
8025
|
+
return r.externalObject;
|
|
7991
8026
|
}
|
|
7992
8027
|
set colorScale(v) {
|
|
7993
8028
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -7998,17 +8033,18 @@ let IgxGeographicScatterAreaSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
7998
8033
|
* Gets actual color scale that is set on ColorScale property or default ColorScale
|
|
7999
8034
|
*/
|
|
8000
8035
|
get actualColorScale() {
|
|
8001
|
-
|
|
8036
|
+
const r = this.i.q2;
|
|
8037
|
+
if (r == null) {
|
|
8002
8038
|
return null;
|
|
8003
8039
|
}
|
|
8004
|
-
if (!
|
|
8005
|
-
let e = IgxColorScaleComponent._createFromInternal(
|
|
8040
|
+
if (!r.externalObject) {
|
|
8041
|
+
let e = IgxColorScaleComponent._createFromInternal(r);
|
|
8006
8042
|
if (e) {
|
|
8007
|
-
e._implementation =
|
|
8043
|
+
e._implementation = r;
|
|
8008
8044
|
}
|
|
8009
|
-
|
|
8045
|
+
r.externalObject = e;
|
|
8010
8046
|
}
|
|
8011
|
-
return
|
|
8047
|
+
return r.externalObject;
|
|
8012
8048
|
}
|
|
8013
8049
|
set actualColorScale(v) {
|
|
8014
8050
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -8768,17 +8804,18 @@ let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
8768
8804
|
* The ValueBrushScale to use when determining Brushes for each contour line, based on the values found in ValueMemberPath.
|
|
8769
8805
|
*/
|
|
8770
8806
|
get fillScale() {
|
|
8771
|
-
|
|
8807
|
+
const r = this.i.q5;
|
|
8808
|
+
if (r == null) {
|
|
8772
8809
|
return null;
|
|
8773
8810
|
}
|
|
8774
|
-
if (!
|
|
8775
|
-
let e = IgxValueBrushScaleComponent._createFromInternal(
|
|
8811
|
+
if (!r.externalObject) {
|
|
8812
|
+
let e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
8776
8813
|
if (e) {
|
|
8777
|
-
e._implementation =
|
|
8814
|
+
e._implementation = r;
|
|
8778
8815
|
}
|
|
8779
|
-
|
|
8816
|
+
r.externalObject = e;
|
|
8780
8817
|
}
|
|
8781
|
-
return
|
|
8818
|
+
return r.externalObject;
|
|
8782
8819
|
}
|
|
8783
8820
|
set fillScale(v) {
|
|
8784
8821
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -8789,17 +8826,18 @@ let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
8789
8826
|
* Gets actual fill scale that is set on the FillScale property or default FillScale
|
|
8790
8827
|
*/
|
|
8791
8828
|
get actualFillScale() {
|
|
8792
|
-
|
|
8829
|
+
const r = this.i.q4;
|
|
8830
|
+
if (r == null) {
|
|
8793
8831
|
return null;
|
|
8794
8832
|
}
|
|
8795
|
-
if (!
|
|
8796
|
-
let e = IgxValueBrushScaleComponent._createFromInternal(
|
|
8833
|
+
if (!r.externalObject) {
|
|
8834
|
+
let e = IgxValueBrushScaleComponent._createFromInternal(r);
|
|
8797
8835
|
if (e) {
|
|
8798
|
-
e._implementation =
|
|
8836
|
+
e._implementation = r;
|
|
8799
8837
|
}
|
|
8800
|
-
|
|
8838
|
+
r.externalObject = e;
|
|
8801
8839
|
}
|
|
8802
|
-
return
|
|
8840
|
+
return r.externalObject;
|
|
8803
8841
|
}
|
|
8804
8842
|
set actualFillScale(v) {
|
|
8805
8843
|
if (v != null && this._stylingContainer && v._styling)
|
|
@@ -8810,17 +8848,18 @@ let IgxGeographicContourLineSeriesComponent = /*@__PURE__*/ (() => {
|
|
|
8810
8848
|
* The ContourValueResolver used to determine the numeric values of contours.
|
|
8811
8849
|
*/
|
|
8812
8850
|
get valueResolver() {
|
|
8813
|
-
|
|
8851
|
+
const r = this.i.q1;
|
|
8852
|
+
if (r == null) {
|
|
8814
8853
|
return null;
|
|
8815
8854
|
}
|
|
8816
|
-
if (!
|
|
8817
|
-
let e = IgxContourValueResolverComponent._createFromInternal(
|
|
8855
|
+
if (!r.externalObject) {
|
|
8856
|
+
let e = IgxContourValueResolverComponent._createFromInternal(r);
|
|
8818
8857
|
if (e) {
|
|
8819
|
-
e._implementation =
|
|
8858
|
+
e._implementation = r;
|
|
8820
8859
|
}
|
|
8821
|
-
|
|
8860
|
+
r.externalObject = e;
|
|
8822
8861
|
}
|
|
8823
|
-
return
|
|
8862
|
+
return r.externalObject;
|
|
8824
8863
|
}
|
|
8825
8864
|
set valueResolver(v) {
|
|
8826
8865
|
if (v != null && this._stylingContainer && v._styling)
|