@syncfusion/ej2-angular-maps 29.2.11-ngcc → 30.1.37-ngcc
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/@syncfusion/ej2-angular-maps.es5.js +876 -876
- package/@syncfusion/ej2-angular-maps.js +780 -780
- package/{license → LICENSE} +10 -10
- package/dist/ej2-angular-maps.umd.js +867 -867
- package/dist/ej2-angular-maps.umd.min.js +1 -1
- package/ej2-angular-maps.d.ts +5 -5
- package/package.json +4 -4
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/index.d.ts +11 -11
- package/src/maps/annotations.directive.d.ts +53 -53
- package/src/maps/bubblesettings.directive.d.ts +116 -116
- package/src/maps/colormapping.directive.d.ts +71 -71
- package/src/maps/initialshapeselection.directive.d.ts +37 -37
- package/src/maps/layers.directive.d.ts +135 -135
- package/src/maps/maps-all.module.d.ts +20 -20
- package/src/maps/maps.component.d.ts +70 -70
- package/src/maps/maps.module.d.ts +5 -5
- package/src/maps/markersettings.directive.d.ts +171 -171
- package/src/maps/navigationlinesettings.directive.d.ts +75 -75
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-maps.umd.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 30.1.37
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
@@ -13,872 +13,872 @@
|
|
|
13
13
|
(factory((global['ej2-angular-maps'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.maps,global.ng.common));
|
|
14
14
|
}(this, (function (exports,core,ej2AngularBase,ej2Maps,common) { 'use strict';
|
|
15
15
|
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
-
return function (d, b) {
|
|
21
|
-
extendStatics(d, b);
|
|
22
|
-
function __() { this.constructor = d; }
|
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
var input = ['shapePath', 'shapeValue'];
|
|
27
|
-
var outputs = [];
|
|
28
|
-
/**
|
|
29
|
-
* Represents the directive to configure the selection of the shapes when the maps is initially rendered.
|
|
30
|
-
* ```html
|
|
31
|
-
* <e-layers>
|
|
32
|
-
* <e-layer>
|
|
33
|
-
* <e-initialShapeSelections>
|
|
34
|
-
* <e-initialShapeSelection>
|
|
35
|
-
* </e-initialShapeSelection>
|
|
36
|
-
* </e-initialShapeSelections>
|
|
37
|
-
* </e-layer>
|
|
38
|
-
* </e-layers>
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
var InitialShapeSelectionDirective = /** @class */ (function (_super) {
|
|
42
|
-
__extends(InitialShapeSelectionDirective, _super);
|
|
43
|
-
/**
|
|
44
|
-
* @param {?} viewContainerRef
|
|
45
|
-
*/
|
|
46
|
-
function InitialShapeSelectionDirective(viewContainerRef) {
|
|
47
|
-
var _this = _super.call(this) || this;
|
|
48
|
-
_this.viewContainerRef = viewContainerRef;
|
|
49
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
50
|
-
_this.registerEvents(outputs);
|
|
51
|
-
_this.directivePropList = input;
|
|
52
|
-
return _this;
|
|
53
|
-
}
|
|
54
|
-
return InitialShapeSelectionDirective;
|
|
55
|
-
}(ej2AngularBase.ComplexBase));
|
|
56
|
-
InitialShapeSelectionDirective.decorators = [
|
|
57
|
-
{ type: core.Directive, args: [{
|
|
58
|
-
selector: 'e-layer>e-initialShapeSelections>e-initialShapeSelection',
|
|
59
|
-
inputs: input,
|
|
60
|
-
outputs: outputs,
|
|
61
|
-
queries: {}
|
|
62
|
-
},] },
|
|
63
|
-
];
|
|
64
|
-
/**
|
|
65
|
-
* @nocollapse
|
|
66
|
-
*/
|
|
67
|
-
InitialShapeSelectionDirective.ctorParameters = function () { return [
|
|
68
|
-
{ type: core.ViewContainerRef, },
|
|
69
|
-
]; };
|
|
70
|
-
/**
|
|
71
|
-
* InitialShapeSelection Array Directive
|
|
72
|
-
*/
|
|
73
|
-
var InitialShapeSelectionsDirective = /** @class */ (function (_super) {
|
|
74
|
-
__extends(InitialShapeSelectionsDirective, _super);
|
|
75
|
-
function InitialShapeSelectionsDirective() {
|
|
76
|
-
return _super.call(this, 'initialshapeselection') || this;
|
|
77
|
-
}
|
|
78
|
-
return InitialShapeSelectionsDirective;
|
|
79
|
-
}(ej2AngularBase.ArrayBase));
|
|
80
|
-
InitialShapeSelectionsDirective.decorators = [
|
|
81
|
-
{ type: core.Directive, args: [{
|
|
82
|
-
selector: 'e-layer>e-initialShapeSelections',
|
|
83
|
-
queries: {
|
|
84
|
-
children: new core.ContentChildren(InitialShapeSelectionDirective)
|
|
85
|
-
},
|
|
86
|
-
},] },
|
|
87
|
-
];
|
|
88
|
-
/**
|
|
89
|
-
* @nocollapse
|
|
90
|
-
*/
|
|
91
|
-
InitialShapeSelectionsDirective.ctorParameters = function () { return []; };
|
|
92
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
93
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
94
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
95
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
96
|
-
else
|
|
97
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
98
|
-
if (d = decorators[i])
|
|
99
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
100
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
101
|
-
};
|
|
102
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
103
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
104
|
-
return Reflect.metadata(k, v);
|
|
105
|
-
};
|
|
106
|
-
var input$1 = ['animationDelay', 'animationDuration', 'border', 'clusterSettings', 'colorValuePath', 'dashArray', 'dataSource', 'enableDrag', 'fill', 'height', 'heightValuePath', 'highlightSettings', 'imageUrl', 'imageUrlValuePath', 'initialMarkerSelection', 'latitudeValuePath', 'legendText', 'longitudeValuePath', 'offset', 'opacity', 'query', 'selectionSettings', 'shape', 'shapeValuePath', 'template', 'tooltipSettings', 'visible', 'width', 'widthValuePath'];
|
|
107
|
-
var outputs$1 = [];
|
|
108
|
-
/**
|
|
109
|
-
* Represents the directive to define the markers in the maps.
|
|
110
|
-
* ```html
|
|
111
|
-
* <e-layers>
|
|
112
|
-
* <e-layer>
|
|
113
|
-
* <e-markerSettings>
|
|
114
|
-
* <e-markerSetting>
|
|
115
|
-
* </e-markerSetting>
|
|
116
|
-
* </e-markerSettings>
|
|
117
|
-
* </e-layer>
|
|
118
|
-
* </e-layers>
|
|
119
|
-
* ```
|
|
120
|
-
*/
|
|
121
|
-
var MarkerDirective = /** @class */ (function (_super) {
|
|
122
|
-
__extends(MarkerDirective, _super);
|
|
123
|
-
/**
|
|
124
|
-
* @param {?} viewContainerRef
|
|
125
|
-
*/
|
|
126
|
-
function MarkerDirective(viewContainerRef) {
|
|
127
|
-
var _this = _super.call(this) || this;
|
|
128
|
-
_this.viewContainerRef = viewContainerRef;
|
|
129
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
130
|
-
_this.registerEvents(outputs$1);
|
|
131
|
-
_this.directivePropList = input$1;
|
|
132
|
-
return _this;
|
|
133
|
-
}
|
|
134
|
-
return MarkerDirective;
|
|
135
|
-
}(ej2AngularBase.ComplexBase));
|
|
136
|
-
MarkerDirective.decorators = [
|
|
137
|
-
{ type: core.Directive, args: [{
|
|
138
|
-
selector: 'e-layer>e-markerSettings>e-markerSetting',
|
|
139
|
-
inputs: input$1,
|
|
140
|
-
outputs: outputs$1,
|
|
141
|
-
queries: {}
|
|
142
|
-
},] },
|
|
143
|
-
];
|
|
144
|
-
/**
|
|
145
|
-
* @nocollapse
|
|
146
|
-
*/
|
|
147
|
-
MarkerDirective.ctorParameters = function () { return [
|
|
148
|
-
{ type: core.ViewContainerRef, },
|
|
149
|
-
]; };
|
|
150
|
-
MarkerDirective.propDecorators = {
|
|
151
|
-
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
152
|
-
'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
153
|
-
};
|
|
154
|
-
__decorate([
|
|
155
|
-
ej2AngularBase.Template(),
|
|
156
|
-
__metadata("design:type", Object)
|
|
157
|
-
], MarkerDirective.prototype, "template", void 0);
|
|
158
|
-
__decorate([
|
|
159
|
-
ej2AngularBase.Template(),
|
|
160
|
-
__metadata("design:type", Object)
|
|
161
|
-
], MarkerDirective.prototype, "tooltipSettings_template", void 0);
|
|
162
|
-
/**
|
|
163
|
-
* Marker Array Directive
|
|
164
|
-
*/
|
|
165
|
-
var MarkersDirective = /** @class */ (function (_super) {
|
|
166
|
-
__extends(MarkersDirective, _super);
|
|
167
|
-
function MarkersDirective() {
|
|
168
|
-
return _super.call(this, 'markersettings') || this;
|
|
169
|
-
}
|
|
170
|
-
return MarkersDirective;
|
|
171
|
-
}(ej2AngularBase.ArrayBase));
|
|
172
|
-
MarkersDirective.decorators = [
|
|
173
|
-
{ type: core.Directive, args: [{
|
|
174
|
-
selector: 'e-layer>e-markerSettings',
|
|
175
|
-
queries: {
|
|
176
|
-
children: new core.ContentChildren(MarkerDirective)
|
|
177
|
-
},
|
|
178
|
-
},] },
|
|
179
|
-
];
|
|
180
|
-
/**
|
|
181
|
-
* @nocollapse
|
|
182
|
-
*/
|
|
183
|
-
MarkersDirective.ctorParameters = function () { return []; };
|
|
184
|
-
var input$2 = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
|
|
185
|
-
var outputs$2 = [];
|
|
186
|
-
/**
|
|
187
|
-
* Represents the directive to define the bubble color mapping in the maps.
|
|
188
|
-
* ```html
|
|
189
|
-
* <e-layers>
|
|
190
|
-
* <e-layer>
|
|
191
|
-
* <e-bubbleSettings>
|
|
192
|
-
* <e-colorMappings>
|
|
193
|
-
* <e-colorMapping>
|
|
194
|
-
* </e-colorMapping>
|
|
195
|
-
* </e-colorMappings>
|
|
196
|
-
* </e-bubbleSettings>
|
|
197
|
-
* </e-layer>
|
|
198
|
-
* </e-layers>
|
|
199
|
-
* ```
|
|
200
|
-
*/
|
|
201
|
-
var ColorMappingDirective = /** @class */ (function (_super) {
|
|
202
|
-
__extends(ColorMappingDirective, _super);
|
|
203
|
-
/**
|
|
204
|
-
* @param {?} viewContainerRef
|
|
205
|
-
*/
|
|
206
|
-
function ColorMappingDirective(viewContainerRef) {
|
|
207
|
-
var _this = _super.call(this) || this;
|
|
208
|
-
_this.viewContainerRef = viewContainerRef;
|
|
209
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
210
|
-
_this.registerEvents(outputs$2);
|
|
211
|
-
_this.directivePropList = input$2;
|
|
212
|
-
return _this;
|
|
213
|
-
}
|
|
214
|
-
return ColorMappingDirective;
|
|
215
|
-
}(ej2AngularBase.ComplexBase));
|
|
216
|
-
ColorMappingDirective.decorators = [
|
|
217
|
-
{ type: core.Directive, args: [{
|
|
218
|
-
selector: 'e-bubbleSettings>e-colorMappings>e-colorMapping',
|
|
219
|
-
inputs: input$2,
|
|
220
|
-
outputs: outputs$2,
|
|
221
|
-
queries: {}
|
|
222
|
-
},] },
|
|
223
|
-
];
|
|
224
|
-
/**
|
|
225
|
-
* @nocollapse
|
|
226
|
-
*/
|
|
227
|
-
ColorMappingDirective.ctorParameters = function () { return [
|
|
228
|
-
{ type: core.ViewContainerRef, },
|
|
229
|
-
]; };
|
|
230
|
-
/**
|
|
231
|
-
* ColorMapping Array Directive
|
|
232
|
-
*/
|
|
233
|
-
var ColorMappingsDirective = /** @class */ (function (_super) {
|
|
234
|
-
__extends(ColorMappingsDirective, _super);
|
|
235
|
-
function ColorMappingsDirective() {
|
|
236
|
-
return _super.call(this, 'colormapping') || this;
|
|
237
|
-
}
|
|
238
|
-
return ColorMappingsDirective;
|
|
239
|
-
}(ej2AngularBase.ArrayBase));
|
|
240
|
-
ColorMappingsDirective.decorators = [
|
|
241
|
-
{ type: core.Directive, args: [{
|
|
242
|
-
selector: 'e-bubbleSettings>e-colorMappings',
|
|
243
|
-
queries: {
|
|
244
|
-
children: new core.ContentChildren(ColorMappingDirective)
|
|
245
|
-
},
|
|
246
|
-
},] },
|
|
247
|
-
];
|
|
248
|
-
/**
|
|
249
|
-
* @nocollapse
|
|
250
|
-
*/
|
|
251
|
-
ColorMappingsDirective.ctorParameters = function () { return []; };
|
|
252
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
253
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
254
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
255
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
256
|
-
else
|
|
257
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
258
|
-
if (d = decorators[i])
|
|
259
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
260
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
261
|
-
};
|
|
262
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
263
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
264
|
-
return Reflect.metadata(k, v);
|
|
265
|
-
};
|
|
266
|
-
var input$3 = ['animationDelay', 'animationDuration', 'border', 'bubbleType', 'colorMapping', 'colorValuePath', 'dataSource', 'fill', 'highlightSettings', 'maxRadius', 'minRadius', 'opacity', 'query', 'selectionSettings', 'tooltipSettings', 'valuePath', 'visible'];
|
|
267
|
-
var outputs$3 = [];
|
|
268
|
-
/**
|
|
269
|
-
* Represents the directive to define the bubbles in the maps.
|
|
270
|
-
* ```html
|
|
271
|
-
* <e-layers>
|
|
272
|
-
* <e-layer>
|
|
273
|
-
* <e-bubbleSettings>
|
|
274
|
-
* <e-bubbleSetting>
|
|
275
|
-
* </e-bubbleSetting>
|
|
276
|
-
* </e-bubbleSettings>
|
|
277
|
-
* </e-layer>
|
|
278
|
-
* </e-layers>
|
|
279
|
-
* ```
|
|
280
|
-
*/
|
|
281
|
-
var BubbleDirective = /** @class */ (function (_super) {
|
|
282
|
-
__extends(BubbleDirective, _super);
|
|
283
|
-
/**
|
|
284
|
-
* @param {?} viewContainerRef
|
|
285
|
-
*/
|
|
286
|
-
function BubbleDirective(viewContainerRef) {
|
|
287
|
-
var _this = _super.call(this) || this;
|
|
288
|
-
_this.viewContainerRef = viewContainerRef;
|
|
289
|
-
_this.tags = ['colorMapping'];
|
|
290
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
291
|
-
_this.registerEvents(outputs$3);
|
|
292
|
-
_this.directivePropList = input$3;
|
|
293
|
-
return _this;
|
|
294
|
-
}
|
|
295
|
-
return BubbleDirective;
|
|
296
|
-
}(ej2AngularBase.ComplexBase));
|
|
297
|
-
BubbleDirective.decorators = [
|
|
298
|
-
{ type: core.Directive, args: [{
|
|
299
|
-
selector: 'e-layer>e-bubbleSettings>e-bubbleSetting',
|
|
300
|
-
inputs: input$3,
|
|
301
|
-
outputs: outputs$3,
|
|
302
|
-
queries: {
|
|
303
|
-
childColorMapping: new core.ContentChild(ColorMappingsDirective)
|
|
304
|
-
}
|
|
305
|
-
},] },
|
|
306
|
-
];
|
|
307
|
-
/**
|
|
308
|
-
* @nocollapse
|
|
309
|
-
*/
|
|
310
|
-
BubbleDirective.ctorParameters = function () { return [
|
|
311
|
-
{ type: core.ViewContainerRef, },
|
|
312
|
-
]; };
|
|
313
|
-
BubbleDirective.propDecorators = {
|
|
314
|
-
'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
315
|
-
};
|
|
316
|
-
__decorate$1([
|
|
317
|
-
ej2AngularBase.Template(),
|
|
318
|
-
__metadata$1("design:type", Object)
|
|
319
|
-
], BubbleDirective.prototype, "tooltipSettings_template", void 0);
|
|
320
|
-
/**
|
|
321
|
-
* Bubble Array Directive
|
|
322
|
-
*/
|
|
323
|
-
var BubblesDirective = /** @class */ (function (_super) {
|
|
324
|
-
__extends(BubblesDirective, _super);
|
|
325
|
-
function BubblesDirective() {
|
|
326
|
-
return _super.call(this, 'bubblesettings') || this;
|
|
327
|
-
}
|
|
328
|
-
return BubblesDirective;
|
|
329
|
-
}(ej2AngularBase.ArrayBase));
|
|
330
|
-
BubblesDirective.decorators = [
|
|
331
|
-
{ type: core.Directive, args: [{
|
|
332
|
-
selector: 'e-layer>e-bubbleSettings',
|
|
333
|
-
queries: {
|
|
334
|
-
children: new core.ContentChildren(BubbleDirective)
|
|
335
|
-
},
|
|
336
|
-
},] },
|
|
337
|
-
];
|
|
338
|
-
/**
|
|
339
|
-
* @nocollapse
|
|
340
|
-
*/
|
|
341
|
-
BubblesDirective.ctorParameters = function () { return []; };
|
|
342
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
343
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
344
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
345
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
346
|
-
else
|
|
347
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
348
|
-
if (d = decorators[i])
|
|
349
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
350
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
351
|
-
};
|
|
352
|
-
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
353
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
354
|
-
return Reflect.metadata(k, v);
|
|
355
|
-
};
|
|
356
|
-
var input$4 = ['angle', 'arrowSettings', 'color', 'dashArray', 'highlightSettings', 'latitude', 'longitude', 'selectionSettings', 'visible', 'width'];
|
|
357
|
-
var outputs$4 = [];
|
|
358
|
-
/**
|
|
359
|
-
* Represents the directive to define the navigation lines in the maps.
|
|
360
|
-
* ```html
|
|
361
|
-
* <e-layers>
|
|
362
|
-
* <e-layer>
|
|
363
|
-
* <e-navigationLineSettings>
|
|
364
|
-
* <e-navigationLineSetting>
|
|
365
|
-
* </e-navigationLineSetting>
|
|
366
|
-
* </e-navigationLineSettings>
|
|
367
|
-
* </e-layer>
|
|
368
|
-
* </e-layers>
|
|
369
|
-
* ```
|
|
370
|
-
*/
|
|
371
|
-
var NavigationLineDirective = /** @class */ (function (_super) {
|
|
372
|
-
__extends(NavigationLineDirective, _super);
|
|
373
|
-
/**
|
|
374
|
-
* @param {?} viewContainerRef
|
|
375
|
-
*/
|
|
376
|
-
function NavigationLineDirective(viewContainerRef) {
|
|
377
|
-
var _this = _super.call(this) || this;
|
|
378
|
-
_this.viewContainerRef = viewContainerRef;
|
|
379
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
380
|
-
_this.registerEvents(outputs$4);
|
|
381
|
-
_this.directivePropList = input$4;
|
|
382
|
-
return _this;
|
|
383
|
-
}
|
|
384
|
-
return NavigationLineDirective;
|
|
385
|
-
}(ej2AngularBase.ComplexBase));
|
|
386
|
-
NavigationLineDirective.decorators = [
|
|
387
|
-
{ type: core.Directive, args: [{
|
|
388
|
-
selector: 'e-layer>e-navigationLineSettings>e-navigationLineSetting',
|
|
389
|
-
inputs: input$4,
|
|
390
|
-
outputs: outputs$4,
|
|
391
|
-
queries: {}
|
|
392
|
-
},] },
|
|
393
|
-
];
|
|
394
|
-
/**
|
|
395
|
-
* @nocollapse
|
|
396
|
-
*/
|
|
397
|
-
NavigationLineDirective.ctorParameters = function () { return [
|
|
398
|
-
{ type: core.ViewContainerRef, },
|
|
399
|
-
]; };
|
|
400
|
-
NavigationLineDirective.propDecorators = {
|
|
401
|
-
'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
402
|
-
};
|
|
403
|
-
__decorate$2([
|
|
404
|
-
ej2AngularBase.Template(),
|
|
405
|
-
__metadata$2("design:type", Object)
|
|
406
|
-
], NavigationLineDirective.prototype, "tooltipSettings_template", void 0);
|
|
407
|
-
/**
|
|
408
|
-
* NavigationLine Array Directive
|
|
409
|
-
*/
|
|
410
|
-
var NavigationLinesDirective = /** @class */ (function (_super) {
|
|
411
|
-
__extends(NavigationLinesDirective, _super);
|
|
412
|
-
function NavigationLinesDirective() {
|
|
413
|
-
return _super.call(this, 'navigationlinesettings') || this;
|
|
414
|
-
}
|
|
415
|
-
return NavigationLinesDirective;
|
|
416
|
-
}(ej2AngularBase.ArrayBase));
|
|
417
|
-
NavigationLinesDirective.decorators = [
|
|
418
|
-
{ type: core.Directive, args: [{
|
|
419
|
-
selector: 'e-layer>e-navigationLineSettings',
|
|
420
|
-
queries: {
|
|
421
|
-
children: new core.ContentChildren(NavigationLineDirective)
|
|
422
|
-
},
|
|
423
|
-
},] },
|
|
424
|
-
];
|
|
425
|
-
/**
|
|
426
|
-
* @nocollapse
|
|
427
|
-
*/
|
|
428
|
-
NavigationLinesDirective.ctorParameters = function () { return []; };
|
|
429
|
-
var input$5 = ['animationDuration', 'bubbleSettings', 'dataLabelSettings', 'dataSource', 'geometryType', 'highlightSettings', 'initialShapeSelection', 'markerClusterSettings', 'markerSettings', 'navigationLineSettings', 'polygonSettings', 'query', 'selectionSettings', 'shapeData', 'shapeDataPath', 'shapePropertyPath', 'shapeSettings', 'toggleLegendSettings', 'tooltipSettings', 'type', 'urlTemplate', 'visible'];
|
|
430
|
-
var outputs$5 = [];
|
|
431
|
-
/**
|
|
432
|
-
* Represents the directive to define the layer of the maps.
|
|
433
|
-
* ```html
|
|
434
|
-
* <e-layers>
|
|
435
|
-
* <e-layer></e-layer>
|
|
436
|
-
* </e-layers>
|
|
437
|
-
* ```
|
|
438
|
-
*/
|
|
439
|
-
var LayerDirective = /** @class */ (function (_super) {
|
|
440
|
-
__extends(LayerDirective, _super);
|
|
441
|
-
/**
|
|
442
|
-
* @param {?} viewContainerRef
|
|
443
|
-
*/
|
|
444
|
-
function LayerDirective(viewContainerRef) {
|
|
445
|
-
var _this = _super.call(this) || this;
|
|
446
|
-
_this.viewContainerRef = viewContainerRef;
|
|
447
|
-
_this.tags = ['initialShapeSelection', 'markerSettings', 'bubbleSettings', 'navigationLineSettings'];
|
|
448
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
449
|
-
_this.registerEvents(outputs$5);
|
|
450
|
-
_this.directivePropList = input$5;
|
|
451
|
-
return _this;
|
|
452
|
-
}
|
|
453
|
-
return LayerDirective;
|
|
454
|
-
}(ej2AngularBase.ComplexBase));
|
|
455
|
-
LayerDirective.decorators = [
|
|
456
|
-
{ type: core.Directive, args: [{
|
|
457
|
-
selector: 'e-layers>e-layer',
|
|
458
|
-
inputs: input$5,
|
|
459
|
-
outputs: outputs$5,
|
|
460
|
-
queries: {
|
|
461
|
-
childInitialShapeSelection: new core.ContentChild(InitialShapeSelectionsDirective),
|
|
462
|
-
childMarkerSettings: new core.ContentChild(MarkersDirective),
|
|
463
|
-
childBubbleSettings: new core.ContentChild(BubblesDirective),
|
|
464
|
-
childNavigationLineSettings: new core.ContentChild(NavigationLinesDirective)
|
|
465
|
-
}
|
|
466
|
-
},] },
|
|
467
|
-
];
|
|
468
|
-
/**
|
|
469
|
-
* @nocollapse
|
|
470
|
-
*/
|
|
471
|
-
LayerDirective.ctorParameters = function () { return [
|
|
472
|
-
{ type: core.ViewContainerRef, },
|
|
473
|
-
]; };
|
|
474
|
-
/**
|
|
475
|
-
* Layer Array Directive
|
|
476
|
-
*/
|
|
477
|
-
var LayersDirective = /** @class */ (function (_super) {
|
|
478
|
-
__extends(LayersDirective, _super);
|
|
479
|
-
function LayersDirective() {
|
|
480
|
-
return _super.call(this, 'layers') || this;
|
|
481
|
-
}
|
|
482
|
-
return LayersDirective;
|
|
483
|
-
}(ej2AngularBase.ArrayBase));
|
|
484
|
-
LayersDirective.decorators = [
|
|
485
|
-
{ type: core.Directive, args: [{
|
|
486
|
-
selector: 'ej-maps>e-layers',
|
|
487
|
-
queries: {
|
|
488
|
-
children: new core.ContentChildren(LayerDirective)
|
|
489
|
-
},
|
|
490
|
-
},] },
|
|
491
|
-
];
|
|
492
|
-
/**
|
|
493
|
-
* @nocollapse
|
|
494
|
-
*/
|
|
495
|
-
LayersDirective.ctorParameters = function () { return []; };
|
|
496
|
-
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
497
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
498
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
499
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
500
|
-
else
|
|
501
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
502
|
-
if (d = decorators[i])
|
|
503
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
504
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
505
|
-
};
|
|
506
|
-
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
507
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
508
|
-
return Reflect.metadata(k, v);
|
|
509
|
-
};
|
|
510
|
-
var input$6 = ['content', 'horizontalAlignment', 'verticalAlignment', 'x', 'y', 'zIndex'];
|
|
511
|
-
var outputs$6 = [];
|
|
512
|
-
/**
|
|
513
|
-
* Represents the directive to define the annotations in the maps.
|
|
514
|
-
* ```html
|
|
515
|
-
* <e-maps-annotations>
|
|
516
|
-
* <e-maps-annotation></e-maps-annotation>
|
|
517
|
-
* </e-maps-annotations>
|
|
518
|
-
* ```
|
|
519
|
-
*/
|
|
520
|
-
var AnnotationDirective = /** @class */ (function (_super) {
|
|
521
|
-
__extends(AnnotationDirective, _super);
|
|
522
|
-
/**
|
|
523
|
-
* @param {?} viewContainerRef
|
|
524
|
-
*/
|
|
525
|
-
function AnnotationDirective(viewContainerRef) {
|
|
526
|
-
var _this = _super.call(this) || this;
|
|
527
|
-
_this.viewContainerRef = viewContainerRef;
|
|
528
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
529
|
-
_this.registerEvents(outputs$6);
|
|
530
|
-
_this.directivePropList = input$6;
|
|
531
|
-
return _this;
|
|
532
|
-
}
|
|
533
|
-
return AnnotationDirective;
|
|
534
|
-
}(ej2AngularBase.ComplexBase));
|
|
535
|
-
AnnotationDirective.decorators = [
|
|
536
|
-
{ type: core.Directive, args: [{
|
|
537
|
-
selector: 'e-maps-annotations>e-maps-annotation',
|
|
538
|
-
inputs: input$6,
|
|
539
|
-
outputs: outputs$6,
|
|
540
|
-
queries: {}
|
|
541
|
-
},] },
|
|
542
|
-
];
|
|
543
|
-
/**
|
|
544
|
-
* @nocollapse
|
|
545
|
-
*/
|
|
546
|
-
AnnotationDirective.ctorParameters = function () { return [
|
|
547
|
-
{ type: core.ViewContainerRef, },
|
|
548
|
-
]; };
|
|
549
|
-
AnnotationDirective.propDecorators = {
|
|
550
|
-
'content': [{ type: core.ContentChild, args: ['content',] },],
|
|
551
|
-
};
|
|
552
|
-
__decorate$3([
|
|
553
|
-
ej2AngularBase.Template(),
|
|
554
|
-
__metadata$3("design:type", Object)
|
|
555
|
-
], AnnotationDirective.prototype, "content", void 0);
|
|
556
|
-
/**
|
|
557
|
-
* Annotation Array Directive
|
|
558
|
-
*/
|
|
559
|
-
var AnnotationsDirective = /** @class */ (function (_super) {
|
|
560
|
-
__extends(AnnotationsDirective, _super);
|
|
561
|
-
function AnnotationsDirective() {
|
|
562
|
-
return _super.call(this, 'annotations') || this;
|
|
563
|
-
}
|
|
564
|
-
return AnnotationsDirective;
|
|
565
|
-
}(ej2AngularBase.ArrayBase));
|
|
566
|
-
AnnotationsDirective.decorators = [
|
|
567
|
-
{ type: core.Directive, args: [{
|
|
568
|
-
selector: 'ej-maps>e-maps-annotations',
|
|
569
|
-
queries: {
|
|
570
|
-
children: new core.ContentChildren(AnnotationDirective)
|
|
571
|
-
},
|
|
572
|
-
},] },
|
|
573
|
-
];
|
|
574
|
-
/**
|
|
575
|
-
* @nocollapse
|
|
576
|
-
*/
|
|
577
|
-
AnnotationsDirective.ctorParameters = function () { return []; };
|
|
578
|
-
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
579
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
580
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
581
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
582
|
-
else
|
|
583
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
584
|
-
if (d = decorators[i])
|
|
585
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
586
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
587
|
-
};
|
|
588
|
-
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
589
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
590
|
-
return Reflect.metadata(k, v);
|
|
591
|
-
};
|
|
592
|
-
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'];
|
|
593
|
-
var outputs$7 = ['animationComplete', 'annotationRendering', 'beforePrint', 'bubbleClick', 'bubbleMouseMove', 'bubbleRendering', 'click', 'dataLabelRendering', 'doubleClick', 'itemHighlight', 'itemSelection', 'layerRendering', 'legendRendering', 'load', 'loaded', 'markerClick', 'markerClusterClick', 'markerClusterMouseMove', 'markerClusterRendering', 'markerDragEnd', 'markerDragStart', 'markerMouseMove', 'markerRendering', 'mouseMove', 'onclick', 'pan', 'panComplete', 'resize', 'rightClick', 'shapeHighlight', 'shapeRendering', 'shapeSelected', 'tooltipRender', 'tooltipRenderComplete', 'zoom', 'zoomComplete', 'dataSourceChange'];
|
|
594
|
-
var twoWays = ['dataSource'];
|
|
595
|
-
/**
|
|
596
|
-
* Represents the Angular Maps component.
|
|
597
|
-
* It is ideal for rendering maps from GeoJSON data or other map providers like OpenStreetMap, Google Maps, Bing Maps, etc that has rich feature set that includes markers, labels, bubbles and much more.
|
|
598
|
-
* ```html
|
|
599
|
-
* <ej-maps></ej-maps>
|
|
600
|
-
* ```
|
|
601
|
-
*/
|
|
602
|
-
exports.MapsComponent = /** @class */ (function (_super) {
|
|
603
|
-
__extends(MapsComponent, _super);
|
|
604
|
-
/**
|
|
605
|
-
* @param {?} ngEle
|
|
606
|
-
* @param {?} srenderer
|
|
607
|
-
* @param {?} viewContainerRef
|
|
608
|
-
* @param {?} injector
|
|
609
|
-
*/
|
|
610
|
-
function MapsComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
611
|
-
var _this = _super.call(this) || this;
|
|
612
|
-
_this.ngEle = ngEle;
|
|
613
|
-
_this.srenderer = srenderer;
|
|
614
|
-
_this.viewContainerRef = viewContainerRef;
|
|
615
|
-
_this.injector = injector;
|
|
616
|
-
_this.tags = ['layers', 'annotations'];
|
|
617
|
-
_this.element = _this.ngEle.nativeElement;
|
|
618
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
619
|
-
try {
|
|
620
|
-
var mod = _this.injector.get('MapsBubble');
|
|
621
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
622
|
-
_this.injectedModules.push(mod);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
catch (_a) { }
|
|
626
|
-
try {
|
|
627
|
-
var mod = _this.injector.get('MapsLegend');
|
|
628
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
629
|
-
_this.injectedModules.push(mod);
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
catch (_b) { }
|
|
633
|
-
try {
|
|
634
|
-
var mod = _this.injector.get('MapsMarker');
|
|
635
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
636
|
-
_this.injectedModules.push(mod);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
catch (_c) { }
|
|
640
|
-
try {
|
|
641
|
-
var mod = _this.injector.get('MapsHighlight');
|
|
642
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
643
|
-
_this.injectedModules.push(mod);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
catch (_d) { }
|
|
647
|
-
try {
|
|
648
|
-
var mod = _this.injector.get('MapsSelection');
|
|
649
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
650
|
-
_this.injectedModules.push(mod);
|
|
651
|
-
}
|
|
652
|
-
}
|
|
653
|
-
catch (_e) { }
|
|
654
|
-
try {
|
|
655
|
-
var mod = _this.injector.get('MapsMapsTooltip');
|
|
656
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
657
|
-
_this.injectedModules.push(mod);
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
catch (_f) { }
|
|
661
|
-
try {
|
|
662
|
-
var mod = _this.injector.get('MapsZoom');
|
|
663
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
664
|
-
_this.injectedModules.push(mod);
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
catch (_g) { }
|
|
668
|
-
try {
|
|
669
|
-
var mod = _this.injector.get('MapsDataLabel');
|
|
670
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
671
|
-
_this.injectedModules.push(mod);
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
catch (_h) { }
|
|
675
|
-
try {
|
|
676
|
-
var mod = _this.injector.get('MapsNavigationLine');
|
|
677
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
678
|
-
_this.injectedModules.push(mod);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
catch (_j) { }
|
|
682
|
-
try {
|
|
683
|
-
var mod = _this.injector.get('MapsAnnotations');
|
|
684
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
685
|
-
_this.injectedModules.push(mod);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
catch (_k) { }
|
|
689
|
-
try {
|
|
690
|
-
var mod = _this.injector.get('MapsPrint');
|
|
691
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
692
|
-
_this.injectedModules.push(mod);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
catch (_l) { }
|
|
696
|
-
try {
|
|
697
|
-
var mod = _this.injector.get('MapsPdfExport');
|
|
698
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
699
|
-
_this.injectedModules.push(mod);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
catch (_m) { }
|
|
703
|
-
try {
|
|
704
|
-
var mod = _this.injector.get('MapsImageExport');
|
|
705
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
706
|
-
_this.injectedModules.push(mod);
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
catch (_o) { }
|
|
710
|
-
try {
|
|
711
|
-
var mod = _this.injector.get('MapsPolygon');
|
|
712
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
713
|
-
_this.injectedModules.push(mod);
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
catch (_p) { }
|
|
717
|
-
_this.registerEvents(outputs$7);
|
|
718
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
719
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
720
|
-
_this.context = new ej2AngularBase.ComponentBase();
|
|
721
|
-
return _this;
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* @return {?}
|
|
725
|
-
*/
|
|
726
|
-
MapsComponent.prototype.ngOnInit = function () {
|
|
727
|
-
this.context.ngOnInit(this);
|
|
728
|
-
};
|
|
729
|
-
/**
|
|
730
|
-
* @return {?}
|
|
731
|
-
*/
|
|
732
|
-
MapsComponent.prototype.ngAfterViewInit = function () {
|
|
733
|
-
this.context.ngAfterViewInit(this);
|
|
734
|
-
};
|
|
735
|
-
/**
|
|
736
|
-
* @return {?}
|
|
737
|
-
*/
|
|
738
|
-
MapsComponent.prototype.ngOnDestroy = function () {
|
|
739
|
-
this.context.ngOnDestroy(this);
|
|
740
|
-
};
|
|
741
|
-
/**
|
|
742
|
-
* @return {?}
|
|
743
|
-
*/
|
|
744
|
-
MapsComponent.prototype.ngAfterContentChecked = function () {
|
|
745
|
-
this.tagObjects[0].instance = this.childLayers;
|
|
746
|
-
if (this.childAnnotations) {
|
|
747
|
-
this.tagObjects[1].instance = /** @type {?} */ (this.childAnnotations);
|
|
748
|
-
}
|
|
749
|
-
this.context.ngAfterContentChecked(this);
|
|
750
|
-
};
|
|
751
|
-
return MapsComponent;
|
|
752
|
-
}(ej2Maps.Maps));
|
|
753
|
-
exports.MapsComponent.decorators = [
|
|
754
|
-
{ type: core.Component, args: [{
|
|
755
|
-
selector: 'ejs-maps',
|
|
756
|
-
inputs: inputs,
|
|
757
|
-
outputs: outputs$7,
|
|
758
|
-
template: '',
|
|
759
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
760
|
-
queries: {
|
|
761
|
-
childLayers: new core.ContentChild(LayersDirective),
|
|
762
|
-
childAnnotations: new core.ContentChild(AnnotationsDirective)
|
|
763
|
-
}
|
|
764
|
-
},] },
|
|
765
|
-
];
|
|
766
|
-
/**
|
|
767
|
-
* @nocollapse
|
|
768
|
-
*/
|
|
769
|
-
exports.MapsComponent.ctorParameters = function () { return [
|
|
770
|
-
{ type: core.ElementRef, },
|
|
771
|
-
{ type: core.Renderer2, },
|
|
772
|
-
{ type: core.ViewContainerRef, },
|
|
773
|
-
{ type: core.Injector, },
|
|
774
|
-
]; };
|
|
775
|
-
exports.MapsComponent = __decorate$4([
|
|
776
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
777
|
-
__metadata$4("design:paramtypes", [core.ElementRef,
|
|
778
|
-
core.Renderer2,
|
|
779
|
-
core.ViewContainerRef,
|
|
780
|
-
core.Injector])
|
|
781
|
-
], exports.MapsComponent);
|
|
782
|
-
/**
|
|
783
|
-
* NgModule definition for the Maps component.
|
|
784
|
-
*/
|
|
785
|
-
var MapsModule = /** @class */ (function () {
|
|
786
|
-
function MapsModule() {
|
|
787
|
-
}
|
|
788
|
-
return MapsModule;
|
|
789
|
-
}());
|
|
790
|
-
MapsModule.decorators = [
|
|
791
|
-
{ type: core.NgModule, args: [{
|
|
792
|
-
imports: [common.CommonModule],
|
|
793
|
-
declarations: [
|
|
794
|
-
exports.MapsComponent,
|
|
795
|
-
InitialShapeSelectionDirective,
|
|
796
|
-
InitialShapeSelectionsDirective,
|
|
797
|
-
MarkerDirective,
|
|
798
|
-
MarkersDirective,
|
|
799
|
-
ColorMappingDirective,
|
|
800
|
-
ColorMappingsDirective,
|
|
801
|
-
BubbleDirective,
|
|
802
|
-
BubblesDirective,
|
|
803
|
-
NavigationLineDirective,
|
|
804
|
-
NavigationLinesDirective,
|
|
805
|
-
LayerDirective,
|
|
806
|
-
LayersDirective,
|
|
807
|
-
AnnotationDirective,
|
|
808
|
-
AnnotationsDirective
|
|
809
|
-
],
|
|
810
|
-
exports: [
|
|
811
|
-
exports.MapsComponent,
|
|
812
|
-
InitialShapeSelectionDirective,
|
|
813
|
-
InitialShapeSelectionsDirective,
|
|
814
|
-
MarkerDirective,
|
|
815
|
-
MarkersDirective,
|
|
816
|
-
ColorMappingDirective,
|
|
817
|
-
ColorMappingsDirective,
|
|
818
|
-
BubbleDirective,
|
|
819
|
-
BubblesDirective,
|
|
820
|
-
NavigationLineDirective,
|
|
821
|
-
NavigationLinesDirective,
|
|
822
|
-
LayerDirective,
|
|
823
|
-
LayersDirective,
|
|
824
|
-
AnnotationDirective,
|
|
825
|
-
AnnotationsDirective
|
|
826
|
-
]
|
|
827
|
-
},] },
|
|
828
|
-
];
|
|
829
|
-
/**
|
|
830
|
-
* @nocollapse
|
|
831
|
-
*/
|
|
832
|
-
MapsModule.ctorParameters = function () { return []; };
|
|
833
|
-
var BubbleService = { provide: 'MapsBubble', useValue: ej2Maps.Bubble };
|
|
834
|
-
var LegendService = { provide: 'MapsLegend', useValue: ej2Maps.Legend };
|
|
835
|
-
var MarkerService = { provide: 'MapsMarker', useValue: ej2Maps.Marker };
|
|
836
|
-
var HighlightService = { provide: 'MapsHighlight', useValue: ej2Maps.Highlight };
|
|
837
|
-
var SelectionService = { provide: 'MapsSelection', useValue: ej2Maps.Selection };
|
|
838
|
-
var MapsTooltipService = { provide: 'MapsMapsTooltip', useValue: ej2Maps.MapsTooltip };
|
|
839
|
-
var ZoomService = { provide: 'MapsZoom', useValue: ej2Maps.Zoom };
|
|
840
|
-
var DataLabelService = { provide: 'MapsDataLabel', useValue: ej2Maps.DataLabel };
|
|
841
|
-
var NavigationLineService = { provide: 'MapsNavigationLine', useValue: ej2Maps.NavigationLine };
|
|
842
|
-
var AnnotationsService = { provide: 'MapsAnnotations', useValue: ej2Maps.Annotations };
|
|
843
|
-
var PrintService = { provide: 'MapsPrint', useValue: ej2Maps.Print };
|
|
844
|
-
var PdfExportService = { provide: 'MapsPdfExport', useValue: ej2Maps.PdfExport };
|
|
845
|
-
var ImageExportService = { provide: 'MapsImageExport', useValue: ej2Maps.ImageExport };
|
|
846
|
-
var PolygonService = { provide: 'MapsPolygon', useValue: ej2Maps.Polygon };
|
|
847
|
-
/**
|
|
848
|
-
* NgModule definition for the Maps component with providers.
|
|
849
|
-
*/
|
|
850
|
-
var MapsAllModule = /** @class */ (function () {
|
|
851
|
-
function MapsAllModule() {
|
|
852
|
-
}
|
|
853
|
-
return MapsAllModule;
|
|
854
|
-
}());
|
|
855
|
-
MapsAllModule.decorators = [
|
|
856
|
-
{ type: core.NgModule, args: [{
|
|
857
|
-
imports: [common.CommonModule, MapsModule],
|
|
858
|
-
exports: [
|
|
859
|
-
MapsModule
|
|
860
|
-
],
|
|
861
|
-
providers: [
|
|
862
|
-
BubbleService,
|
|
863
|
-
LegendService,
|
|
864
|
-
MarkerService,
|
|
865
|
-
HighlightService,
|
|
866
|
-
SelectionService,
|
|
867
|
-
MapsTooltipService,
|
|
868
|
-
ZoomService,
|
|
869
|
-
DataLabelService,
|
|
870
|
-
NavigationLineService,
|
|
871
|
-
AnnotationsService,
|
|
872
|
-
PrintService,
|
|
873
|
-
PdfExportService,
|
|
874
|
-
ImageExportService,
|
|
875
|
-
PolygonService
|
|
876
|
-
]
|
|
877
|
-
},] },
|
|
878
|
-
];
|
|
879
|
-
/**
|
|
880
|
-
* @nocollapse
|
|
881
|
-
*/
|
|
16
|
+
var __extends = (this && this.__extends) || (function () {
|
|
17
|
+
var extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20
|
+
return function (d, b) {
|
|
21
|
+
extendStatics(d, b);
|
|
22
|
+
function __() { this.constructor = d; }
|
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
var input = ['shapePath', 'shapeValue'];
|
|
27
|
+
var outputs = [];
|
|
28
|
+
/**
|
|
29
|
+
* Represents the directive to configure the selection of the shapes when the maps is initially rendered.
|
|
30
|
+
* ```html
|
|
31
|
+
* <e-layers>
|
|
32
|
+
* <e-layer>
|
|
33
|
+
* <e-initialShapeSelections>
|
|
34
|
+
* <e-initialShapeSelection>
|
|
35
|
+
* </e-initialShapeSelection>
|
|
36
|
+
* </e-initialShapeSelections>
|
|
37
|
+
* </e-layer>
|
|
38
|
+
* </e-layers>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
var InitialShapeSelectionDirective = /** @class */ (function (_super) {
|
|
42
|
+
__extends(InitialShapeSelectionDirective, _super);
|
|
43
|
+
/**
|
|
44
|
+
* @param {?} viewContainerRef
|
|
45
|
+
*/
|
|
46
|
+
function InitialShapeSelectionDirective(viewContainerRef) {
|
|
47
|
+
var _this = _super.call(this) || this;
|
|
48
|
+
_this.viewContainerRef = viewContainerRef;
|
|
49
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
50
|
+
_this.registerEvents(outputs);
|
|
51
|
+
_this.directivePropList = input;
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
return InitialShapeSelectionDirective;
|
|
55
|
+
}(ej2AngularBase.ComplexBase));
|
|
56
|
+
InitialShapeSelectionDirective.decorators = [
|
|
57
|
+
{ type: core.Directive, args: [{
|
|
58
|
+
selector: 'e-layer>e-initialShapeSelections>e-initialShapeSelection',
|
|
59
|
+
inputs: input,
|
|
60
|
+
outputs: outputs,
|
|
61
|
+
queries: {}
|
|
62
|
+
},] },
|
|
63
|
+
];
|
|
64
|
+
/**
|
|
65
|
+
* @nocollapse
|
|
66
|
+
*/
|
|
67
|
+
InitialShapeSelectionDirective.ctorParameters = function () { return [
|
|
68
|
+
{ type: core.ViewContainerRef, },
|
|
69
|
+
]; };
|
|
70
|
+
/**
|
|
71
|
+
* InitialShapeSelection Array Directive
|
|
72
|
+
*/
|
|
73
|
+
var InitialShapeSelectionsDirective = /** @class */ (function (_super) {
|
|
74
|
+
__extends(InitialShapeSelectionsDirective, _super);
|
|
75
|
+
function InitialShapeSelectionsDirective() {
|
|
76
|
+
return _super.call(this, 'initialshapeselection') || this;
|
|
77
|
+
}
|
|
78
|
+
return InitialShapeSelectionsDirective;
|
|
79
|
+
}(ej2AngularBase.ArrayBase));
|
|
80
|
+
InitialShapeSelectionsDirective.decorators = [
|
|
81
|
+
{ type: core.Directive, args: [{
|
|
82
|
+
selector: 'e-layer>e-initialShapeSelections',
|
|
83
|
+
queries: {
|
|
84
|
+
children: new core.ContentChildren(InitialShapeSelectionDirective)
|
|
85
|
+
},
|
|
86
|
+
},] },
|
|
87
|
+
];
|
|
88
|
+
/**
|
|
89
|
+
* @nocollapse
|
|
90
|
+
*/
|
|
91
|
+
InitialShapeSelectionsDirective.ctorParameters = function () { return []; };
|
|
92
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
93
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
94
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
95
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
96
|
+
else
|
|
97
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
98
|
+
if (d = decorators[i])
|
|
99
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
100
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
101
|
+
};
|
|
102
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
103
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
104
|
+
return Reflect.metadata(k, v);
|
|
105
|
+
};
|
|
106
|
+
var input$1 = ['animationDelay', 'animationDuration', 'border', 'clusterSettings', 'colorValuePath', 'dashArray', 'dataSource', 'enableDrag', 'fill', 'height', 'heightValuePath', 'highlightSettings', 'imageUrl', 'imageUrlValuePath', 'initialMarkerSelection', 'latitudeValuePath', 'legendText', 'longitudeValuePath', 'offset', 'opacity', 'query', 'selectionSettings', 'shape', 'shapeValuePath', 'template', 'tooltipSettings', 'visible', 'width', 'widthValuePath'];
|
|
107
|
+
var outputs$1 = [];
|
|
108
|
+
/**
|
|
109
|
+
* Represents the directive to define the markers in the maps.
|
|
110
|
+
* ```html
|
|
111
|
+
* <e-layers>
|
|
112
|
+
* <e-layer>
|
|
113
|
+
* <e-markerSettings>
|
|
114
|
+
* <e-markerSetting>
|
|
115
|
+
* </e-markerSetting>
|
|
116
|
+
* </e-markerSettings>
|
|
117
|
+
* </e-layer>
|
|
118
|
+
* </e-layers>
|
|
119
|
+
* ```
|
|
120
|
+
*/
|
|
121
|
+
var MarkerDirective = /** @class */ (function (_super) {
|
|
122
|
+
__extends(MarkerDirective, _super);
|
|
123
|
+
/**
|
|
124
|
+
* @param {?} viewContainerRef
|
|
125
|
+
*/
|
|
126
|
+
function MarkerDirective(viewContainerRef) {
|
|
127
|
+
var _this = _super.call(this) || this;
|
|
128
|
+
_this.viewContainerRef = viewContainerRef;
|
|
129
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
130
|
+
_this.registerEvents(outputs$1);
|
|
131
|
+
_this.directivePropList = input$1;
|
|
132
|
+
return _this;
|
|
133
|
+
}
|
|
134
|
+
return MarkerDirective;
|
|
135
|
+
}(ej2AngularBase.ComplexBase));
|
|
136
|
+
MarkerDirective.decorators = [
|
|
137
|
+
{ type: core.Directive, args: [{
|
|
138
|
+
selector: 'e-layer>e-markerSettings>e-markerSetting',
|
|
139
|
+
inputs: input$1,
|
|
140
|
+
outputs: outputs$1,
|
|
141
|
+
queries: {}
|
|
142
|
+
},] },
|
|
143
|
+
];
|
|
144
|
+
/**
|
|
145
|
+
* @nocollapse
|
|
146
|
+
*/
|
|
147
|
+
MarkerDirective.ctorParameters = function () { return [
|
|
148
|
+
{ type: core.ViewContainerRef, },
|
|
149
|
+
]; };
|
|
150
|
+
MarkerDirective.propDecorators = {
|
|
151
|
+
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
152
|
+
'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
153
|
+
};
|
|
154
|
+
__decorate([
|
|
155
|
+
ej2AngularBase.Template(),
|
|
156
|
+
__metadata("design:type", Object)
|
|
157
|
+
], MarkerDirective.prototype, "template", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
ej2AngularBase.Template(),
|
|
160
|
+
__metadata("design:type", Object)
|
|
161
|
+
], MarkerDirective.prototype, "tooltipSettings_template", void 0);
|
|
162
|
+
/**
|
|
163
|
+
* Marker Array Directive
|
|
164
|
+
*/
|
|
165
|
+
var MarkersDirective = /** @class */ (function (_super) {
|
|
166
|
+
__extends(MarkersDirective, _super);
|
|
167
|
+
function MarkersDirective() {
|
|
168
|
+
return _super.call(this, 'markersettings') || this;
|
|
169
|
+
}
|
|
170
|
+
return MarkersDirective;
|
|
171
|
+
}(ej2AngularBase.ArrayBase));
|
|
172
|
+
MarkersDirective.decorators = [
|
|
173
|
+
{ type: core.Directive, args: [{
|
|
174
|
+
selector: 'e-layer>e-markerSettings',
|
|
175
|
+
queries: {
|
|
176
|
+
children: new core.ContentChildren(MarkerDirective)
|
|
177
|
+
},
|
|
178
|
+
},] },
|
|
179
|
+
];
|
|
180
|
+
/**
|
|
181
|
+
* @nocollapse
|
|
182
|
+
*/
|
|
183
|
+
MarkersDirective.ctorParameters = function () { return []; };
|
|
184
|
+
var input$2 = ['color', 'from', 'label', 'maxOpacity', 'minOpacity', 'showLegend', 'to', 'value'];
|
|
185
|
+
var outputs$2 = [];
|
|
186
|
+
/**
|
|
187
|
+
* Represents the directive to define the bubble color mapping in the maps.
|
|
188
|
+
* ```html
|
|
189
|
+
* <e-layers>
|
|
190
|
+
* <e-layer>
|
|
191
|
+
* <e-bubbleSettings>
|
|
192
|
+
* <e-colorMappings>
|
|
193
|
+
* <e-colorMapping>
|
|
194
|
+
* </e-colorMapping>
|
|
195
|
+
* </e-colorMappings>
|
|
196
|
+
* </e-bubbleSettings>
|
|
197
|
+
* </e-layer>
|
|
198
|
+
* </e-layers>
|
|
199
|
+
* ```
|
|
200
|
+
*/
|
|
201
|
+
var ColorMappingDirective = /** @class */ (function (_super) {
|
|
202
|
+
__extends(ColorMappingDirective, _super);
|
|
203
|
+
/**
|
|
204
|
+
* @param {?} viewContainerRef
|
|
205
|
+
*/
|
|
206
|
+
function ColorMappingDirective(viewContainerRef) {
|
|
207
|
+
var _this = _super.call(this) || this;
|
|
208
|
+
_this.viewContainerRef = viewContainerRef;
|
|
209
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
210
|
+
_this.registerEvents(outputs$2);
|
|
211
|
+
_this.directivePropList = input$2;
|
|
212
|
+
return _this;
|
|
213
|
+
}
|
|
214
|
+
return ColorMappingDirective;
|
|
215
|
+
}(ej2AngularBase.ComplexBase));
|
|
216
|
+
ColorMappingDirective.decorators = [
|
|
217
|
+
{ type: core.Directive, args: [{
|
|
218
|
+
selector: 'e-bubbleSettings>e-colorMappings>e-colorMapping',
|
|
219
|
+
inputs: input$2,
|
|
220
|
+
outputs: outputs$2,
|
|
221
|
+
queries: {}
|
|
222
|
+
},] },
|
|
223
|
+
];
|
|
224
|
+
/**
|
|
225
|
+
* @nocollapse
|
|
226
|
+
*/
|
|
227
|
+
ColorMappingDirective.ctorParameters = function () { return [
|
|
228
|
+
{ type: core.ViewContainerRef, },
|
|
229
|
+
]; };
|
|
230
|
+
/**
|
|
231
|
+
* ColorMapping Array Directive
|
|
232
|
+
*/
|
|
233
|
+
var ColorMappingsDirective = /** @class */ (function (_super) {
|
|
234
|
+
__extends(ColorMappingsDirective, _super);
|
|
235
|
+
function ColorMappingsDirective() {
|
|
236
|
+
return _super.call(this, 'colormapping') || this;
|
|
237
|
+
}
|
|
238
|
+
return ColorMappingsDirective;
|
|
239
|
+
}(ej2AngularBase.ArrayBase));
|
|
240
|
+
ColorMappingsDirective.decorators = [
|
|
241
|
+
{ type: core.Directive, args: [{
|
|
242
|
+
selector: 'e-bubbleSettings>e-colorMappings',
|
|
243
|
+
queries: {
|
|
244
|
+
children: new core.ContentChildren(ColorMappingDirective)
|
|
245
|
+
},
|
|
246
|
+
},] },
|
|
247
|
+
];
|
|
248
|
+
/**
|
|
249
|
+
* @nocollapse
|
|
250
|
+
*/
|
|
251
|
+
ColorMappingsDirective.ctorParameters = function () { return []; };
|
|
252
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
253
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
254
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
255
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
256
|
+
else
|
|
257
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
258
|
+
if (d = decorators[i])
|
|
259
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
260
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
261
|
+
};
|
|
262
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
263
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
264
|
+
return Reflect.metadata(k, v);
|
|
265
|
+
};
|
|
266
|
+
var input$3 = ['animationDelay', 'animationDuration', 'border', 'bubbleType', 'colorMapping', 'colorValuePath', 'dataSource', 'fill', 'highlightSettings', 'maxRadius', 'minRadius', 'opacity', 'query', 'selectionSettings', 'tooltipSettings', 'valuePath', 'visible'];
|
|
267
|
+
var outputs$3 = [];
|
|
268
|
+
/**
|
|
269
|
+
* Represents the directive to define the bubbles in the maps.
|
|
270
|
+
* ```html
|
|
271
|
+
* <e-layers>
|
|
272
|
+
* <e-layer>
|
|
273
|
+
* <e-bubbleSettings>
|
|
274
|
+
* <e-bubbleSetting>
|
|
275
|
+
* </e-bubbleSetting>
|
|
276
|
+
* </e-bubbleSettings>
|
|
277
|
+
* </e-layer>
|
|
278
|
+
* </e-layers>
|
|
279
|
+
* ```
|
|
280
|
+
*/
|
|
281
|
+
var BubbleDirective = /** @class */ (function (_super) {
|
|
282
|
+
__extends(BubbleDirective, _super);
|
|
283
|
+
/**
|
|
284
|
+
* @param {?} viewContainerRef
|
|
285
|
+
*/
|
|
286
|
+
function BubbleDirective(viewContainerRef) {
|
|
287
|
+
var _this = _super.call(this) || this;
|
|
288
|
+
_this.viewContainerRef = viewContainerRef;
|
|
289
|
+
_this.tags = ['colorMapping'];
|
|
290
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
291
|
+
_this.registerEvents(outputs$3);
|
|
292
|
+
_this.directivePropList = input$3;
|
|
293
|
+
return _this;
|
|
294
|
+
}
|
|
295
|
+
return BubbleDirective;
|
|
296
|
+
}(ej2AngularBase.ComplexBase));
|
|
297
|
+
BubbleDirective.decorators = [
|
|
298
|
+
{ type: core.Directive, args: [{
|
|
299
|
+
selector: 'e-layer>e-bubbleSettings>e-bubbleSetting',
|
|
300
|
+
inputs: input$3,
|
|
301
|
+
outputs: outputs$3,
|
|
302
|
+
queries: {
|
|
303
|
+
childColorMapping: new core.ContentChild(ColorMappingsDirective)
|
|
304
|
+
}
|
|
305
|
+
},] },
|
|
306
|
+
];
|
|
307
|
+
/**
|
|
308
|
+
* @nocollapse
|
|
309
|
+
*/
|
|
310
|
+
BubbleDirective.ctorParameters = function () { return [
|
|
311
|
+
{ type: core.ViewContainerRef, },
|
|
312
|
+
]; };
|
|
313
|
+
BubbleDirective.propDecorators = {
|
|
314
|
+
'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
315
|
+
};
|
|
316
|
+
__decorate$1([
|
|
317
|
+
ej2AngularBase.Template(),
|
|
318
|
+
__metadata$1("design:type", Object)
|
|
319
|
+
], BubbleDirective.prototype, "tooltipSettings_template", void 0);
|
|
320
|
+
/**
|
|
321
|
+
* Bubble Array Directive
|
|
322
|
+
*/
|
|
323
|
+
var BubblesDirective = /** @class */ (function (_super) {
|
|
324
|
+
__extends(BubblesDirective, _super);
|
|
325
|
+
function BubblesDirective() {
|
|
326
|
+
return _super.call(this, 'bubblesettings') || this;
|
|
327
|
+
}
|
|
328
|
+
return BubblesDirective;
|
|
329
|
+
}(ej2AngularBase.ArrayBase));
|
|
330
|
+
BubblesDirective.decorators = [
|
|
331
|
+
{ type: core.Directive, args: [{
|
|
332
|
+
selector: 'e-layer>e-bubbleSettings',
|
|
333
|
+
queries: {
|
|
334
|
+
children: new core.ContentChildren(BubbleDirective)
|
|
335
|
+
},
|
|
336
|
+
},] },
|
|
337
|
+
];
|
|
338
|
+
/**
|
|
339
|
+
* @nocollapse
|
|
340
|
+
*/
|
|
341
|
+
BubblesDirective.ctorParameters = function () { return []; };
|
|
342
|
+
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
343
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
344
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
345
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
346
|
+
else
|
|
347
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
348
|
+
if (d = decorators[i])
|
|
349
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
350
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
351
|
+
};
|
|
352
|
+
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
353
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
354
|
+
return Reflect.metadata(k, v);
|
|
355
|
+
};
|
|
356
|
+
var input$4 = ['angle', 'arrowSettings', 'color', 'dashArray', 'highlightSettings', 'latitude', 'longitude', 'selectionSettings', 'visible', 'width'];
|
|
357
|
+
var outputs$4 = [];
|
|
358
|
+
/**
|
|
359
|
+
* Represents the directive to define the navigation lines in the maps.
|
|
360
|
+
* ```html
|
|
361
|
+
* <e-layers>
|
|
362
|
+
* <e-layer>
|
|
363
|
+
* <e-navigationLineSettings>
|
|
364
|
+
* <e-navigationLineSetting>
|
|
365
|
+
* </e-navigationLineSetting>
|
|
366
|
+
* </e-navigationLineSettings>
|
|
367
|
+
* </e-layer>
|
|
368
|
+
* </e-layers>
|
|
369
|
+
* ```
|
|
370
|
+
*/
|
|
371
|
+
var NavigationLineDirective = /** @class */ (function (_super) {
|
|
372
|
+
__extends(NavigationLineDirective, _super);
|
|
373
|
+
/**
|
|
374
|
+
* @param {?} viewContainerRef
|
|
375
|
+
*/
|
|
376
|
+
function NavigationLineDirective(viewContainerRef) {
|
|
377
|
+
var _this = _super.call(this) || this;
|
|
378
|
+
_this.viewContainerRef = viewContainerRef;
|
|
379
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
380
|
+
_this.registerEvents(outputs$4);
|
|
381
|
+
_this.directivePropList = input$4;
|
|
382
|
+
return _this;
|
|
383
|
+
}
|
|
384
|
+
return NavigationLineDirective;
|
|
385
|
+
}(ej2AngularBase.ComplexBase));
|
|
386
|
+
NavigationLineDirective.decorators = [
|
|
387
|
+
{ type: core.Directive, args: [{
|
|
388
|
+
selector: 'e-layer>e-navigationLineSettings>e-navigationLineSetting',
|
|
389
|
+
inputs: input$4,
|
|
390
|
+
outputs: outputs$4,
|
|
391
|
+
queries: {}
|
|
392
|
+
},] },
|
|
393
|
+
];
|
|
394
|
+
/**
|
|
395
|
+
* @nocollapse
|
|
396
|
+
*/
|
|
397
|
+
NavigationLineDirective.ctorParameters = function () { return [
|
|
398
|
+
{ type: core.ViewContainerRef, },
|
|
399
|
+
]; };
|
|
400
|
+
NavigationLineDirective.propDecorators = {
|
|
401
|
+
'tooltipSettings_template': [{ type: core.ContentChild, args: ['tooltipSettingsTemplate',] },],
|
|
402
|
+
};
|
|
403
|
+
__decorate$2([
|
|
404
|
+
ej2AngularBase.Template(),
|
|
405
|
+
__metadata$2("design:type", Object)
|
|
406
|
+
], NavigationLineDirective.prototype, "tooltipSettings_template", void 0);
|
|
407
|
+
/**
|
|
408
|
+
* NavigationLine Array Directive
|
|
409
|
+
*/
|
|
410
|
+
var NavigationLinesDirective = /** @class */ (function (_super) {
|
|
411
|
+
__extends(NavigationLinesDirective, _super);
|
|
412
|
+
function NavigationLinesDirective() {
|
|
413
|
+
return _super.call(this, 'navigationlinesettings') || this;
|
|
414
|
+
}
|
|
415
|
+
return NavigationLinesDirective;
|
|
416
|
+
}(ej2AngularBase.ArrayBase));
|
|
417
|
+
NavigationLinesDirective.decorators = [
|
|
418
|
+
{ type: core.Directive, args: [{
|
|
419
|
+
selector: 'e-layer>e-navigationLineSettings',
|
|
420
|
+
queries: {
|
|
421
|
+
children: new core.ContentChildren(NavigationLineDirective)
|
|
422
|
+
},
|
|
423
|
+
},] },
|
|
424
|
+
];
|
|
425
|
+
/**
|
|
426
|
+
* @nocollapse
|
|
427
|
+
*/
|
|
428
|
+
NavigationLinesDirective.ctorParameters = function () { return []; };
|
|
429
|
+
var input$5 = ['animationDuration', 'bubbleSettings', 'dataLabelSettings', 'dataSource', 'geometryType', 'highlightSettings', 'initialShapeSelection', 'markerClusterSettings', 'markerSettings', 'navigationLineSettings', 'polygonSettings', 'query', 'selectionSettings', 'shapeData', 'shapeDataPath', 'shapePropertyPath', 'shapeSettings', 'toggleLegendSettings', 'tooltipSettings', 'type', 'urlTemplate', 'visible'];
|
|
430
|
+
var outputs$5 = [];
|
|
431
|
+
/**
|
|
432
|
+
* Represents the directive to define the layer of the maps.
|
|
433
|
+
* ```html
|
|
434
|
+
* <e-layers>
|
|
435
|
+
* <e-layer></e-layer>
|
|
436
|
+
* </e-layers>
|
|
437
|
+
* ```
|
|
438
|
+
*/
|
|
439
|
+
var LayerDirective = /** @class */ (function (_super) {
|
|
440
|
+
__extends(LayerDirective, _super);
|
|
441
|
+
/**
|
|
442
|
+
* @param {?} viewContainerRef
|
|
443
|
+
*/
|
|
444
|
+
function LayerDirective(viewContainerRef) {
|
|
445
|
+
var _this = _super.call(this) || this;
|
|
446
|
+
_this.viewContainerRef = viewContainerRef;
|
|
447
|
+
_this.tags = ['initialShapeSelection', 'markerSettings', 'bubbleSettings', 'navigationLineSettings'];
|
|
448
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
449
|
+
_this.registerEvents(outputs$5);
|
|
450
|
+
_this.directivePropList = input$5;
|
|
451
|
+
return _this;
|
|
452
|
+
}
|
|
453
|
+
return LayerDirective;
|
|
454
|
+
}(ej2AngularBase.ComplexBase));
|
|
455
|
+
LayerDirective.decorators = [
|
|
456
|
+
{ type: core.Directive, args: [{
|
|
457
|
+
selector: 'e-layers>e-layer',
|
|
458
|
+
inputs: input$5,
|
|
459
|
+
outputs: outputs$5,
|
|
460
|
+
queries: {
|
|
461
|
+
childInitialShapeSelection: new core.ContentChild(InitialShapeSelectionsDirective),
|
|
462
|
+
childMarkerSettings: new core.ContentChild(MarkersDirective),
|
|
463
|
+
childBubbleSettings: new core.ContentChild(BubblesDirective),
|
|
464
|
+
childNavigationLineSettings: new core.ContentChild(NavigationLinesDirective)
|
|
465
|
+
}
|
|
466
|
+
},] },
|
|
467
|
+
];
|
|
468
|
+
/**
|
|
469
|
+
* @nocollapse
|
|
470
|
+
*/
|
|
471
|
+
LayerDirective.ctorParameters = function () { return [
|
|
472
|
+
{ type: core.ViewContainerRef, },
|
|
473
|
+
]; };
|
|
474
|
+
/**
|
|
475
|
+
* Layer Array Directive
|
|
476
|
+
*/
|
|
477
|
+
var LayersDirective = /** @class */ (function (_super) {
|
|
478
|
+
__extends(LayersDirective, _super);
|
|
479
|
+
function LayersDirective() {
|
|
480
|
+
return _super.call(this, 'layers') || this;
|
|
481
|
+
}
|
|
482
|
+
return LayersDirective;
|
|
483
|
+
}(ej2AngularBase.ArrayBase));
|
|
484
|
+
LayersDirective.decorators = [
|
|
485
|
+
{ type: core.Directive, args: [{
|
|
486
|
+
selector: 'ej-maps>e-layers',
|
|
487
|
+
queries: {
|
|
488
|
+
children: new core.ContentChildren(LayerDirective)
|
|
489
|
+
},
|
|
490
|
+
},] },
|
|
491
|
+
];
|
|
492
|
+
/**
|
|
493
|
+
* @nocollapse
|
|
494
|
+
*/
|
|
495
|
+
LayersDirective.ctorParameters = function () { return []; };
|
|
496
|
+
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
497
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
498
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
499
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
500
|
+
else
|
|
501
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
502
|
+
if (d = decorators[i])
|
|
503
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
504
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
505
|
+
};
|
|
506
|
+
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
507
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
508
|
+
return Reflect.metadata(k, v);
|
|
509
|
+
};
|
|
510
|
+
var input$6 = ['content', 'horizontalAlignment', 'verticalAlignment', 'x', 'y', 'zIndex'];
|
|
511
|
+
var outputs$6 = [];
|
|
512
|
+
/**
|
|
513
|
+
* Represents the directive to define the annotations in the maps.
|
|
514
|
+
* ```html
|
|
515
|
+
* <e-maps-annotations>
|
|
516
|
+
* <e-maps-annotation></e-maps-annotation>
|
|
517
|
+
* </e-maps-annotations>
|
|
518
|
+
* ```
|
|
519
|
+
*/
|
|
520
|
+
var AnnotationDirective = /** @class */ (function (_super) {
|
|
521
|
+
__extends(AnnotationDirective, _super);
|
|
522
|
+
/**
|
|
523
|
+
* @param {?} viewContainerRef
|
|
524
|
+
*/
|
|
525
|
+
function AnnotationDirective(viewContainerRef) {
|
|
526
|
+
var _this = _super.call(this) || this;
|
|
527
|
+
_this.viewContainerRef = viewContainerRef;
|
|
528
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
529
|
+
_this.registerEvents(outputs$6);
|
|
530
|
+
_this.directivePropList = input$6;
|
|
531
|
+
return _this;
|
|
532
|
+
}
|
|
533
|
+
return AnnotationDirective;
|
|
534
|
+
}(ej2AngularBase.ComplexBase));
|
|
535
|
+
AnnotationDirective.decorators = [
|
|
536
|
+
{ type: core.Directive, args: [{
|
|
537
|
+
selector: 'e-maps-annotations>e-maps-annotation',
|
|
538
|
+
inputs: input$6,
|
|
539
|
+
outputs: outputs$6,
|
|
540
|
+
queries: {}
|
|
541
|
+
},] },
|
|
542
|
+
];
|
|
543
|
+
/**
|
|
544
|
+
* @nocollapse
|
|
545
|
+
*/
|
|
546
|
+
AnnotationDirective.ctorParameters = function () { return [
|
|
547
|
+
{ type: core.ViewContainerRef, },
|
|
548
|
+
]; };
|
|
549
|
+
AnnotationDirective.propDecorators = {
|
|
550
|
+
'content': [{ type: core.ContentChild, args: ['content',] },],
|
|
551
|
+
};
|
|
552
|
+
__decorate$3([
|
|
553
|
+
ej2AngularBase.Template(),
|
|
554
|
+
__metadata$3("design:type", Object)
|
|
555
|
+
], AnnotationDirective.prototype, "content", void 0);
|
|
556
|
+
/**
|
|
557
|
+
* Annotation Array Directive
|
|
558
|
+
*/
|
|
559
|
+
var AnnotationsDirective = /** @class */ (function (_super) {
|
|
560
|
+
__extends(AnnotationsDirective, _super);
|
|
561
|
+
function AnnotationsDirective() {
|
|
562
|
+
return _super.call(this, 'annotations') || this;
|
|
563
|
+
}
|
|
564
|
+
return AnnotationsDirective;
|
|
565
|
+
}(ej2AngularBase.ArrayBase));
|
|
566
|
+
AnnotationsDirective.decorators = [
|
|
567
|
+
{ type: core.Directive, args: [{
|
|
568
|
+
selector: 'ej-maps>e-maps-annotations',
|
|
569
|
+
queries: {
|
|
570
|
+
children: new core.ContentChildren(AnnotationDirective)
|
|
571
|
+
},
|
|
572
|
+
},] },
|
|
573
|
+
];
|
|
574
|
+
/**
|
|
575
|
+
* @nocollapse
|
|
576
|
+
*/
|
|
577
|
+
AnnotationsDirective.ctorParameters = function () { return []; };
|
|
578
|
+
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
579
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
580
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
581
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
582
|
+
else
|
|
583
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
584
|
+
if (d = decorators[i])
|
|
585
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
586
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
587
|
+
};
|
|
588
|
+
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
589
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
590
|
+
return Reflect.metadata(k, v);
|
|
591
|
+
};
|
|
592
|
+
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'];
|
|
593
|
+
var outputs$7 = ['animationComplete', 'annotationRendering', 'beforePrint', 'bubbleClick', 'bubbleMouseMove', 'bubbleRendering', 'click', 'dataLabelRendering', 'doubleClick', 'itemHighlight', 'itemSelection', 'layerRendering', 'legendRendering', 'load', 'loaded', 'markerClick', 'markerClusterClick', 'markerClusterMouseMove', 'markerClusterRendering', 'markerDragEnd', 'markerDragStart', 'markerMouseMove', 'markerRendering', 'mouseMove', 'onclick', 'pan', 'panComplete', 'resize', 'rightClick', 'shapeHighlight', 'shapeRendering', 'shapeSelected', 'tooltipRender', 'tooltipRenderComplete', 'zoom', 'zoomComplete', 'dataSourceChange'];
|
|
594
|
+
var twoWays = ['dataSource'];
|
|
595
|
+
/**
|
|
596
|
+
* Represents the Angular Maps component.
|
|
597
|
+
* It is ideal for rendering maps from GeoJSON data or other map providers like OpenStreetMap, Google Maps, Bing Maps, etc that has rich feature set that includes markers, labels, bubbles and much more.
|
|
598
|
+
* ```html
|
|
599
|
+
* <ej-maps></ej-maps>
|
|
600
|
+
* ```
|
|
601
|
+
*/
|
|
602
|
+
exports.MapsComponent = /** @class */ (function (_super) {
|
|
603
|
+
__extends(MapsComponent, _super);
|
|
604
|
+
/**
|
|
605
|
+
* @param {?} ngEle
|
|
606
|
+
* @param {?} srenderer
|
|
607
|
+
* @param {?} viewContainerRef
|
|
608
|
+
* @param {?} injector
|
|
609
|
+
*/
|
|
610
|
+
function MapsComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
611
|
+
var _this = _super.call(this) || this;
|
|
612
|
+
_this.ngEle = ngEle;
|
|
613
|
+
_this.srenderer = srenderer;
|
|
614
|
+
_this.viewContainerRef = viewContainerRef;
|
|
615
|
+
_this.injector = injector;
|
|
616
|
+
_this.tags = ['layers', 'annotations'];
|
|
617
|
+
_this.element = _this.ngEle.nativeElement;
|
|
618
|
+
_this.injectedModules = _this.injectedModules || [];
|
|
619
|
+
try {
|
|
620
|
+
var mod = _this.injector.get('MapsBubble');
|
|
621
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
622
|
+
_this.injectedModules.push(mod);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
catch (_a) { }
|
|
626
|
+
try {
|
|
627
|
+
var mod = _this.injector.get('MapsLegend');
|
|
628
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
629
|
+
_this.injectedModules.push(mod);
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
catch (_b) { }
|
|
633
|
+
try {
|
|
634
|
+
var mod = _this.injector.get('MapsMarker');
|
|
635
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
636
|
+
_this.injectedModules.push(mod);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
catch (_c) { }
|
|
640
|
+
try {
|
|
641
|
+
var mod = _this.injector.get('MapsHighlight');
|
|
642
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
643
|
+
_this.injectedModules.push(mod);
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
catch (_d) { }
|
|
647
|
+
try {
|
|
648
|
+
var mod = _this.injector.get('MapsSelection');
|
|
649
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
650
|
+
_this.injectedModules.push(mod);
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
catch (_e) { }
|
|
654
|
+
try {
|
|
655
|
+
var mod = _this.injector.get('MapsMapsTooltip');
|
|
656
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
657
|
+
_this.injectedModules.push(mod);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
catch (_f) { }
|
|
661
|
+
try {
|
|
662
|
+
var mod = _this.injector.get('MapsZoom');
|
|
663
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
664
|
+
_this.injectedModules.push(mod);
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
catch (_g) { }
|
|
668
|
+
try {
|
|
669
|
+
var mod = _this.injector.get('MapsDataLabel');
|
|
670
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
671
|
+
_this.injectedModules.push(mod);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
catch (_h) { }
|
|
675
|
+
try {
|
|
676
|
+
var mod = _this.injector.get('MapsNavigationLine');
|
|
677
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
678
|
+
_this.injectedModules.push(mod);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
catch (_j) { }
|
|
682
|
+
try {
|
|
683
|
+
var mod = _this.injector.get('MapsAnnotations');
|
|
684
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
685
|
+
_this.injectedModules.push(mod);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
catch (_k) { }
|
|
689
|
+
try {
|
|
690
|
+
var mod = _this.injector.get('MapsPrint');
|
|
691
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
692
|
+
_this.injectedModules.push(mod);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
catch (_l) { }
|
|
696
|
+
try {
|
|
697
|
+
var mod = _this.injector.get('MapsPdfExport');
|
|
698
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
699
|
+
_this.injectedModules.push(mod);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
catch (_m) { }
|
|
703
|
+
try {
|
|
704
|
+
var mod = _this.injector.get('MapsImageExport');
|
|
705
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
706
|
+
_this.injectedModules.push(mod);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
catch (_o) { }
|
|
710
|
+
try {
|
|
711
|
+
var mod = _this.injector.get('MapsPolygon');
|
|
712
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
|
713
|
+
_this.injectedModules.push(mod);
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
catch (_p) { }
|
|
717
|
+
_this.registerEvents(outputs$7);
|
|
718
|
+
_this.addTwoWay.call(_this, twoWays);
|
|
719
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
720
|
+
_this.context = new ej2AngularBase.ComponentBase();
|
|
721
|
+
return _this;
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* @return {?}
|
|
725
|
+
*/
|
|
726
|
+
MapsComponent.prototype.ngOnInit = function () {
|
|
727
|
+
this.context.ngOnInit(this);
|
|
728
|
+
};
|
|
729
|
+
/**
|
|
730
|
+
* @return {?}
|
|
731
|
+
*/
|
|
732
|
+
MapsComponent.prototype.ngAfterViewInit = function () {
|
|
733
|
+
this.context.ngAfterViewInit(this);
|
|
734
|
+
};
|
|
735
|
+
/**
|
|
736
|
+
* @return {?}
|
|
737
|
+
*/
|
|
738
|
+
MapsComponent.prototype.ngOnDestroy = function () {
|
|
739
|
+
this.context.ngOnDestroy(this);
|
|
740
|
+
};
|
|
741
|
+
/**
|
|
742
|
+
* @return {?}
|
|
743
|
+
*/
|
|
744
|
+
MapsComponent.prototype.ngAfterContentChecked = function () {
|
|
745
|
+
this.tagObjects[0].instance = this.childLayers;
|
|
746
|
+
if (this.childAnnotations) {
|
|
747
|
+
this.tagObjects[1].instance = /** @type {?} */ (this.childAnnotations);
|
|
748
|
+
}
|
|
749
|
+
this.context.ngAfterContentChecked(this);
|
|
750
|
+
};
|
|
751
|
+
return MapsComponent;
|
|
752
|
+
}(ej2Maps.Maps));
|
|
753
|
+
exports.MapsComponent.decorators = [
|
|
754
|
+
{ type: core.Component, args: [{
|
|
755
|
+
selector: 'ejs-maps',
|
|
756
|
+
inputs: inputs,
|
|
757
|
+
outputs: outputs$7,
|
|
758
|
+
template: '',
|
|
759
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
760
|
+
queries: {
|
|
761
|
+
childLayers: new core.ContentChild(LayersDirective),
|
|
762
|
+
childAnnotations: new core.ContentChild(AnnotationsDirective)
|
|
763
|
+
}
|
|
764
|
+
},] },
|
|
765
|
+
];
|
|
766
|
+
/**
|
|
767
|
+
* @nocollapse
|
|
768
|
+
*/
|
|
769
|
+
exports.MapsComponent.ctorParameters = function () { return [
|
|
770
|
+
{ type: core.ElementRef, },
|
|
771
|
+
{ type: core.Renderer2, },
|
|
772
|
+
{ type: core.ViewContainerRef, },
|
|
773
|
+
{ type: core.Injector, },
|
|
774
|
+
]; };
|
|
775
|
+
exports.MapsComponent = __decorate$4([
|
|
776
|
+
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
777
|
+
__metadata$4("design:paramtypes", [core.ElementRef,
|
|
778
|
+
core.Renderer2,
|
|
779
|
+
core.ViewContainerRef,
|
|
780
|
+
core.Injector])
|
|
781
|
+
], exports.MapsComponent);
|
|
782
|
+
/**
|
|
783
|
+
* NgModule definition for the Maps component.
|
|
784
|
+
*/
|
|
785
|
+
var MapsModule = /** @class */ (function () {
|
|
786
|
+
function MapsModule() {
|
|
787
|
+
}
|
|
788
|
+
return MapsModule;
|
|
789
|
+
}());
|
|
790
|
+
MapsModule.decorators = [
|
|
791
|
+
{ type: core.NgModule, args: [{
|
|
792
|
+
imports: [common.CommonModule],
|
|
793
|
+
declarations: [
|
|
794
|
+
exports.MapsComponent,
|
|
795
|
+
InitialShapeSelectionDirective,
|
|
796
|
+
InitialShapeSelectionsDirective,
|
|
797
|
+
MarkerDirective,
|
|
798
|
+
MarkersDirective,
|
|
799
|
+
ColorMappingDirective,
|
|
800
|
+
ColorMappingsDirective,
|
|
801
|
+
BubbleDirective,
|
|
802
|
+
BubblesDirective,
|
|
803
|
+
NavigationLineDirective,
|
|
804
|
+
NavigationLinesDirective,
|
|
805
|
+
LayerDirective,
|
|
806
|
+
LayersDirective,
|
|
807
|
+
AnnotationDirective,
|
|
808
|
+
AnnotationsDirective
|
|
809
|
+
],
|
|
810
|
+
exports: [
|
|
811
|
+
exports.MapsComponent,
|
|
812
|
+
InitialShapeSelectionDirective,
|
|
813
|
+
InitialShapeSelectionsDirective,
|
|
814
|
+
MarkerDirective,
|
|
815
|
+
MarkersDirective,
|
|
816
|
+
ColorMappingDirective,
|
|
817
|
+
ColorMappingsDirective,
|
|
818
|
+
BubbleDirective,
|
|
819
|
+
BubblesDirective,
|
|
820
|
+
NavigationLineDirective,
|
|
821
|
+
NavigationLinesDirective,
|
|
822
|
+
LayerDirective,
|
|
823
|
+
LayersDirective,
|
|
824
|
+
AnnotationDirective,
|
|
825
|
+
AnnotationsDirective
|
|
826
|
+
]
|
|
827
|
+
},] },
|
|
828
|
+
];
|
|
829
|
+
/**
|
|
830
|
+
* @nocollapse
|
|
831
|
+
*/
|
|
832
|
+
MapsModule.ctorParameters = function () { return []; };
|
|
833
|
+
var BubbleService = { provide: 'MapsBubble', useValue: ej2Maps.Bubble };
|
|
834
|
+
var LegendService = { provide: 'MapsLegend', useValue: ej2Maps.Legend };
|
|
835
|
+
var MarkerService = { provide: 'MapsMarker', useValue: ej2Maps.Marker };
|
|
836
|
+
var HighlightService = { provide: 'MapsHighlight', useValue: ej2Maps.Highlight };
|
|
837
|
+
var SelectionService = { provide: 'MapsSelection', useValue: ej2Maps.Selection };
|
|
838
|
+
var MapsTooltipService = { provide: 'MapsMapsTooltip', useValue: ej2Maps.MapsTooltip };
|
|
839
|
+
var ZoomService = { provide: 'MapsZoom', useValue: ej2Maps.Zoom };
|
|
840
|
+
var DataLabelService = { provide: 'MapsDataLabel', useValue: ej2Maps.DataLabel };
|
|
841
|
+
var NavigationLineService = { provide: 'MapsNavigationLine', useValue: ej2Maps.NavigationLine };
|
|
842
|
+
var AnnotationsService = { provide: 'MapsAnnotations', useValue: ej2Maps.Annotations };
|
|
843
|
+
var PrintService = { provide: 'MapsPrint', useValue: ej2Maps.Print };
|
|
844
|
+
var PdfExportService = { provide: 'MapsPdfExport', useValue: ej2Maps.PdfExport };
|
|
845
|
+
var ImageExportService = { provide: 'MapsImageExport', useValue: ej2Maps.ImageExport };
|
|
846
|
+
var PolygonService = { provide: 'MapsPolygon', useValue: ej2Maps.Polygon };
|
|
847
|
+
/**
|
|
848
|
+
* NgModule definition for the Maps component with providers.
|
|
849
|
+
*/
|
|
850
|
+
var MapsAllModule = /** @class */ (function () {
|
|
851
|
+
function MapsAllModule() {
|
|
852
|
+
}
|
|
853
|
+
return MapsAllModule;
|
|
854
|
+
}());
|
|
855
|
+
MapsAllModule.decorators = [
|
|
856
|
+
{ type: core.NgModule, args: [{
|
|
857
|
+
imports: [common.CommonModule, MapsModule],
|
|
858
|
+
exports: [
|
|
859
|
+
MapsModule
|
|
860
|
+
],
|
|
861
|
+
providers: [
|
|
862
|
+
BubbleService,
|
|
863
|
+
LegendService,
|
|
864
|
+
MarkerService,
|
|
865
|
+
HighlightService,
|
|
866
|
+
SelectionService,
|
|
867
|
+
MapsTooltipService,
|
|
868
|
+
ZoomService,
|
|
869
|
+
DataLabelService,
|
|
870
|
+
NavigationLineService,
|
|
871
|
+
AnnotationsService,
|
|
872
|
+
PrintService,
|
|
873
|
+
PdfExportService,
|
|
874
|
+
ImageExportService,
|
|
875
|
+
PolygonService
|
|
876
|
+
]
|
|
877
|
+
},] },
|
|
878
|
+
];
|
|
879
|
+
/**
|
|
880
|
+
* @nocollapse
|
|
881
|
+
*/
|
|
882
882
|
MapsAllModule.ctorParameters = function () { return []; };
|
|
883
883
|
|
|
884
884
|
exports.InitialShapeSelectionDirective = InitialShapeSelectionDirective;
|