@progress/kendo-angular-map 17.0.0-develop.8 → 17.0.0

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 (68) hide show
  1. package/README.md +25 -16
  2. package/common/collection.component.d.ts +1 -1
  3. package/{esm2020 → esm2022}/common/collection-item.component.mjs +8 -5
  4. package/{esm2020 → esm2022}/common/collection.component.mjs +15 -6
  5. package/{esm2020 → esm2022}/common/collection.service.mjs +7 -3
  6. package/{esm2020 → esm2022}/common/configuration.service.mjs +9 -5
  7. package/{esm2020 → esm2022}/common/map-instance-observer.mjs +8 -8
  8. package/{esm2020 → esm2022}/common/settings.component.mjs +6 -4
  9. package/{esm2020 → esm2022}/events/base-event.mjs +7 -3
  10. package/{esm2020 → esm2022}/events/map-click-event.mjs +8 -0
  11. package/{esm2020 → esm2022}/events/marker-activate-event.mjs +8 -0
  12. package/{esm2020 → esm2022}/events/marker-click-event.mjs +8 -0
  13. package/{esm2020 → esm2022}/events/marker-created-event.mjs +8 -0
  14. package/{esm2020 → esm2022}/events/pan-end-event.mjs +12 -0
  15. package/{esm2020 → esm2022}/events/pan-event.mjs +12 -0
  16. package/{esm2020 → esm2022}/events/preventable-event.mjs +4 -7
  17. package/{esm2020 → esm2022}/events/shape-click-event.mjs +12 -0
  18. package/{esm2020 → esm2022}/events/shape-created-event.mjs +16 -0
  19. package/{esm2020 → esm2022}/events/shape-feature-created-event.mjs +16 -0
  20. package/{esm2020 → esm2022}/events/shape-mouse-enter-event.mjs +12 -0
  21. package/{esm2020 → esm2022}/events/shape-mouse-leave-event.mjs +12 -0
  22. package/{esm2020 → esm2022}/events/zoom-end-event.mjs +4 -0
  23. package/{esm2020 → esm2022}/events/zoom-start-event.mjs +4 -0
  24. package/{esm2020 → esm2022}/map/bubble-layer.component.mjs +48 -9
  25. package/{esm2020 → esm2022}/map/layer/tooltip.component.mjs +5 -3
  26. package/{esm2020 → esm2022}/map/layer.component.mjs +32 -3
  27. package/{esm2020 → esm2022}/map/layers.component.mjs +6 -9
  28. package/{esm2020 → esm2022}/map/marker-layer.component.mjs +32 -9
  29. package/{esm2020 → esm2022}/map/shape-layer.component.mjs +20 -9
  30. package/{esm2020 → esm2022}/map/tile-layer.component.mjs +28 -9
  31. package/{esm2020 → esm2022}/map.component.mjs +198 -132
  32. package/{esm2020 → esm2022}/map.module.mjs +4 -4
  33. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  34. package/{esm2020 → esm2022}/tooltip/base-tooltip.mjs +19 -10
  35. package/{esm2020 → esm2022}/tooltip/bubble-tooltip-template.directive.mjs +4 -3
  36. package/{esm2020 → esm2022}/tooltip/bubble-tooltip.component.mjs +7 -3
  37. package/{esm2020 → esm2022}/tooltip/marker-tooltip-template.directive.mjs +4 -3
  38. package/{esm2020 → esm2022}/tooltip/marker-tooltip.component.mjs +7 -3
  39. package/{esm2020 → esm2022}/tooltip/shape-tooltip-template.directive.mjs +4 -3
  40. package/{esm2020 → esm2022}/tooltip/shape-tooltip.component.mjs +7 -3
  41. package/{esm2020 → esm2022}/tooltip/tooltip-popup.component.mjs +21 -19
  42. package/{esm2020 → esm2022}/tooltip/tooltip-template.service.mjs +4 -6
  43. package/{fesm2020 → fesm2022}/progress-kendo-angular-map.mjs +645 -279
  44. package/map/bubble-layer.component.d.ts +1 -1
  45. package/map/layer.component.d.ts +1 -1
  46. package/map/layers.component.d.ts +2 -4
  47. package/map/marker-layer.component.d.ts +1 -1
  48. package/map/shape-layer.component.d.ts +1 -1
  49. package/map/tile-layer.component.d.ts +1 -1
  50. package/map.component.d.ts +1 -1
  51. package/package.json +16 -22
  52. package/schematics/ngAdd/index.js +1 -1
  53. package/tooltip/base-tooltip.d.ts +3 -3
  54. package/tooltip/tooltip-popup.component.d.ts +1 -4
  55. package/fesm2015/progress-kendo-angular-map.mjs +0 -1958
  56. /package/{esm2020 → esm2022}/common/copy-changes.mjs +0 -0
  57. /package/{esm2020 → esm2022}/common/has-parent.mjs +0 -0
  58. /package/{esm2020 → esm2022}/common/to-simple-changes.mjs +0 -0
  59. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  60. /package/{esm2020 → esm2022}/events/before-reset-event.mjs +0 -0
  61. /package/{esm2020 → esm2022}/events/instance-event.service.mjs +0 -0
  62. /package/{esm2020 → esm2022}/events/reset-event.mjs +0 -0
  63. /package/{esm2020 → esm2022}/events.mjs +0 -0
  64. /package/{esm2020 → esm2022}/index.mjs +0 -0
  65. /package/{esm2020 → esm2022}/progress-kendo-angular-map.mjs +0 -0
  66. /package/{esm2020 → esm2022}/tooltip/body-factory.mjs +0 -0
  67. /package/{esm2020 → esm2022}/tooltip/popup-settings.interface.mjs +0 -0
  68. /package/{esm2020 → esm2022}/tooltip.mjs +0 -0
