@syncfusion/ej2-angular-maps 20.1.55 → 20.2.36
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/esm2020/public_api.mjs +3 -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 +65 -0
- package/esm2020/src/maps/maps.component.mjs +160 -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 +728 -0
- package/fesm2015/syncfusion-ej2-angular-maps.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-maps.mjs +728 -0
- package/fesm2020/syncfusion-ej2-angular-maps.mjs.map +1 -0
- package/package.json +29 -15
- package/schematics/utils/lib-details.ts +2 -2
- package/src/maps/annotations.directive.d.ts +5 -0
- package/src/maps/bubblesettings.directive.d.ts +5 -0
- package/src/maps/colormapping.directive.d.ts +5 -0
- package/src/maps/initialshapeselection.directive.d.ts +5 -0
- package/src/maps/layers.directive.d.ts +5 -0
- package/src/maps/maps-all.module.d.ts +6 -0
- package/src/maps/maps.component.d.ts +3 -0
- package/src/maps/maps.module.d.ts +13 -0
- package/src/maps/markersettings.directive.d.ts +5 -0
- package/src/maps/navigationlinesettings.directive.d.ts +5 -0
- package/{ej2-angular-maps.d.ts → syncfusion-ej2-angular-maps.d.ts} +1 -1
- package/@syncfusion/ej2-angular-maps.es5.js +0 -867
- package/@syncfusion/ej2-angular-maps.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-maps.js +0 -800
- package/@syncfusion/ej2-angular-maps.js.map +0 -1
- package/CHANGELOG.md +0 -545
- package/dist/ej2-angular-maps.umd.js +0 -1105
- 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.metadata.json +0 -1
- package/postinstall/tagchange.js +0 -18
- package/schematics/collection.json +0 -55
- package/schematics/generators/maps-annotation/images/__path__/__name@dasherize__/compass.svg +0 -197
- package/schematics/generators/maps-annotation/index.d.ts +0 -3
- package/schematics/generators/maps-annotation/index.js +0 -8
- package/schematics/generators/maps-annotation/sample-details.d.ts +0 -5
- package/schematics/generators/maps-annotation/sample-details.js +0 -7
- package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -21
- package/schematics/generators/maps-annotation/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -15
- package/schematics/generators/maps-annotation/schema.d.ts +0 -3
- package/schematics/generators/maps-annotation/schema.js +0 -2
- package/schematics/generators/maps-annotation/schema.json +0 -124
- package/schematics/generators/maps-bubble/index.d.ts +0 -3
- package/schematics/generators/maps-bubble/index.js +0 -8
- package/schematics/generators/maps-bubble/sample-details.d.ts +0 -5
- package/schematics/generators/maps-bubble/sample-details.js +0 -7
- package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-bubble/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/maps-bubble/schema.d.ts +0 -3
- package/schematics/generators/maps-bubble/schema.js +0 -2
- package/schematics/generators/maps-bubble/schema.json +0 -124
- package/schematics/generators/maps-color-mapping/images/__path__/__name@dasherize__/ballon.png +0 -0
- package/schematics/generators/maps-color-mapping/index.d.ts +0 -3
- package/schematics/generators/maps-color-mapping/index.js +0 -8
- package/schematics/generators/maps-color-mapping/sample-details.d.ts +0 -5
- package/schematics/generators/maps-color-mapping/sample-details.js +0 -7
- package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-color-mapping/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/maps-color-mapping/schema.d.ts +0 -3
- package/schematics/generators/maps-color-mapping/schema.js +0 -2
- package/schematics/generators/maps-color-mapping/schema.json +0 -124
- package/schematics/generators/maps-default/images/__path__/__name@dasherize__/ballon.png +0 -0
- package/schematics/generators/maps-default/index.d.ts +0 -3
- package/schematics/generators/maps-default/index.js +0 -8
- package/schematics/generators/maps-default/sample-details.d.ts +0 -5
- package/schematics/generators/maps-default/sample-details.js +0 -7
- package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/maps-default/schema.d.ts +0 -3
- package/schematics/generators/maps-default/schema.js +0 -2
- package/schematics/generators/maps-default/schema.json +0 -124
- package/schematics/generators/maps-label/index.d.ts +0 -3
- package/schematics/generators/maps-label/index.js +0 -8
- package/schematics/generators/maps-label/sample-details.d.ts +0 -5
- package/schematics/generators/maps-label/sample-details.js +0 -7
- package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-label/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/maps-label/schema.d.ts +0 -3
- package/schematics/generators/maps-label/schema.js +0 -2
- package/schematics/generators/maps-label/schema.json +0 -124
- package/schematics/generators/maps-legend/images/__path__/__name@dasherize__/ballon.png +0 -0
- package/schematics/generators/maps-legend/index.d.ts +0 -3
- package/schematics/generators/maps-legend/index.js +0 -8
- package/schematics/generators/maps-legend/sample-details.d.ts +0 -5
- package/schematics/generators/maps-legend/sample-details.js +0 -7
- package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-legend/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -8
- package/schematics/generators/maps-legend/schema.d.ts +0 -3
- package/schematics/generators/maps-legend/schema.js +0 -2
- package/schematics/generators/maps-legend/schema.json +0 -124
- package/schematics/generators/maps-marker/images/__path__/__name@dasherize__/ballon.png +0 -0
- package/schematics/generators/maps-marker/index.d.ts +0 -3
- package/schematics/generators/maps-marker/index.js +0 -8
- package/schematics/generators/maps-marker/sample-details.d.ts +0 -5
- package/schematics/generators/maps-marker/sample-details.js +0 -7
- package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-marker/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/maps-marker/schema.d.ts +0 -3
- package/schematics/generators/maps-marker/schema.js +0 -2
- package/schematics/generators/maps-marker/schema.json +0 -124
- package/schematics/generators/maps-navigation-line/index.d.ts +0 -3
- package/schematics/generators/maps-navigation-line/index.js +0 -8
- package/schematics/generators/maps-navigation-line/sample-details.d.ts +0 -5
- package/schematics/generators/maps-navigation-line/sample-details.js +0 -7
- package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -19
- package/schematics/generators/maps-navigation-line/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -6
- package/schematics/generators/maps-navigation-line/schema.d.ts +0 -3
- package/schematics/generators/maps-navigation-line/schema.js +0 -2
- package/schematics/generators/maps-navigation-line/schema.json +0 -124
- package/schematics/generators/maps-osm/index.d.ts +0 -3
- package/schematics/generators/maps-osm/index.js +0 -8
- package/schematics/generators/maps-osm/sample-details.d.ts +0 -5
- package/schematics/generators/maps-osm/sample-details.js +0 -7
- package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +0 -3
- package/schematics/generators/maps-osm/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +0 -10
- package/schematics/generators/maps-osm/schema.d.ts +0 -3
- package/schematics/generators/maps-osm/schema.js +0 -2
- package/schematics/generators/maps-osm/schema.json +0 -124
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -9
- package/schematics/ng-add/schema.d.ts +0 -13
- package/schematics/ng-add/schema.js +0 -2
- package/schematics/ng-add/schema.json +0 -34
- package/schematics/tsconfig.json +0 -25
- package/schematics/utils/lib-details.d.ts +0 -4
- package/schematics/utils/lib-details.js +0 -6
|
@@ -1,867 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
-
return function (d, b) {
|
|
6
|
-
extendStatics(d, b);
|
|
7
|
-
function __() { this.constructor = d; }
|
|
8
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
|
|
12
|
-
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
13
|
-
import { Annotations, Bubble, DataLabel, Highlight, ImageExport, Legend, Maps, MapsTooltip, Marker, NavigationLine, PdfExport, Print, Selection, Zoom } from '@syncfusion/ej2-maps';
|
|
14
|
-
import { CommonModule } from '@angular/common';
|
|
15
|
-
var input = ['shapePath', 'shapeValue'];
|
|
16
|
-
var outputs = [];
|
|
17
|
-
/**
|
|
18
|
-
* Layer Directive
|
|
19
|
-
* ```html
|
|
20
|
-
* <e-layers>
|
|
21
|
-
* <e-layer>
|
|
22
|
-
* <e-initialShapeSelections>
|
|
23
|
-
* <e-initialShapeSelection>
|
|
24
|
-
* </e-initialShapeSelection>
|
|
25
|
-
* </e-initialShapeSelections>
|
|
26
|
-
* </e-layer>
|
|
27
|
-
* </e-layers>
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
var InitialShapeSelectionDirective = /** @class */ (function (_super) {
|
|
31
|
-
__extends(InitialShapeSelectionDirective, _super);
|
|
32
|
-
/**
|
|
33
|
-
* @param {?} viewContainerRef
|
|
34
|
-
*/
|
|
35
|
-
function InitialShapeSelectionDirective(viewContainerRef) {
|
|
36
|
-
var _this = _super.call(this) || this;
|
|
37
|
-
_this.viewContainerRef = viewContainerRef;
|
|
38
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
39
|
-
_this.registerEvents(outputs);
|
|
40
|
-
_this.directivePropList = input;
|
|
41
|
-
return _this;
|
|
42
|
-
}
|
|
43
|
-
return InitialShapeSelectionDirective;
|
|
44
|
-
}(ComplexBase));
|
|
45
|
-
InitialShapeSelectionDirective.decorators = [
|
|
46
|
-
{ type: Directive, args: [{
|
|
47
|
-
selector: 'e-layer>e-initialShapeSelections>e-initialShapeSelection',
|
|
48
|
-
inputs: input,
|
|
49
|
-
outputs: outputs,
|
|
50
|
-
queries: {}
|
|
51
|
-
},] },
|
|
52
|
-
];
|
|
53
|
-
/**
|
|
54
|
-
* @nocollapse
|
|
55
|
-
*/
|
|
56
|
-
InitialShapeSelectionDirective.ctorParameters = function () { return [
|
|
57
|
-
{ type: ViewContainerRef, },
|
|
58
|
-
]; };
|
|
59
|
-
/**
|
|
60
|
-
* InitialShapeSelection Array Directive
|
|
61
|
-
*/
|
|
62
|
-
var InitialShapeSelectionsDirective = /** @class */ (function (_super) {
|
|
63
|
-
__extends(InitialShapeSelectionsDirective, _super);
|
|
64
|
-
function InitialShapeSelectionsDirective() {
|
|
65
|
-
return _super.call(this, 'initialshapeselection') || this;
|
|
66
|
-
}
|
|
67
|
-
return InitialShapeSelectionsDirective;
|
|
68
|
-
}(ArrayBase));
|
|
69
|
-
InitialShapeSelectionsDirective.decorators = [
|
|
70
|
-
{ type: Directive, args: [{
|
|
71
|
-
selector: 'e-layer>e-initialShapeSelections',
|
|
72
|
-
queries: {
|
|
73
|
-
children: new ContentChildren(InitialShapeSelectionDirective)
|
|
74
|
-
},
|
|
75
|
-
},] },
|
|
76
|
-
];
|
|
77
|
-
/**
|
|
78
|
-
* @nocollapse
|
|
79
|
-
*/
|
|
80
|
-
InitialShapeSelectionsDirective.ctorParameters = function () { return []; };
|
|
81
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
82
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
83
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
84
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
85
|
-
else
|
|
86
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
87
|
-
if (d = decorators[i])
|
|
88
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
89
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
90
|
-
};
|
|
91
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
92
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
93
|
-
return Reflect.metadata(k, v);
|
|
94
|
-
};
|
|
95
|
-
var input$1 = ['animationDelay', 'animationDuration', 'border', 'colorValuePath', 'dashArray', 'dataSource', 'fill', 'height', 'highlightSettings', 'imageUrl', 'imageUrlValuePath', 'initialMarkerSelection', 'latitudeValuePath', 'legendText', 'longitudeValuePath', 'offset', 'opacity', 'query', 'selectionSettings', 'shape', 'shapeValuePath', 'template', 'tooltipSettings', 'visible', 'width'];
|
|
96
|
-
var outputs$1 = [];
|
|
97
|
-
/**
|
|
98
|
-
* Layer Directive
|
|
99
|
-
* ```html
|
|
100
|
-
* <e-layers>
|
|
101
|
-
* <e-layer>
|
|
102
|
-
* <e-markerSettings>
|
|
103
|
-
* <e-markerSetting>
|
|
104
|
-
* </e-markerSetting>
|
|
105
|
-
* </e-markerSettings>
|
|
106
|
-
* </e-layer>
|
|
107
|
-
* </e-layers>
|
|
108
|
-
* ```
|
|
109
|
-
*/
|
|
110
|
-
var MarkerDirective = /** @class */ (function (_super) {
|
|
111
|
-
__extends(MarkerDirective, _super);
|
|
112
|
-
/**
|
|
113
|
-
* @param {?} viewContainerRef
|
|
114
|
-
*/
|
|
115
|
-
function MarkerDirective(viewContainerRef) {
|
|
116
|
-
var _this = _super.call(this) || this;
|
|
117
|
-
_this.viewContainerRef = viewContainerRef;
|
|
118
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
119
|
-
_this.registerEvents(outputs$1);
|
|
120
|
-
_this.directivePropList = input$1;
|
|
121
|
-
return _this;
|
|
122
|
-
}
|
|
123
|
-
return MarkerDirective;
|
|
124
|
-
}(ComplexBase));
|
|
125
|
-
MarkerDirective.decorators = [
|
|
126
|
-
{ type: Directive, args: [{
|
|
127
|
-
selector: 'e-layer>e-markerSettings>e-markerSetting',
|
|
128
|
-
inputs: input$1,
|
|
129
|
-
outputs: outputs$1,
|
|
130
|
-
queries: {}
|
|
131
|
-
},] },
|
|
132
|
-
];
|
|
133
|
-
/**
|
|
134
|
-
* @nocollapse
|
|
135
|
-
*/
|
|
136
|
-
MarkerDirective.ctorParameters = function () { return [
|
|
137
|
-
{ type: ViewContainerRef, },
|
|
138
|
-
]; };
|
|
139
|
-
MarkerDirective.propDecorators = {
|
|
140
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
141
|
-
'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
142
|
-
};
|
|
143
|
-
__decorate([
|
|
144
|
-
Template(),
|
|
145
|
-
__metadata("design:type", Object)
|
|
146
|
-
], MarkerDirective.prototype, "template", void 0);
|
|
147
|
-
__decorate([
|
|
148
|
-
Template(),
|
|
149
|
-
__metadata("design:type", Object)
|
|
150
|
-
], MarkerDirective.prototype, "tooltipSettings_template", void 0);
|
|
151
|
-
/**
|
|
152
|
-
* Marker Array Directive
|
|
153
|
-
*/
|
|
154
|
-
var MarkersDirective = /** @class */ (function (_super) {
|
|
155
|
-
__extends(MarkersDirective, _super);
|
|
156
|
-
function MarkersDirective() {
|
|
157
|
-
return _super.call(this, 'markersettings') || this;
|
|
158
|
-
}
|
|
159
|
-
return MarkersDirective;
|
|
160
|
-
}(ArrayBase));
|
|
161
|
-
MarkersDirective.decorators = [
|
|
162
|
-
{ type: Directive, args: [{
|
|
163
|
-
selector: 'e-layer>e-markerSettings',
|
|
164
|
-
queries: {
|
|
165
|
-
children: new ContentChildren(MarkerDirective)
|
|
166
|
-
},
|
|
167
|
-
},] },
|
|
168
|
-
];
|
|
169
|
-
/**
|
|
170
|
-
* @nocollapse
|
|
171
|
-
*/
|
|
172
|
-
MarkersDirective.ctorParameters = function () { return []; };
|
|
173
|
-
var input$2 = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
|
|
174
|
-
var outputs$2 = [];
|
|
175
|
-
/**
|
|
176
|
-
* ColorMapping Directive
|
|
177
|
-
* ```html
|
|
178
|
-
* <e-layers>
|
|
179
|
-
* <e-layer>
|
|
180
|
-
* <e-bubbleSettings>
|
|
181
|
-
* <e-colorMappings>
|
|
182
|
-
* <e-colorMapping>
|
|
183
|
-
* </e-colorMapping>
|
|
184
|
-
* </e-colorMappings>
|
|
185
|
-
* </e-bubbleSettings>
|
|
186
|
-
* </e-layer>
|
|
187
|
-
* </e-layers>
|
|
188
|
-
* ```
|
|
189
|
-
*/
|
|
190
|
-
var ColorMappingDirective = /** @class */ (function (_super) {
|
|
191
|
-
__extends(ColorMappingDirective, _super);
|
|
192
|
-
/**
|
|
193
|
-
* @param {?} viewContainerRef
|
|
194
|
-
*/
|
|
195
|
-
function ColorMappingDirective(viewContainerRef) {
|
|
196
|
-
var _this = _super.call(this) || this;
|
|
197
|
-
_this.viewContainerRef = viewContainerRef;
|
|
198
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
199
|
-
_this.registerEvents(outputs$2);
|
|
200
|
-
_this.directivePropList = input$2;
|
|
201
|
-
return _this;
|
|
202
|
-
}
|
|
203
|
-
return ColorMappingDirective;
|
|
204
|
-
}(ComplexBase));
|
|
205
|
-
ColorMappingDirective.decorators = [
|
|
206
|
-
{ type: Directive, args: [{
|
|
207
|
-
selector: 'e-bubbleSettings>e-colorMappings>e-colorMapping',
|
|
208
|
-
inputs: input$2,
|
|
209
|
-
outputs: outputs$2,
|
|
210
|
-
queries: {}
|
|
211
|
-
},] },
|
|
212
|
-
];
|
|
213
|
-
/**
|
|
214
|
-
* @nocollapse
|
|
215
|
-
*/
|
|
216
|
-
ColorMappingDirective.ctorParameters = function () { return [
|
|
217
|
-
{ type: ViewContainerRef, },
|
|
218
|
-
]; };
|
|
219
|
-
/**
|
|
220
|
-
* ColorMapping Array Directive
|
|
221
|
-
*/
|
|
222
|
-
var ColorMappingsDirective = /** @class */ (function (_super) {
|
|
223
|
-
__extends(ColorMappingsDirective, _super);
|
|
224
|
-
function ColorMappingsDirective() {
|
|
225
|
-
return _super.call(this, 'colormapping') || this;
|
|
226
|
-
}
|
|
227
|
-
return ColorMappingsDirective;
|
|
228
|
-
}(ArrayBase));
|
|
229
|
-
ColorMappingsDirective.decorators = [
|
|
230
|
-
{ type: Directive, args: [{
|
|
231
|
-
selector: 'e-bubbleSettings>e-colorMappings',
|
|
232
|
-
queries: {
|
|
233
|
-
children: new ContentChildren(ColorMappingDirective)
|
|
234
|
-
},
|
|
235
|
-
},] },
|
|
236
|
-
];
|
|
237
|
-
/**
|
|
238
|
-
* @nocollapse
|
|
239
|
-
*/
|
|
240
|
-
ColorMappingsDirective.ctorParameters = function () { return []; };
|
|
241
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
242
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
243
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
244
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
245
|
-
else
|
|
246
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
247
|
-
if (d = decorators[i])
|
|
248
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
249
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
250
|
-
};
|
|
251
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
252
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
253
|
-
return Reflect.metadata(k, v);
|
|
254
|
-
};
|
|
255
|
-
var input$3 = ['animationDelay', 'animationDuration', 'border', 'bubbleType', 'colorMapping', 'colorValuePath', 'dataSource', 'fill', 'highlightSettings', 'maxRadius', 'minRadius', 'opacity', 'query', 'selectionSettings', 'tooltipSettings', 'valuePath', 'visible'];
|
|
256
|
-
var outputs$3 = [];
|
|
257
|
-
/**
|
|
258
|
-
* Layer Directive
|
|
259
|
-
* ```html
|
|
260
|
-
* <e-layers>
|
|
261
|
-
* <e-layer>
|
|
262
|
-
* <e-bubbleSettings>
|
|
263
|
-
* <e-bubbleSetting>
|
|
264
|
-
* </e-bubbleSetting>
|
|
265
|
-
* </e-bubbleSettings>
|
|
266
|
-
* </e-layer>
|
|
267
|
-
* </e-layers>
|
|
268
|
-
* ```
|
|
269
|
-
*/
|
|
270
|
-
var BubbleDirective = /** @class */ (function (_super) {
|
|
271
|
-
__extends(BubbleDirective, _super);
|
|
272
|
-
/**
|
|
273
|
-
* @param {?} viewContainerRef
|
|
274
|
-
*/
|
|
275
|
-
function BubbleDirective(viewContainerRef) {
|
|
276
|
-
var _this = _super.call(this) || this;
|
|
277
|
-
_this.viewContainerRef = viewContainerRef;
|
|
278
|
-
_this.tags = ['colorMapping'];
|
|
279
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
280
|
-
_this.registerEvents(outputs$3);
|
|
281
|
-
_this.directivePropList = input$3;
|
|
282
|
-
return _this;
|
|
283
|
-
}
|
|
284
|
-
return BubbleDirective;
|
|
285
|
-
}(ComplexBase));
|
|
286
|
-
BubbleDirective.decorators = [
|
|
287
|
-
{ type: Directive, args: [{
|
|
288
|
-
selector: 'e-layer>e-bubbleSettings>e-bubbleSetting',
|
|
289
|
-
inputs: input$3,
|
|
290
|
-
outputs: outputs$3,
|
|
291
|
-
queries: {
|
|
292
|
-
childColorMapping: new ContentChild(ColorMappingsDirective)
|
|
293
|
-
}
|
|
294
|
-
},] },
|
|
295
|
-
];
|
|
296
|
-
/**
|
|
297
|
-
* @nocollapse
|
|
298
|
-
*/
|
|
299
|
-
BubbleDirective.ctorParameters = function () { return [
|
|
300
|
-
{ type: ViewContainerRef, },
|
|
301
|
-
]; };
|
|
302
|
-
BubbleDirective.propDecorators = {
|
|
303
|
-
'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
304
|
-
};
|
|
305
|
-
__decorate$1([
|
|
306
|
-
Template(),
|
|
307
|
-
__metadata$1("design:type", Object)
|
|
308
|
-
], BubbleDirective.prototype, "tooltipSettings_template", void 0);
|
|
309
|
-
/**
|
|
310
|
-
* Bubble Array Directive
|
|
311
|
-
*/
|
|
312
|
-
var BubblesDirective = /** @class */ (function (_super) {
|
|
313
|
-
__extends(BubblesDirective, _super);
|
|
314
|
-
function BubblesDirective() {
|
|
315
|
-
return _super.call(this, 'bubblesettings') || this;
|
|
316
|
-
}
|
|
317
|
-
return BubblesDirective;
|
|
318
|
-
}(ArrayBase));
|
|
319
|
-
BubblesDirective.decorators = [
|
|
320
|
-
{ type: Directive, args: [{
|
|
321
|
-
selector: 'e-layer>e-bubbleSettings',
|
|
322
|
-
queries: {
|
|
323
|
-
children: new ContentChildren(BubbleDirective)
|
|
324
|
-
},
|
|
325
|
-
},] },
|
|
326
|
-
];
|
|
327
|
-
/**
|
|
328
|
-
* @nocollapse
|
|
329
|
-
*/
|
|
330
|
-
BubblesDirective.ctorParameters = function () { return []; };
|
|
331
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
332
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
333
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
334
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
335
|
-
else
|
|
336
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
337
|
-
if (d = decorators[i])
|
|
338
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
339
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
340
|
-
};
|
|
341
|
-
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
342
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
343
|
-
return Reflect.metadata(k, v);
|
|
344
|
-
};
|
|
345
|
-
var input$4 = ['angle', 'arrowSettings', 'color', 'dashArray', 'highlightSettings', 'latitude', 'longitude', 'selectionSettings', 'visible', 'width'];
|
|
346
|
-
var outputs$4 = [];
|
|
347
|
-
/**
|
|
348
|
-
* Layer Directive
|
|
349
|
-
* ```html
|
|
350
|
-
* <e-layers>
|
|
351
|
-
* <e-layer>
|
|
352
|
-
* <e-navigationLineSettings>
|
|
353
|
-
* <e-navigationLineSetting>
|
|
354
|
-
* </e-navigationLineSetting>
|
|
355
|
-
* </e-navigationLineSettings>
|
|
356
|
-
* </e-layer>
|
|
357
|
-
* </e-layers>
|
|
358
|
-
* ```
|
|
359
|
-
*/
|
|
360
|
-
var NavigationLineDirective = /** @class */ (function (_super) {
|
|
361
|
-
__extends(NavigationLineDirective, _super);
|
|
362
|
-
/**
|
|
363
|
-
* @param {?} viewContainerRef
|
|
364
|
-
*/
|
|
365
|
-
function NavigationLineDirective(viewContainerRef) {
|
|
366
|
-
var _this = _super.call(this) || this;
|
|
367
|
-
_this.viewContainerRef = viewContainerRef;
|
|
368
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
369
|
-
_this.registerEvents(outputs$4);
|
|
370
|
-
_this.directivePropList = input$4;
|
|
371
|
-
return _this;
|
|
372
|
-
}
|
|
373
|
-
return NavigationLineDirective;
|
|
374
|
-
}(ComplexBase));
|
|
375
|
-
NavigationLineDirective.decorators = [
|
|
376
|
-
{ type: Directive, args: [{
|
|
377
|
-
selector: 'e-layer>e-navigationLineSettings>e-navigationLineSetting',
|
|
378
|
-
inputs: input$4,
|
|
379
|
-
outputs: outputs$4,
|
|
380
|
-
queries: {}
|
|
381
|
-
},] },
|
|
382
|
-
];
|
|
383
|
-
/**
|
|
384
|
-
* @nocollapse
|
|
385
|
-
*/
|
|
386
|
-
NavigationLineDirective.ctorParameters = function () { return [
|
|
387
|
-
{ type: ViewContainerRef, },
|
|
388
|
-
]; };
|
|
389
|
-
NavigationLineDirective.propDecorators = {
|
|
390
|
-
'tooltipSettings_template': [{ type: ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
391
|
-
};
|
|
392
|
-
__decorate$2([
|
|
393
|
-
Template(),
|
|
394
|
-
__metadata$2("design:type", Object)
|
|
395
|
-
], NavigationLineDirective.prototype, "tooltipSettings_template", void 0);
|
|
396
|
-
/**
|
|
397
|
-
* NavigationLine Array Directive
|
|
398
|
-
*/
|
|
399
|
-
var NavigationLinesDirective = /** @class */ (function (_super) {
|
|
400
|
-
__extends(NavigationLinesDirective, _super);
|
|
401
|
-
function NavigationLinesDirective() {
|
|
402
|
-
return _super.call(this, 'navigationlinesettings') || this;
|
|
403
|
-
}
|
|
404
|
-
return NavigationLinesDirective;
|
|
405
|
-
}(ArrayBase));
|
|
406
|
-
NavigationLinesDirective.decorators = [
|
|
407
|
-
{ type: Directive, args: [{
|
|
408
|
-
selector: 'e-layer>e-navigationLineSettings',
|
|
409
|
-
queries: {
|
|
410
|
-
children: new ContentChildren(NavigationLineDirective)
|
|
411
|
-
},
|
|
412
|
-
},] },
|
|
413
|
-
];
|
|
414
|
-
/**
|
|
415
|
-
* @nocollapse
|
|
416
|
-
*/
|
|
417
|
-
NavigationLinesDirective.ctorParameters = function () { return []; };
|
|
418
|
-
var input$5 = ['animationDuration', 'bingMapType', 'bubbleSettings', 'dataLabelSettings', 'dataSource', 'geometryType', 'highlightSettings', 'initialShapeSelection', 'key', 'layerType', 'markerClusterSettings', 'markerSettings', 'navigationLineSettings', 'query', 'selectionSettings', 'shapeData', 'shapeDataPath', 'shapePropertyPath', 'shapeSettings', 'staticMapType', 'toggleLegendSettings', 'tooltipSettings', 'type', 'urlTemplate', 'visible'];
|
|
419
|
-
var outputs$5 = [];
|
|
420
|
-
/**
|
|
421
|
-
* Layer Directive
|
|
422
|
-
* ```html
|
|
423
|
-
* <e-layers>
|
|
424
|
-
* <e-layer></e-layer>
|
|
425
|
-
* </e-layers>
|
|
426
|
-
* ```
|
|
427
|
-
*/
|
|
428
|
-
var LayerDirective = /** @class */ (function (_super) {
|
|
429
|
-
__extends(LayerDirective, _super);
|
|
430
|
-
/**
|
|
431
|
-
* @param {?} viewContainerRef
|
|
432
|
-
*/
|
|
433
|
-
function LayerDirective(viewContainerRef) {
|
|
434
|
-
var _this = _super.call(this) || this;
|
|
435
|
-
_this.viewContainerRef = viewContainerRef;
|
|
436
|
-
_this.tags = ['initialShapeSelection', 'markerSettings', 'bubbleSettings', 'navigationLineSettings'];
|
|
437
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
438
|
-
_this.registerEvents(outputs$5);
|
|
439
|
-
_this.directivePropList = input$5;
|
|
440
|
-
return _this;
|
|
441
|
-
}
|
|
442
|
-
return LayerDirective;
|
|
443
|
-
}(ComplexBase));
|
|
444
|
-
LayerDirective.decorators = [
|
|
445
|
-
{ type: Directive, args: [{
|
|
446
|
-
selector: 'e-layers>e-layer',
|
|
447
|
-
inputs: input$5,
|
|
448
|
-
outputs: outputs$5,
|
|
449
|
-
queries: {
|
|
450
|
-
childInitialShapeSelection: new ContentChild(InitialShapeSelectionsDirective),
|
|
451
|
-
childMarkerSettings: new ContentChild(MarkersDirective),
|
|
452
|
-
childBubbleSettings: new ContentChild(BubblesDirective),
|
|
453
|
-
childNavigationLineSettings: new ContentChild(NavigationLinesDirective)
|
|
454
|
-
}
|
|
455
|
-
},] },
|
|
456
|
-
];
|
|
457
|
-
/**
|
|
458
|
-
* @nocollapse
|
|
459
|
-
*/
|
|
460
|
-
LayerDirective.ctorParameters = function () { return [
|
|
461
|
-
{ type: ViewContainerRef, },
|
|
462
|
-
]; };
|
|
463
|
-
/**
|
|
464
|
-
* Layer Array Directive
|
|
465
|
-
*/
|
|
466
|
-
var LayersDirective = /** @class */ (function (_super) {
|
|
467
|
-
__extends(LayersDirective, _super);
|
|
468
|
-
function LayersDirective() {
|
|
469
|
-
return _super.call(this, 'layers') || this;
|
|
470
|
-
}
|
|
471
|
-
return LayersDirective;
|
|
472
|
-
}(ArrayBase));
|
|
473
|
-
LayersDirective.decorators = [
|
|
474
|
-
{ type: Directive, args: [{
|
|
475
|
-
selector: 'ej-maps>e-layers',
|
|
476
|
-
queries: {
|
|
477
|
-
children: new ContentChildren(LayerDirective)
|
|
478
|
-
},
|
|
479
|
-
},] },
|
|
480
|
-
];
|
|
481
|
-
/**
|
|
482
|
-
* @nocollapse
|
|
483
|
-
*/
|
|
484
|
-
LayersDirective.ctorParameters = function () { return []; };
|
|
485
|
-
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
486
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
487
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
488
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
489
|
-
else
|
|
490
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
491
|
-
if (d = decorators[i])
|
|
492
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
493
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
494
|
-
};
|
|
495
|
-
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
496
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
497
|
-
return Reflect.metadata(k, v);
|
|
498
|
-
};
|
|
499
|
-
var input$6 = ['content', 'horizontalAlignment', 'verticalAlignment', 'x', 'y', 'zIndex'];
|
|
500
|
-
var outputs$6 = [];
|
|
501
|
-
/**
|
|
502
|
-
* Annotation Directive
|
|
503
|
-
* ```html
|
|
504
|
-
* <e-maps-annotations>
|
|
505
|
-
* <e-maps-annotation></e-maps-annotation>
|
|
506
|
-
* </e-maps-annotations>
|
|
507
|
-
* ```
|
|
508
|
-
*/
|
|
509
|
-
var AnnotationDirective = /** @class */ (function (_super) {
|
|
510
|
-
__extends(AnnotationDirective, _super);
|
|
511
|
-
/**
|
|
512
|
-
* @param {?} viewContainerRef
|
|
513
|
-
*/
|
|
514
|
-
function AnnotationDirective(viewContainerRef) {
|
|
515
|
-
var _this = _super.call(this) || this;
|
|
516
|
-
_this.viewContainerRef = viewContainerRef;
|
|
517
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
518
|
-
_this.registerEvents(outputs$6);
|
|
519
|
-
_this.directivePropList = input$6;
|
|
520
|
-
return _this;
|
|
521
|
-
}
|
|
522
|
-
return AnnotationDirective;
|
|
523
|
-
}(ComplexBase));
|
|
524
|
-
AnnotationDirective.decorators = [
|
|
525
|
-
{ type: Directive, args: [{
|
|
526
|
-
selector: 'e-maps-annotations>e-maps-annotation',
|
|
527
|
-
inputs: input$6,
|
|
528
|
-
outputs: outputs$6,
|
|
529
|
-
queries: {}
|
|
530
|
-
},] },
|
|
531
|
-
];
|
|
532
|
-
/**
|
|
533
|
-
* @nocollapse
|
|
534
|
-
*/
|
|
535
|
-
AnnotationDirective.ctorParameters = function () { return [
|
|
536
|
-
{ type: ViewContainerRef, },
|
|
537
|
-
]; };
|
|
538
|
-
AnnotationDirective.propDecorators = {
|
|
539
|
-
'content': [{ type: ContentChild, args: ['content',] },],
|
|
540
|
-
};
|
|
541
|
-
__decorate$3([
|
|
542
|
-
Template(),
|
|
543
|
-
__metadata$3("design:type", Object)
|
|
544
|
-
], AnnotationDirective.prototype, "content", void 0);
|
|
545
|
-
/**
|
|
546
|
-
* Annotation Array Directive
|
|
547
|
-
*/
|
|
548
|
-
var AnnotationsDirective = /** @class */ (function (_super) {
|
|
549
|
-
__extends(AnnotationsDirective, _super);
|
|
550
|
-
function AnnotationsDirective() {
|
|
551
|
-
return _super.call(this, 'annotations') || this;
|
|
552
|
-
}
|
|
553
|
-
return AnnotationsDirective;
|
|
554
|
-
}(ArrayBase));
|
|
555
|
-
AnnotationsDirective.decorators = [
|
|
556
|
-
{ type: Directive, args: [{
|
|
557
|
-
selector: 'ej-maps>e-maps-annotations',
|
|
558
|
-
queries: {
|
|
559
|
-
children: new ContentChildren(AnnotationDirective)
|
|
560
|
-
},
|
|
561
|
-
},] },
|
|
562
|
-
];
|
|
563
|
-
/**
|
|
564
|
-
* @nocollapse
|
|
565
|
-
*/
|
|
566
|
-
AnnotationsDirective.ctorParameters = function () { return []; };
|
|
567
|
-
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
568
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
569
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
570
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
571
|
-
else
|
|
572
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
573
|
-
if (d = decorators[i])
|
|
574
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
575
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
576
|
-
};
|
|
577
|
-
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
578
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
579
|
-
return Reflect.metadata(k, v);
|
|
580
|
-
};
|
|
581
|
-
var inputs = ['allowImageExport', 'allowPdfExport', 'allowPrint', 'annotations', 'background', 'baseLayerIndex', 'border', 'centerPosition', 'description', 'enablePersistence', 'enableRtl', 'format', 'height', 'layers', 'legendSettings', 'locale', 'mapsArea', 'margin', 'projectionType', 'tabIndex', 'theme', 'titleSettings', 'tooltipDisplayMode', 'useGroupingSeparator', 'width', 'zoomSettings'];
|
|
582
|
-
var outputs$7 = ['animationComplete', 'annotationRendering', 'beforePrint', 'bubbleClick', 'bubbleMouseMove', 'bubbleRendering', 'click', 'dataLabelRendering', 'doubleClick', 'itemHighlight', 'itemSelection', 'layerRendering', 'legendRendering', 'load', 'loaded', 'markerClick', 'markerClusterClick', 'markerClusterMouseMove', 'markerClusterRendering', 'markerMouseMove', 'markerRendering', 'pan', 'resize', 'rightClick', 'shapeHighlight', 'shapeRendering', 'shapeSelected', 'tooltipRender', 'tooltipRenderComplete', 'zoom', 'dataSourceChange'];
|
|
583
|
-
var twoWays = ['dataSource'];
|
|
584
|
-
/**
|
|
585
|
-
* Represents Maps Component
|
|
586
|
-
* ```html
|
|
587
|
-
* <ej-maps></ej-maps>
|
|
588
|
-
* ```
|
|
589
|
-
*/
|
|
590
|
-
var MapsComponent = /** @class */ (function (_super) {
|
|
591
|
-
__extends(MapsComponent, _super);
|
|
592
|
-
/**
|
|
593
|
-
* @param {?} ngEle
|
|
594
|
-
* @param {?} srenderer
|
|
595
|
-
* @param {?} viewContainerRef
|
|
596
|
-
* @param {?} injector
|
|
597
|
-
*/
|
|
598
|
-
function MapsComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
599
|
-
var _this = _super.call(this) || this;
|
|
600
|
-
_this.ngEle = ngEle;
|
|
601
|
-
_this.srenderer = srenderer;
|
|
602
|
-
_this.viewContainerRef = viewContainerRef;
|
|
603
|
-
_this.injector = injector;
|
|
604
|
-
_this.tags = ['layers', 'annotations'];
|
|
605
|
-
_this.element = _this.ngEle.nativeElement;
|
|
606
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
607
|
-
try {
|
|
608
|
-
var mod = _this.injector.get('MapsBubble');
|
|
609
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
610
|
-
_this.injectedModules.push(mod);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
catch (_a) { }
|
|
614
|
-
try {
|
|
615
|
-
var mod = _this.injector.get('MapsLegend');
|
|
616
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
617
|
-
_this.injectedModules.push(mod);
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
catch (_b) { }
|
|
621
|
-
try {
|
|
622
|
-
var mod = _this.injector.get('MapsMarker');
|
|
623
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
624
|
-
_this.injectedModules.push(mod);
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
catch (_c) { }
|
|
628
|
-
try {
|
|
629
|
-
var mod = _this.injector.get('MapsHighlight');
|
|
630
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
631
|
-
_this.injectedModules.push(mod);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
catch (_d) { }
|
|
635
|
-
try {
|
|
636
|
-
var mod = _this.injector.get('MapsSelection');
|
|
637
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
638
|
-
_this.injectedModules.push(mod);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
catch (_e) { }
|
|
642
|
-
try {
|
|
643
|
-
var mod = _this.injector.get('MapsMapsTooltip');
|
|
644
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
645
|
-
_this.injectedModules.push(mod);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
catch (_f) { }
|
|
649
|
-
try {
|
|
650
|
-
var mod = _this.injector.get('MapsZoom');
|
|
651
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
652
|
-
_this.injectedModules.push(mod);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
catch (_g) { }
|
|
656
|
-
try {
|
|
657
|
-
var mod = _this.injector.get('MapsDataLabel');
|
|
658
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
659
|
-
_this.injectedModules.push(mod);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
catch (_h) { }
|
|
663
|
-
try {
|
|
664
|
-
var mod = _this.injector.get('MapsNavigationLine');
|
|
665
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
666
|
-
_this.injectedModules.push(mod);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
catch (_j) { }
|
|
670
|
-
try {
|
|
671
|
-
var mod = _this.injector.get('MapsAnnotations');
|
|
672
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
673
|
-
_this.injectedModules.push(mod);
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
catch (_k) { }
|
|
677
|
-
try {
|
|
678
|
-
var mod = _this.injector.get('MapsPrint');
|
|
679
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
680
|
-
_this.injectedModules.push(mod);
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
catch (_l) { }
|
|
684
|
-
try {
|
|
685
|
-
var mod = _this.injector.get('MapsPdfExport');
|
|
686
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
687
|
-
_this.injectedModules.push(mod);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
catch (_m) { }
|
|
691
|
-
try {
|
|
692
|
-
var mod = _this.injector.get('MapsImageExport');
|
|
693
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
694
|
-
_this.injectedModules.push(mod);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
catch (_o) { }
|
|
698
|
-
_this.registerEvents(outputs$7);
|
|
699
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
700
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
701
|
-
_this.context = new ComponentBase();
|
|
702
|
-
return _this;
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* @return {?}
|
|
706
|
-
*/
|
|
707
|
-
MapsComponent.prototype.ngOnInit = function () {
|
|
708
|
-
this.context.ngOnInit(this);
|
|
709
|
-
};
|
|
710
|
-
/**
|
|
711
|
-
* @return {?}
|
|
712
|
-
*/
|
|
713
|
-
MapsComponent.prototype.ngAfterViewInit = function () {
|
|
714
|
-
this.context.ngAfterViewInit(this);
|
|
715
|
-
};
|
|
716
|
-
/**
|
|
717
|
-
* @return {?}
|
|
718
|
-
*/
|
|
719
|
-
MapsComponent.prototype.ngOnDestroy = function () {
|
|
720
|
-
this.context.ngOnDestroy(this);
|
|
721
|
-
};
|
|
722
|
-
/**
|
|
723
|
-
* @return {?}
|
|
724
|
-
*/
|
|
725
|
-
MapsComponent.prototype.ngAfterContentChecked = function () {
|
|
726
|
-
this.tagObjects[0].instance = this.childLayers;
|
|
727
|
-
if (this.childAnnotations) {
|
|
728
|
-
this.tagObjects[1].instance = /** @type {?} */ (this.childAnnotations);
|
|
729
|
-
}
|
|
730
|
-
this.context.ngAfterContentChecked(this);
|
|
731
|
-
};
|
|
732
|
-
return MapsComponent;
|
|
733
|
-
}(Maps));
|
|
734
|
-
MapsComponent.decorators = [
|
|
735
|
-
{ type: Component, args: [{
|
|
736
|
-
selector: 'ejs-maps',
|
|
737
|
-
inputs: inputs,
|
|
738
|
-
outputs: outputs$7,
|
|
739
|
-
template: '',
|
|
740
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
741
|
-
queries: {
|
|
742
|
-
childLayers: new ContentChild(LayersDirective),
|
|
743
|
-
childAnnotations: new ContentChild(AnnotationsDirective)
|
|
744
|
-
}
|
|
745
|
-
},] },
|
|
746
|
-
];
|
|
747
|
-
/**
|
|
748
|
-
* @nocollapse
|
|
749
|
-
*/
|
|
750
|
-
MapsComponent.ctorParameters = function () { return [
|
|
751
|
-
{ type: ElementRef, },
|
|
752
|
-
{ type: Renderer2, },
|
|
753
|
-
{ type: ViewContainerRef, },
|
|
754
|
-
{ type: Injector, },
|
|
755
|
-
]; };
|
|
756
|
-
MapsComponent = __decorate$4([
|
|
757
|
-
ComponentMixins([ComponentBase]),
|
|
758
|
-
__metadata$4("design:paramtypes", [ElementRef,
|
|
759
|
-
Renderer2,
|
|
760
|
-
ViewContainerRef,
|
|
761
|
-
Injector])
|
|
762
|
-
], MapsComponent);
|
|
763
|
-
/**
|
|
764
|
-
* NgModule definition for the Maps component.
|
|
765
|
-
*/
|
|
766
|
-
var MapsModule = /** @class */ (function () {
|
|
767
|
-
function MapsModule() {
|
|
768
|
-
}
|
|
769
|
-
return MapsModule;
|
|
770
|
-
}());
|
|
771
|
-
MapsModule.decorators = [
|
|
772
|
-
{ type: NgModule, args: [{
|
|
773
|
-
imports: [CommonModule],
|
|
774
|
-
declarations: [
|
|
775
|
-
MapsComponent,
|
|
776
|
-
InitialShapeSelectionDirective,
|
|
777
|
-
InitialShapeSelectionsDirective,
|
|
778
|
-
MarkerDirective,
|
|
779
|
-
MarkersDirective,
|
|
780
|
-
ColorMappingDirective,
|
|
781
|
-
ColorMappingsDirective,
|
|
782
|
-
BubbleDirective,
|
|
783
|
-
BubblesDirective,
|
|
784
|
-
NavigationLineDirective,
|
|
785
|
-
NavigationLinesDirective,
|
|
786
|
-
LayerDirective,
|
|
787
|
-
LayersDirective,
|
|
788
|
-
AnnotationDirective,
|
|
789
|
-
AnnotationsDirective
|
|
790
|
-
],
|
|
791
|
-
exports: [
|
|
792
|
-
MapsComponent,
|
|
793
|
-
InitialShapeSelectionDirective,
|
|
794
|
-
InitialShapeSelectionsDirective,
|
|
795
|
-
MarkerDirective,
|
|
796
|
-
MarkersDirective,
|
|
797
|
-
ColorMappingDirective,
|
|
798
|
-
ColorMappingsDirective,
|
|
799
|
-
BubbleDirective,
|
|
800
|
-
BubblesDirective,
|
|
801
|
-
NavigationLineDirective,
|
|
802
|
-
NavigationLinesDirective,
|
|
803
|
-
LayerDirective,
|
|
804
|
-
LayersDirective,
|
|
805
|
-
AnnotationDirective,
|
|
806
|
-
AnnotationsDirective
|
|
807
|
-
]
|
|
808
|
-
},] },
|
|
809
|
-
];
|
|
810
|
-
/**
|
|
811
|
-
* @nocollapse
|
|
812
|
-
*/
|
|
813
|
-
MapsModule.ctorParameters = function () { return []; };
|
|
814
|
-
var BubbleService = { provide: 'MapsBubble', useValue: Bubble };
|
|
815
|
-
var LegendService = { provide: 'MapsLegend', useValue: Legend };
|
|
816
|
-
var MarkerService = { provide: 'MapsMarker', useValue: Marker };
|
|
817
|
-
var HighlightService = { provide: 'MapsHighlight', useValue: Highlight };
|
|
818
|
-
var SelectionService = { provide: 'MapsSelection', useValue: Selection };
|
|
819
|
-
var MapsTooltipService = { provide: 'MapsMapsTooltip', useValue: MapsTooltip };
|
|
820
|
-
var ZoomService = { provide: 'MapsZoom', useValue: Zoom };
|
|
821
|
-
var DataLabelService = { provide: 'MapsDataLabel', useValue: DataLabel };
|
|
822
|
-
var NavigationLineService = { provide: 'MapsNavigationLine', useValue: NavigationLine };
|
|
823
|
-
var AnnotationsService = { provide: 'MapsAnnotations', useValue: Annotations };
|
|
824
|
-
var PrintService = { provide: 'MapsPrint', useValue: Print };
|
|
825
|
-
var PdfExportService = { provide: 'MapsPdfExport', useValue: PdfExport };
|
|
826
|
-
var ImageExportService = { provide: 'MapsImageExport', useValue: ImageExport };
|
|
827
|
-
/**
|
|
828
|
-
* NgModule definition for the Maps component with providers.
|
|
829
|
-
*/
|
|
830
|
-
var MapsAllModule = /** @class */ (function () {
|
|
831
|
-
function MapsAllModule() {
|
|
832
|
-
}
|
|
833
|
-
return MapsAllModule;
|
|
834
|
-
}());
|
|
835
|
-
MapsAllModule.decorators = [
|
|
836
|
-
{ type: NgModule, args: [{
|
|
837
|
-
imports: [CommonModule, MapsModule],
|
|
838
|
-
exports: [
|
|
839
|
-
MapsModule
|
|
840
|
-
],
|
|
841
|
-
providers: [
|
|
842
|
-
BubbleService,
|
|
843
|
-
LegendService,
|
|
844
|
-
MarkerService,
|
|
845
|
-
HighlightService,
|
|
846
|
-
SelectionService,
|
|
847
|
-
MapsTooltipService,
|
|
848
|
-
ZoomService,
|
|
849
|
-
DataLabelService,
|
|
850
|
-
NavigationLineService,
|
|
851
|
-
AnnotationsService,
|
|
852
|
-
PrintService,
|
|
853
|
-
PdfExportService,
|
|
854
|
-
ImageExportService
|
|
855
|
-
]
|
|
856
|
-
},] },
|
|
857
|
-
];
|
|
858
|
-
/**
|
|
859
|
-
* @nocollapse
|
|
860
|
-
*/
|
|
861
|
-
MapsAllModule.ctorParameters = function () { return []; };
|
|
862
|
-
/**
|
|
863
|
-
* Generated bundle index. Do not edit.
|
|
864
|
-
*/
|
|
865
|
-
export { InitialShapeSelectionDirective, InitialShapeSelectionsDirective, MarkerDirective, MarkersDirective, ColorMappingDirective, ColorMappingsDirective, BubbleDirective, BubblesDirective, NavigationLineDirective, NavigationLinesDirective, LayerDirective, LayersDirective, AnnotationDirective, AnnotationsDirective, MapsComponent, MapsModule, MapsAllModule, BubbleService, LegendService, MarkerService, HighlightService, SelectionService, MapsTooltipService, ZoomService, DataLabelService, NavigationLineService, AnnotationsService, PrintService, PdfExportService, ImageExportService, inputs as ɵa, outputs$7 as ɵb };
|
|
866
|
-
export { Maps, load, loaded, click, rightClick, doubleClick, resize, tooltipRender, shapeSelected, shapeHighlight, mousemove, mouseup, mousedown, layerRendering, shapeRendering, markerRendering, markerClusterRendering, markerClick, markerClusterClick, markerMouseMove, markerClusterMouseMove, dataLabelRendering, bubbleRendering, bubbleClick, bubbleMouseMove, animationComplete, legendRendering, annotationRendering, itemSelection, itemHighlight, beforePrint, zoomIn, zoomOut, pan, Annotation, Arrow, Font, Border, CenterPosition, TooltipSettings, Margin, ConnectorLineSettings, MarkerClusterSettings, MarkerClusterData, ColorMappingSettings, InitialMarkerSelectionSettings, InitialShapeSelectionSettings, SelectionSettings, HighlightSettings, NavigationLineSettings, BubbleSettings, CommonTitleSettings, SubTitleSettings, TitleSettings, ZoomSettings, ToggleLegendSettings, LegendSettings, DataLabelSettings, ShapeSettings, MarkerBase, MarkerSettings, LayerSettings, Tile, MapsAreaSettings, Size, stringToNumber, calculateSize, createSvg, getMousePosition, degreesToRadians, radiansToDegrees, convertGeoToPoint, convertTileLatLongToPoint, xToCoordinate, yToCoordinate, aitoff, roundTo, sinci, acos, calculateBound, triggerDownload, Point, MinMax, GeoLocation, measureText, TextOption, PathOption, ColorValue, RectOption, CircleOption, PolygonOption, PolylineOption, LineOption, Line, MapLocation, Rect, PatternOptions, renderTextElement, convertElement, formatValue, convertStringToValue, convertElementFromLabel, drawSymbols, getValueFromObject, markerColorChoose, markerShapeChoose, clusterTemplate, mergeSeparateCluster, clusterSeparate, marker, markerTemplate, maintainSelection, maintainStyleClass, appendShape, drawCircle, drawRectangle, drawPath, drawPolygon, drawPolyline, drawLine, calculateShapes, drawDiamond, drawTriangle, drawCross, drawHorizontalLine, drawVerticalLine, drawStar, drawBalloon, drawPattern, getFieldData, checkShapeDataFields, checkPropertyPath, filter, getRatioOfBubble, findMidPointOfPolygon, isCustomPath, textTrim, findPosition, removeElement, calculateCenterFromPixel, getTranslate, getZoomTranslate, fixInitialScaleForTile, getElementByID, getClientElement, Internalize, getTemplateFunction, getElement, getShapeData, triggerShapeEvent, getElementsByClassName, querySelector, getTargetElement, createStyle, customizeStyle, triggerItemSelectionEvent, removeClass, elementAnimate, timeout, showTooltip, wordWrap, createTooltip, drawSymbol, renderLegendShape, getElementOffset, changeBorderWidth, changeNavaigationLineWidth, targetTouches, calculateScale, getDistance, getTouches, getTouchCenter, sum, zoomAnimate, animate, MapAjax, smoothTranslate, compareZoomFactor, calculateZoomLevel, processResult, LayerPanel, Bubble, BingMap, Marker, ColorMapping, DataLabel, NavigationLine, Legend, Highlight, Selection, MapsTooltip, Zoom, Annotations, Print, ImageExport, PdfExport } from '@syncfusion/ej2-maps';
|
|
867
|
-
//# sourceMappingURL=ej2-angular-maps.es5.js.map
|