@progress/kendo-angular-map 17.0.0-develop.9 → 17.0.1-develop.1
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/README.md +25 -16
- package/common/collection.component.d.ts +1 -1
- package/{esm2020 → esm2022}/common/collection-item.component.mjs +8 -5
- package/{esm2020 → esm2022}/common/collection.component.mjs +15 -6
- package/{esm2020 → esm2022}/common/collection.service.mjs +7 -3
- package/{esm2020 → esm2022}/common/configuration.service.mjs +9 -5
- package/{esm2020 → esm2022}/common/map-instance-observer.mjs +8 -8
- package/{esm2020 → esm2022}/common/settings.component.mjs +6 -4
- package/{esm2020 → esm2022}/events/base-event.mjs +7 -3
- package/{esm2020 → esm2022}/events/map-click-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/marker-activate-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/marker-click-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/marker-created-event.mjs +8 -0
- package/{esm2020 → esm2022}/events/pan-end-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/pan-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/preventable-event.mjs +4 -7
- package/{esm2020 → esm2022}/events/shape-click-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/shape-created-event.mjs +16 -0
- package/{esm2020 → esm2022}/events/shape-feature-created-event.mjs +16 -0
- package/{esm2020 → esm2022}/events/shape-mouse-enter-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/shape-mouse-leave-event.mjs +12 -0
- package/{esm2020 → esm2022}/events/zoom-end-event.mjs +4 -0
- package/{esm2020 → esm2022}/events/zoom-start-event.mjs +4 -0
- package/{esm2020 → esm2022}/map/bubble-layer.component.mjs +48 -9
- package/{esm2020 → esm2022}/map/layer/tooltip.component.mjs +5 -3
- package/{esm2020 → esm2022}/map/layer.component.mjs +32 -3
- package/{esm2020 → esm2022}/map/layers.component.mjs +6 -9
- package/{esm2020 → esm2022}/map/marker-layer.component.mjs +32 -9
- package/{esm2020 → esm2022}/map/shape-layer.component.mjs +20 -9
- package/{esm2020 → esm2022}/map/tile-layer.component.mjs +28 -9
- package/{esm2020 → esm2022}/map.component.mjs +198 -132
- package/{esm2020 → esm2022}/map.module.mjs +4 -4
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/tooltip/base-tooltip.mjs +19 -10
- package/{esm2020 → esm2022}/tooltip/bubble-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tooltip/bubble-tooltip.component.mjs +7 -3
- package/{esm2020 → esm2022}/tooltip/marker-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tooltip/marker-tooltip.component.mjs +7 -3
- package/{esm2020 → esm2022}/tooltip/shape-tooltip-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tooltip/shape-tooltip.component.mjs +7 -3
- package/{esm2020 → esm2022}/tooltip/tooltip-popup.component.mjs +21 -19
- package/{esm2020 → esm2022}/tooltip/tooltip-template.service.mjs +4 -6
- package/{fesm2020 → fesm2022}/progress-kendo-angular-map.mjs +645 -279
- package/map/bubble-layer.component.d.ts +1 -1
- package/map/layer.component.d.ts +1 -1
- package/map/layers.component.d.ts +2 -4
- package/map/marker-layer.component.d.ts +1 -1
- package/map/shape-layer.component.d.ts +1 -1
- package/map/tile-layer.component.d.ts +1 -1
- package/map.component.d.ts +1 -1
- package/package.json +16 -22
- package/schematics/ngAdd/index.js +1 -1
- package/tooltip/base-tooltip.d.ts +3 -3
- package/tooltip/tooltip-popup.component.d.ts +1 -4
- package/fesm2015/progress-kendo-angular-map.mjs +0 -1958
- /package/{esm2020 → esm2022}/common/copy-changes.mjs +0 -0
- /package/{esm2020 → esm2022}/common/has-parent.mjs +0 -0
- /package/{esm2020 → esm2022}/common/to-simple-changes.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/events/before-reset-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events/instance-event.service.mjs +0 -0
- /package/{esm2020 → esm2022}/events/reset-event.mjs +0 -0
- /package/{esm2020 → esm2022}/events.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-map.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/body-factory.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/popup-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip.mjs +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, SimpleChange, Directive, TemplateRef, Component, ChangeDetectionStrategy, ContentChild, SecurityContext, Input, forwardRef, ElementRef, EventEmitter,
|
|
6
|
+
import { Injectable, SimpleChange, Directive, TemplateRef, Component, ChangeDetectionStrategy, ContentChild, SecurityContext, Input, forwardRef, ViewChild, ElementRef, EventEmitter, Output, ContentChildren, Optional, NgModule } from '@angular/core';
|
|
7
7
|
import * as i3 from '@angular/platform-browser';
|
|
8
8
|
import { Subject, BehaviorSubject, combineLatest } from 'rxjs';
|
|
9
9
|
import { isDocumentAvailable, hasObservers, ResizeSensorComponent, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
@@ -24,6 +24,8 @@ import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
|
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
26
|
class ItemChange {
|
|
27
|
+
sender;
|
|
28
|
+
options;
|
|
27
29
|
constructor(sender, options) {
|
|
28
30
|
this.sender = sender;
|
|
29
31
|
this.options = options;
|
|
@@ -33,6 +35,8 @@ class ItemChange {
|
|
|
33
35
|
* @hidden
|
|
34
36
|
*/
|
|
35
37
|
class CollectionService {
|
|
38
|
+
itemChanges;
|
|
39
|
+
source;
|
|
36
40
|
constructor() {
|
|
37
41
|
this.source = new Subject();
|
|
38
42
|
this.itemChanges = this.source.asObservable();
|
|
@@ -40,10 +44,10 @@ class CollectionService {
|
|
|
40
44
|
notify(change) {
|
|
41
45
|
this.source.next(change);
|
|
42
46
|
}
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
48
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionService });
|
|
43
49
|
}
|
|
44
|
-
|
|
45
|
-
CollectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionService });
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionService, decorators: [{
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionService, decorators: [{
|
|
47
51
|
type: Injectable
|
|
48
52
|
}], ctorParameters: function () { return []; } });
|
|
49
53
|
|
|
@@ -51,6 +55,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
51
55
|
* @hidden
|
|
52
56
|
*/
|
|
53
57
|
class Change {
|
|
58
|
+
key;
|
|
59
|
+
value;
|
|
54
60
|
constructor(key, value) {
|
|
55
61
|
this.key = key;
|
|
56
62
|
this.value = value;
|
|
@@ -60,10 +66,12 @@ class Change {
|
|
|
60
66
|
* @hidden
|
|
61
67
|
*/
|
|
62
68
|
class ConfigurationService {
|
|
69
|
+
ngZone;
|
|
70
|
+
changes;
|
|
71
|
+
store = {};
|
|
72
|
+
source = new BehaviorSubject({});
|
|
63
73
|
constructor(ngZone) {
|
|
64
74
|
this.ngZone = ngZone;
|
|
65
|
-
this.store = {};
|
|
66
|
-
this.source = new BehaviorSubject({});
|
|
67
75
|
this.initSource();
|
|
68
76
|
}
|
|
69
77
|
initSource() {
|
|
@@ -92,10 +100,10 @@ class ConfigurationService {
|
|
|
92
100
|
this.source.next(this.store);
|
|
93
101
|
});
|
|
94
102
|
}
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigurationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
104
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigurationService });
|
|
95
105
|
}
|
|
96
|
-
|
|
97
|
-
ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationService });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationService, decorators: [{
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigurationService, decorators: [{
|
|
99
107
|
type: Injectable
|
|
100
108
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
101
109
|
|
|
@@ -135,11 +143,14 @@ function toSimpleChanges(changes) {
|
|
|
135
143
|
* @hidden
|
|
136
144
|
*/
|
|
137
145
|
class CollectionItemComponent {
|
|
146
|
+
configurationService;
|
|
147
|
+
collectionService;
|
|
148
|
+
subscription;
|
|
149
|
+
index = -1;
|
|
150
|
+
options = {};
|
|
138
151
|
constructor(configurationService, collectionService) {
|
|
139
152
|
this.configurationService = configurationService;
|
|
140
153
|
this.collectionService = collectionService;
|
|
141
|
-
this.index = -1;
|
|
142
|
-
this.options = {};
|
|
143
154
|
this.subscription = configurationService.changes.subscribe(store => {
|
|
144
155
|
this.options = store;
|
|
145
156
|
this.notify();
|
|
@@ -174,10 +185,10 @@ class CollectionItemComponent {
|
|
|
174
185
|
}
|
|
175
186
|
this.collectionService.notify(new ItemChange(this, this.options));
|
|
176
187
|
}
|
|
188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionItemComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
189
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CollectionItemComponent, usesOnChanges: true, ngImport: i0 });
|
|
177
190
|
}
|
|
178
|
-
|
|
179
|
-
CollectionItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CollectionItemComponent, usesOnChanges: true, ngImport: i0 });
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionItemComponent, decorators: [{
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionItemComponent, decorators: [{
|
|
181
192
|
type: Directive
|
|
182
193
|
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionService }]; } });
|
|
183
194
|
|
|
@@ -185,10 +196,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
185
196
|
* @hidden
|
|
186
197
|
*/
|
|
187
198
|
class SettingsComponent {
|
|
199
|
+
configKey;
|
|
200
|
+
configurationService;
|
|
201
|
+
store = {};
|
|
188
202
|
constructor(configKey, configurationService) {
|
|
189
203
|
this.configKey = configKey;
|
|
190
204
|
this.configurationService = configurationService;
|
|
191
|
-
this.store = {};
|
|
192
205
|
if (configKey === undefined) {
|
|
193
206
|
throw new Error('Configuration key not set');
|
|
194
207
|
}
|
|
@@ -223,10 +236,10 @@ class SettingsComponent {
|
|
|
223
236
|
notify() {
|
|
224
237
|
this.configurationService.notify(new Change(this.configKey, this.store));
|
|
225
238
|
}
|
|
239
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SettingsComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
240
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SettingsComponent, usesOnChanges: true, ngImport: i0 });
|
|
226
241
|
}
|
|
227
|
-
|
|
228
|
-
SettingsComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SettingsComponent, usesOnChanges: true, ngImport: i0 });
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SettingsComponent, decorators: [{
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SettingsComponent, decorators: [{
|
|
230
243
|
type: Directive
|
|
231
244
|
}], ctorParameters: function () { return [{ type: undefined }, { type: ConfigurationService }]; } });
|
|
232
245
|
|
|
@@ -236,6 +249,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
236
249
|
* @hidden
|
|
237
250
|
*/
|
|
238
251
|
class LayerTooltipComponent extends SettingsComponent {
|
|
252
|
+
configurationService;
|
|
253
|
+
layerTooltipTemplate;
|
|
239
254
|
constructor(configurationService) {
|
|
240
255
|
super('tooltip', configurationService);
|
|
241
256
|
this.configurationService = configurationService;
|
|
@@ -243,10 +258,10 @@ class LayerTooltipComponent extends SettingsComponent {
|
|
|
243
258
|
get layerTooltipTemplateRef() {
|
|
244
259
|
return this.layerTooltipTemplate;
|
|
245
260
|
}
|
|
261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerTooltipComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
262
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LayerTooltipComponent, isStandalone: true, selector: "kendo-map-layer-tooltip", queries: [{ propertyName: "layerTooltipTemplate", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
246
263
|
}
|
|
247
|
-
|
|
248
|
-
LayerTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LayerTooltipComponent, isStandalone: true, selector: "kendo-map-layer-tooltip", queries: [{ propertyName: "layerTooltipTemplate", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayerTooltipComponent, decorators: [{
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerTooltipComponent, decorators: [{
|
|
250
265
|
type: Component,
|
|
251
266
|
args: [{
|
|
252
267
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -263,6 +278,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
263
278
|
* @hidden
|
|
264
279
|
*/
|
|
265
280
|
class LayerComponent extends CollectionItemComponent {
|
|
281
|
+
type;
|
|
282
|
+
configurationService;
|
|
283
|
+
collectionService;
|
|
284
|
+
sanitizer;
|
|
285
|
+
/**
|
|
286
|
+
* @hidden
|
|
287
|
+
*/
|
|
288
|
+
attribution;
|
|
289
|
+
/**
|
|
290
|
+
* @hidden
|
|
291
|
+
*/
|
|
292
|
+
extent;
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*/
|
|
296
|
+
maxZoom;
|
|
297
|
+
/**
|
|
298
|
+
* @hidden
|
|
299
|
+
*/
|
|
300
|
+
minZoom;
|
|
301
|
+
/**
|
|
302
|
+
* @hidden
|
|
303
|
+
*/
|
|
304
|
+
opacity;
|
|
305
|
+
/**
|
|
306
|
+
* @hidden
|
|
307
|
+
*/
|
|
308
|
+
zIndex;
|
|
309
|
+
layerTooltip;
|
|
266
310
|
constructor(type, configurationService, collectionService, sanitizer) {
|
|
267
311
|
super(configurationService, collectionService);
|
|
268
312
|
this.type = type;
|
|
@@ -284,10 +328,10 @@ class LayerComponent extends CollectionItemComponent {
|
|
|
284
328
|
return this.layerTooltip.layerTooltipTemplateRef;
|
|
285
329
|
}
|
|
286
330
|
}
|
|
331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
332
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LayerComponent, inputs: { attribution: "attribution", extent: "extent", maxZoom: "maxZoom", minZoom: "minZoom", opacity: "opacity", zIndex: "zIndex" }, queries: [{ propertyName: "layerTooltip", first: true, predicate: LayerTooltipComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
287
333
|
}
|
|
288
|
-
|
|
289
|
-
LayerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LayerComponent, inputs: { attribution: "attribution", extent: "extent", maxZoom: "maxZoom", minZoom: "minZoom", opacity: "opacity", zIndex: "zIndex" }, queries: [{ propertyName: "layerTooltip", first: true, predicate: LayerTooltipComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayerComponent, decorators: [{
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerComponent, decorators: [{
|
|
291
335
|
type: Directive
|
|
292
336
|
}], ctorParameters: function () { return [{ type: undefined }, { type: ConfigurationService }, { type: CollectionService }, { type: i3.DomSanitizer }]; }, propDecorators: { attribution: [{
|
|
293
337
|
type: Input
|
|
@@ -310,22 +354,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
310
354
|
* A vector shape layer for bubble maps. [See example](slug:bubble_layers_map).
|
|
311
355
|
*/
|
|
312
356
|
class BubbleLayerComponent extends LayerComponent {
|
|
357
|
+
configurationService;
|
|
358
|
+
collectionService;
|
|
359
|
+
sanitizer;
|
|
360
|
+
/**
|
|
361
|
+
* The array of data items for this layer.
|
|
362
|
+
*/
|
|
363
|
+
data;
|
|
364
|
+
/**
|
|
365
|
+
* The data item field which contains the symbol location.
|
|
366
|
+
*
|
|
367
|
+
* The field should be an array with two numbers - latitude and longitude in decimal degrees.
|
|
368
|
+
*/
|
|
369
|
+
locationField;
|
|
370
|
+
/**
|
|
371
|
+
* The value field for the symbols used to determine their relative size.
|
|
372
|
+
* The data item field should be a number.
|
|
373
|
+
*/
|
|
374
|
+
valueField;
|
|
375
|
+
/**
|
|
376
|
+
* The symbol to use for bubble layers.
|
|
377
|
+
*/
|
|
378
|
+
symbol;
|
|
379
|
+
/**
|
|
380
|
+
* The default style for symbols.
|
|
381
|
+
*/
|
|
382
|
+
style;
|
|
383
|
+
/**
|
|
384
|
+
* The maximum symbol size for bubble layer symbols.
|
|
385
|
+
*
|
|
386
|
+
* @default 100
|
|
387
|
+
*/
|
|
388
|
+
maxSize;
|
|
389
|
+
/**
|
|
390
|
+
* The minimum symbol size for bubble layer symbols.
|
|
391
|
+
* Setting non-zero value will distort symbol area to value ratio.
|
|
392
|
+
*
|
|
393
|
+
* @default 0
|
|
394
|
+
*/
|
|
395
|
+
minSize;
|
|
313
396
|
constructor(configurationService, collectionService, sanitizer) {
|
|
314
397
|
super('bubble', configurationService, collectionService, sanitizer);
|
|
315
398
|
this.configurationService = configurationService;
|
|
316
399
|
this.collectionService = collectionService;
|
|
317
400
|
this.sanitizer = sanitizer;
|
|
318
401
|
}
|
|
402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
403
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BubbleLayerComponent, isStandalone: true, selector: "kendo-map-bubble-layer", inputs: { data: "data", locationField: "locationField", valueField: "valueField", symbol: "symbol", style: "style", maxSize: "maxSize", minSize: "minSize" }, providers: [
|
|
404
|
+
ConfigurationService,
|
|
405
|
+
{
|
|
406
|
+
provide: LayerComponent,
|
|
407
|
+
useExisting: forwardRef(() => BubbleLayerComponent)
|
|
408
|
+
}
|
|
409
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
319
410
|
}
|
|
320
|
-
|
|
321
|
-
BubbleLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BubbleLayerComponent, isStandalone: true, selector: "kendo-map-bubble-layer", inputs: { data: "data", locationField: "locationField", valueField: "valueField", symbol: "symbol", style: "style", maxSize: "maxSize", minSize: "minSize" }, providers: [
|
|
322
|
-
ConfigurationService,
|
|
323
|
-
{
|
|
324
|
-
provide: LayerComponent,
|
|
325
|
-
useExisting: forwardRef(() => BubbleLayerComponent)
|
|
326
|
-
}
|
|
327
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BubbleLayerComponent, decorators: [{
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleLayerComponent, decorators: [{
|
|
329
412
|
type: Component,
|
|
330
413
|
args: [{
|
|
331
414
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -371,16 +454,16 @@ function hasParent(element, parent) {
|
|
|
371
454
|
* @hidden
|
|
372
455
|
*/
|
|
373
456
|
class MapInstanceObserver extends InstanceObserver {
|
|
457
|
+
handlerMap = {
|
|
458
|
+
hideTooltip: 'onHideTooltip',
|
|
459
|
+
init: 'onInit',
|
|
460
|
+
render: 'onRender',
|
|
461
|
+
showTooltip: 'onShowTooltip',
|
|
462
|
+
centerChange: 'onCenterChange',
|
|
463
|
+
zoomChange: 'onZoomChange'
|
|
464
|
+
};
|
|
374
465
|
constructor(instance) {
|
|
375
466
|
super(instance);
|
|
376
|
-
this.handlerMap = {
|
|
377
|
-
hideTooltip: 'onHideTooltip',
|
|
378
|
-
init: 'onInit',
|
|
379
|
-
render: 'onRender',
|
|
380
|
-
showTooltip: 'onShowTooltip',
|
|
381
|
-
centerChange: 'onCenterChange',
|
|
382
|
-
zoomChange: 'onZoomChange'
|
|
383
|
-
};
|
|
384
467
|
}
|
|
385
468
|
}
|
|
386
469
|
|
|
@@ -388,16 +471,20 @@ class MapInstanceObserver extends InstanceObserver {
|
|
|
388
471
|
* @hidden
|
|
389
472
|
*/
|
|
390
473
|
class BaseEvent {
|
|
474
|
+
/**
|
|
475
|
+
* The `MapComponent` that triggered the event.
|
|
476
|
+
*/
|
|
477
|
+
sender;
|
|
391
478
|
/**
|
|
392
479
|
* @hidden
|
|
393
480
|
*/
|
|
394
481
|
constructor(sender) {
|
|
395
482
|
this.sender = sender;
|
|
396
483
|
}
|
|
484
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseEvent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
485
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseEvent, ngImport: i0 });
|
|
397
486
|
}
|
|
398
|
-
|
|
399
|
-
BaseEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseEvent, ngImport: i0 });
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseEvent, decorators: [{
|
|
487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseEvent, decorators: [{
|
|
401
488
|
type: Directive
|
|
402
489
|
}], ctorParameters: function () { return [{ type: undefined }]; } });
|
|
403
490
|
|
|
@@ -417,6 +504,14 @@ class BeforeResetEvent extends BaseEvent {
|
|
|
417
504
|
* Fired when the user clicks on the map.
|
|
418
505
|
*/
|
|
419
506
|
class MapClickEvent extends BaseEvent {
|
|
507
|
+
/**
|
|
508
|
+
* The location of the clicked point.
|
|
509
|
+
*/
|
|
510
|
+
location;
|
|
511
|
+
/**
|
|
512
|
+
* The source DOM event instance
|
|
513
|
+
*/
|
|
514
|
+
originalEvent;
|
|
420
515
|
/**
|
|
421
516
|
* @hidden
|
|
422
517
|
*/
|
|
@@ -431,6 +526,14 @@ class MapClickEvent extends BaseEvent {
|
|
|
431
526
|
* Fired when a marker has been displayed and has a DOM element assigned.
|
|
432
527
|
*/
|
|
433
528
|
class MarkerActivateEvent extends BaseEvent {
|
|
529
|
+
/**
|
|
530
|
+
* The marker instance.
|
|
531
|
+
*/
|
|
532
|
+
marker;
|
|
533
|
+
/**
|
|
534
|
+
* The marker layer instance.
|
|
535
|
+
*/
|
|
536
|
+
layer;
|
|
434
537
|
/**
|
|
435
538
|
* @hidden
|
|
436
539
|
*/
|
|
@@ -445,6 +548,14 @@ class MarkerActivateEvent extends BaseEvent {
|
|
|
445
548
|
* Fired when a marker has been clicked or tapped.
|
|
446
549
|
*/
|
|
447
550
|
class MarkerClickEvent extends BaseEvent {
|
|
551
|
+
/**
|
|
552
|
+
* The marker instance.
|
|
553
|
+
*/
|
|
554
|
+
marker;
|
|
555
|
+
/**
|
|
556
|
+
* The marker layer instance.
|
|
557
|
+
*/
|
|
558
|
+
layer;
|
|
448
559
|
/**
|
|
449
560
|
* @hidden
|
|
450
561
|
*/
|
|
@@ -459,10 +570,7 @@ class MarkerClickEvent extends BaseEvent {
|
|
|
459
570
|
* @hidden
|
|
460
571
|
*/
|
|
461
572
|
class PreventableEvent extends BaseEvent {
|
|
462
|
-
|
|
463
|
-
super(...arguments);
|
|
464
|
-
this.prevented = false;
|
|
465
|
-
}
|
|
573
|
+
prevented = false;
|
|
466
574
|
/**
|
|
467
575
|
* Prevents the default action for a specified event.
|
|
468
576
|
* In this way, the source component suppresses
|
|
@@ -481,10 +589,10 @@ class PreventableEvent extends BaseEvent {
|
|
|
481
589
|
isDefaultPrevented() {
|
|
482
590
|
return this.prevented;
|
|
483
591
|
}
|
|
592
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreventableEvent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
593
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PreventableEvent, usesInheritance: true, ngImport: i0 });
|
|
484
594
|
}
|
|
485
|
-
|
|
486
|
-
PreventableEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PreventableEvent, usesInheritance: true, ngImport: i0 });
|
|
487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PreventableEvent, decorators: [{
|
|
595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreventableEvent, decorators: [{
|
|
488
596
|
type: Directive
|
|
489
597
|
}] });
|
|
490
598
|
|
|
@@ -494,6 +602,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
494
602
|
* Cancelling the event will prevent the marker from being shown.
|
|
495
603
|
*/
|
|
496
604
|
class MarkerCreatedEvent extends PreventableEvent {
|
|
605
|
+
/**
|
|
606
|
+
* The marker instance.
|
|
607
|
+
*/
|
|
608
|
+
marker;
|
|
609
|
+
/**
|
|
610
|
+
* The marker layer instance.
|
|
611
|
+
*/
|
|
612
|
+
layer;
|
|
497
613
|
/**
|
|
498
614
|
* @hidden
|
|
499
615
|
*/
|
|
@@ -508,6 +624,18 @@ class MarkerCreatedEvent extends PreventableEvent {
|
|
|
508
624
|
* Fires after the map viewport has been moved.
|
|
509
625
|
*/
|
|
510
626
|
class PanEndEvent extends BaseEvent {
|
|
627
|
+
/**
|
|
628
|
+
* The map origin (top left or NW corner).
|
|
629
|
+
*/
|
|
630
|
+
origin;
|
|
631
|
+
/**
|
|
632
|
+
* The current map center.
|
|
633
|
+
*/
|
|
634
|
+
center;
|
|
635
|
+
/**
|
|
636
|
+
* The source DOM event instance
|
|
637
|
+
*/
|
|
638
|
+
originalEvent;
|
|
511
639
|
/**
|
|
512
640
|
* @hidden
|
|
513
641
|
*/
|
|
@@ -523,6 +651,18 @@ class PanEndEvent extends BaseEvent {
|
|
|
523
651
|
* Fired while the map viewport is being moved.
|
|
524
652
|
*/
|
|
525
653
|
class PanEvent extends BaseEvent {
|
|
654
|
+
/**
|
|
655
|
+
* The map origin (top left or NW corner).
|
|
656
|
+
*/
|
|
657
|
+
origin;
|
|
658
|
+
/**
|
|
659
|
+
* The current map center.
|
|
660
|
+
*/
|
|
661
|
+
center;
|
|
662
|
+
/**
|
|
663
|
+
* The source DOM event instance
|
|
664
|
+
*/
|
|
665
|
+
originalEvent;
|
|
526
666
|
/**
|
|
527
667
|
* @hidden
|
|
528
668
|
*/
|
|
@@ -552,6 +692,18 @@ class ResetEvent extends BaseEvent {
|
|
|
552
692
|
* Fired when a shape is clicked or tapped.
|
|
553
693
|
*/
|
|
554
694
|
class ShapeClickEvent extends BaseEvent {
|
|
695
|
+
/**
|
|
696
|
+
* The shape layer instance.
|
|
697
|
+
*/
|
|
698
|
+
layer;
|
|
699
|
+
/**
|
|
700
|
+
* The shape instance.
|
|
701
|
+
*/
|
|
702
|
+
shape;
|
|
703
|
+
/**
|
|
704
|
+
* The source DOM event instance
|
|
705
|
+
*/
|
|
706
|
+
originalEvent;
|
|
555
707
|
/**
|
|
556
708
|
* @hidden
|
|
557
709
|
*/
|
|
@@ -567,6 +719,22 @@ class ShapeClickEvent extends BaseEvent {
|
|
|
567
719
|
* Fired when a shape is created, but is not rendered yet.
|
|
568
720
|
*/
|
|
569
721
|
class ShapeCreatedEvent extends BaseEvent {
|
|
722
|
+
/**
|
|
723
|
+
* The shape layer instance.
|
|
724
|
+
*/
|
|
725
|
+
layer;
|
|
726
|
+
/**
|
|
727
|
+
* The shape instance.
|
|
728
|
+
*/
|
|
729
|
+
shape;
|
|
730
|
+
/**
|
|
731
|
+
* The original data item for this Shape.
|
|
732
|
+
*/
|
|
733
|
+
dataItem;
|
|
734
|
+
/**
|
|
735
|
+
* The shape location
|
|
736
|
+
*/
|
|
737
|
+
location;
|
|
570
738
|
/**
|
|
571
739
|
* @hidden
|
|
572
740
|
*/
|
|
@@ -583,6 +751,22 @@ class ShapeCreatedEvent extends BaseEvent {
|
|
|
583
751
|
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
584
752
|
*/
|
|
585
753
|
class ShapeFeatureCreatedEvent extends BaseEvent {
|
|
754
|
+
/**
|
|
755
|
+
* The original data item for this Feature. Members include `geometries` and `properties`.
|
|
756
|
+
*/
|
|
757
|
+
dataItem;
|
|
758
|
+
/**
|
|
759
|
+
* The shape layer instance.
|
|
760
|
+
*/
|
|
761
|
+
layer;
|
|
762
|
+
/**
|
|
763
|
+
* The group containing feature shape instances.
|
|
764
|
+
*/
|
|
765
|
+
group;
|
|
766
|
+
/**
|
|
767
|
+
* A reference to the `dataItem.properties` object.
|
|
768
|
+
*/
|
|
769
|
+
properties;
|
|
586
770
|
/**
|
|
587
771
|
* @hidden
|
|
588
772
|
*/
|
|
@@ -602,6 +786,18 @@ class ShapeFeatureCreatedEvent extends BaseEvent {
|
|
|
602
786
|
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
603
787
|
*/
|
|
604
788
|
class ShapeMouseEnterEvent extends BaseEvent {
|
|
789
|
+
/**
|
|
790
|
+
* The shape layer instance.
|
|
791
|
+
*/
|
|
792
|
+
layer;
|
|
793
|
+
/**
|
|
794
|
+
* The shape instance.
|
|
795
|
+
*/
|
|
796
|
+
shape;
|
|
797
|
+
/**
|
|
798
|
+
* The source DOM event instance
|
|
799
|
+
*/
|
|
800
|
+
originalEvent;
|
|
605
801
|
/**
|
|
606
802
|
* @hidden
|
|
607
803
|
*/
|
|
@@ -620,6 +816,18 @@ class ShapeMouseEnterEvent extends BaseEvent {
|
|
|
620
816
|
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
621
817
|
*/
|
|
622
818
|
class ShapeMouseLeaveEvent extends BaseEvent {
|
|
819
|
+
/**
|
|
820
|
+
* The shape layer instance.
|
|
821
|
+
*/
|
|
822
|
+
layer;
|
|
823
|
+
/**
|
|
824
|
+
* The shape instance.
|
|
825
|
+
*/
|
|
826
|
+
shape;
|
|
827
|
+
/**
|
|
828
|
+
* The source DOM event instance
|
|
829
|
+
*/
|
|
830
|
+
originalEvent;
|
|
623
831
|
/**
|
|
624
832
|
* @hidden
|
|
625
833
|
*/
|
|
@@ -635,6 +843,10 @@ class ShapeMouseLeaveEvent extends BaseEvent {
|
|
|
635
843
|
* Fired when the map zoom level has changed.
|
|
636
844
|
*/
|
|
637
845
|
class ZoomEndEvent extends BaseEvent {
|
|
846
|
+
/**
|
|
847
|
+
* The source DOM event instance
|
|
848
|
+
*/
|
|
849
|
+
originalEvent;
|
|
638
850
|
/**
|
|
639
851
|
* @hidden
|
|
640
852
|
*/
|
|
@@ -650,6 +862,10 @@ class ZoomEndEvent extends BaseEvent {
|
|
|
650
862
|
* Cancelling the event will prevent the user action.
|
|
651
863
|
*/
|
|
652
864
|
class ZoomStartEvent extends PreventableEvent {
|
|
865
|
+
/**
|
|
866
|
+
* The source DOM event instance
|
|
867
|
+
*/
|
|
868
|
+
originalEvent;
|
|
653
869
|
/**
|
|
654
870
|
* @hidden
|
|
655
871
|
*/
|
|
@@ -694,8 +910,8 @@ const packageMetadata = {
|
|
|
694
910
|
name: '@progress/kendo-angular-map',
|
|
695
911
|
productName: 'Kendo UI for Angular',
|
|
696
912
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
697
|
-
publishDate:
|
|
698
|
-
version: '17.0.
|
|
913
|
+
publishDate: 1731429935,
|
|
914
|
+
version: '17.0.1-develop.1',
|
|
699
915
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
700
916
|
};
|
|
701
917
|
|
|
@@ -705,14 +921,18 @@ const COLLISION = { horizontal: "fit", vertical: "fit" };
|
|
|
705
921
|
* @hidden
|
|
706
922
|
*/
|
|
707
923
|
class BaseTooltip {
|
|
924
|
+
popupService;
|
|
925
|
+
localizationService;
|
|
926
|
+
animate = true;
|
|
927
|
+
style = {
|
|
928
|
+
position: 'relative'
|
|
929
|
+
};
|
|
930
|
+
templateRef;
|
|
931
|
+
popupRef = null;
|
|
932
|
+
popupSettings;
|
|
708
933
|
constructor(popupService, localizationService) {
|
|
709
934
|
this.popupService = popupService;
|
|
710
935
|
this.localizationService = localizationService;
|
|
711
|
-
this.animate = true;
|
|
712
|
-
this.style = {
|
|
713
|
-
position: 'relative'
|
|
714
|
-
};
|
|
715
|
-
this.popupRef = null;
|
|
716
936
|
}
|
|
717
937
|
get active() {
|
|
718
938
|
return this.popupRef !== null;
|
|
@@ -776,20 +996,23 @@ class BaseTooltip {
|
|
|
776
996
|
}
|
|
777
997
|
return { scrollLeft, scrollTop };
|
|
778
998
|
}
|
|
999
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseTooltip, deps: [{ token: i1.PopupService }, { token: i3$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1000
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseTooltip, inputs: { popupSettings: "popupSettings" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
|
|
779
1001
|
}
|
|
780
|
-
|
|
781
|
-
BaseTooltip.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseTooltip, ngImport: i0 });
|
|
782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseTooltip, decorators: [{
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseTooltip, decorators: [{
|
|
783
1003
|
type: Directive
|
|
784
|
-
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i3$1.LocalizationService }]; }
|
|
1004
|
+
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i3$1.LocalizationService }]; }, propDecorators: { templateRef: [{
|
|
1005
|
+
type: ViewChild,
|
|
1006
|
+
args: ['content', { static: true }]
|
|
1007
|
+
}], popupSettings: [{
|
|
1008
|
+
type: Input
|
|
1009
|
+
}] } });
|
|
785
1010
|
|
|
786
1011
|
/**
|
|
787
1012
|
* @hidden
|
|
788
1013
|
*/
|
|
789
1014
|
class TooltipTemplateService {
|
|
790
|
-
|
|
791
|
-
this.templates = [];
|
|
792
|
-
}
|
|
1015
|
+
templates = [];
|
|
793
1016
|
registerTemplate(layerIndex, template) {
|
|
794
1017
|
if (layerIndex > -1) {
|
|
795
1018
|
this.templates[layerIndex] = template;
|
|
@@ -800,10 +1023,10 @@ class TooltipTemplateService {
|
|
|
800
1023
|
return this.templates[layerIndex];
|
|
801
1024
|
}
|
|
802
1025
|
}
|
|
1026
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1027
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipTemplateService });
|
|
803
1028
|
}
|
|
804
|
-
|
|
805
|
-
TooltipTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipTemplateService });
|
|
806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TooltipTemplateService, decorators: [{
|
|
1029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipTemplateService, decorators: [{
|
|
807
1030
|
type: Injectable
|
|
808
1031
|
}] });
|
|
809
1032
|
|
|
@@ -820,17 +1043,24 @@ function bodyFactory() {
|
|
|
820
1043
|
* @hidden
|
|
821
1044
|
*/
|
|
822
1045
|
class TooltipPopupComponent extends BaseTooltip {
|
|
1046
|
+
popupService;
|
|
1047
|
+
templateService;
|
|
1048
|
+
localizationService;
|
|
1049
|
+
ngZone;
|
|
1050
|
+
tooltipTemplateRef;
|
|
1051
|
+
tooltipContext = {};
|
|
1052
|
+
animate = true;
|
|
1053
|
+
classNames;
|
|
1054
|
+
wrapperClass = 'k-tooltip-wrapper';
|
|
1055
|
+
leave = new EventEmitter();
|
|
1056
|
+
popupClasses = {};
|
|
1057
|
+
mouseleaveSubscription;
|
|
823
1058
|
constructor(popupService, templateService, localizationService, ngZone) {
|
|
824
1059
|
super(popupService, localizationService);
|
|
825
1060
|
this.popupService = popupService;
|
|
826
1061
|
this.templateService = templateService;
|
|
827
1062
|
this.localizationService = localizationService;
|
|
828
1063
|
this.ngZone = ngZone;
|
|
829
|
-
this.tooltipContext = {};
|
|
830
|
-
this.animate = true;
|
|
831
|
-
this.wrapperClass = 'k-tooltip-wrapper';
|
|
832
|
-
this.leave = new EventEmitter();
|
|
833
|
-
this.popupClasses = {};
|
|
834
1064
|
}
|
|
835
1065
|
show(e) {
|
|
836
1066
|
this.tooltipTemplateRef = this.templateService.getTemplate(e.layerIndex);
|
|
@@ -866,12 +1096,11 @@ class TooltipPopupComponent extends BaseTooltip {
|
|
|
866
1096
|
this.tooltipTemplateRef = null;
|
|
867
1097
|
super.hide();
|
|
868
1098
|
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
}], viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
1099
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipPopupComponent, deps: [{ token: i1.PopupService }, { token: TooltipTemplateService }, { token: i3$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TooltipPopupComponent, isStandalone: true, selector: "kendo-map-tooltip-popup", inputs: { animate: "animate", classNames: "classNames", wrapperClass: "wrapperClass" }, outputs: { leave: "leave" }, providers: [PopupService, {
|
|
1101
|
+
provide: POPUP_CONTAINER,
|
|
1102
|
+
useFactory: bodyFactory
|
|
1103
|
+
}], usesInheritance: true, ngImport: i0, template: `
|
|
875
1104
|
<ng-template #content>
|
|
876
1105
|
<div [ngClass]="popupClasses" [ngStyle]="style">
|
|
877
1106
|
<div class="k-tooltip-content">
|
|
@@ -882,7 +1111,8 @@ TooltipPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
882
1111
|
</div>
|
|
883
1112
|
</ng-template>
|
|
884
1113
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
885
|
-
|
|
1114
|
+
}
|
|
1115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TooltipPopupComponent, decorators: [{
|
|
886
1116
|
type: Component,
|
|
887
1117
|
args: [{
|
|
888
1118
|
providers: [PopupService, {
|
|
@@ -904,15 +1134,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
904
1134
|
standalone: true,
|
|
905
1135
|
imports: [NgClass, NgStyle, NgTemplateOutlet]
|
|
906
1136
|
}]
|
|
907
|
-
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: TooltipTemplateService }, { type: i3$1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: {
|
|
908
|
-
type: ViewChild,
|
|
909
|
-
args: ['content', { static: true }]
|
|
910
|
-
}], animate: [{
|
|
1137
|
+
}], ctorParameters: function () { return [{ type: i1.PopupService }, { type: TooltipTemplateService }, { type: i3$1.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { animate: [{
|
|
911
1138
|
type: Input
|
|
912
1139
|
}], classNames: [{
|
|
913
1140
|
type: Input
|
|
914
|
-
}], popupSettings: [{
|
|
915
|
-
type: Input
|
|
916
1141
|
}], wrapperClass: [{
|
|
917
1142
|
type: Input
|
|
918
1143
|
}], leave: [{
|
|
@@ -970,6 +1195,190 @@ const svgIcons = {
|
|
|
970
1195
|
* ```
|
|
971
1196
|
*/
|
|
972
1197
|
class MapComponent {
|
|
1198
|
+
configurationService;
|
|
1199
|
+
instanceEventService;
|
|
1200
|
+
element;
|
|
1201
|
+
localizationService;
|
|
1202
|
+
changeDetector;
|
|
1203
|
+
ngZone;
|
|
1204
|
+
renderer;
|
|
1205
|
+
iconsService;
|
|
1206
|
+
/**
|
|
1207
|
+
* Limits the automatic resizing of the Map. Sets the maximum number of times per second
|
|
1208
|
+
* that the component redraws its content when the size of its container changes.
|
|
1209
|
+
* Defaults to `10`. To disable the automatic resizing, set it to `0`.
|
|
1210
|
+
*
|
|
1211
|
+
* @example
|
|
1212
|
+
* ```ts
|
|
1213
|
+
* _@Component({
|
|
1214
|
+
* selector: 'my-app',
|
|
1215
|
+
* template: `
|
|
1216
|
+
* <kendo-map [resizeRateLimit]="2">
|
|
1217
|
+
* <!-- ^^^^^^^^^^^^^^^^^^^^^^
|
|
1218
|
+
* Will update the size of the Map up to two times a second.
|
|
1219
|
+
* Resize the example pane or window to try it out.
|
|
1220
|
+
* -->
|
|
1221
|
+
* </kendo-map>
|
|
1222
|
+
* `
|
|
1223
|
+
* })
|
|
1224
|
+
* export class AppComponent {
|
|
1225
|
+
* }
|
|
1226
|
+
* ```
|
|
1227
|
+
*/
|
|
1228
|
+
resizeRateLimit = 10;
|
|
1229
|
+
/**
|
|
1230
|
+
* The map center. Coordinates are listed as `[Latitude, Longitude]`.
|
|
1231
|
+
*/
|
|
1232
|
+
center;
|
|
1233
|
+
/**
|
|
1234
|
+
* The configuration of built-in map controls.
|
|
1235
|
+
*/
|
|
1236
|
+
controls;
|
|
1237
|
+
/**
|
|
1238
|
+
* The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
1239
|
+
*
|
|
1240
|
+
* @default 1
|
|
1241
|
+
*/
|
|
1242
|
+
minZoom;
|
|
1243
|
+
/**
|
|
1244
|
+
* The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
1245
|
+
*
|
|
1246
|
+
* @default 19
|
|
1247
|
+
*/
|
|
1248
|
+
maxZoom;
|
|
1249
|
+
/**
|
|
1250
|
+
* The size of the map in pixels at zoom level 0.
|
|
1251
|
+
*
|
|
1252
|
+
* @default 256
|
|
1253
|
+
*/
|
|
1254
|
+
minSize;
|
|
1255
|
+
/**
|
|
1256
|
+
* Controls whether the user can pan the map.
|
|
1257
|
+
*
|
|
1258
|
+
* @default true
|
|
1259
|
+
*/
|
|
1260
|
+
pannable;
|
|
1261
|
+
/**
|
|
1262
|
+
* The settings for the tooltip popup.
|
|
1263
|
+
*/
|
|
1264
|
+
popupSettings;
|
|
1265
|
+
/**
|
|
1266
|
+
* Specifies whether the map should wrap around the east-west edges.
|
|
1267
|
+
*
|
|
1268
|
+
* @default true
|
|
1269
|
+
*/
|
|
1270
|
+
wraparound;
|
|
1271
|
+
/**
|
|
1272
|
+
* The initial zoom level.
|
|
1273
|
+
*
|
|
1274
|
+
* Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
1275
|
+
*
|
|
1276
|
+
* The map size is derived from the zoom level and minScale options: `size = (2 ^ zoom) * minSize`
|
|
1277
|
+
*
|
|
1278
|
+
* > Map zoom rounds floating point numbers. This is done so as the majority of web maps use the whole [`zoom levels`](https://wiki.openstreetmap.org/wiki/Zoom_levels) 0 through to 19.
|
|
1279
|
+
*
|
|
1280
|
+
* @default 3
|
|
1281
|
+
*/
|
|
1282
|
+
zoom = 3;
|
|
1283
|
+
/**
|
|
1284
|
+
* Controls whether the map zoom level can be changed by the user.
|
|
1285
|
+
*
|
|
1286
|
+
* @default true
|
|
1287
|
+
*/
|
|
1288
|
+
zoomable;
|
|
1289
|
+
/**
|
|
1290
|
+
* Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.
|
|
1291
|
+
*/
|
|
1292
|
+
beforeReset = new EventEmitter();
|
|
1293
|
+
/**
|
|
1294
|
+
* Fired when the user clicks on the map.
|
|
1295
|
+
*/
|
|
1296
|
+
mapClick = new EventEmitter();
|
|
1297
|
+
/**
|
|
1298
|
+
* Fired when a marker has been displayed and has a DOM element assigned.
|
|
1299
|
+
*/
|
|
1300
|
+
markerActivate = new EventEmitter();
|
|
1301
|
+
/**
|
|
1302
|
+
* Fired when a marker has been clicked or tapped.
|
|
1303
|
+
*/
|
|
1304
|
+
markerClick = new EventEmitter();
|
|
1305
|
+
/**
|
|
1306
|
+
* Fired when a marker has been created and is about to be displayed.
|
|
1307
|
+
*
|
|
1308
|
+
* Cancelling the event will prevent the marker from being shown.
|
|
1309
|
+
*/
|
|
1310
|
+
markerCreated = new EventEmitter();
|
|
1311
|
+
/**
|
|
1312
|
+
* Fires after the map viewport has been moved.
|
|
1313
|
+
*/
|
|
1314
|
+
panEnd = new EventEmitter();
|
|
1315
|
+
/**
|
|
1316
|
+
* Fired while the map viewport is being moved.
|
|
1317
|
+
*/
|
|
1318
|
+
pan = new EventEmitter();
|
|
1319
|
+
/**
|
|
1320
|
+
* Fired when the map is reset.
|
|
1321
|
+
*
|
|
1322
|
+
* This typically occurs on initial load and after a zoom/center change.
|
|
1323
|
+
*/
|
|
1324
|
+
reset = new EventEmitter();
|
|
1325
|
+
/**
|
|
1326
|
+
* Fired when a shape is clicked or tapped.
|
|
1327
|
+
*/
|
|
1328
|
+
shapeClick = new EventEmitter();
|
|
1329
|
+
/**
|
|
1330
|
+
* Fired when a shape is created, but is not rendered yet.
|
|
1331
|
+
*/
|
|
1332
|
+
shapeCreated = new EventEmitter();
|
|
1333
|
+
/**
|
|
1334
|
+
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
1335
|
+
*/
|
|
1336
|
+
shapeFeatureCreated = new EventEmitter();
|
|
1337
|
+
/**
|
|
1338
|
+
* Fired when the mouse enters a shape.
|
|
1339
|
+
*
|
|
1340
|
+
* > This event will fire reliably only for shapes that have set fill color.
|
|
1341
|
+
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
1342
|
+
*/
|
|
1343
|
+
shapeMouseEnter = new EventEmitter();
|
|
1344
|
+
/**
|
|
1345
|
+
* Fired when the mouse leaves a shape.
|
|
1346
|
+
*
|
|
1347
|
+
* > This event will fire reliably only for shapes that have set fill color.
|
|
1348
|
+
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
1349
|
+
*/
|
|
1350
|
+
shapeMouseLeave = new EventEmitter();
|
|
1351
|
+
/**
|
|
1352
|
+
* Fired when the map zoom level is about to change.
|
|
1353
|
+
*
|
|
1354
|
+
* Cancelling the event will prevent the user action.
|
|
1355
|
+
*/
|
|
1356
|
+
zoomStart = new EventEmitter();
|
|
1357
|
+
/**
|
|
1358
|
+
* Fired when the map zoom level has changed.
|
|
1359
|
+
*/
|
|
1360
|
+
zoomEnd = new EventEmitter();
|
|
1361
|
+
/**
|
|
1362
|
+
* Fired when the map center has been changed.
|
|
1363
|
+
*/
|
|
1364
|
+
centerChange = new EventEmitter();
|
|
1365
|
+
/**
|
|
1366
|
+
* Fired when the map zoom level has been changed.
|
|
1367
|
+
*/
|
|
1368
|
+
zoomChange = new EventEmitter();
|
|
1369
|
+
tooltipInstance;
|
|
1370
|
+
instance;
|
|
1371
|
+
initResizeSensor = false;
|
|
1372
|
+
options;
|
|
1373
|
+
theme = null;
|
|
1374
|
+
resizeTimeout;
|
|
1375
|
+
redrawTimeout;
|
|
1376
|
+
destroyed;
|
|
1377
|
+
rtl = false;
|
|
1378
|
+
subscriptions;
|
|
1379
|
+
optionsChange;
|
|
1380
|
+
domSubscriptions;
|
|
1381
|
+
iconSettings;
|
|
973
1382
|
constructor(configurationService, instanceEventService, element, localizationService, changeDetector, ngZone, renderer, iconsService) {
|
|
974
1383
|
this.configurationService = configurationService;
|
|
975
1384
|
this.instanceEventService = instanceEventService;
|
|
@@ -979,124 +1388,6 @@ class MapComponent {
|
|
|
979
1388
|
this.ngZone = ngZone;
|
|
980
1389
|
this.renderer = renderer;
|
|
981
1390
|
this.iconsService = iconsService;
|
|
982
|
-
/**
|
|
983
|
-
* Limits the automatic resizing of the Map. Sets the maximum number of times per second
|
|
984
|
-
* that the component redraws its content when the size of its container changes.
|
|
985
|
-
* Defaults to `10`. To disable the automatic resizing, set it to `0`.
|
|
986
|
-
*
|
|
987
|
-
* @example
|
|
988
|
-
* ```ts
|
|
989
|
-
* _@Component({
|
|
990
|
-
* selector: 'my-app',
|
|
991
|
-
* template: `
|
|
992
|
-
* <kendo-map [resizeRateLimit]="2">
|
|
993
|
-
* <!-- ^^^^^^^^^^^^^^^^^^^^^^
|
|
994
|
-
* Will update the size of the Map up to two times a second.
|
|
995
|
-
* Resize the example pane or window to try it out.
|
|
996
|
-
* -->
|
|
997
|
-
* </kendo-map>
|
|
998
|
-
* `
|
|
999
|
-
* })
|
|
1000
|
-
* export class AppComponent {
|
|
1001
|
-
* }
|
|
1002
|
-
* ```
|
|
1003
|
-
*/
|
|
1004
|
-
this.resizeRateLimit = 10;
|
|
1005
|
-
/**
|
|
1006
|
-
* The initial zoom level.
|
|
1007
|
-
*
|
|
1008
|
-
* Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
1009
|
-
*
|
|
1010
|
-
* The map size is derived from the zoom level and minScale options: `size = (2 ^ zoom) * minSize`
|
|
1011
|
-
*
|
|
1012
|
-
* > Map zoom rounds floating point numbers. This is done so as the majority of web maps use the whole [`zoom levels`](https://wiki.openstreetmap.org/wiki/Zoom_levels) 0 through to 19.
|
|
1013
|
-
*
|
|
1014
|
-
* @default 3
|
|
1015
|
-
*/
|
|
1016
|
-
this.zoom = 3;
|
|
1017
|
-
/**
|
|
1018
|
-
* Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.
|
|
1019
|
-
*/
|
|
1020
|
-
this.beforeReset = new EventEmitter();
|
|
1021
|
-
/**
|
|
1022
|
-
* Fired when the user clicks on the map.
|
|
1023
|
-
*/
|
|
1024
|
-
this.mapClick = new EventEmitter();
|
|
1025
|
-
/**
|
|
1026
|
-
* Fired when a marker has been displayed and has a DOM element assigned.
|
|
1027
|
-
*/
|
|
1028
|
-
this.markerActivate = new EventEmitter();
|
|
1029
|
-
/**
|
|
1030
|
-
* Fired when a marker has been clicked or tapped.
|
|
1031
|
-
*/
|
|
1032
|
-
this.markerClick = new EventEmitter();
|
|
1033
|
-
/**
|
|
1034
|
-
* Fired when a marker has been created and is about to be displayed.
|
|
1035
|
-
*
|
|
1036
|
-
* Cancelling the event will prevent the marker from being shown.
|
|
1037
|
-
*/
|
|
1038
|
-
this.markerCreated = new EventEmitter();
|
|
1039
|
-
/**
|
|
1040
|
-
* Fires after the map viewport has been moved.
|
|
1041
|
-
*/
|
|
1042
|
-
this.panEnd = new EventEmitter();
|
|
1043
|
-
/**
|
|
1044
|
-
* Fired while the map viewport is being moved.
|
|
1045
|
-
*/
|
|
1046
|
-
this.pan = new EventEmitter();
|
|
1047
|
-
/**
|
|
1048
|
-
* Fired when the map is reset.
|
|
1049
|
-
*
|
|
1050
|
-
* This typically occurs on initial load and after a zoom/center change.
|
|
1051
|
-
*/
|
|
1052
|
-
this.reset = new EventEmitter();
|
|
1053
|
-
/**
|
|
1054
|
-
* Fired when a shape is clicked or tapped.
|
|
1055
|
-
*/
|
|
1056
|
-
this.shapeClick = new EventEmitter();
|
|
1057
|
-
/**
|
|
1058
|
-
* Fired when a shape is created, but is not rendered yet.
|
|
1059
|
-
*/
|
|
1060
|
-
this.shapeCreated = new EventEmitter();
|
|
1061
|
-
/**
|
|
1062
|
-
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
1063
|
-
*/
|
|
1064
|
-
this.shapeFeatureCreated = new EventEmitter();
|
|
1065
|
-
/**
|
|
1066
|
-
* Fired when the mouse enters a shape.
|
|
1067
|
-
*
|
|
1068
|
-
* > This event will fire reliably only for shapes that have set fill color.
|
|
1069
|
-
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
1070
|
-
*/
|
|
1071
|
-
this.shapeMouseEnter = new EventEmitter();
|
|
1072
|
-
/**
|
|
1073
|
-
* Fired when the mouse leaves a shape.
|
|
1074
|
-
*
|
|
1075
|
-
* > This event will fire reliably only for shapes that have set fill color.
|
|
1076
|
-
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
1077
|
-
*/
|
|
1078
|
-
this.shapeMouseLeave = new EventEmitter();
|
|
1079
|
-
/**
|
|
1080
|
-
* Fired when the map zoom level is about to change.
|
|
1081
|
-
*
|
|
1082
|
-
* Cancelling the event will prevent the user action.
|
|
1083
|
-
*/
|
|
1084
|
-
this.zoomStart = new EventEmitter();
|
|
1085
|
-
/**
|
|
1086
|
-
* Fired when the map zoom level has changed.
|
|
1087
|
-
*/
|
|
1088
|
-
this.zoomEnd = new EventEmitter();
|
|
1089
|
-
/**
|
|
1090
|
-
* Fired when the map center has been changed.
|
|
1091
|
-
*/
|
|
1092
|
-
this.centerChange = new EventEmitter();
|
|
1093
|
-
/**
|
|
1094
|
-
* Fired when the map zoom level has been changed.
|
|
1095
|
-
*/
|
|
1096
|
-
this.zoomChange = new EventEmitter();
|
|
1097
|
-
this.initResizeSensor = false;
|
|
1098
|
-
this.theme = null;
|
|
1099
|
-
this.rtl = false;
|
|
1100
1391
|
validatePackage(packageMetadata);
|
|
1101
1392
|
}
|
|
1102
1393
|
ngAfterViewInit() {
|
|
@@ -1412,25 +1703,25 @@ class MapComponent {
|
|
|
1412
1703
|
this.tooltipInstance.hide();
|
|
1413
1704
|
}
|
|
1414
1705
|
}
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
}
|
|
1426
|
-
], viewQueries: [{ propertyName: "tooltipInstance", first: true, predicate: TooltipPopupComponent, descendants: true, static: true }], exportAs: ["kendoMap"], usesOnChanges: true, ngImport: i0, template: `
|
|
1706
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapComponent, deps: [{ token: ConfigurationService }, { token: InstanceEventService }, { token: i0.ElementRef }, { token: i3$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i4.IconsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1707
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapComponent, isStandalone: true, selector: "kendo-map", inputs: { resizeRateLimit: "resizeRateLimit", center: "center", controls: "controls", minZoom: "minZoom", maxZoom: "maxZoom", minSize: "minSize", pannable: "pannable", popupSettings: "popupSettings", wraparound: "wraparound", zoom: "zoom", zoomable: "zoomable" }, outputs: { beforeReset: "beforeReset", mapClick: "mapClick", markerActivate: "markerActivate", markerClick: "markerClick", markerCreated: "markerCreated", panEnd: "panEnd", pan: "pan", reset: "reset", shapeClick: "shapeClick", shapeCreated: "shapeCreated", shapeFeatureCreated: "shapeFeatureCreated", shapeMouseEnter: "shapeMouseEnter", shapeMouseLeave: "shapeMouseLeave", zoomStart: "zoomStart", zoomEnd: "zoomEnd", centerChange: "centerChange", zoomChange: "zoomChange" }, providers: [
|
|
1708
|
+
ConfigurationService,
|
|
1709
|
+
InstanceEventService,
|
|
1710
|
+
LocalizationService,
|
|
1711
|
+
TooltipTemplateService,
|
|
1712
|
+
{
|
|
1713
|
+
provide: L10N_PREFIX,
|
|
1714
|
+
useValue: 'kendo.map'
|
|
1715
|
+
}
|
|
1716
|
+
], viewQueries: [{ propertyName: "tooltipInstance", first: true, predicate: TooltipPopupComponent, descendants: true, static: true }], exportAs: ["kendoMap"], usesOnChanges: true, ngImport: i0, template: `
|
|
1427
1717
|
<kendo-map-tooltip-popup (leave)="tooltipMouseleave($event)" [popupSettings]="popupSettings">
|
|
1428
1718
|
</kendo-map-tooltip-popup>
|
|
1429
1719
|
<div [style.width.%]="100" [style.height.%]="100"><!-- required for resize sensor to initialize properly -->
|
|
1430
1720
|
<kendo-resize-sensor (resize)="onResize()" [rateLimit]="resizeRateLimit"></kendo-resize-sensor>
|
|
1431
1721
|
</div>
|
|
1432
|
-
`, isInline: true, dependencies: [{ kind: "component", type: TooltipPopupComponent, selector: "kendo-map-tooltip-popup", inputs: ["animate", "classNames", "
|
|
1433
|
-
|
|
1722
|
+
`, isInline: true, dependencies: [{ kind: "component", type: TooltipPopupComponent, selector: "kendo-map-tooltip-popup", inputs: ["animate", "classNames", "wrapperClass"], outputs: ["leave"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1723
|
+
}
|
|
1724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapComponent, decorators: [{
|
|
1434
1725
|
type: Component,
|
|
1435
1726
|
args: [{
|
|
1436
1727
|
selector: 'kendo-map',
|
|
@@ -1521,11 +1812,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1521
1812
|
* @hidden
|
|
1522
1813
|
*/
|
|
1523
1814
|
class CollectionComponent {
|
|
1815
|
+
configKey;
|
|
1816
|
+
configurationService;
|
|
1817
|
+
collectionService;
|
|
1818
|
+
children;
|
|
1819
|
+
subscription;
|
|
1820
|
+
items = [];
|
|
1524
1821
|
constructor(configKey, configurationService, collectionService) {
|
|
1525
1822
|
this.configKey = configKey;
|
|
1526
1823
|
this.configurationService = configurationService;
|
|
1527
1824
|
this.collectionService = collectionService;
|
|
1528
|
-
this.items = [];
|
|
1529
1825
|
this.subscription = collectionService.itemChanges.subscribe(changes => this.processChanges(changes));
|
|
1530
1826
|
}
|
|
1531
1827
|
ngOnDestroy() {
|
|
@@ -1557,26 +1853,31 @@ class CollectionComponent {
|
|
|
1557
1853
|
change() {
|
|
1558
1854
|
this.configurationService.notify(new Change(this.configKey, this.items.length === 0 ? undefined : this.items));
|
|
1559
1855
|
}
|
|
1856
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
1857
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CollectionComponent, queries: [{ propertyName: "children", predicate: LayerComponent }], ngImport: i0 });
|
|
1560
1858
|
}
|
|
1561
|
-
|
|
1562
|
-
CollectionComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CollectionComponent, ngImport: i0 });
|
|
1563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionComponent, decorators: [{
|
|
1859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionComponent, decorators: [{
|
|
1564
1860
|
type: Directive
|
|
1565
|
-
}], ctorParameters: function () { return [{ type: undefined }, { type: ConfigurationService }, { type: CollectionService }]; }
|
|
1861
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: ConfigurationService }, { type: CollectionService }]; }, propDecorators: { children: [{
|
|
1862
|
+
type: ContentChildren,
|
|
1863
|
+
args: [LayerComponent]
|
|
1864
|
+
}] } });
|
|
1566
1865
|
|
|
1567
1866
|
/**
|
|
1568
1867
|
* A collection of one or more layers.
|
|
1569
1868
|
*/
|
|
1570
1869
|
class LayersComponent extends CollectionComponent {
|
|
1870
|
+
configurationService;
|
|
1871
|
+
collectionService;
|
|
1571
1872
|
constructor(configurationService, collectionService) {
|
|
1572
1873
|
super('layers', configurationService, collectionService);
|
|
1573
1874
|
this.configurationService = configurationService;
|
|
1574
1875
|
this.collectionService = collectionService;
|
|
1575
1876
|
}
|
|
1877
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayersComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1878
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LayersComponent, isStandalone: true, selector: "kendo-map-layers", providers: [CollectionService], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1576
1879
|
}
|
|
1577
|
-
|
|
1578
|
-
LayersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LayersComponent, isStandalone: true, selector: "kendo-map-layers", providers: [CollectionService], queries: [{ propertyName: "children", predicate: LayerComponent }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayersComponent, decorators: [{
|
|
1880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayersComponent, decorators: [{
|
|
1580
1881
|
type: Component,
|
|
1581
1882
|
args: [{
|
|
1582
1883
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1585,31 +1886,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1585
1886
|
template: '',
|
|
1586
1887
|
standalone: true
|
|
1587
1888
|
}]
|
|
1588
|
-
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionService }]; }
|
|
1589
|
-
type: ContentChildren,
|
|
1590
|
-
args: [LayerComponent]
|
|
1591
|
-
}] } });
|
|
1889
|
+
}], ctorParameters: function () { return [{ type: ConfigurationService }, { type: CollectionService }]; } });
|
|
1592
1890
|
|
|
1593
1891
|
/**
|
|
1594
1892
|
* A vector shape layer for bubble maps. [See example](slug:marker_layers_map).
|
|
1595
1893
|
*/
|
|
1596
1894
|
class MarkerLayerComponent extends LayerComponent {
|
|
1895
|
+
configurationService;
|
|
1896
|
+
collectionService;
|
|
1897
|
+
sanitizer;
|
|
1898
|
+
/**
|
|
1899
|
+
* The array of data items for this layer.
|
|
1900
|
+
*/
|
|
1901
|
+
data;
|
|
1902
|
+
/**
|
|
1903
|
+
* The data item field which contains the marker location.
|
|
1904
|
+
*
|
|
1905
|
+
* The field should be an array with two numbers - latitude and longitude in decimal degrees.
|
|
1906
|
+
*/
|
|
1907
|
+
locationField;
|
|
1908
|
+
/**
|
|
1909
|
+
* The data item field which contains the marker title.
|
|
1910
|
+
*/
|
|
1911
|
+
titleField;
|
|
1912
|
+
/**
|
|
1913
|
+
* The default marker shape for data-bound markers. Supported marker shapes are "pinTarget and "pin".
|
|
1914
|
+
*
|
|
1915
|
+
* Marker shapes are implemented as CSS classes on the marker element (`span.k-marker`). For example "pinTarget" is rendered as `k-marker-pin-target`.
|
|
1916
|
+
*/
|
|
1917
|
+
shape;
|
|
1597
1918
|
constructor(configurationService, collectionService, sanitizer) {
|
|
1598
1919
|
super('marker', configurationService, collectionService, sanitizer);
|
|
1599
1920
|
this.configurationService = configurationService;
|
|
1600
1921
|
this.collectionService = collectionService;
|
|
1601
1922
|
this.sanitizer = sanitizer;
|
|
1602
1923
|
}
|
|
1924
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarkerLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
1925
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MarkerLayerComponent, isStandalone: true, selector: "kendo-map-marker-layer", inputs: { data: "data", locationField: "locationField", titleField: "titleField", shape: "shape" }, providers: [
|
|
1926
|
+
ConfigurationService,
|
|
1927
|
+
{
|
|
1928
|
+
provide: LayerComponent,
|
|
1929
|
+
useExisting: forwardRef(() => MarkerLayerComponent)
|
|
1930
|
+
}
|
|
1931
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1603
1932
|
}
|
|
1604
|
-
|
|
1605
|
-
MarkerLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MarkerLayerComponent, isStandalone: true, selector: "kendo-map-marker-layer", inputs: { data: "data", locationField: "locationField", titleField: "titleField", shape: "shape" }, providers: [
|
|
1606
|
-
ConfigurationService,
|
|
1607
|
-
{
|
|
1608
|
-
provide: LayerComponent,
|
|
1609
|
-
useExisting: forwardRef(() => MarkerLayerComponent)
|
|
1610
|
-
}
|
|
1611
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1612
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MarkerLayerComponent, decorators: [{
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarkerLayerComponent, decorators: [{
|
|
1613
1934
|
type: Component,
|
|
1614
1935
|
args: [{
|
|
1615
1936
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1638,22 +1959,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1638
1959
|
* Defines a vector shape layer bound to GeoJSON data. [See example](slug:shape_layers_map).
|
|
1639
1960
|
*/
|
|
1640
1961
|
class ShapeLayerComponent extends LayerComponent {
|
|
1962
|
+
configurationService;
|
|
1963
|
+
collectionService;
|
|
1964
|
+
sanitizer;
|
|
1965
|
+
/**
|
|
1966
|
+
* The array of data items for this layer.
|
|
1967
|
+
*/
|
|
1968
|
+
data;
|
|
1969
|
+
/**
|
|
1970
|
+
* The default style for shapes.
|
|
1971
|
+
*/
|
|
1972
|
+
style;
|
|
1641
1973
|
constructor(configurationService, collectionService, sanitizer) {
|
|
1642
1974
|
super('shape', configurationService, collectionService, sanitizer);
|
|
1643
1975
|
this.configurationService = configurationService;
|
|
1644
1976
|
this.collectionService = collectionService;
|
|
1645
1977
|
this.sanitizer = sanitizer;
|
|
1646
1978
|
}
|
|
1979
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShapeLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
1980
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ShapeLayerComponent, isStandalone: true, selector: "kendo-map-shape-layer", inputs: { data: "data", style: "style" }, providers: [
|
|
1981
|
+
ConfigurationService,
|
|
1982
|
+
{
|
|
1983
|
+
provide: LayerComponent,
|
|
1984
|
+
useExisting: forwardRef(() => ShapeLayerComponent)
|
|
1985
|
+
}
|
|
1986
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1647
1987
|
}
|
|
1648
|
-
|
|
1649
|
-
ShapeLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ShapeLayerComponent, isStandalone: true, selector: "kendo-map-shape-layer", inputs: { data: "data", style: "style" }, providers: [
|
|
1650
|
-
ConfigurationService,
|
|
1651
|
-
{
|
|
1652
|
-
provide: LayerComponent,
|
|
1653
|
-
useExisting: forwardRef(() => ShapeLayerComponent)
|
|
1654
|
-
}
|
|
1655
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShapeLayerComponent, decorators: [{
|
|
1988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShapeLayerComponent, decorators: [{
|
|
1657
1989
|
type: Component,
|
|
1658
1990
|
args: [{
|
|
1659
1991
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1678,22 +2010,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1678
2010
|
* Defines a vector shape layer bound to GeoJSON data. [See example](slug:tile_layers_map).
|
|
1679
2011
|
*/
|
|
1680
2012
|
class TileLayerComponent extends LayerComponent {
|
|
2013
|
+
configurationService;
|
|
2014
|
+
collectionService;
|
|
2015
|
+
sanitizer;
|
|
2016
|
+
/**
|
|
2017
|
+
* The size of the image tile in pixels.
|
|
2018
|
+
*
|
|
2019
|
+
* @default 256
|
|
2020
|
+
*/
|
|
2021
|
+
tileSize;
|
|
2022
|
+
/**
|
|
2023
|
+
* A list of subdomains to use for loading tiles.
|
|
2024
|
+
*
|
|
2025
|
+
* Alternating between different subdomains allows more requests to be executed in parallel.
|
|
2026
|
+
*/
|
|
2027
|
+
subdomains;
|
|
2028
|
+
/**
|
|
2029
|
+
* A function that returns an image URL for each tile position.
|
|
2030
|
+
*/
|
|
2031
|
+
urlTemplate;
|
|
1681
2032
|
constructor(configurationService, collectionService, sanitizer) {
|
|
1682
2033
|
super('tile', configurationService, collectionService, sanitizer);
|
|
1683
2034
|
this.configurationService = configurationService;
|
|
1684
2035
|
this.collectionService = collectionService;
|
|
1685
2036
|
this.sanitizer = sanitizer;
|
|
1686
2037
|
}
|
|
2038
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
2039
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TileLayerComponent, isStandalone: true, selector: "kendo-map-tile-layer", inputs: { tileSize: "tileSize", subdomains: "subdomains", urlTemplate: "urlTemplate" }, providers: [
|
|
2040
|
+
ConfigurationService,
|
|
2041
|
+
{
|
|
2042
|
+
provide: LayerComponent,
|
|
2043
|
+
useExisting: forwardRef(() => TileLayerComponent)
|
|
2044
|
+
}
|
|
2045
|
+
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1687
2046
|
}
|
|
1688
|
-
|
|
1689
|
-
TileLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TileLayerComponent, isStandalone: true, selector: "kendo-map-tile-layer", inputs: { tileSize: "tileSize", subdomains: "subdomains", urlTemplate: "urlTemplate" }, providers: [
|
|
1690
|
-
ConfigurationService,
|
|
1691
|
-
{
|
|
1692
|
-
provide: LayerComponent,
|
|
1693
|
-
useExisting: forwardRef(() => TileLayerComponent)
|
|
1694
|
-
}
|
|
1695
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TileLayerComponent, decorators: [{
|
|
2047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayerComponent, decorators: [{
|
|
1697
2048
|
type: Component,
|
|
1698
2049
|
args: [{
|
|
1699
2050
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1728,13 +2079,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1728
2079
|
* * `value: number`—The value of the bubble.
|
|
1729
2080
|
*/
|
|
1730
2081
|
class BubbleTooltipTemplateDirective {
|
|
2082
|
+
templateRef;
|
|
1731
2083
|
constructor(templateRef) {
|
|
1732
2084
|
this.templateRef = templateRef;
|
|
1733
2085
|
}
|
|
2086
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2087
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BubbleTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapBubbleTooltipTemplate]", ngImport: i0 });
|
|
1734
2088
|
}
|
|
1735
|
-
|
|
1736
|
-
BubbleTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BubbleTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapBubbleTooltipTemplate]", ngImport: i0 });
|
|
1737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BubbleTooltipTemplateDirective, decorators: [{
|
|
2089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleTooltipTemplateDirective, decorators: [{
|
|
1738
2090
|
type: Directive,
|
|
1739
2091
|
args: [{
|
|
1740
2092
|
selector: '[kendoMapBubbleTooltipTemplate]',
|
|
@@ -1755,13 +2107,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1755
2107
|
* * `location: Location`—The marker location.
|
|
1756
2108
|
*/
|
|
1757
2109
|
class MarkerTooltipTemplateDirective {
|
|
2110
|
+
templateRef;
|
|
1758
2111
|
constructor(templateRef) {
|
|
1759
2112
|
this.templateRef = templateRef;
|
|
1760
2113
|
}
|
|
2114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarkerTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2115
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MarkerTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapMarkerTooltipTemplate]", ngImport: i0 });
|
|
1761
2116
|
}
|
|
1762
|
-
|
|
1763
|
-
MarkerTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MarkerTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapMarkerTooltipTemplate]", ngImport: i0 });
|
|
1764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MarkerTooltipTemplateDirective, decorators: [{
|
|
2117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarkerTooltipTemplateDirective, decorators: [{
|
|
1765
2118
|
type: Directive,
|
|
1766
2119
|
args: [{
|
|
1767
2120
|
selector: '[kendoMapMarkerTooltipTemplate]',
|
|
@@ -1782,13 +2135,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1782
2135
|
* * `location: Location`—The location of the center of the shape.
|
|
1783
2136
|
*/
|
|
1784
2137
|
class ShapeTooltipTemplateDirective {
|
|
2138
|
+
templateRef;
|
|
1785
2139
|
constructor(templateRef) {
|
|
1786
2140
|
this.templateRef = templateRef;
|
|
1787
2141
|
}
|
|
2142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShapeTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2143
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ShapeTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapShapeTooltipTemplate]", ngImport: i0 });
|
|
1788
2144
|
}
|
|
1789
|
-
|
|
1790
|
-
ShapeTooltipTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ShapeTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapShapeTooltipTemplate]", ngImport: i0 });
|
|
1791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShapeTooltipTemplateDirective, decorators: [{
|
|
2145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShapeTooltipTemplateDirective, decorators: [{
|
|
1792
2146
|
type: Directive,
|
|
1793
2147
|
args: [{
|
|
1794
2148
|
selector: '[kendoMapShapeTooltipTemplate]',
|
|
@@ -1802,6 +2156,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1802
2156
|
* The configuration options of the [Bubble Layer Tooltip](slug:bubble_layers_map#toc-tooltips).
|
|
1803
2157
|
*/
|
|
1804
2158
|
class BubbleTooltipComponent extends SettingsComponent {
|
|
2159
|
+
configurationService;
|
|
2160
|
+
templateService;
|
|
2161
|
+
layer;
|
|
2162
|
+
bubbleTooltipTemplate;
|
|
1805
2163
|
constructor(configurationService, templateService, layer) {
|
|
1806
2164
|
super('tooltip', configurationService);
|
|
1807
2165
|
this.configurationService = configurationService;
|
|
@@ -1811,10 +2169,10 @@ class BubbleTooltipComponent extends SettingsComponent {
|
|
|
1811
2169
|
ngAfterContentChecked() {
|
|
1812
2170
|
this.templateService.registerTemplate(this.layer.index, this.bubbleTooltipTemplate?.templateRef);
|
|
1813
2171
|
}
|
|
2172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleTooltipComponent, deps: [{ token: ConfigurationService }, { token: TooltipTemplateService }, { token: LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2173
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BubbleTooltipComponent, isStandalone: true, selector: "kendo-map-bubble-layer-tooltip", queries: [{ propertyName: "bubbleTooltipTemplate", first: true, predicate: BubbleTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1814
2174
|
}
|
|
1815
|
-
|
|
1816
|
-
BubbleTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BubbleTooltipComponent, isStandalone: true, selector: "kendo-map-bubble-layer-tooltip", queries: [{ propertyName: "bubbleTooltipTemplate", first: true, predicate: BubbleTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BubbleTooltipComponent, decorators: [{
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleTooltipComponent, decorators: [{
|
|
1818
2176
|
type: Component,
|
|
1819
2177
|
args: [{
|
|
1820
2178
|
selector: 'kendo-map-bubble-layer-tooltip',
|
|
@@ -1830,6 +2188,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1830
2188
|
* The configuration options of the [Marker Layer Tooltip](slug:marker_layers_map#toc-tooltips).
|
|
1831
2189
|
*/
|
|
1832
2190
|
class MarkerTooltipComponent extends SettingsComponent {
|
|
2191
|
+
configurationService;
|
|
2192
|
+
templateService;
|
|
2193
|
+
layer;
|
|
2194
|
+
markerTooltipTemplate;
|
|
1833
2195
|
constructor(configurationService, templateService, layer) {
|
|
1834
2196
|
super('tooltip', configurationService);
|
|
1835
2197
|
this.configurationService = configurationService;
|
|
@@ -1839,10 +2201,10 @@ class MarkerTooltipComponent extends SettingsComponent {
|
|
|
1839
2201
|
ngAfterContentChecked() {
|
|
1840
2202
|
this.templateService.registerTemplate(this.layer.index, this.markerTooltipTemplate?.templateRef);
|
|
1841
2203
|
}
|
|
2204
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarkerTooltipComponent, deps: [{ token: ConfigurationService }, { token: TooltipTemplateService }, { token: LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2205
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MarkerTooltipComponent, isStandalone: true, selector: "kendo-map-marker-layer-tooltip", queries: [{ propertyName: "markerTooltipTemplate", first: true, predicate: MarkerTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1842
2206
|
}
|
|
1843
|
-
|
|
1844
|
-
MarkerTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MarkerTooltipComponent, isStandalone: true, selector: "kendo-map-marker-layer-tooltip", queries: [{ propertyName: "markerTooltipTemplate", first: true, predicate: MarkerTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MarkerTooltipComponent, decorators: [{
|
|
2207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarkerTooltipComponent, decorators: [{
|
|
1846
2208
|
type: Component,
|
|
1847
2209
|
args: [{
|
|
1848
2210
|
selector: 'kendo-map-marker-layer-tooltip',
|
|
@@ -1858,6 +2220,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1858
2220
|
* The configuration options of the [Shape Layer Tooltip](slug:shape_layers_map#toc-tooltips).
|
|
1859
2221
|
*/
|
|
1860
2222
|
class ShapeTooltipComponent extends SettingsComponent {
|
|
2223
|
+
configurationService;
|
|
2224
|
+
templateService;
|
|
2225
|
+
layer;
|
|
2226
|
+
shapeTooltipTemplate;
|
|
1861
2227
|
constructor(configurationService, templateService, layer) {
|
|
1862
2228
|
super('tooltip', configurationService);
|
|
1863
2229
|
this.configurationService = configurationService;
|
|
@@ -1867,10 +2233,10 @@ class ShapeTooltipComponent extends SettingsComponent {
|
|
|
1867
2233
|
ngAfterContentChecked() {
|
|
1868
2234
|
this.templateService.registerTemplate(this.layer.index, this.shapeTooltipTemplate?.templateRef);
|
|
1869
2235
|
}
|
|
2236
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShapeTooltipComponent, deps: [{ token: ConfigurationService }, { token: TooltipTemplateService }, { token: LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2237
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ShapeTooltipComponent, isStandalone: true, selector: "kendo-map-shape-layer-tooltip", queries: [{ propertyName: "shapeTooltipTemplate", first: true, predicate: ShapeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1870
2238
|
}
|
|
1871
|
-
|
|
1872
|
-
ShapeTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ShapeTooltipComponent, isStandalone: true, selector: "kendo-map-shape-layer-tooltip", queries: [{ propertyName: "shapeTooltipTemplate", first: true, predicate: ShapeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
1873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShapeTooltipComponent, decorators: [{
|
|
2239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ShapeTooltipComponent, decorators: [{
|
|
1874
2240
|
type: Component,
|
|
1875
2241
|
args: [{
|
|
1876
2242
|
selector: 'kendo-map-shape-layer-tooltip',
|
|
@@ -1922,11 +2288,11 @@ const KENDO_MAP = [
|
|
|
1922
2288
|
*```
|
|
1923
2289
|
*/
|
|
1924
2290
|
class MapModule {
|
|
2291
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2292
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapModule, imports: [BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeLayerComponent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent], exports: [BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeLayerComponent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent] });
|
|
2293
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapModule, providers: [IconsService, ResizeBatchService], imports: [MapComponent] });
|
|
1925
2294
|
}
|
|
1926
|
-
|
|
1927
|
-
MapModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapModule, imports: [BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeLayerComponent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent], exports: [BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeLayerComponent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent] });
|
|
1928
|
-
MapModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapModule, providers: [IconsService, ResizeBatchService], imports: [BubbleLayerComponent, BubbleTooltipComponent, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, ShapeLayerComponent, ShapeTooltipComponent, TileLayerComponent] });
|
|
1929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapModule, decorators: [{
|
|
2295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapModule, decorators: [{
|
|
1930
2296
|
type: NgModule,
|
|
1931
2297
|
args: [{
|
|
1932
2298
|
imports: [...KENDO_MAP],
|