package/README.md CHANGED
@@ -1,31 +1,40 @@
1
- <a href="https://www.telerik.com/kendo-angular-ui/" target="_blank">
1
+ <a href="https://www.telerik.com/kendo-angular-ui/components/map" target="_blank">
2
2
  <img width="631" src="https://www.telerik.com/kendo-angular-ui/npm-banner.svg">
3
3
  </a>
4
4
 
5
- ## Native UI and Data Visualization Components for Angular
5
+ ## Kendo UI for Angular Map Component
6
6
 
7
- Kendo UI for Angular is a commercial UI library designed and built for developing business applications with Angular. Every UI component in the Kendo UI for Angular suite has been built from the ground-up specifically for Angular.
8
-
9
- > **Important**
10
7
  > * This package is part of the [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui/)&mdash;a commercial UI library.
11
- > * You will need to install a license key when adding the package to your project. For more information, please refer to the [My License page](https://www.telerik.com/kendo-angular-ui/my-license/).
12
- > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui/) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui). Doing so indicates that you [Kendo UI for Angular License Agreement](https://www.telerik.com/purchase/license-agreement/kendo-ui).
13
- > * The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI dev team!
8
+ > * You must [install a license key](https://www.telerik.com/kendo-angular-ui/my-license) when adding the package to your project. To receive a license key, either [purchase a license](https://www.telerik.com/purchase/kendo-ui) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui).
9
+ > * The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular team!
10
+
11
+ The Kendo UI for Angular Map displays tile and vector maps. The Map is built from the ground up and specifically for Angular, so that you get components which integrate seamlessly with your application.
12
+
13
+ ## Key Features
14
+
15
+ Among the many features which the Kendo UI for Angular Map delivers are:
16
+
17
+ * Tile Layer&mdash;The Map supports displaying raster maps from popular online providers by using a Tile layer. [Read more about the Tile layer...](https://www.telerik.com/kendo-angular-ui/components/map/layers/tile)
18
+ * Shape Layer&mdash;The Map has built-in support for loading vector maps from GeoJSON. [Read more about the Shape layer...](https://www.telerik.com/kendo-angular-ui/components/map/layers/shape)
19
+ * Marker Layer&mdash;The Map supports displaying markers over preset locations. [Read more about the Marker layer...](https://www.telerik.com/kendo-angular-ui/components/map/layers/marker)
20
+ * Bubble Map Layer&mdash;The Map includes a built-in Bubble Map visualization for displaying relative values over geographic regions. [Read more about Bubble Maps...](https://www.telerik.com/kendo-angular-ui/components/map/layers/bubble)
21
+
22
+ ## Support Options
23
+
24
+ For any issues you might encounter while working with the Kendo UI for Angular Map, you have the following support channels available:
25
+
26
+ * Industry-leading technical support&mdash;Kendo UI for Angular paid license holders and users with an active (free) trial license can take advantage of our outstanding customer support. To submit a ticket, use the [dedicated Kendo UI for Angular support system](https://www.telerik.com/account/support-center/contact-us/technical-support).
27
+ * Product forums&mdash;The [Kendo UI for Angular forums](https://www.telerik.com/forums/kendo-angular-ui) are part of the free support you can get from the community and from the Kendo UI for Angular team.
28
+ * Feedback portal&mdash;The [Kendo UI for Angular feedback portal](https://feedback.telerik.com/kendo-angular-ui) is where you can request and vote for new features to be added.
14
29
 
15
30
  ## Resources
16
31
 
17
- * [Get Started with Kendo UI for Angular (requires trial registration)](https://www.telerik.com/kendo-angular-ui/getting-started)
32
+ * [Getting Started with Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui/getting-started)
33
+ * [Getting Started with the Kendo UI for Angular Map](https://www.telerik.com/kendo-angular-ui/components/map/installation/getting-started)
18
34
  * [Demos, documentation, and component reference](https://www.telerik.com/kendo-angular-ui/components)
19
35
  * [Blogs](http://www.telerik.com/blogs/kendo-ui)
20
36
  * [Kendo UI for Angular pricing and licensing](https://www.telerik.com/purchase/kendo-ui)
21
37
 
22
- ## Questions and Feedback
23
-
24
- * [Official Forums](https://www.telerik.com/forums/kendo-angular-ui)
25
- * [GitHub Issues](https://github.com/telerik/kendo-angular/issues)
26
- * [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui)
27
- * [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2)
28
-
29
38
  *Copyright © 2024 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
30
39
 
31
40
  *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
@@ -23,5 +23,5 @@ export declare abstract class CollectionComponent implements AfterContentInit, O
23
23
  private readItems;
24
24
  private change;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<CollectionComponent, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<CollectionComponent, never, never, {}, {}, never, never, false, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CollectionComponent, never, never, {}, {}, ["children"], never, false, never>;
27
27
  }
@@ -14,11 +14,14 @@ import * as i2 from "./collection.service";
14
14
  * @hidden
15
15
  */
16
16
  export class CollectionItemComponent {
17
+ configurationService;
18
+ collectionService;
19
+ subscription;
20
+ index = -1;
21
+ options = {};
17
22
  constructor(configurationService, collectionService) {
18
23
  this.configurationService = configurationService;
19
24
  this.collectionService = collectionService;
20
- this.index = -1;
21
- this.options = {};
22
25
  this.subscription = configurationService.changes.subscribe(store => {
23
26
  this.options = store;
24
27
  this.notify();
@@ -53,9 +56,9 @@ export class CollectionItemComponent {
53
56
  }
54
57
  this.collectionService.notify(new ItemChange(this, this.options));
55
58
  }
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionItemComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }], target: i0.ɵɵFactoryTarget.Directive });
60
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CollectionItemComponent, usesOnChanges: true, ngImport: i0 });
56
61
  }
57
- CollectionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionItemComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }], target: i0.ɵɵFactoryTarget.Directive });
58
- CollectionItemComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CollectionItemComponent, usesOnChanges: true, ngImport: i0 });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionItemComponent, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionItemComponent, decorators: [{
60
63
  type: Directive
61
64
  }], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i2.CollectionService }]; } });
