@progress/kendo-angular-map 24.2.2 → 25.0.0-develop.2

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.
Files changed (56) hide show
  1. package/fesm2022/progress-kendo-angular-map.mjs +78 -78
  2. package/index.d.ts +1506 -13
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +11 -11
  5. package/schematics/ngAdd/index.js +1 -1
  6. package/common/collection-item.component.d.ts +0 -40
  7. package/common/collection.component.d.ts +0 -27
  8. package/common/collection.service.d.ts +0 -32
  9. package/common/configuration.service.d.ts +0 -32
  10. package/common/copy-changes.d.ts +0 -11
  11. package/common/has-parent.d.ts +0 -8
  12. package/common/map-instance-observer.d.ts +0 -12
  13. package/common/settings.component.d.ts +0 -37
  14. package/common/to-simple-changes.d.ts +0 -11
  15. package/directives.d.ts +0 -15
  16. package/events/base-event.d.ts +0 -21
  17. package/events/before-reset-event.d.ts +0 -17
  18. package/events/instance-event.service.d.ts +0 -11
  19. package/events/map-click-event.d.ts +0 -25
  20. package/events/marker-activate-event.d.ts +0 -25
  21. package/events/marker-click-event.d.ts +0 -25
  22. package/events/marker-created-event.d.ts +0 -27
  23. package/events/pan-end-event.d.ts +0 -29
  24. package/events/pan-event.d.ts +0 -29
  25. package/events/preventable-event.d.ts +0 -28
  26. package/events/reset-event.d.ts +0 -19
  27. package/events/shape-click-event.d.ts +0 -30
  28. package/events/shape-created-event.d.ts +0 -34
  29. package/events/shape-feature-created-event.d.ts +0 -34
  30. package/events/shape-mouse-enter-event.d.ts +0 -33
  31. package/events/shape-mouse-leave-event.d.ts +0 -33
  32. package/events/zoom-end-event.d.ts +0 -21
  33. package/events/zoom-start-event.d.ts +0 -22
  34. package/events.d.ts +0 -19
  35. package/map/bubble-layer.component.d.ts +0 -83
  36. package/map/layer/tooltip.component.d.ts +0 -21
  37. package/map/layer.component.d.ts +0 -53
  38. package/map/layers.component.d.ts +0 -40
  39. package/map/marker-layer.component.d.ts +0 -64
  40. package/map/shape-layer.component.d.ts +0 -52
  41. package/map/tile-layer.component.d.ts +0 -55
  42. package/map.component.d.ts +0 -372
  43. package/map.module.d.ts +0 -42
  44. package/package-metadata.d.ts +0 -9
  45. package/tooltip/base-tooltip.d.ts +0 -31
  46. package/tooltip/body-factory.d.ts +0 -9
  47. package/tooltip/bubble-tooltip-template.directive.d.ts +0 -44
  48. package/tooltip/bubble-tooltip.component.d.ts +0 -47
  49. package/tooltip/marker-tooltip-template.directive.d.ts +0 -43
  50. package/tooltip/marker-tooltip.component.d.ts +0 -47
  51. package/tooltip/popup-settings.interface.d.ts +0 -18
  52. package/tooltip/shape-tooltip-template.directive.d.ts +0 -43
  53. package/tooltip/shape-tooltip.component.d.ts +0 -47
  54. package/tooltip/tooltip-popup.component.d.ts +0 -34
  55. package/tooltip/tooltip-template.service.d.ts +0 -16
  56. package/tooltip.d.ts +0 -11
package/index.d.ts CHANGED
@@ -2,16 +2,1509 @@
2
2
  * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- export { BubbleLayerComponent } from './map/bubble-layer.component';
