@syncfusion/ej2-angular-maps 32.1.21-ngcc → 32.1.21
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/CHANGELOG.md +644 -0
- package/README.md +15 -7
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/src/index.mjs +12 -0
- package/esm2020/src/maps/annotations.directive.mjs +62 -0
- package/esm2020/src/maps/bubblesettings.directive.mjs +71 -0
- package/esm2020/src/maps/colormapping.directive.mjs +61 -0
- package/esm2020/src/maps/initialshapeselection.directive.mjs +59 -0
- package/esm2020/src/maps/layers.directive.mjs +64 -0
- package/esm2020/src/maps/maps-all.module.mjs +68 -0
- package/esm2020/src/maps/maps.component.mjs +168 -0
- package/esm2020/src/maps/maps.module.mjs +88 -0
- package/esm2020/src/maps/markersettings.directive.mjs +73 -0
- package/esm2020/src/maps/navigationlinesettings.directive.mjs +67 -0
- package/esm2020/syncfusion-ej2-angular-maps.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-maps.mjs +737 -0
- package/fesm2015/syncfusion-ej2-angular-maps.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-maps.mjs +737 -0
- package/fesm2020/syncfusion-ej2-angular-maps.mjs.map +1 -0
- package/package.json +28 -46
- package/public_api.d.ts +1 -1
- package/src/index.d.ts +11 -11
- package/src/maps/annotations.directive.d.ts +58 -53
- package/src/maps/bubblesettings.directive.d.ts +121 -116
- package/src/maps/colormapping.directive.d.ts +76 -71
- package/src/maps/initialshapeselection.directive.d.ts +42 -37
- package/src/maps/layers.directive.d.ts +140 -135
- package/src/maps/maps-all.module.d.ts +26 -20
- package/src/maps/maps.component.d.ts +73 -70
- package/src/maps/maps.module.d.ts +18 -5
- package/src/maps/markersettings.directive.d.ts +176 -171
- package/src/maps/navigationlinesettings.directive.d.ts +80 -75
- package/syncfusion-ej2-angular-maps.d.ts +5 -0
- package/@syncfusion/ej2-angular-maps.es5.js +0 -877
- package/@syncfusion/ej2-angular-maps.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-maps.js +0 -810
- package/@syncfusion/ej2-angular-maps.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-maps.umd.js +0 -1137
- package/dist/ej2-angular-maps.umd.js.map +0 -1
- package/dist/ej2-angular-maps.umd.min.js +0 -11
- package/dist/ej2-angular-maps.umd.min.js.map +0 -1
- package/ej2-angular-maps.d.ts +0 -5
- package/ej2-angular-maps.metadata.json +0 -1
|
@@ -1,116 +1,121 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* <e-
|
|
8
|
-
* <e-
|
|
9
|
-
* <e-
|
|
10
|
-
*
|
|
11
|
-
* </e-
|
|
12
|
-
* </e-
|
|
13
|
-
* </e-
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
*
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* @
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
*
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
*
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
*
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Represents the directive to define the bubbles in the maps.
|
|
6
|
+
* ```html
|
|
7
|
+
* <e-layers>
|
|
8
|
+
* <e-layer>
|
|
9
|
+
* <e-bubbleSettings>
|
|
10
|
+
* <e-bubbleSetting>
|
|
11
|
+
* </e-bubbleSetting>
|
|
12
|
+
* </e-bubbleSettings>
|
|
13
|
+
* </e-layer>
|
|
14
|
+
* </e-layers>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class BubbleDirective extends ComplexBase<BubbleDirective> {
|
|
18
|
+
private viewContainerRef;
|
|
19
|
+
directivePropList: any;
|
|
20
|
+
childColorMapping: any;
|
|
21
|
+
tags: string[];
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the delay in animation for the bubbles in maps.
|
|
24
|
+
* @default 0
|
|
25
|
+
*/
|
|
26
|
+
animationDelay: any;
|
|
27
|
+
/**
|
|
28
|
+
* Gets or sets the duration for the animation of the bubbles in maps.
|
|
29
|
+
* @default 1000
|
|
30
|
+
*/
|
|
31
|
+
animationDuration: any;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets the options to customize the style properties of the border for the bubbles in maps.
|
|
34
|
+
*/
|
|
35
|
+
border: any;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the type of the bubble in maps.
|
|
38
|
+
* @default Circle
|
|
39
|
+
*/
|
|
40
|
+
bubbleType: any;
|
|
41
|
+
/**
|
|
42
|
+
* Gets or sets the color-mapping for the bubbles in maps.
|
|
43
|
+
* @default []
|
|
44
|
+
*/
|
|
45
|
+
colorMapping: any;
|
|
46
|
+
/**
|
|
47
|
+
* Gets or sets the field name from the data source of bubble settings to set the color for each bubble in maps.
|
|
48
|
+
* @default null
|
|
49
|
+
*/
|
|
50
|
+
colorValuePath: any;
|
|
51
|
+
/**
|
|
52
|
+
* Gets or sets the data source for the bubble.
|
|
53
|
+
* The data source must contain the size value of the bubble that can be bound to the bubble
|
|
54
|
+
* of the maps using the `valuePath` property in the `bubbleSettings`.
|
|
55
|
+
* The data source can contain data such as color and other informations that can be bound to the bubble and tooltip of the bubble.
|
|
56
|
+
* @isobservable true
|
|
57
|
+
* @default []
|
|
58
|
+
*/
|
|
59
|
+
dataSource: any;
|
|
60
|
+
/**
|
|
61
|
+
* Gets or sets the color for the bubbles in maps.
|
|
62
|
+
* @default ''
|
|
63
|
+
*/
|
|
64
|
+
fill: any;
|
|
65
|
+
/**
|
|
66
|
+
* Gets or sets the options to customize the highlight of the bubbles in maps.
|
|
67
|
+
*/
|
|
68
|
+
highlightSettings: any;
|
|
69
|
+
/**
|
|
70
|
+
* Gets or sets the maximum radius for the bubbles in maps.
|
|
71
|
+
* @default 20
|
|
72
|
+
*/
|
|
73
|
+
maxRadius: any;
|
|
74
|
+
/**
|
|
75
|
+
* Gets or sets the minimum radius for the bubbles in maps.
|
|
76
|
+
* @default 10
|
|
77
|
+
*/
|
|
78
|
+
minRadius: any;
|
|
79
|
+
/**
|
|
80
|
+
* Gets or sets the opacity of the bubbles in maps.
|
|
81
|
+
* @default 1
|
|
82
|
+
*/
|
|
83
|
+
opacity: any;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets the query to select particular data from the bubble data source.
|
|
86
|
+
* This property is applicable only when the data source is created by data manager.
|
|
87
|
+
* @default null
|
|
88
|
+
*/
|
|
89
|
+
query: any;
|
|
90
|
+
/**
|
|
91
|
+
* Gets or sets the options to customize the selection of the bubbles in maps.
|
|
92
|
+
*/
|
|
93
|
+
selectionSettings: any;
|
|
94
|
+
/**
|
|
95
|
+
* Gets or sets the options to customize the tooltip of the bubbles in maps.
|
|
96
|
+
*/
|
|
97
|
+
tooltipSettings: any;
|
|
98
|
+
/**
|
|
99
|
+
* Gets or sets the field name from the data source of bubble settings based on which the bubbles are rendered on the maps.
|
|
100
|
+
* @default null
|
|
101
|
+
*/
|
|
102
|
+
valuePath: any;
|
|
103
|
+
/**
|
|
104
|
+
* Enables or disables the visibility of the bubbles in maps.
|
|
105
|
+
* @default false
|
|
106
|
+
*/
|
|
107
|
+
visible: any;
|
|
108
|
+
tooltipSettings_template: any;
|
|
109
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleDirective, never>;
|
|
111
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BubbleDirective, "e-layer>e-bubbleSettings>e-bubbleSetting", never, { "animationDelay": "animationDelay"; "animationDuration": "animationDuration"; "border": "border"; "bubbleType": "bubbleType"; "colorMapping": "colorMapping"; "colorValuePath": "colorValuePath"; "dataSource": "dataSource"; "fill": "fill"; "highlightSettings": "highlightSettings"; "maxRadius": "maxRadius"; "minRadius": "minRadius"; "opacity": "opacity"; "query": "query"; "selectionSettings": "selectionSettings"; "tooltipSettings": "tooltipSettings"; "valuePath": "valuePath"; "visible": "visible"; }, {}, ["tooltipSettings_template", "childColorMapping"]>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Bubble Array Directive
|
|
115
|
+
* @private
|
|
116
|
+
*/
|
|
117
|
+
export declare class BubblesDirective extends ArrayBase<BubblesDirective> {
|
|
118
|
+
constructor();
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BubblesDirective, never>;
|
|
120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BubblesDirective, "e-layer>e-bubbleSettings", never, {}, {}, ["children"]>;
|
|
121
|
+
}
|
|
@@ -1,71 +1,76 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* <e-
|
|
8
|
-
* <e-
|
|
9
|
-
* <e-
|
|
10
|
-
* <e-
|
|
11
|
-
*
|
|
12
|
-
* </e-
|
|
13
|
-
* </e-
|
|
14
|
-
* </e-
|
|
15
|
-
* </e-
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
* @
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
*
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*
|
|
55
|
-
* @
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
*
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Represents the directive to define the bubble color mapping in the maps.
|
|
6
|
+
* ```html
|
|
7
|
+
* <e-layers>
|
|
8
|
+
* <e-layer>
|
|
9
|
+
* <e-bubbleSettings>
|
|
10
|
+
* <e-colorMappings>
|
|
11
|
+
* <e-colorMapping>
|
|
12
|
+
* </e-colorMapping>
|
|
13
|
+
* </e-colorMappings>
|
|
14
|
+
* </e-bubbleSettings>
|
|
15
|
+
* </e-layer>
|
|
16
|
+
* </e-layers>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class ColorMappingDirective extends ComplexBase<ColorMappingDirective> {
|
|
20
|
+
private viewContainerRef;
|
|
21
|
+
directivePropList: any;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the color for the color-mapping in maps.
|
|
24
|
+
* @default null
|
|
25
|
+
*/
|
|
26
|
+
color: any;
|
|
27
|
+
/**
|
|
28
|
+
* Gets or sets the value from where the range for the color-mapping starts.
|
|
29
|
+
* @aspdefaultvalueignore
|
|
30
|
+
* @default null
|
|
31
|
+
*/
|
|
32
|
+
from: any;
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the label for the color-mapping to display in the legend item text.
|
|
35
|
+
* @default null
|
|
36
|
+
*/
|
|
37
|
+
label: any;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets the maximum opacity for the color-mapping in maps.
|
|
40
|
+
* @default null
|
|
41
|
+
*/
|
|
42
|
+
maxOpacity: any;
|
|
43
|
+
/**
|
|
44
|
+
* Gets or sets the minimum opacity for the color-mapping in maps.
|
|
45
|
+
* @default null
|
|
46
|
+
*/
|
|
47
|
+
minOpacity: any;
|
|
48
|
+
/**
|
|
49
|
+
* Enables or disables the visibility of legend for the corresponding color-mapped shapes in maps.
|
|
50
|
+
* @default true
|
|
51
|
+
*/
|
|
52
|
+
showLegend: any;
|
|
53
|
+
/**
|
|
54
|
+
* Gets or sets the value to where the range for the color-mapping ends.
|
|
55
|
+
* @aspdefaultvalueignore
|
|
56
|
+
* @default null
|
|
57
|
+
*/
|
|
58
|
+
to: any;
|
|
59
|
+
/**
|
|
60
|
+
* Gets or sets the value from the data source to map the corresponding colors to the shapes.
|
|
61
|
+
* @default null
|
|
62
|
+
*/
|
|
63
|
+
value: any;
|
|
64
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorMappingDirective, never>;
|
|
66
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorMappingDirective, "e-bubbleSettings>e-colorMappings>e-colorMapping", never, { "color": "color"; "from": "from"; "label": "label"; "maxOpacity": "maxOpacity"; "minOpacity": "minOpacity"; "showLegend": "showLegend"; "to": "to"; "value": "value"; }, {}, never>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* ColorMapping Array Directive
|
|
70
|
+
* @private
|
|
71
|
+
*/
|
|
72
|
+
export declare class ColorMappingsDirective extends ArrayBase<ColorMappingsDirective> {
|
|
73
|
+
constructor();
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorMappingsDirective, never>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorMappingsDirective, "e-bubbleSettings>e-colorMappings", never, {}, {}, ["children"]>;
|
|
76
|
+
}
|
|
@@ -1,37 +1,42 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* <e-
|
|
8
|
-
* <e-
|
|
9
|
-
* <e-
|
|
10
|
-
*
|
|
11
|
-
* </e-
|
|
12
|
-
* </e-
|
|
13
|
-
* </e-
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
*
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import { ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Represents the directive to configure the selection of the shapes when the maps is initially rendered.
|
|
6
|
+
* ```html
|
|
7
|
+
* <e-layers>
|
|
8
|
+
* <e-layer>
|
|
9
|
+
* <e-initialShapeSelections>
|
|
10
|
+
* <e-initialShapeSelection>
|
|
11
|
+
* </e-initialShapeSelection>
|
|
12
|
+
* </e-initialShapeSelections>
|
|
13
|
+
* </e-layer>
|
|
14
|
+
* </e-layers>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class InitialShapeSelectionDirective extends ComplexBase<InitialShapeSelectionDirective> {
|
|
18
|
+
private viewContainerRef;
|
|
19
|
+
directivePropList: any;
|
|
20
|
+
/**
|
|
21
|
+
* Gets or sets the property name from the data source in maps.
|
|
22
|
+
* @default null
|
|
23
|
+
*/
|
|
24
|
+
shapePath: any;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the value from the data source which is bound to the shape in maps.
|
|
27
|
+
* @default null
|
|
28
|
+
*/
|
|
29
|
+
shapeValue: any;
|
|
30
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InitialShapeSelectionDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InitialShapeSelectionDirective, "e-layer>e-initialShapeSelections>e-initialShapeSelection", never, { "shapePath": "shapePath"; "shapeValue": "shapeValue"; }, {}, never>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* InitialShapeSelection Array Directive
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
export declare class InitialShapeSelectionsDirective extends ArrayBase<InitialShapeSelectionsDirective> {
|
|
39
|
+
constructor();
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InitialShapeSelectionsDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<InitialShapeSelectionsDirective, "e-layer>e-initialShapeSelections", never, {}, {}, ["children"]>;
|
|
42
|
+
}
|