@@ -2,10 +2,11 @@
2
2
  * Copyright © 2024 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
- import { Directive } from '@angular/core';
5
+ import { ContentChildren, Directive, QueryList } from '@angular/core';
6
6
  import { ConfigurationService } from './configuration.service';
7
7
  import { Change } from './configuration.service';
8
8
  import { CollectionService } from './collection.service';
9
+ import { LayerComponent } from '../map/layer.component';
9
10
  import * as i0 from "@angular/core";
10
11
  import * as i1 from "./configuration.service";
11
12
  import * as i2 from "./collection.service";
@@ -13,11 +14,16 @@ import * as i2 from "./collection.service";
13
14
  * @hidden
14
15
  */
15
16
  export class CollectionComponent {
17
+ configKey;
18
+ configurationService;
19
+ collectionService;
20
+ children;
21
+ subscription;
22
+ items = [];
16
23
  constructor(configKey, configurationService, collectionService) {
17
24
  this.configKey = configKey;
18
25
  this.configurationService = configurationService;
19
26
  this.collectionService = collectionService;
20
- this.items = [];
21
27
  this.subscription = collectionService.itemChanges.subscribe(changes => this.processChanges(changes));
22
28
  }
23
29
  ngOnDestroy() {
@@ -49,9 +55,12 @@ export class CollectionComponent {
49
55
  change() {
50
56
  this.configurationService.notify(new Change(this.configKey, this.items.length === 0 ? undefined : this.items));
51
57
  }
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
59
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CollectionComponent, queries: [{ propertyName: "children", predicate: LayerComponent }], ngImport: i0 });
52
60
  }