6
- export { MapComponent } from './map.component';
7
- export { MapModule } from './map.module';
8
- export { MarkerLayerComponent } from './map/marker-layer.component';
9
- export { ShapeLayerComponent } from './map/shape-layer.component';
10
- export { TileLayerComponent } from './map/tile-layer.component';
11
- export { LayersComponent } from './map/layers.component';
12
- export { LayerTooltipComponent } from './map/layer/tooltip.component';
13
- export * from './events';
14
- export * from './tooltip';
15
- export { bodyFactory } from './tooltip/body-factory';
16
- export { MapLayer, MapLayerOptions, MapMarker, BubbleLayerSymbolArgs, BubbleLayerSymbol, MapControls, MapControlsPosition, TileUrlTemplateArgs, Location, Extent } from '@progress/kendo-charts';
17
- export * from './directives';
5
+ import { DomSanitizer } from '@angular/platform-browser';
6
+ import { MapLayerType, Extent, BubbleLayerOptions, BubbleLayerSymbol, InstanceObserver, MapBeforeResetEvent, MapClickEvent as MapClickEvent$1, Location, MapMarkerActivateEvent, MapMarker, MapLayer, MapMarkerClickEvent, MapMarkerCreatedEvent, MapPanEndEvent, MapPanEvent, MapResetEvent, MapShapeClickEvent, MapShapeCreatedEvent, MapShapeFeatureCreatedEvent, MapShapeMouseEnterEvent, MapShapeMouseLeaveEvent, MapZoomEndEvent, MapZoomStartEvent, MapControls, Map, MarkerLayerOptions, ShapeLayerOptions, TileLayerOptions, TileUrlTemplateArgs } from '@progress/kendo-charts';
7
+ export { BubbleLayerSymbol, BubbleLayerSymbolArgs, Extent, Location, MapControls, MapControlsPosition, MapLayer, MapLayerOptions, MapMarker, TileUrlTemplateArgs } from '@progress/kendo-charts';
8
+ import { ShapeOptions, Element, Group, geometry } from '@progress/kendo-drawing';
9
+ import { Observable, BehaviorSubject, Subscription } from 'rxjs';
10
+ import * as i0 from '@angular/core';
11
+ import { NgZone, OnChanges, OnDestroy, SimpleChange, TemplateRef, ViewContainerRef, EventEmitter, AfterViewInit, AfterViewChecked, ElementRef, ChangeDetectorRef, Renderer2, AfterContentChecked, AfterContentInit, QueryList } from '@angular/core';
12
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
13
+ import { PopupService, PopupSettings as PopupSettings$1 } from '@progress/kendo-angular-popup';
14
+ import { IconsService, IconSettings } from '@progress/kendo-angular-icons';
15
+
16
+ /**
17
+ * @hidden
18
+ */
19
+ interface Item {
20
+ index: number;
21
+ options: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ declare class ItemChange {
27
+ sender: Item;
28
+ options: any;
29
+ constructor(sender: Item, options: any);
30
+ }
31
+ /**
32
+ * @hidden
33
+ */
34
+ declare class CollectionService {
35
+ itemChanges: Observable<ItemChange>;
36
+ private source;
37
+ constructor();
38
+ notify(change: ItemChange): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollectionService, never>;
40
+ static ɵprov: i0.ɵɵInjectableDeclaration<CollectionService>;
41
+ }
42
+
43
+ /**
44
+ * @hidden
45
+ */
46
+ declare class Change {
47
+ key: string;
48
+ value: any;
49
+ constructor(key: string, value: any);
50
+ }
51
+ /**
52
+ * @hidden
53
+ */
54
+ declare class ConfigurationService {
55
+ protected ngZone: NgZone;
56
+ changes: Observable<any>;
57
+ store: any;
58
+ protected source: BehaviorSubject<any>;
59
+ constructor(ngZone: NgZone);
60
+ protected initSource(): void;
61
+ push(store: any): void;
62
+ notify(change: Change): void;
63
+ protected set(field: string, value: any): void;
64
+ protected next(): void;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationService, never>;
66
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationService>;
67
+ }
68
+
69
+ /**
70
+ * @hidden
71
+ */
72
+ declare abstract class CollectionItemComponent implements Item, OnChanges, OnDestroy {
73
+ protected configurationService: ConfigurationService;
74
+ protected collectionService: CollectionService;
75
+ protected subscription: Subscription;
76
+ index: number;
77
+ options: any;
78
+ constructor(configurationService: ConfigurationService, collectionService: CollectionService);
79
+ ngOnChanges(changes: {
80
+ [propertyName: string]: SimpleChange;
81
+ }): void;
82
+ /**
83
+ * Updates the component fields with the specified values and refreshes the Chart.
84
+ *
85
+ * Use this method when the configuration values cannot be set through the template.
86
+ *
87
+ * @example
88
+ * ```ts-no-run
89
+ * item.notifyChanges({ visible: true });
90
+ * ```
91
+ *
92
+ * @param changes An object containing the updated input fields.
93
+ */
94
+ notifyChanges(changes: any): void;
95
+ ngOnDestroy(): void;
96
+ protected notify(): void;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollectionItemComponent, never>;
98
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CollectionItemComponent, never, never, {}, {}, never, never, true, never>;
99
+ }
100
+
101
+ /**
102
+ * @hidden
103
+ */
104
+ declare abstract class SettingsComponent implements OnChanges, OnDestroy {
105
+ protected configKey: string;
106
+ configurationService: ConfigurationService;
107
+ protected store: any;
108
+ constructor(configKey: string, configurationService: ConfigurationService);
109
+ ngOnDestroy(): void;
110
+ ngOnChanges(changes: {
111
+ [propertyName: string]: SimpleChange;
112
+ }): void;
113
+ /**
114
+ * Updates the component fields with the specified values and refreshes the component.
115
+ *
116
+ * Use this method when the configuration values cannot be set through the template.
117
+ *
118
+ * @example
119
+ * ```ts-no-run
120
+ * item.notifyChanges({ visible: true });
121
+ * ```
122
+ *
123
+ * @param changes An object containing the updated input fields.
124
+ */
125
+ notifyChanges(changes: any): void;
126
+ protected markAsVisible(): void;
127
+ private notify;
128
+ static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
129
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SettingsComponent, never, never, {}, {}, never, never, true, never>;
130
+ }
131
+
132
+ /**
133
+ * The configuration options of the Map layer tooltip.
134
+ *
135
+ * @hidden
136
+ */
137
+ declare class LayerTooltipComponent extends SettingsComponent {
138
+ configurationService: ConfigurationService;
139
+ layerTooltipTemplate: TemplateRef<any>;
140
+ constructor(configurationService: ConfigurationService);
141
+ get layerTooltipTemplateRef(): TemplateRef<any>;
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayerTooltipComponent, never>;
143
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayerTooltipComponent, "kendo-map-layer-tooltip", never, {}, {}, ["layerTooltipTemplate"], never, true, never>;
144
+ }
145
+
146
+ /**
147
+ * @hidden
148
+ */
149
+ declare class LayerComponent extends CollectionItemComponent {
150
+ protected type: MapLayerType;
151
+ protected configurationService: ConfigurationService;
152
+ protected collectionService: CollectionService;
153
+ protected sanitizer: DomSanitizer;
154
+ /**
155
+ * @hidden
156
+ */
157
+ attribution: string;
158
+ /**
159
+ * @hidden
160
+ */
161
+ extent?: Extent | [[number, number], [number, number]];
162
+ /**
163
+ * @hidden
164
+ */
165
+ maxZoom?: number;
166
+ /**
167
+ * @hidden
168
+ */
169
+ minZoom?: number;
170
+ /**
171
+ * @hidden
172
+ */
173
+ opacity?: number;
174
+ /**
175
+ * @hidden
176
+ */
177
+ zIndex: number;
178
+ layerTooltip: LayerTooltipComponent;
179
+ constructor(type: MapLayerType, configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
180
+ ngOnChanges(changes: {
181
+ [propertyName: string]: SimpleChange;
182
+ }): void;
183
+ get layerTooltipTemplateRef(): TemplateRef<any>;
184
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayerComponent, never>;
185
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LayerComponent, never, never, { "attribution": { "alias": "attribution"; "required": false; }; "extent": { "alias": "extent"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; }, {}, ["layerTooltip"], never, true, never>;
186
+ }
187
+
188
+ /**
189
+ * Represents the Kendo UI BubbleLayer component for Angular. Displays data as bubbles on vector shape layers for bubble maps.
190
+ *
191
+ * @example
192
+ * ```typescript
193
+ * @Component({
194
+ * selector: 'my-app',
195
+ * template: `
196
+ * <kendo-map>
197
+ * <kendo-map-bubble-layer
198
+ * [data]="bubbleData"
199
+ * locationField="location"
200
+ * valueField="population"
201
+ * [maxSize]="50"
202
+ * [minSize]="10">
203
+ * </kendo-map-bubble-layer>
204
+ * </kendo-map>
205
+ * `
206
+ * })
207
+ * export class AppComponent {
208
+ * public bubbleData = [
209
+ * { location: [40.7128, -74.0060], population: 8000000 }
210
+ * ];
211
+ * }
212
+ * ```
213
+ *
214
+ * @remarks
215
+ * Supported children components are: {@link BubbleTooltipComponent}.
216
+ */
217
+ declare class BubbleLayerComponent extends LayerComponent implements BubbleLayerOptions {
218
+ protected configurationService: ConfigurationService;
219
+ protected collectionService: CollectionService;
220
+ protected sanitizer: DomSanitizer;
221
+ /**
222
+ * Sets the array of data items for this layer.
223
+ */
224
+ data?: any[];
225
+ /**
226
+ * Sets the data item field which contains the symbol location.
227
+ * The field should be an array with two numbers &mdash; latitude and longitude in decimal degrees.
228
+ */
229
+ locationField?: string;
230
+ /**
231
+ * Sets the value field for the symbols used to determine their relative size.
232
+ * The data item field should be a number.
233
+ */
234
+ valueField?: string;
235
+ /**
236
+ * Sets the symbol to use for bubble layers.
237
+ */
238
+ symbol?: BubbleLayerSymbol;
239
+ /**
240
+ * Sets the default style for symbols.
241
+ */
242
+ style?: ShapeOptions;
243
+ /**
244
+ * Sets the maximum symbol size for bubble layer symbols.
245
+ *
246
+ * @default 100
247
+ */
248
+ maxSize?: number;
249
+ /**
250
+ * Sets the minimum symbol size for bubble layer symbols.
251
+ * Setting a non-zero value will distort the symbol area to value ratio.
252
+ *
253
+ * @default 0
254
+ */
255
+ minSize?: number;
256
+ constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
257
+ static ɵfac: i0.ɵɵFactoryDeclaration<BubbleLayerComponent, never>;
258
+ static ɵcmp: i0.ɵɵComponentDeclaration<BubbleLayerComponent, "kendo-map-bubble-layer", never, { "data": { "alias": "data"; "required": false; }; "locationField": { "alias": "locationField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "style": { "alias": "style"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; }, {}, never, never, true, never>;
259
+ }
260
+
261
+ /**
262
+ * @hidden
263
+ */
264
+ declare class MapInstanceObserver extends InstanceObserver {
265
+ protected handlerMap: any;
266
+ constructor(instance: any);
267
+ }
268
+
269
+ /**
270
+ * @hidden
271
+ */
272
+ declare abstract class BaseEvent {
273
+ /**
274
+ * The `MapComponent` that triggered the event.
275
+ */
276
+ sender: MapComponent;
277
+ /**
278
+ * @hidden
279
+ */
280
+ constructor(sender: MapComponent);
281
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseEvent, never>;
282
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseEvent, never, never, {}, {}, never, never, true, never>;
283
+ }
284
+
285
+ /**
286
+ * Arguments for the `beforeReset` event.
287
+ * Fires immediately before the map resets. Layer implementers typically use this event for cleanup.
288
+ */
289
+ declare class BeforeResetEvent extends BaseEvent implements MapBeforeResetEvent {
290
+ /**
291
+ * @hidden
292
+ */
293
+ constructor(_: any, sender: MapComponent);
294
+ }
295
+
296
+ /**
297
+ * Arguments for the `mapClick` event.
298
+ * Fires when you click on the map.
299
+ */
300
+ declare class MapClickEvent extends BaseEvent implements MapClickEvent$1 {
301
+ /**
302
+ * The location of the clicked point.
303
+ */
304
+ location: Location;
305
+ /**
306
+ * The source DOM event instance.
307
+ */
308
+ originalEvent: any;
309
+ /**
310
+ * @hidden
311
+ */
312
+ constructor(e: MapClickEvent$1, sender: MapComponent);
313
+ }
314
+
315
+ /**
316
+ * Arguments for the `markerActivate` event.
317
+ * Fires when a marker displays and has a DOM element assigned.
318
+ */
319
+ declare class MarkerActivateEvent extends BaseEvent implements MapMarkerActivateEvent {
320
+ /**
321
+ * The marker instance.
322
+ */
323
+ marker: MapMarker;
324
+ /**
325
+ * The marker layer instance.
326
+ */
327
+ layer: MapLayer;
328
+ /**
329
+ * @hidden
330
+ */
331
+ constructor(e: MapMarkerActivateEvent, sender: MapComponent);
332
+ }
333
+
334
+ /**
335
+ * Arguments for the `markerClick` event.
336
+ * Fires when the user clicks or taps a marker.
337
+ */
338
+ declare class MarkerClickEvent extends BaseEvent implements MapMarkerClickEvent {
339
+ /**
340
+ * The marker instance.
341
+ */
342
+ marker: MapMarker;
343
+ /**
344
+ * The marker layer instance.
345
+ */
346
+ layer: MapLayer;
347
+ /**
348
+ * @hidden
349
+ */
350
+ constructor(e: MapMarkerClickEvent, sender: MapComponent);
351
+ }
352
+
353
+ /**
354
+ * @hidden
355
+ */
356
+ declare abstract class PreventableEvent extends BaseEvent {
357
+ private prevented;
358
+ /**
359
+ * Prevents the default action for a specified event.
360
+ * In this way, the source component suppresses
361
+ * the built-in behavior that follows the event.
362
+ */
363
+ preventDefault(): void;
364
+ /**
365
+ * Returns `true` if the event was prevented
366
+ * by any of its subscribers.
367
+ *
368
+ * @returns `true` if the default action was prevented.
369
+ * Otherwise, returns `false`.
370
+ */
371
+ isDefaultPrevented(): boolean;
372
+ static ɵfac: i0.ɵɵFactoryDeclaration<PreventableEvent, never>;
373
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PreventableEvent, never, never, {}, {}, never, never, true, never>;
374
+ }
375
+
376
+ /**
377
+ * Arguments for the `markerCreated` event.
378
+ * Fires once the map has created a marker, and just before the map displays it.
379
+ *
380
+ * Cancelling the event prevents displaying the marker.
381
+ */
382
+ declare class MarkerCreatedEvent extends PreventableEvent implements MapMarkerCreatedEvent {
383
+ /**
384
+ * The marker instance.
385
+ */
386
+ marker: MapMarker;
387
+ /**
388
+ * The marker layer instance.
389
+ */
390
+ layer: MapLayer;
391
+ /**
392
+ * @hidden
393
+ */
394
+ constructor(e: MapMarkerCreatedEvent, sender: MapComponent);
395
+ }
396
+
397
+ /**
398
+ * Arguments for the `panEnd` event.
399
+ * Fires after the map viewport completes panning.
400
+ */
401
+ declare class PanEndEvent extends BaseEvent implements MapPanEndEvent {
402
+ /**
403
+ * The map origin (top left or NW corner).
404
+ */
405
+ origin: Location;
406
+ /**
407
+ * The current map center.
408
+ */
409
+ center: Location;
410
+ /**
411
+ * The source DOM event instance.
412
+ */
413
+ originalEvent: any;
414
+ /**
415
+ * @hidden
416
+ */
417
+ constructor(e: MapPanEndEvent, sender: MapComponent);
418
+ }
419
+
420
+ /**
421
+ * Arguments for the `pan` event.
422
+ * Fires while the map viewport is being moved.
423
+ */
424
+ declare class PanEvent extends BaseEvent implements MapPanEvent {
425
+ /**
426
+ * The map origin (top left or NW corner).
427
+ */
428
+ origin: Location;
429
+ /**
430
+ * The current map center.
431
+ */
432
+ center: Location;
433
+ /**
434
+ * The source DOM event instance.
435
+ */
436
+ originalEvent: any;
437
+ /**
438
+ * @hidden
439
+ */
440
+ constructor(e: MapPanEvent, sender: MapComponent);
441
+ }
442
+
443
+ /**
444
+ * Arguments for the `reset` event.
445
+ * Fires when the map resets.
446
+ *
447
+ * This typically occurs on initial load and after a zoom/center change.
448
+ */
449
+ declare class ResetEvent extends BaseEvent implements MapResetEvent {
450
+ /**
451
+ * @hidden
452
+ */
453
+ constructor(_: any, sender: MapComponent);
454
+ }
455
+
456
+ /**
457
+ * Arguments for the `shapeClick` event.
458
+ * Fires when a shape is clicked or tapped.
459
+ */
460
+ declare class ShapeClickEvent extends BaseEvent implements MapShapeClickEvent {
461
+ /**
462
+ * The shape layer instance.
463
+ */
464
+ layer: MapLayer;
465
+ /**
466
+ * The shape instance.
467
+ */
468
+ shape: Element;
469
+ /**
470
+ * The source DOM event instance.
471
+ */
472
+ originalEvent: any;
473
+ /**
474
+ * @hidden
475
+ */
476
+ constructor(e: MapShapeClickEvent, sender: MapComponent);
477
+ }
478
+
479
+ /**
480
+ * Arguments for the `shapeCreated` event.
481
+ * Fires when a shape is created, but is not rendered yet.
482
+ */
483
+ declare class ShapeCreatedEvent extends BaseEvent implements MapShapeCreatedEvent {
484
+ /**
485
+ * The shape layer instance.
486
+ */
487
+ layer: MapLayer;
488
+ /**
489
+ * The shape instance.
490
+ */
491
+ shape: Element;
492
+ /**
493
+ * The original data item for this Shape.
494
+ */
495
+ dataItem: any;
496
+ /**
497
+ * The shape location.
498
+ */
499
+ location: Location;
500
+ /**
501
+ * @hidden
502
+ */
503
+ constructor(e: any, sender: MapComponent);
504
+ }
505
+
506
+ /**
507
+ * Arguments for the `shapeFeatureCreated` event.
508
+ * Fires when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
509
+ */
510
+ declare class ShapeFeatureCreatedEvent extends BaseEvent implements MapShapeFeatureCreatedEvent {
511
+ /**
512
+ * The original data item for this Feature. Includes `geometries` and `properties` members.
513
+ */
514
+ dataItem: any;
515
+ /**
516
+ * The shape layer instance.
517
+ */
518
+ layer: MapLayer;
519
+ /**
520
+ * The group that contains feature shape instances.
521
+ */
522
+ group: Group;
523
+ /**
524
+ * A reference to the `dataItem.properties` object.
525
+ */
526
+ properties: any;
527
+ /**
528
+ * @hidden
529
+ */
530
+ constructor(e: MapShapeFeatureCreatedEvent, sender: MapComponent);
531
+ }
532
+
533
+ /**
534
+ * Arguments for the `shapeMouseEnter` event.
535
+ * Fires when the mouse enters a shape.
536
+ *
537
+ * > This event fires reliably only for shapes that have a set fill color.
538
+ * > You can still set the opacity to 0 so the shapes appear to have no fill.
539
+ */
540
+ declare class ShapeMouseEnterEvent extends BaseEvent implements MapShapeMouseEnterEvent {
541
+ /**
542
+ * The shape layer instance.
543
+ */
544
+ layer: MapLayer;
545
+ /**
546
+ * The shape instance.
547
+ */
548
+ shape: Element;
549
+ /**
550
+ * The source DOM event instance.
551
+ */
552
+ originalEvent: any;
553
+ /**
554
+ * @hidden
555
+ */
556
+ constructor(e: MapShapeMouseEnterEvent, sender: MapComponent);
557
+ }
558
+
559
+ /**
560
+ * Arguments for the `shapeMouseLeave` event.
561
+ * Fires when the mouse leaves a shape.
562
+ *
563
+ * > This event fires reliably only for shapes that have a set fill color.
564
+ * > You can still set the opacity to 0 so the shapes appear to have no fill.
565
+ */
566
+ declare class ShapeMouseLeaveEvent extends BaseEvent implements MapShapeMouseLeaveEvent {
567
+ /**
568
+ * The shape layer instance.
569
+ */
570
+ layer: MapLayer;
571
+ /**
572
+ * The shape instance.
573
+ */
574
+ shape: Element;
575
+ /**
576
+ * The source DOM event instance.
577
+ */
578
+ originalEvent: any;
579
+ /**
580
+ * @hidden
581
+ */
582
+ constructor(e: MapShapeMouseLeaveEvent, sender: MapComponent);
583
+ }
584
+
585
+ /**
586
+ * Arguments for the `zoomEnd` event.
587
+ * Fires when the map zoom level changes.
588
+ */
589
+ declare class ZoomEndEvent extends BaseEvent implements MapZoomEndEvent {
590
+ /**
591
+ * The source DOM event instance.
592
+ */
593
+ originalEvent: any;
594
+ /**
595
+ * @hidden
596
+ */
597
+ constructor(e: MapZoomEndEvent, sender: MapComponent);
598
+ }
599
+
600
+ /**
601
+ * Arguments for the `zoomStart` event.
602
+ * Fires when the map zoom level is about to change.
603
+ * Cancel the event to prevent the user action.
604
+ */
605
+ declare class ZoomStartEvent extends PreventableEvent implements MapZoomStartEvent {
606
+ /**
607
+ * The source DOM event instance.
608
+ */
609
+ originalEvent: any;
610
+ /**
611
+ * @hidden
612
+ */
613
+ constructor(e: MapZoomStartEvent, sender: MapComponent);
614
+ }
615
+
616
+ /**
617
+ * @hidden
618
+ */
619
+ declare class InstanceEventService {
620
+ create(name: string, args: any, sender: MapComponent): any;
621
+ }
622
+
623
+ /**
624
+ * Defines the settings for the tooltip popup.
625
+ */
626
+ interface PopupSettings {
627
+ /**
628
+ * Sets the container to which you want to append the popup.
629
+ */
630
+ appendTo?: ViewContainerRef;
631
+ /**
632
+ * Sets the class or classes for the popup.
633
+ */
634
+ popupClass?: string | Array<string> | object | Set<string>;
635
+ }
636
+
637
+ /**
638
+ * @hidden
639
+ */
640
+ declare abstract class BaseTooltip implements OnDestroy {
641
+ protected popupService: PopupService;
642
+ protected localizationService: LocalizationService;
643
+ animate: boolean;
644
+ style: any;
645
+ templateRef: TemplateRef<any>;
646
+ popupRef: any;
647
+ popupSettings: PopupSettings;
648
+ constructor(popupService: PopupService, localizationService: LocalizationService);
649
+ get active(): boolean;
650
+ show(e: any): void;
651
+ hide(): void;
652
+ protected onInit(): void;
653
+ ngOnDestroy(): void;
654
+ protected position(offset: any): any;
655
+ private scrollOffset;
656
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTooltip, never>;
657
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseTooltip, never, never, { "popupSettings": { "alias": "popupSettings"; "required": false; }; }, {}, never, never, true, never>;
658
+ }
659
+
660
+ /**
661
+ * @hidden
662
+ */
663
+ declare class TooltipTemplateService {
664
+ private templates;
665
+ registerTemplate(layerIndex: number, template: TemplateRef<any>): void;
666
+ getTemplate(layerIndex: number): TemplateRef<any>;
667
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTemplateService, never>;
668
+ static ɵprov: i0.ɵɵInjectableDeclaration<TooltipTemplateService>;
669
+ }
670
+
671
+ /**
672
+ * @hidden
673
+ */
674
+ declare class TooltipPopupComponent extends BaseTooltip {
675
+ protected popupService: PopupService;
676
+ protected templateService: TooltipTemplateService;
677
+ protected localizationService: LocalizationService;
678
+ protected ngZone: NgZone;
679
+ tooltipTemplateRef: TemplateRef<any>;
680
+ tooltipContext: any;
681
+ animate: boolean;
682
+ classNames: any;
683
+ wrapperClass: string;
684
+ leave: EventEmitter<any>;
685
+ popupClasses: any;
686
+ private mouseleaveSubscription;
687
+ constructor(popupService: PopupService, templateService: TooltipTemplateService, localizationService: LocalizationService, ngZone: NgZone);
688
+ show(e: any): void;
689
+ containsElement(element: any): boolean;
690
+ protected onInit(): void;
691
+ hide(): void;
692
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipPopupComponent, never>;
693
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipPopupComponent, "kendo-map-tooltip-popup", never, { "animate": { "alias": "animate"; "required": false; }; "classNames": { "alias": "classNames"; "required": false; }; "wrapperClass": { "alias": "wrapperClass"; "required": false; }; }, { "leave": "leave"; }, never, never, true, never>;
694
+ }
695
+
696
+ /**
697
+ * Represents the [Kendo UI Map component for Angular](https://www.telerik.com/kendo-angular-ui/components/map).
698
+ *
699
+ * Use this component to display interactive maps with markers, layers, and controls.
700
+ * Configure zoom levels, center coordinates, and user interactions like panning and zooming.
701
+ *
702
+ * @example
703
+ * ```ts
704
+ * import { Component } from '@angular/core';
705
+ *
706
+ * @Component({
707
+ * selector: 'my-app',
708
+ * template: `
709
+ * <kendo-map [center]="center" [zoom]="15">
710
+ * <kendo-map-layers>
711
+ * <kendo-map-tile-layer
712
+ * [subdomains]="tileSubdomains"
713
+ * [urlTemplate]="tileUrl"
714
+ * attribution="&copy; <a href='https://osm.org/copyright'>OpenStreetMap contributors</a>"
715
+ * >
716
+ * </kendo-map-tile-layer>
717
+ * <kendo-map-marker-layer
718
+ * [data]="markers"
719
+ * locationField="latlng"
720
+ * titleField="name"
721
+ * >
722
+ * </kendo-map-marker-layer>
723
+ * </kendo-map-layers>
724
+ * </kendo-map>
725
+ * `
726
+ * })
727
+ * class AppComponent {
728
+ * tileSubdomains = ["a", "b", "c"];
729
+ * tileUrl = (e: TileUrlTemplateArgs): string =>
730
+ * `https://${e.subdomain}.tile.openstreetmap.org/${e.zoom}/${e.x}/${e.y}.png`;
731
+ *
732
+ * center = [30.2675, -97.7409];
733
+ * markers = [{ latlng: [30.2675, -97.7409], name: "Zevo Toys" }];
734
+ * }
735
+ * ```
736
+ *
737
+ * @remarks
738
+ * Supported children components are: {@link LayersComponent}.
739
+ */
740
+ declare class MapComponent implements AfterViewInit, AfterViewChecked, OnChanges, OnDestroy {
741
+ configurationService: ConfigurationService;
742
+ protected instanceEventService: InstanceEventService;
743
+ protected element: ElementRef;
744
+ protected localizationService: LocalizationService;
745
+ protected changeDetector: ChangeDetectorRef;
746
+ protected ngZone: NgZone;
747
+ protected renderer: Renderer2;
748
+ protected iconsService: IconsService;
749
+ /**
750
+ * Limits the automatic resizing of the Map. Sets the maximum number of times per second
751
+ * that the component redraws its content when the size of its container changes.
752
+ * To disable the automatic resizing, set it to `0`.
753
+ *
754
+ * @default 10
755
+ *
756
+ * @example
757
+ * ```ts
758
+ * @Component({
759
+ * selector: 'my-app',
760
+ * template: `
761
+ * <kendo-map [resizeRateLimit]="2">
762
+ * </kendo-map>
763
+ * `
764
+ * })
765
+ * export class AppComponent {
766
+ * }
767
+ * ```
768
+ */
769
+ resizeRateLimit: number;
770
+ /**
771
+ * Specifies the map center coordinates.
772
+ * Provide coordinates as `[Latitude, Longitude]`.
773
+ */
774
+ center: number[];
775
+ /**
776
+ * Specifies the configuration for built-in map controls.
777
+ */
778
+ controls: MapControls;
779
+ /**
780
+ * The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
781
+ *
782
+ * @default 1
783
+ */
784
+ minZoom: number;
785
+ /**
786
+ * The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
787
+ *
788
+ * @default 19
789
+ */
790
+ maxZoom: number;
791
+ /**
792
+ * The size of the map in pixels at zoom level 0.
793
+ *
794
+ * @default 256
795
+ */
796
+ minSize?: number;
797
+ /**
798
+ * Controls whether the user can pan the map.
799
+ *
800
+ * @default true
801
+ */
802
+ pannable: boolean;
803
+ /**
804
+ * The settings for the tooltip popup.
805
+ */
806
+ popupSettings: PopupSettings$1;
807
+ /**
808
+ * Specifies whether the map should wrap around the east-west edges.
809
+ *
810
+ * @default true
811
+ */
812
+ wraparound: boolean;
813
+ /**
814
+ * Specifies the initial zoom level.
815
+ * Use values from 0 (whole world) to 19 (sub-meter features).
816
+ * The map size derives from the zoom level and `minScale` options: `size = (2 ^ zoom) * minSize`.
817
+ * Map zoom rounds floating point numbers to use whole [`zoom levels`](https://wiki.openstreetmap.org/wiki/Zoom_levels) 0 through 19.
818
+ *
819
+ * @default 3
820
+ */
821
+ zoom: number;
822
+ /**
823
+ * Determines whether users can change the map zoom level.
824
+ *
825
+ * @default true
826
+ */
827
+ zoomable: boolean;
828
+ /**
829
+ * Fires immediately before the map resets. This event is typically used for cleanup by layer implementers.
830
+ */
831
+ beforeReset: EventEmitter<BeforeResetEvent>;
832
+ /**
833
+ * Fires when the user clicks on the map.
834
+ */
835
+ mapClick: EventEmitter<MapClickEvent>;
836
+ /**
837
+ * Fires when a marker appears on the map and its DOM element becomes available.
838
+ */
839
+ markerActivate: EventEmitter<MarkerActivateEvent>;
840
+ /**
841
+ * Fires when the user clicks or taps a marker.
842
+ */
843
+ markerClick: EventEmitter<MarkerClickEvent>;
844
+ /**
845
+ * Fires once the map has created a marker, and just before the map displays it.
846
+ *
847
+ * Cancelling the event prevents displaying the marker.
848
+ */
849
+ markerCreated: EventEmitter<MarkerCreatedEvent>;
850
+ /**
851
+ * Fires after the map viewport completes panning.
852
+ */
853
+ panEnd: EventEmitter<PanEndEvent>;
854
+ /**
855
+ * Fires while the map viewport is being moved.
856
+ */
857
+ pan: EventEmitter<PanEvent>;
858
+ /**
859
+ * Fires when the map resets.
860
+ *
861
+ * This typically occurs on initial load and after a zoom/center change.
862
+ */
863
+ reset: EventEmitter<ResetEvent>;
864
+ /**
865
+ * Fires when a shape is clicked or tapped.
866
+ */
867
+ shapeClick: EventEmitter<ShapeClickEvent>;
868
+ /**
869
+ * Fires when a shape is created, but is not rendered yet.
870
+ */
871
+ shapeCreated: EventEmitter<ShapeCreatedEvent>;
872
+ /**
873
+ * Fires when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
874
+ */
875
+ shapeFeatureCreated: EventEmitter<ShapeFeatureCreatedEvent>;
876
+ /**
877
+ * Fires when the mouse enters a shape.
878
+ *
879
+ * > This event will fire reliably only for shapes that have set fill color.
880
+ * > The opacity can still be set to 0 so the shapes appear to have no fill.
881
+ */
882
+ shapeMouseEnter: EventEmitter<ShapeMouseEnterEvent>;
883
+ /**
884
+ * Fires when the mouse leaves a shape.
885
+ *
886
+ * > This event will fire reliably only for shapes that have set fill color.
887
+ * > The opacity can still be set to 0 so the shapes appear to have no fill.
888
+ */
889
+ shapeMouseLeave: EventEmitter<ShapeMouseLeaveEvent>;
890
+ /**
891
+ * Fires when the map zoom level is about to change.
892
+ *
893
+ * Cancelling the event will prevent the user action.
894
+ */
895
+ zoomStart: EventEmitter<ZoomStartEvent>;
896
+ /**
897
+ * Fires when the map zoom level changes.
898
+ */
899
+ zoomEnd: EventEmitter<ZoomEndEvent>;
900
+ /**
901
+ * Fires when the map center has been changed.
902
+ */
903
+ centerChange: EventEmitter<number[]>;
904
+ /**
905
+ * Fires when the map zoom level has been changed.
906
+ */
907
+ zoomChange: EventEmitter<number>;
908
+ tooltipInstance: TooltipPopupComponent;
909
+ instance: Map;
910
+ initResizeSensor: boolean;
911
+ protected options: any;
912
+ protected theme: any;
913
+ protected resizeTimeout: any;
914
+ protected redrawTimeout: any;
915
+ protected destroyed: boolean;
916
+ protected rtl: boolean;
917
+ protected subscriptions: Subscription;
918
+ protected optionsChange: Subscription;
919
+ protected domSubscriptions: () => void;
920
+ protected iconSettings: IconSettings;
921
+ constructor(configurationService: ConfigurationService, instanceEventService: InstanceEventService, element: ElementRef, localizationService: LocalizationService, changeDetector: ChangeDetectorRef, ngZone: NgZone, renderer: Renderer2, iconsService: IconsService);
922
+ ngAfterViewInit(): void;
923
+ ngAfterViewChecked(): void;
924
+ ngOnChanges(changes: {
925
+ [propertyName: string]: SimpleChange;
926
+ }): void;
927
+ ngOnDestroy(): void;
928
+ /**
929
+ * Gets the marker layers instances.
930
+ */
931
+ get layers(): MapLayer[];
932
+ /**
933
+ * Gets the extent (visible area) of the map.
934
+ */
935
+ get extent(): Extent;
936
+ /**
937
+ * Sets the extent (visible area) of the map.
938
+ */
939
+ set extent(extent: Extent);
940
+ /**
941
+ * Detects the container size and redraws the Map.
942
+ * Resizing happens automatically unless you set `resizeRateLimit` to `0`.
943
+ */
944
+ resize(): void;
945
+ /**
946
+ * Gets the size of the visible map area.
947
+ *
948
+ * @returns {Object} The width and height of the visible map area.
949
+ */
950
+ viewSize(): {
951
+ width: number;
952
+ height: number;
953
+ };
954
+ /**
955
+ * Gets event coordinates relative to the map element.
956
+ * Offset coordinates do not sync to a specific map location.
957
+ *
958
+ * @param {any} e The mouse event.
959
+ * @returns {geometry.Point} The event coordinates relative to the map element.
960
+ */
961
+ eventOffset(e: any): geometry.Point;
962
+ /**
963
+ * Gets projected layer coordinates for this mouse event.
964
+ * Layer coordinates are absolute and change only when zoom level changes.
965
+ *
966
+ * @param {any} e The mouse event.
967
+ * @returns {geometry.Point} The projected layer coordinates for this event.
968
+ */
969
+ eventToLayer(e: any): geometry.Point;
970
+ /**
971
+ * Gets the geographic location for this mouse event.
972
+ *
973
+ * @param {any} e The mouse event.
974
+ * @returns {geometry.Point} The geographic location for this mouse event.
975
+ */
976
+ eventToLocation(e: any): geometry.Point;
977
+ /**
978
+ * Gets relative view coordinates for this mouse event.
979
+ * Layer elements positioned on these coordinates appear under the mouse cursor.
980
+ * View coordinates become invalid after a map reset.
981
+ *
982
+ * @param {any} e The mouse event.
983
+ * @returns {geometry.Point} The relative view coordinates for this mouse event.
984
+ */
985
+ eventToView(e: any): geometry.Point;
986
+ /**
987
+ * Converts layer coordinates to geographic location.
988
+ *
989
+ * @param {geometry.Point | number[]} point The layer coordinates. Arrays use x, y order.
990
+ * @param {number} zoom Optional. Zoom level to use. Defaults to current zoom level.
991
+ * @returns {Location} The geographic location for the layer coordinates.
992
+ */
993
+ layerToLocation(point: geometry.Point | number[], zoom?: number): Location;
994
+ /**
995
+ * Gets layer coordinates for a geographic location.
996
+ *
997
+ * @param {Location | number[]} location The geographic location. Arrays use [Latitude, Longitude] order.
998
+ * @param {number} zoom Optional. Zoom level to use. Defaults to current zoom level.
999
+ * @returns {geometry.Point} The layer coordinates.
1000
+ */
1001
+ locationToLayer(location: Location | number[], zoom?: number): geometry.Point;
1002
+ /**
1003
+ * Gets view coordinates for a geographic location.
1004
+ *
1005
+ * @param {Location | number[]} location The geographic location. Arrays use [Latitude, Longitude] order.
1006
+ * @returns {geometry.Point} The view coordinates for the geographic location.
1007
+ */
1008
+ locationToView(location: Location | number[]): geometry.Point;
1009
+ /**
1010
+ * Gets the geographic location for view coordinates.
1011
+ *
1012
+ * @param {geometry.Point | number[]} point The view coordinates. Arrays use x, y order.
1013
+ * @param {number} zoom Optional. Zoom level to use. Defaults to current zoom level.
1014
+ * @returns {Location} The geographic location for the view coordinates.
1015
+ */
1016
+ viewToLocation(point: geometry.Point | number[], zoom?: number): Location;
1017
+ /**
1018
+ * @hidden
1019
+ */
1020
+ onResize(): void;
1021
+ /**
1022
+ * @hidden
1023
+ */
1024
+ get canRender(): boolean;
1025
+ protected get autoResize(): boolean;
1026
+ protected init(): void;
1027
+ protected initConfig(): void;
1028
+ protected createInstance(element: any, observer: MapInstanceObserver): void;
1029
+ protected activeEmitter(name: string): any;
1030
+ protected trigger(name: string, e: any): boolean;
1031
+ protected run(callback: any, inZone?: boolean, detectChanges?: boolean): void;
1032
+ protected detectChanges(): void;
1033
+ protected setDirection(): void;
1034
+ protected get isRTL(): boolean;
1035
+ protected onInit(e: any): void;
1036
+ protected onShowTooltip(e: any): void;
1037
+ protected onHideTooltip(): void;
1038
+ protected onCenterChange(e: any): void;
1039
+ protected onZoomChange(e: any): void;
1040
+ /**
1041
+ * @hidden
1042
+ */
1043
+ tooltipMouseleave(e: any): void;
1044
+ /**
1045
+ * @hidden
1046
+ */
1047
+ mapMouseleave(e: any): void;
1048
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapComponent, never>;
1049
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapComponent, "kendo-map", ["kendoMap"], { "resizeRateLimit": { "alias": "resizeRateLimit"; "required": false; }; "center": { "alias": "center"; "required": false; }; "controls": { "alias": "controls"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "pannable": { "alias": "pannable"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "wraparound": { "alias": "wraparound"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "zoomable": { "alias": "zoomable"; "required": false; }; }, { "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"; }, never, never, true, never>;
1050
+ }
1051
+
1052
+ /**
1053
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
1054
+ * within the `<kendo-map-tooltip>` component for the Map
1055
+ * [Bubble layer tooltip](https://www.telerik.com/kendo-angular-ui/components/map/layers/bubble#tooltips).
1056
+ *
1057
+ * The available inputs for the bubble tooltip template are:
1058
+ * * `dataItem: any`&mdash;The original data item used to create the bubble.
1059
+ * * `layerIndex: number`&mdash;The index of the layer for the tooltip.
1060
+ * * `location: Location`&mdash;The location of the bubble.
1061
+ * * `value: number`&mdash;The value of the bubble.
1062
+ *
1063
+ * @example
1064
+ * ```typescript
1065
+ * @Component({
1066
+ * selector: 'my-app',
1067
+ * template: `
1068
+ * <kendo-map>
1069
+ * <kendo-map-bubble-layer [data]="data">
1070
+ * <kendo-map-bubble-layer-tooltip>
1071
+ * <ng-template kendoMapBubbleTooltipTemplate let-dataItem="dataItem" let-value="value">
1072
+ * <div>{{ dataItem.name }}: {{ value }}</div>
1073
+ * </ng-template>
1074
+ * </kendo-map-bubble-layer-tooltip>
1075
+ * </kendo-map-bubble-layer>
1076
+ * </kendo-map>
1077
+ * `
1078
+ * })
1079
+ * export class AppComponent {
1080
+ * public data = [{ name: 'City', value: 100000 }];
1081
+ * }
1082
+ * ```
1083
+ */
1084
+ declare class BubbleTooltipTemplateDirective {
1085
+ templateRef: TemplateRef<any>;
1086
+ constructor(templateRef: TemplateRef<any>);
1087
+ static ɵfac: i0.ɵɵFactoryDeclaration<BubbleTooltipTemplateDirective, [{ optional: true; }]>;
1088
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BubbleTooltipTemplateDirective, "[kendoMapBubbleTooltipTemplate]", never, {}, {}, never, never, true, never>;
1089
+ }
1090
+
1091
+ /**
1092
+ * Represents the Kendo UI BubbleTooltip component for Angular.
1093
+ *
1094
+ * Configures the [Bubble Layer Tooltip](https://www.telerik.com/kendo-angular-ui/components/map/layers/bubble#tooltips).
1095
+ *
1096
+ * @example
1097
+ * ```typescript
1098
+ * @Component({
1099
+ * selector: 'my-app',
1100
+ * template: `
1101
+ * <kendo-map>
1102
+ * <kendo-map-layer type="bubble" [data]="bubbleData">
1103
+ * <kendo-map-bubble-layer-tooltip>
1104
+ * <ng-template kendoMapBubbleTooltipTemplate let-dataItem="dataItem" let-value="value">
1105
+ * <div>{{ dataItem.name }}: {{ value }}</div>
1106
+ * </ng-template>
1107
+ * </kendo-map-bubble-layer-tooltip>
1108
+ * </kendo-map-layer>
1109
+ * </kendo-map>
1110
+ * `
1111
+ * })
1112
+ * export class AppComponent {
1113
+ * public bubbleData = [{ name: 'Population', value: 50000 }];
1114
+ * }
1115
+ * ```
1116
+ */
1117
+ declare class BubbleTooltipComponent extends SettingsComponent implements AfterContentChecked {
1118
+ configurationService: ConfigurationService;
1119
+ private templateService;
1120
+ private layer;
1121
+ bubbleTooltipTemplate: BubbleTooltipTemplateDirective;
1122
+ constructor(configurationService: ConfigurationService, templateService: TooltipTemplateService, layer: LayerComponent);
1123
+ ngAfterContentChecked(): void;
1124
+ static ɵfac: i0.ɵɵFactoryDeclaration<BubbleTooltipComponent, never>;
1125
+ static ɵcmp: i0.ɵɵComponentDeclaration<BubbleTooltipComponent, "kendo-map-bubble-layer-tooltip", never, {}, {}, ["bubbleTooltipTemplate"], never, true, never>;
1126
+ }
1127
+
1128
+ /**
1129
+ * @hidden
1130
+ */
1131
+ declare abstract class CollectionComponent implements AfterContentInit, OnDestroy {
1132
+ protected configKey: string;
1133
+ protected configurationService: ConfigurationService;
1134
+ protected collectionService: CollectionService;
1135
+ children: QueryList<Item>;
1136
+ private subscription;
1137
+ private items;
1138
+ constructor(configKey: string, configurationService: ConfigurationService, collectionService: CollectionService);
1139
+ ngOnDestroy(): void;
1140
+ ngAfterContentInit(): void;
1141
+ private processChanges;
1142
+ private readItems;
1143
+ private change;
1144
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollectionComponent, never>;
1145
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CollectionComponent, never, never, {}, {}, ["children"], never, true, never>;
1146
+ }
1147
+
1148
+ /**
1149
+ * Represents the Kendo UI Layers component for Angular. Contains a collection of one or more map layers.
1150
+ *
1151
+ * @example
1152
+ * ```typescript
1153
+ * @Component({
1154
+ * selector: 'my-app',
1155
+ * template: `
1156
+ * <kendo-map>
1157
+ * <kendo-map-layers>
1158
+ * <kendo-map-tile-layer [urlTemplate]="tileUrl"></kendo-map-tile-layer>
1159
+ * <kendo-map-shape-layer [data]="shapeData"></kendo-map-shape-layer>
1160
+ * </kendo-map-layers>
1161
+ * </kendo-map>
1162
+ * `
1163
+ * })
1164
+ * export class AppComponent {
1165
+ * public tileUrl = (args: any) => `https://tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
1166
+ * public shapeData = [];
1167
+ * }
1168
+ * ```
1169
+ *
1170
+ * @remarks
1171
+ * Supported children components are: {@link TileLayerComponent}, {@link ShapeLayerComponent}, {@link BubbleLayerComponent}, {@link MarkerLayerComponent}.
1172
+ */
1173
+ declare class LayersComponent extends CollectionComponent {
1174
+ protected configurationService: ConfigurationService;
1175
+ protected collectionService: CollectionService;
1176
+ constructor(configurationService: ConfigurationService, collectionService: CollectionService);
1177
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayersComponent, never>;
1178
+ static ɵcmp: i0.ɵɵComponentDeclaration<LayersComponent, "kendo-map-layers", never, {}, {}, never, never, true, never>;
1179
+ }
1180
+
1181
+ /**
1182
+ * Represents the Kendo UI MarkerLayer component for Angular. Displays data as markers on vector shape layers for marker maps.
1183
+ *
1184
+ * @example
1185
+ * ```typescript
1186
+ * @Component({
1187
+ * selector: 'my-app',
1188
+ * template: `
1189
+ * <kendo-map>
1190
+ * <kendo-map-marker-layer
1191
+ * [data]="markerData"
1192
+ * locationField="location"
1193
+ * titleField="title"
1194
+ * shape="pin">
1195
+ * </kendo-map-marker-layer>
1196
+ * </kendo-map>
1197
+ * `
1198
+ * })
1199
+ * export class AppComponent {
1200
+ * public markerData = [
1201
+ * { location: [40.7128, -74.0060], title: "New York" }
1202
+ * ];
1203
+ * }
1204
+ * ```
1205
+ *
1206
+ * @remarks
1207
+ * Supported children components are: {@link MarkerTooltipComponent}.
1208
+ */
1209
+ declare class MarkerLayerComponent extends LayerComponent implements MarkerLayerOptions {
1210
+ protected configurationService: ConfigurationService;
1211
+ protected collectionService: CollectionService;
1212
+ protected sanitizer: DomSanitizer;
1213
+ /**
1214
+ * Sets the array of data items for this layer.
1215
+ */
1216
+ data?: any[];
1217
+ /**
1218
+ * Sets the data item field which contains the marker location.
1219
+ * The field should be an array with two numbers &mdash; latitude and longitude in decimal degrees.
1220
+ */
1221
+ locationField?: string;
1222
+ /**
1223
+ * Sets the data item field which contains the marker title.
1224
+ */
1225
+ titleField?: string;
1226
+ /**
1227
+ * Sets the default marker shape for data-bound markers. Supported marker shapes are `pinTarget` and `pin`.
1228
+ * Marker shapes are implemented as CSS classes on the marker element (`span.k-marker`). For example `pinTarget` is rendered as `k-marker-pin-target`.
1229
+ */
1230
+ shape?: string | 'pinTarget' | 'pin';
1231
+ constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
1232
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerLayerComponent, never>;
1233
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerLayerComponent, "kendo-map-marker-layer", never, { "data": { "alias": "data"; "required": false; }; "locationField": { "alias": "locationField"; "required": false; }; "titleField": { "alias": "titleField"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, {}, never, never, true, never>;
1234
+ }
1235
+
1236
+ /**
1237
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
1238
+ * within the `<kendo-map-tooltip>` component for the Map
1239
+ * [Marker layer tooltip](https://www.telerik.com/kendo-angular-ui/components/map/layers/marker#tooltips).
1240
+ *
1241
+ * The available inputs for the marker tooltip template are:
1242
+ * * `title: string`&mdash;The marker title.
1243
+ * * `layerIndex: number`&mdash;The index of the layer for the tooltip.
1244
+ * * `location: Location`&mdash;The marker location.
1245
+ *
1246
+ * @example
1247
+ * ```typescript
1248
+ * @Component({
1249
+ * selector: 'my-app',
1250
+ * template: `
1251
+ * <kendo-map>
1252
+ * <kendo-map-layer type="marker" [data]="markers">
1253
+ * <kendo-map-marker-layer-tooltip>
1254
+ * <ng-template kendoMapMarkerTooltipTemplate let-title="title" let-location="location">
1255
+ * <div>{{ title }} at {{ location.lat }}, {{ location.lng }}</div>
1256
+ * </ng-template>
1257
+ * </kendo-map-marker-layer-tooltip>
1258
+ * </kendo-map-layer>
1259
+ * </kendo-map>
1260
+ * `
1261
+ * })
1262
+ * export class AppComponent {
1263
+ * public markers = [{ title: 'Office', location: [42.6977, 23.3219] }];
1264
+ * }
1265
+ * ```
1266
+ */
1267
+ declare class MarkerTooltipTemplateDirective {
1268
+ templateRef: TemplateRef<any>;
1269
+ constructor(templateRef: TemplateRef<any>);
1270
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerTooltipTemplateDirective, [{ optional: true; }]>;
1271
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MarkerTooltipTemplateDirective, "[kendoMapMarkerTooltipTemplate]", never, {}, {}, never, never, true, never>;
1272
+ }
1273
+
1274
+ /**
1275
+ * Represents the Kendo UI MarkerTooltip component for Angular.
1276
+ *
1277
+ * Configures the [Marker Layer Tooltip](https://www.telerik.com/kendo-angular-ui/components/map/layers/marker#tooltips).
1278
+ *
1279
+ * @example
1280
+ * ```typescript
1281
+ * @Component({
1282
+ * selector: 'my-app',
1283
+ * template: `
1284
+ * <kendo-map>
1285
+ * <kendo-map-layer type="marker" [data]="markers">
1286
+ * <kendo-map-marker-layer-tooltip>
1287
+ * <ng-template kendoMapMarkerTooltipTemplate let-title="title">
1288
+ * <div>Marker: {{ title }}</div>
1289
+ * </ng-template>
1290
+ * </kendo-map-marker-layer-tooltip>
1291
+ * </kendo-map-layer>
1292
+ * </kendo-map>
1293
+ * `
1294
+ * })
1295
+ * export class AppComponent {
1296
+ * public markers = [{ title: 'Location A' }];
1297
+ * }
1298
+ * ```
1299
+ */
1300
+ declare class MarkerTooltipComponent extends SettingsComponent implements AfterContentChecked {
1301
+ configurationService: ConfigurationService;
1302
+ private templateService;
1303
+ private layer;
1304
+ markerTooltipTemplate: MarkerTooltipTemplateDirective;
1305
+ constructor(configurationService: ConfigurationService, templateService: TooltipTemplateService, layer: LayerComponent);
1306
+ ngAfterContentChecked(): void;
1307
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerTooltipComponent, never>;
1308
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerTooltipComponent, "kendo-map-marker-layer-tooltip", never, {}, {}, ["markerTooltipTemplate"], never, true, never>;
1309
+ }
1310
+
1311
+ /**
1312
+ * Represents the Kendo UI ShapeLayer component for Angular. Defines a vector shape layer bound to GeoJSON data.
1313
+ *
1314
+ * @example
1315
+ * ```typescript
1316
+ * @Component({
1317
+ * selector: 'my-app',
1318
+ * template: `
1319
+ * <kendo-map>
1320
+ * <kendo-map-shape-layer
1321
+ * [data]="geoJsonData"
1322
+ * [style]="shapeStyle">
1323
+ * </kendo-map-shape-layer>
1324
+ * </kendo-map>
1325
+ * `
1326
+ * })
1327
+ * export class AppComponent {
1328
+ * public geoJsonData = { type: "FeatureCollection", features: [] };
1329
+ * public shapeStyle = { fill: { color: "#007acc" }, stroke: { color: "#ffffff" } };
1330
+ * }
1331
+ * ```
1332
+ *
1333
+ * @remarks
1334
+ * Supported children components are: {@link ShapeTooltipComponent}.
1335
+ */
1336
+ declare class ShapeLayerComponent extends LayerComponent implements ShapeLayerOptions {
1337
+ protected configurationService: ConfigurationService;
1338
+ protected collectionService: CollectionService;
1339
+ protected sanitizer: DomSanitizer;
1340
+ /**
1341
+ * Sets the array of data items for this layer.
1342
+ */
1343
+ data?: any;
1344
+ /**
1345
+ * Sets the default style for shapes.
1346
+ */
1347
+ style?: ShapeOptions;
1348
+ constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
1349
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShapeLayerComponent, never>;
1350
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShapeLayerComponent, "kendo-map-shape-layer", never, { "data": { "alias": "data"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
1351
+ }
1352
+
1353
+ /**
1354
+ * A directive that sets a [template](link:site.data.urls.angular['templatesyntax'])
1355
+ * within the `<kendo-map-tooltip>` component for the Map
1356
+ * [Shape layer tooltip](https://www.telerik.com/kendo-angular-ui/components/map/layers/shape#tooltips).
1357
+ *
1358
+ * The available inputs for the shape tooltip template are:
1359
+ * * `dataItem: any`&mdash;The original data item used to create the shape.
1360
+ * * `layerIndex: number`&mdash;The index of the layer for the tooltip.
1361
+ * * `location: Location`&mdash;The location of the center of the shape.
1362
+ *
1363
+ * @example
1364
+ * ```typescript
1365
+ * @Component({
1366
+ * selector: 'my-app',
1367
+ * template: `
1368
+ * <kendo-map>
1369
+ * <kendo-map-layer type="shape" [data]="data">
1370
+ * <kendo-map-shape-layer-tooltip>
1371
+ * <ng-template kendoMapShapeTooltipTemplate let-dataItem="dataItem" let-layerIndex="layerIndex">
1372
+ * <div>Shape: {{ dataItem.properties.name }} (Layer {{ layerIndex }})</div>
1373
+ * </ng-template>
1374
+ * </kendo-map-shape-layer-tooltip>
1375
+ * </kendo-map-layer>
1376
+ * </kendo-map>
1377
+ * `
1378
+ * })
1379
+ * export class AppComponent {
1380
+ * public data = [ ... ]; // GeoJSON data for shapes
1381
+ * }
1382
+ * ```
1383
+ */
1384
+ declare class ShapeTooltipTemplateDirective {
1385
+ templateRef: TemplateRef<any>;
1386
+ constructor(templateRef: TemplateRef<any>);
1387
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShapeTooltipTemplateDirective, [{ optional: true; }]>;
1388
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ShapeTooltipTemplateDirective, "[kendoMapShapeTooltipTemplate]", never, {}, {}, never, never, true, never>;
1389
+ }
1390
+
1391
+ /**
1392
+ * Represents the Kendo UI ShapeTooltip component for Angular.
1393
+ *
1394
+ * Configures the [Shape Layer Tooltip](https://www.telerik.com/kendo-angular-ui/components/map/layers/shape#tooltips).
1395
+ *
1396
+ * @example
1397
+ * ```typescript
1398
+ * @Component({
1399
+ * selector: 'my-app',
1400
+ * template: `
1401
+ * <kendo-map>
1402
+ * <kendo-map-layer type="shape" [data]="shapeData">
1403
+ * <kendo-map-shape-layer-tooltip>
1404
+ * <ng-template kendoMapShapeTooltipTemplate let-dataItem="dataItem">
1405
+ * <div>{{ dataItem.properties.name }}</div>
1406
+ * </ng-template>
1407
+ * </kendo-map-shape-layer-tooltip>
1408
+ * </kendo-map-layer>
1409
+ * </kendo-map>
1410
+ * `
1411
+ * })
1412
+ * export class AppComponent {
1413
+ * public shapeData = [ ... ]; // GeoJSON data for shapes
1414
+ * }
1415
+ * ```
1416
+ */
1417
+ declare class ShapeTooltipComponent extends SettingsComponent implements AfterContentChecked {
1418
+ configurationService: ConfigurationService;
1419
+ private templateService;
1420
+ private layer;
1421
+ shapeTooltipTemplate: ShapeTooltipTemplateDirective;
1422
+ constructor(configurationService: ConfigurationService, templateService: TooltipTemplateService, layer: LayerComponent);
1423
+ ngAfterContentChecked(): void;
1424
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShapeTooltipComponent, never>;
1425
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShapeTooltipComponent, "kendo-map-shape-layer-tooltip", never, {}, {}, ["shapeTooltipTemplate"], never, true, never>;
1426
+ }
1427
+
1428
+ /**
1429
+ * Represents the Kendo UI TileLayer component for Angular. Displays raster map tiles from various sources.
1430
+ *
1431
+ * @example
1432
+ * ```typescript
1433
+ * @Component({
1434
+ * selector: 'my-app',
1435
+ * template: `
1436
+ * <kendo-map>
1437
+ * <kendo-map-tile-layer
1438
+ * [urlTemplate]="tileUrlTemplate"
1439
+ * [subdomains]="['a', 'b', 'c']"
1440
+ * [tileSize]="256">
1441
+ * </kendo-map-tile-layer>
1442
+ * </kendo-map>
1443
+ * `
1444
+ * })
1445
+ * export class AppComponent {
1446
+ * public tileUrlTemplate = (args: any) => `https://${args.subdomain}.tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
1447
+ * }
1448
+ * ```
1449
+ */
1450
+ declare class TileLayerComponent extends LayerComponent implements TileLayerOptions {
1451
+ protected configurationService: ConfigurationService;
1452
+ protected collectionService: CollectionService;
1453
+ protected sanitizer: DomSanitizer;
1454
+ /**
1455
+ * Sets the size of the image tile in pixels.
1456
+ *
1457
+ * @default 256
1458
+ */
1459
+ tileSize: number;
1460
+ /**
1461
+ * Sets a list of subdomains to use for loading tiles.
1462
+ * Alternating between different subdomains allows more requests to execute in parallel.
1463
+ */
1464
+ subdomains: string[];
1465
+ /**
1466
+ * Sets a function that returns an image URL for each tile position.
1467
+ */
1468
+ urlTemplate: (args: TileUrlTemplateArgs) => string;
1469
+ constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
1470
+ static ɵfac: i0.ɵɵFactoryDeclaration<TileLayerComponent, never>;
1471
+ static ɵcmp: i0.ɵɵComponentDeclaration<TileLayerComponent, "kendo-map-tile-layer", never, { "tileSize": { "alias": "tileSize"; "required": false; }; "subdomains": { "alias": "subdomains"; "required": false; }; "urlTemplate": { "alias": "urlTemplate"; "required": false; }; }, {}, never, never, true, never>;
1472
+ }
1473
+
1474
+ /**
1475
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
1476
+ * definition for the Map component.
1477
+ *
1478
+ * @example
1479
+ * ```ts
1480
+ * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
1481
+ * import { BrowserModule } from '@angular/platform-browser';
1482
+ * import { NgModule } from '@angular/core';
1483
+ * import { MapModule } from '@progress/kendo-angular-map';
1484
+ * import { AppComponent } from './app.component';
1485
+ *
1486
+ * @NgModule({
1487
+ * declarations: [AppComponent],
1488
+ * imports: [BrowserModule, BrowserAnimationsModule, MapModule],
1489
+ * bootstrap: [AppComponent]
1490
+ * })
1491
+ * export class AppModule {}
1492
+ * ```
1493
+ */
1494
+ declare class MapModule {
1495
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapModule, never>;
1496
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapModule, never, [typeof BubbleLayerComponent, typeof BubbleTooltipComponent, typeof BubbleTooltipTemplateDirective, typeof LayersComponent, typeof MapComponent, typeof MarkerLayerComponent, typeof MarkerTooltipComponent, typeof MarkerTooltipTemplateDirective, typeof ShapeLayerComponent, typeof ShapeTooltipComponent, typeof ShapeTooltipTemplateDirective, typeof TileLayerComponent], [typeof BubbleLayerComponent, typeof BubbleTooltipComponent, typeof BubbleTooltipTemplateDirective, typeof LayersComponent, typeof MapComponent, typeof MarkerLayerComponent, typeof MarkerTooltipComponent, typeof MarkerTooltipTemplateDirective, typeof ShapeLayerComponent, typeof ShapeTooltipComponent, typeof ShapeTooltipTemplateDirective, typeof TileLayerComponent]>;
1497
+ static ɵinj: i0.ɵɵInjectorDeclaration<MapModule>;
1498
+ }
1499
+
1500
+ /**
1501
+ * @hidden
1502
+ */
1503
+ declare function bodyFactory(): ElementRef;
1504
+
1505
+ /**
1506
+ * Utility array that contains all `Map` related components and directives.
1507
+ */
1508
+ declare const KENDO_MAP: readonly [typeof BubbleLayerComponent, typeof BubbleTooltipComponent, typeof BubbleTooltipTemplateDirective, typeof LayersComponent, typeof MapComponent, typeof MarkerLayerComponent, typeof MarkerTooltipComponent, typeof MarkerTooltipTemplateDirective, typeof ShapeLayerComponent, typeof ShapeTooltipComponent, typeof ShapeTooltipTemplateDirective, typeof TileLayerComponent];
1509
+
1510
+ export { BeforeResetEvent, BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, KENDO_MAP, LayerTooltipComponent, LayersComponent, MapClickEvent, MapComponent, MapModule, MarkerActivateEvent, MarkerClickEvent, MarkerCreatedEvent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, PanEndEvent, PanEvent, ResetEvent, ShapeClickEvent, ShapeCreatedEvent, ShapeFeatureCreatedEvent, ShapeLayerComponent, ShapeMouseEnterEvent, ShapeMouseLeaveEvent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent, TooltipPopupComponent, ZoomEndEvent, ZoomStartEvent, bodyFactory };