53
- CollectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
54
- CollectionComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CollectionComponent, ngImport: i0 });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionComponent, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionComponent, decorators: [{
56
62
  type: Directive
57
- }], ctorParameters: function () { return [{ type: undefined }, { type: i1.ConfigurationService }, { type: i2.CollectionService }]; } });
63
+ }], ctorParameters: function () { return [{ type: undefined }, { type: i1.ConfigurationService }, { type: i2.CollectionService }]; }, propDecorators: { children: [{
64
+ type: ContentChildren,
65
+ args: [LayerComponent]
66
+ }] } });
@@ -9,6 +9,8 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class ItemChange {
12
+ sender;
13
+ options;
12
14
  constructor(sender, options) {
13
15
  this.sender = sender;
14
16
  this.options = options;
@@ -18,6 +20,8 @@ export class ItemChange {
18
20
  * @hidden
19
21
  */
20
22
  export class CollectionService {
23
+ itemChanges;
24
+ source;
21
25
  constructor() {
22
26
  this.source = new Subject();
23
27
  this.itemChanges = this.source.asObservable();
@@ -25,9 +29,9 @@ export class CollectionService {
25
29
  notify(change) {
26
30
  this.source.next(change);
27
31
  }
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionService });
28
34
  }
29
- CollectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
30
- CollectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionService });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CollectionService, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CollectionService, decorators: [{
32
36
  type: Injectable
33
37
  }], ctorParameters: function () { return []; } });
@@ -9,6 +9,8 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class Change {
12
+ key;
13
+ value;
12
14
  constructor(key, value) {
13
15
  this.key = key;
14
16
  this.value = value;
@@ -18,10 +20,12 @@ export class Change {
18
20
  * @hidden
19
21
  */
20
22
  export class ConfigurationService {
23
+ ngZone;
24
+ changes;
25
+ store = {};
26
+ source = new BehaviorSubject({});
21
27
  constructor(ngZone) {
22
28
  this.ngZone = ngZone;
23
- this.store = {};
24
- this.source = new BehaviorSubject({});
25
29
  this.initSource();
26
30
  }
27
31
  initSource() {
@@ -50,9 +54,9 @@ export class ConfigurationService {
50
54
  this.source.next(this.store);
51
55
  });
52
56
  }
57
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigurationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
58
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigurationService });
53
59
  }
54
- ConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
55
- ConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationService });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ConfigurationService, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ConfigurationService, decorators: [{
57
61
  type: Injectable
58
62
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -7,15 +7,15 @@ import { InstanceObserver } from '@progress/kendo-charts';
7
7
  * @hidden
8
8
  */
9
9
  export class MapInstanceObserver extends InstanceObserver {
10
+ handlerMap = {
11
+ hideTooltip: 'onHideTooltip',
12
+ init: 'onInit',
13
+ render: 'onRender',
14
+ showTooltip: 'onShowTooltip',
15
+ centerChange: 'onCenterChange',
16
+ zoomChange: 'onZoomChange'
17
+ };
10
18
  constructor(instance) {
11
19
  super(instance);
12
- this.handlerMap = {
13
- hideTooltip: 'onHideTooltip',
14
- init: 'onInit',
15
- render: 'onRender',
16
- showTooltip: 'onShowTooltip',
17
- centerChange: 'onCenterChange',
18
- zoomChange: 'onZoomChange'
19
- };
20
20
  }
21
21
  }
@@ -13,10 +13,12 @@ import * as i1 from "./configuration.service";
13
13
  * @hidden
14
14
  */
15
15
  export class SettingsComponent {
16
+ configKey;
17
+ configurationService;
18
+ store = {};
16
19
  constructor(configKey, configurationService) {
17
20
  this.configKey = configKey;
18
21
  this.configurationService = configurationService;
19
- this.store = {};
20
22
  if (configKey === undefined) {
21
23
  throw new Error('Configuration key not set');
22
24
  }
@@ -51,9 +53,9 @@ export class SettingsComponent {
51
53
  notify() {
52
54
  this.configurationService.notify(new Change(this.configKey, this.store));
53
55
  }
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SettingsComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
57
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SettingsComponent, usesOnChanges: true, ngImport: i0 });
54
58
  }
55
- SettingsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SettingsComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
56
- SettingsComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SettingsComponent, usesOnChanges: true, ngImport: i0 });
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SettingsComponent, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SettingsComponent, decorators: [{
58
60
  type: Directive
59
61
  }], ctorParameters: function () { return [{ type: undefined }, { type: i1.ConfigurationService }]; } });
@@ -8,15 +8,19 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class BaseEvent {
11
+ /**
12
+ * The `MapComponent` that triggered the event.
13
+ */
14
+ sender;
11
15
  /**
12
16
  * @hidden
13
17
  */
14
18
  constructor(sender) {
15
19
  this.sender = sender;
16
20
  }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseEvent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
22
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: BaseEvent, ngImport: i0 });
17
23
  }
18
- BaseEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseEvent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
19
- BaseEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: BaseEvent, ngImport: i0 });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseEvent, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseEvent, decorators: [{
21
25
  type: Directive
22
26
  }], ctorParameters: function () { return [{ type: undefined }]; } });
@@ -7,6 +7,14 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when the user clicks on the map.
8
8
  */
9
9
  export class MapClickEvent extends BaseEvent {
10
+ /**
11
+ * The location of the clicked point.
12
+ */
13
+ location;
14
+ /**
15
+ * The source DOM event instance
16
+ */
17
+ originalEvent;
10
18
  /**
11
19
  * @hidden
12
20
  */
@@ -7,6 +7,14 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when a marker has been displayed and has a DOM element assigned.
8
8
  */
9
9
  export class MarkerActivateEvent extends BaseEvent {
10
+ /**
11
+ * The marker instance.
12
+ */
13
+ marker;
14
+ /**
15
+ * The marker layer instance.
16
+ */
17
+ layer;
10
18
  /**
11
19
  * @hidden
12
20
  */
@@ -7,6 +7,14 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when a marker has been clicked or tapped.
8
8
  */
9
9
  export class MarkerClickEvent extends BaseEvent {
10
+ /**
11
+ * The marker instance.
12
+ */
13
+ marker;
14
+ /**
15
+ * The marker layer instance.
16
+ */
17
+ layer;
10
18
  /**
11
19
  * @hidden
12
20
  */
@@ -9,6 +9,14 @@ import { PreventableEvent } from './preventable-event';
9
9
  * Cancelling the event will prevent the marker from being shown.
10
10
  */
11
11
  export class MarkerCreatedEvent extends PreventableEvent {
12
+ /**
13
+ * The marker instance.
14
+ */
15
+ marker;
16
+ /**
17
+ * The marker layer instance.
18
+ */
19
+ layer;
12
20
  /**
13
21
  * @hidden
14
22
  */
@@ -7,6 +7,18 @@ import { BaseEvent } from './base-event';
7
7
  * Fires after the map viewport has been moved.
8
8
  */
9
9
  export class PanEndEvent extends BaseEvent {
10
+ /**
11
+ * The map origin (top left or NW corner).
12
+ */
13
+ origin;
14
+ /**
15
+ * The current map center.
16
+ */
17
+ center;
18
+ /**
19
+ * The source DOM event instance
20
+ */
21
+ originalEvent;
10
22
  /**
11
23
  * @hidden
12
24
  */
@@ -7,6 +7,18 @@ import { BaseEvent } from './base-event';
7
7
  * Fired while the map viewport is being moved.
8
8
  */
9
9
  export class PanEvent extends BaseEvent {
10
+ /**
11
+ * The map origin (top left or NW corner).
12
+ */
13
+ origin;
14
+ /**
15
+ * The current map center.
16
+ */
17
+ center;
18
+ /**
19
+ * The source DOM event instance
20
+ */
21
+ originalEvent;
10
22
  /**
11
23
  * @hidden
12
24
  */
@@ -9,10 +9,7 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class PreventableEvent extends BaseEvent {
12
- constructor() {
13
- super(...arguments);
14
- this.prevented = false;
15
- }
12
+ prevented = false;
16
13
  /**
17
14
  * Prevents the default action for a specified event.
18
15
  * In this way, the source component suppresses
@@ -31,9 +28,9 @@ export class PreventableEvent extends BaseEvent {
31
28
  isDefaultPrevented() {
32
29
  return this.prevented;
33
30
  }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreventableEvent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PreventableEvent, usesInheritance: true, ngImport: i0 });
34
33
  }
35
- PreventableEvent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PreventableEvent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
36
- PreventableEvent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PreventableEvent, usesInheritance: true, ngImport: i0 });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PreventableEvent, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PreventableEvent, decorators: [{
38
35
  type: Directive
39
36
  }] });
@@ -7,6 +7,18 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when a shape is clicked or tapped.
8
8
  */
9
9
  export class ShapeClickEvent extends BaseEvent {
10
+ /**
11
+ * The shape layer instance.
12
+ */
13
+ layer;
14
+ /**
15
+ * The shape instance.
16
+ */
17
+ shape;
18
+ /**
19
+ * The source DOM event instance
20
+ */
21
+ originalEvent;
10
22
  /**
11
23
  * @hidden
12
24
  */
@@ -7,6 +7,22 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when a shape is created, but is not rendered yet.
8
8
  */
9
9
  export class ShapeCreatedEvent extends BaseEvent {
10
+ /**
11
+ * The shape layer instance.
12
+ */
13
+ layer;
14
+ /**
15
+ * The shape instance.
16
+ */
17
+ shape;
18
+ /**
19
+ * The original data item for this Shape.
20
+ */
21
+ dataItem;
22
+ /**
23
+ * The shape location
24
+ */
25
+ location;
10
26
  /**
11
27
  * @hidden
12
28
  */
@@ -7,6 +7,22 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
8
8
  */
9
9
  export class ShapeFeatureCreatedEvent extends BaseEvent {
10
+ /**
11
+ * The original data item for this Feature. Members include `geometries` and `properties`.
12
+ */
13
+ dataItem;
14
+ /**
15
+ * The shape layer instance.
16
+ */
17
+ layer;
18
+ /**
19
+ * The group containing feature shape instances.
20
+ */
21
+ group;
22
+ /**
23
+ * A reference to the `dataItem.properties` object.
24
+ */
25
+ properties;
10
26
  /**
11
27
  * @hidden
12
28
  */
@@ -10,6 +10,18 @@ import { BaseEvent } from './base-event';
10
10
  * > The opacity can still be set to 0 so the shapes appear to have no fill.
11
11
  */
12
12
  export class ShapeMouseEnterEvent extends BaseEvent {
13
+ /**
14
+ * The shape layer instance.
15
+ */
16
+ layer;
17
+ /**
18
+ * The shape instance.
19
+ */
20
+ shape;
21
+ /**
22
+ * The source DOM event instance
23
+ */
24
+ originalEvent;
13
25
  /**
14
26
  * @hidden
15
27
  */
@@ -10,6 +10,18 @@ import { BaseEvent } from './base-event';
10
10
  * > The opacity can still be set to 0 so the shapes appear to have no fill.
11
11
  */
12
12
  export class ShapeMouseLeaveEvent extends BaseEvent {
13
+ /**
14
+ * The shape layer instance.
15
+ */
16
+ layer;
17
+ /**
18
+ * The shape instance.
19
+ */
20
+ shape;
21
+ /**
22
+ * The source DOM event instance
23
+ */
24
+ originalEvent;
13
25
  /**
14
26
  * @hidden
15
27
  */
@@ -7,6 +7,10 @@ import { BaseEvent } from './base-event';
7
7
  * Fired when the map zoom level has changed.
8
8
  */
9
9
  export class ZoomEndEvent extends BaseEvent {
10
+ /**
11
+ * The source DOM event instance
12
+ */
13
+ originalEvent;
10
14
  /**
11
15
  * @hidden
12
16
  */
@@ -9,6 +9,10 @@ import { PreventableEvent } from './preventable-event';
9
9
  * Cancelling the event will prevent the user action.
10
10
  */
11
11
  export class ZoomStartEvent extends PreventableEvent {
12
+ /**
13
+ * The source DOM event instance
14
+ */
15
+ originalEvent;
12
16
  /**
13
17
  * @hidden
14
18
  */
@@ -15,22 +15,61 @@ import * as i3 from "@angular/platform-browser";
15
15
  * A vector shape layer for bubble maps. [See example](slug:bubble_layers_map).
16
16
  */
17
17
  export class BubbleLayerComponent extends LayerComponent {
18
+ configurationService;
19
+ collectionService;
20
+ sanitizer;
21
+ /**
22
+ * The array of data items for this layer.
23
+ */
24
+ data;
25
+ /**
26
+ * The data item field which contains the symbol location.
27
+ *
28
+ * The field should be an array with two numbers - latitude and longitude in decimal degrees.
29
+ */
30
+ locationField;
31
+ /**
32
+ * The value field for the symbols used to determine their relative size.
33
+ * The data item field should be a number.
34
+ */
35
+ valueField;
36
+ /**
37
+ * The symbol to use for bubble layers.
38
+ */
39
+ symbol;
40
+ /**
41
+ * The default style for symbols.
42
+ */
43
+ style;
44
+ /**
45
+ * The maximum symbol size for bubble layer symbols.
46
+ *
47
+ * @default 100
48
+ */
49
+ maxSize;
50
+ /**
51
+ * The minimum symbol size for bubble layer symbols.
52
+ * Setting non-zero value will distort symbol area to value ratio.
53
+ *
54
+ * @default 0
55
+ */
56
+ minSize;
18
57
  constructor(configurationService, collectionService, sanitizer) {
19
58
  super('bubble', configurationService, collectionService, sanitizer);
20
59
  this.configurationService = configurationService;
21
60
  this.collectionService = collectionService;
22
61
  this.sanitizer = sanitizer;
23
62
  }
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
64
+ 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: [
65
+ ConfigurationService,
66
+ {
67
+ provide: LayerComponent,
68
+ useExisting: forwardRef(() => BubbleLayerComponent)
69
+ }
70
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
24
71
  }
25
- BubbleLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BubbleLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
26
- 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: [
27
- ConfigurationService,
28
- {
29
- provide: LayerComponent,
30
- useExisting: forwardRef(() => BubbleLayerComponent)
31
- }
32
- ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BubbleLayerComponent, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BubbleLayerComponent, decorators: [{
34
73
  type: Component,
35
74
  args: [{
36
75
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -13,6 +13,8 @@ import * as i1 from "../../common/configuration.service";
13
13
  * @hidden
14
14
  */
15
15
  export class LayerTooltipComponent extends SettingsComponent {
16
+ configurationService;
17
+ layerTooltipTemplate;
16
18
  constructor(configurationService) {
17
19
  super('tooltip', configurationService);
18
20
  this.configurationService = configurationService;
@@ -20,10 +22,10 @@ export class LayerTooltipComponent extends SettingsComponent {
20
22
  get layerTooltipTemplateRef() {
21
23
  return this.layerTooltipTemplate;
22
24
  }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerTooltipComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
26
+ 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 });
23
27
  }
24
- LayerTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayerTooltipComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
25
- 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 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayerTooltipComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayerTooltipComponent, decorators: [{
27
29
  type: Component,
28
30
  args: [{
29
31
  changeDetection: ChangeDetectionStrategy.OnPush,