@progress/kendo-angular-map 19.1.2-develop.1 → 19.1.2-develop.3

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 (63) hide show
  1. package/directives.d.ts +2 -2
  2. package/esm2022/directives.mjs +2 -2
  3. package/esm2022/events/before-reset-event.mjs +2 -1
  4. package/esm2022/events/map-click-event.mjs +3 -2
  5. package/esm2022/events/marker-activate-event.mjs +2 -1
  6. package/esm2022/events/marker-click-event.mjs +2 -1
  7. package/esm2022/events/marker-created-event.mjs +3 -2
  8. package/esm2022/events/pan-end-event.mjs +3 -2
  9. package/esm2022/events/pan-event.mjs +3 -2
  10. package/esm2022/events/reset-event.mjs +2 -1
  11. package/esm2022/events/shape-click-event.mjs +3 -2
  12. package/esm2022/events/shape-created-event.mjs +3 -2
  13. package/esm2022/events/shape-feature-created-event.mjs +4 -3
  14. package/esm2022/events/shape-mouse-enter-event.mjs +5 -4
  15. package/esm2022/events/shape-mouse-leave-event.mjs +5 -4
  16. package/esm2022/events/zoom-end-event.mjs +3 -2
  17. package/esm2022/events/zoom-start-event.mjs +4 -4
  18. package/esm2022/map/bubble-layer.component.mjs +33 -11
  19. package/esm2022/map/layers.component.mjs +20 -1
  20. package/esm2022/map/marker-layer.component.mjs +29 -9
  21. package/esm2022/map/shape-layer.component.mjs +22 -3
  22. package/esm2022/map/tile-layer.component.mjs +24 -6
  23. package/esm2022/map.component.mjs +70 -69
  24. package/esm2022/map.module.mjs +18 -18
  25. package/esm2022/package-metadata.mjs +2 -2
  26. package/esm2022/tooltip/bubble-tooltip-template.directive.mjs +21 -0
  27. package/esm2022/tooltip/bubble-tooltip.component.mjs +24 -1
  28. package/esm2022/tooltip/marker-tooltip-template.directive.mjs +21 -0
  29. package/esm2022/tooltip/marker-tooltip.component.mjs +24 -1
  30. package/esm2022/tooltip/shape-tooltip-template.directive.mjs +21 -0
  31. package/esm2022/tooltip/shape-tooltip.component.mjs +24 -1
  32. package/events/before-reset-event.d.ts +2 -1
  33. package/events/map-click-event.d.ts +3 -2
  34. package/events/marker-activate-event.d.ts +2 -1
  35. package/events/marker-click-event.d.ts +2 -1
  36. package/events/marker-created-event.d.ts +3 -2
  37. package/events/pan-end-event.d.ts +3 -2
  38. package/events/pan-event.d.ts +3 -2
  39. package/events/reset-event.d.ts +2 -1
  40. package/events/shape-click-event.d.ts +3 -2
  41. package/events/shape-created-event.d.ts +3 -2
  42. package/events/shape-feature-created-event.d.ts +4 -3
  43. package/events/shape-mouse-enter-event.d.ts +5 -4
  44. package/events/shape-mouse-leave-event.d.ts +5 -4
  45. package/events/zoom-end-event.d.ts +3 -2
  46. package/events/zoom-start-event.d.ts +4 -4
  47. package/fesm2022/progress-kendo-angular-map.mjs +402 -157
  48. package/map/bubble-layer.component.d.ts +33 -11
  49. package/map/layers.component.d.ts +20 -1
  50. package/map/marker-layer.component.d.ts +29 -9
  51. package/map/shape-layer.component.d.ts +22 -3
  52. package/map/tile-layer.component.d.ts +24 -6
  53. package/map.component.d.ts +70 -69
  54. package/map.module.d.ts +18 -18
  55. package/package.json +7 -7
  56. package/schematics/ngAdd/index.js +1 -1
  57. package/tooltip/bubble-tooltip-template.directive.d.ts +21 -0
  58. package/tooltip/bubble-tooltip.component.d.ts +24 -1
  59. package/tooltip/marker-tooltip-template.directive.d.ts +21 -0
  60. package/tooltip/marker-tooltip.component.d.ts +24 -1
  61. package/tooltip/popup-settings.interface.d.ts +3 -3
  62. package/tooltip/shape-tooltip-template.directive.d.ts +21 -0
  63. package/tooltip/shape-tooltip.component.d.ts +24 -1
package/directives.d.ts CHANGED
@@ -10,6 +10,6 @@ import { ShapeLayerComponent } from './map/shape-layer.component';
10
10
  import { TileLayerComponent } from './map/tile-layer.component';
11
11
  import { BubbleTooltipComponent, BubbleTooltipTemplateDirective, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeTooltipComponent, ShapeTooltipTemplateDirective } from './tooltip';
12
12
  /**
13
- * Utility array that contains all `Map` related components and directives.
14
- */
13
+ * Utility array that contains all `Map` related components and directives.
14
+ */
15
15
  export 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];
@@ -10,8 +10,8 @@ import { ShapeLayerComponent } from './map/shape-layer.component';
10
10
  import { TileLayerComponent } from './map/tile-layer.component';
11
11
  import { BubbleTooltipComponent, BubbleTooltipTemplateDirective, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeTooltipComponent, ShapeTooltipTemplateDirective, } from './tooltip';
12
12
  /**
13
- * Utility array that contains all `Map` related components and directives.
14
- */
13
+ * Utility array that contains all `Map` related components and directives.
14
+ */
15
15
  export const KENDO_MAP = [
16
16
  BubbleLayerComponent,
17
17
  BubbleTooltipComponent,
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.
7
+ * Arguments for the `beforeReset` event.
8
+ * Fires immediately before the map resets. Layer implementers typically use this event for cleanup.
8
9
  */
9
10
  export class BeforeResetEvent extends BaseEvent {
10
11
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when the user clicks on the map.
7
+ * Arguments for the `mapClick` event.
8
+ * Fires when you click on the map.
8
9
  */
9
10
  export class MapClickEvent extends BaseEvent {
10
11
  /**
@@ -12,7 +13,7 @@ export class MapClickEvent extends BaseEvent {
12
13
  */
13
14
  location;
14
15
  /**
15
- * The source DOM event instance
16
+ * The source DOM event instance.
16
17
  */
17
18
  originalEvent;
18
19
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when a marker has been displayed and has a DOM element assigned.
7
+ * Arguments for the `markerActivate` event.
8
+ * Fires when a marker displays and has a DOM element assigned.
8
9
  */
9
10
  export class MarkerActivateEvent extends BaseEvent {
10
11
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when a marker has been clicked or tapped.
7
+ * Arguments for the `markerClick` event.
8
+ * Fires when the user clicks or taps a marker.
8
9
  */
9
10
  export class MarkerClickEvent extends BaseEvent {
10
11
  /**
@@ -4,9 +4,10 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from './preventable-event';
6
6
  /**
7
- * Fired when a marker has been created and is about to be displayed.
7
+ * Arguments for the `markerCreated` event.
8
+ * Fires once the map has created a marker, and just before the map displays it.
8
9
  *
9
- * Cancelling the event will prevent the marker from being shown.
10
+ * Cancelling the event prevents displaying the marker.
10
11
  */
11
12
  export class MarkerCreatedEvent extends PreventableEvent {
12
13
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fires after the map viewport has been moved.
7
+ * Arguments for the `panEnd` event.
8
+ * Fires after the map viewport completes panning.
8
9
  */
9
10
  export class PanEndEvent extends BaseEvent {
10
11
  /**
@@ -16,7 +17,7 @@ export class PanEndEvent extends BaseEvent {
16
17
  */
17
18
  center;
18
19
  /**
19
- * The source DOM event instance
20
+ * The source DOM event instance.
20
21
  */
21
22
  originalEvent;
22
23
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired while the map viewport is being moved.
7
+ * Arguments for the `pan` event.
8
+ * Fires while the map viewport is being moved.
8
9
  */
9
10
  export class PanEvent extends BaseEvent {
10
11
  /**
@@ -16,7 +17,7 @@ export class PanEvent extends BaseEvent {
16
17
  */
17
18
  center;
18
19
  /**
19
- * The source DOM event instance
20
+ * The source DOM event instance.
20
21
  */
21
22
  originalEvent;
22
23
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when the map is reset.
7
+ * Arguments for the `reset` event.
8
+ * Fires when the map resets.
8
9
  *
9
10
  * This typically occurs on initial load and after a zoom/center change.
10
11
  */
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when a shape is clicked or tapped.
7
+ * Arguments for the `shapeClick` event.
8
+ * Fires when a shape is clicked or tapped.
8
9
  */
9
10
  export class ShapeClickEvent extends BaseEvent {
10
11
  /**
@@ -16,7 +17,7 @@ export class ShapeClickEvent extends BaseEvent {
16
17
  */
17
18
  shape;
18
19
  /**
19
- * The source DOM event instance
20
+ * The source DOM event instance.
20
21
  */
21
22
  originalEvent;
22
23
  /**
@@ -4,7 +4,8 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when a shape is created, but is not rendered yet.
7
+ * Arguments for the `shapeCreated` event.
8
+ * Fires when a shape is created, but is not rendered yet.
8
9
  */
9
10
  export class ShapeCreatedEvent extends BaseEvent {
10
11
  /**
@@ -20,7 +21,7 @@ export class ShapeCreatedEvent extends BaseEvent {
20
21
  */
21
22
  dataItem;
22
23
  /**
23
- * The shape location
24
+ * The shape location.
24
25
  */
25
26
  location;
26
27
  /**
@@ -4,11 +4,12 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
7
+ * Arguments for the `shapeFeatureCreated` event.
8
+ * Fires when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
8
9
  */
9
10
  export class ShapeFeatureCreatedEvent extends BaseEvent {
10
11
  /**
11
- * The original data item for this Feature. Members include `geometries` and `properties`.
12
+ * The original data item for this Feature. Includes `geometries` and `properties` members.
12
13
  */
13
14
  dataItem;
14
15
  /**
@@ -16,7 +17,7 @@ export class ShapeFeatureCreatedEvent extends BaseEvent {
16
17
  */
17
18
  layer;
18
19
  /**
19
- * The group containing feature shape instances.
20
+ * The group that contains feature shape instances.
20
21
  */
21
22
  group;
22
23
  /**
@@ -4,10 +4,11 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when the mouse enters a shape.
7
+ * Arguments for the `shapeMouseEnter` event.
8
+ * Fires when the mouse enters a shape.
8
9
  *
9
- * > This event will fire reliably only for shapes that have set fill color.
10
- * > The opacity can still be set to 0 so the shapes appear to have no fill.
10
+ * > This event fires reliably only for shapes that have a set fill color.
11
+ * > You can still set the opacity to 0 so the shapes appear to have no fill.
11
12
  */
12
13
  export class ShapeMouseEnterEvent extends BaseEvent {
13
14
  /**
@@ -19,7 +20,7 @@ export class ShapeMouseEnterEvent extends BaseEvent {
19
20
  */
20
21
  shape;
21
22
  /**
22
- * The source DOM event instance
23
+ * The source DOM event instance.
23
24
  */
24
25
  originalEvent;
25
26
  /**
@@ -4,10 +4,11 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when the mouse leaves a shape.
7
+ * Arguments for the `shapeMouseLeave` event.
8
+ * Fires when the mouse leaves a shape.
8
9
  *
9
- * > This event will fire reliably only for shapes that have set fill color.
10
- * > The opacity can still be set to 0 so the shapes appear to have no fill.
10
+ * > This event fires reliably only for shapes that have a set fill color.
11
+ * > You can still set the opacity to 0 so the shapes appear to have no fill.
11
12
  */
12
13
  export class ShapeMouseLeaveEvent extends BaseEvent {
13
14
  /**
@@ -19,7 +20,7 @@ export class ShapeMouseLeaveEvent extends BaseEvent {
19
20
  */
20
21
  shape;
21
22
  /**
22
- * The source DOM event instance
23
+ * The source DOM event instance.
23
24
  */
24
25
  originalEvent;
25
26
  /**
@@ -4,11 +4,12 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { BaseEvent } from './base-event';
6
6
  /**
7
- * Fired when the map zoom level has changed.
7
+ * Arguments for the `zoomEnd` event.
8
+ * Fires when the map zoom level changes.
8
9
  */
9
10
  export class ZoomEndEvent extends BaseEvent {
10
11
  /**
11
- * The source DOM event instance
12
+ * The source DOM event instance.
12
13
  */
13
14
  originalEvent;
14
15
  /**
@@ -4,13 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from './preventable-event';
6
6
  /**
7
- * Fired when the map zoom level is about to change.
8
- *
9
- * Cancelling the event will prevent the user action.
7
+ * Arguments for the `zoomStart` event.
8
+ * Fires when the map zoom level is about to change.
9
+ * Cancel the event to prevent the user action.
10
10
  */
11
11
  export class ZoomStartEvent extends PreventableEvent {
12
12
  /**
13
- * The source DOM event instance
13
+ * The source DOM event instance.
14
14
  */
15
15
  originalEvent;
16
16
  /**
@@ -12,44 +12,66 @@ import * as i1 from "../common/configuration.service";
12
12
  import * as i2 from "../common/collection.service";
13
13
  import * as i3 from "@angular/platform-browser";
14
14
  /**
15
- * A vector shape layer for bubble maps. [See example](slug:bubble_layers_map).
15
+ * Represents the Kendo UI BubbleLayer component for Angular. Displays data as bubbles on vector shape layers for bubble maps.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * @Component({
20
+ * selector: 'my-app',
21
+ * template: `
22
+ * <kendo-map>
23
+ * <kendo-map-bubble-layer
24
+ * [data]="bubbleData"
25
+ * locationField="location"
26
+ * valueField="population"
27
+ * [maxSize]="50"
28
+ * [minSize]="10">
29
+ * </kendo-map-bubble-layer>
30
+ * </kendo-map>
31
+ * `
32
+ * })
33
+ * export class AppComponent {
34
+ * public bubbleData = [
35
+ * { location: [40.7128, -74.0060], population: 8000000 }
36
+ * ];
37
+ * }
38
+ * ```
16
39
  */
17
40
  export class BubbleLayerComponent extends LayerComponent {
18
41
  configurationService;
19
42
  collectionService;
20
43
  sanitizer;
21
44
  /**
22
- * The array of data items for this layer.
45
+ * Sets the array of data items for this layer.
23
46
  */
24
47
  data;
25
48
  /**
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.
49
+ * Sets the data item field which contains the symbol location.
50
+ * The field should be an array with two numbers &mdash; latitude and longitude in decimal degrees.
29
51
  */
30
52
  locationField;
31
53
  /**
32
- * The value field for the symbols used to determine their relative size.
54
+ * Sets the value field for the symbols used to determine their relative size.
33
55
  * The data item field should be a number.
34
56
  */
35
57
  valueField;
36
58
  /**
37
- * The symbol to use for bubble layers.
59
+ * Sets the symbol to use for bubble layers.
38
60
  */
39
61
  symbol;
40
62
  /**
41
- * The default style for symbols.
63
+ * Sets the default style for symbols.
42
64
  */
43
65
  style;
44
66
  /**
45
- * The maximum symbol size for bubble layer symbols.
67
+ * Sets the maximum symbol size for bubble layer symbols.
46
68
  *
47
69
  * @default 100
48
70
  */
49
71
  maxSize;
50
72
  /**
51
- * The minimum symbol size for bubble layer symbols.
52
- * Setting non-zero value will distort symbol area to value ratio.
73
+ * Sets the minimum symbol size for bubble layer symbols.
74
+ * Setting a non-zero value will distort the symbol area to value ratio.
53
75
  *
54
76
  * @default 0
55
77
  */
@@ -10,7 +10,26 @@ import * as i0 from "@angular/core";
10
10
  import * as i1 from "../common/configuration.service";
11
11
  import * as i2 from "../common/collection.service";
12
12
  /**
13
- * A collection of one or more layers.
13
+ * Represents the Kendo UI Layers component for Angular. Contains a collection of one or more map layers.
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * @Component({
18
+ * selector: 'my-app',
19
+ * template: `
20
+ * <kendo-map>
21
+ * <kendo-map-layers>
22
+ * <kendo-map-tile-layer [urlTemplate]="tileUrl"></kendo-map-tile-layer>
23
+ * <kendo-map-shape-layer [data]="shapeData"></kendo-map-shape-layer>
24
+ * </kendo-map-layers>
25
+ * </kendo-map>
26
+ * `
27
+ * })
28
+ * export class AppComponent {
29
+ * public tileUrl = (args: any) => `https://tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
30
+ * public shapeData = [];
31
+ * }
32
+ * ```
14
33
  */
15
34
  export class LayersComponent extends CollectionComponent {
16
35
  configurationService;
@@ -12,30 +12,50 @@ import * as i1 from "../common/configuration.service";
12
12
  import * as i2 from "../common/collection.service";
13
13
  import * as i3 from "@angular/platform-browser";
14
14
  /**
15
- * A vector shape layer for bubble maps. [See example](slug:marker_layers_map).
15
+ * Represents the Kendo UI MarkerLayer component for Angular. Displays data as markers on vector shape layers for marker maps.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * @Component({
20
+ * selector: 'my-app',
21
+ * template: `
22
+ * <kendo-map>
23
+ * <kendo-map-marker-layer
24
+ * [data]="markerData"
25
+ * locationField="location"
26
+ * titleField="title"
27
+ * shape="pin">
28
+ * </kendo-map-marker-layer>
29
+ * </kendo-map>
30
+ * `
31
+ * })
32
+ * export class AppComponent {
33
+ * public markerData = [
34
+ * { location: [40.7128, -74.0060], title: "New York" }
35
+ * ];
36
+ * }
37
+ * ```
16
38
  */
17
39
  export class MarkerLayerComponent extends LayerComponent {
18
40
  configurationService;
19
41
  collectionService;
20
42
  sanitizer;
21
43
  /**
22
- * The array of data items for this layer.
44
+ * Sets the array of data items for this layer.
23
45
  */
24
46
  data;
25
47
  /**
26
- * The data item field which contains the marker location.
27
- *
28
- * The field should be an array with two numbers - latitude and longitude in decimal degrees.
48
+ * Sets the data item field which contains the marker location.
49
+ * The field should be an array with two numbers &mdash; latitude and longitude in decimal degrees.
29
50
  */
30
51
  locationField;
31
52
  /**
32
- * The data item field which contains the marker title.
53
+ * Sets the data item field which contains the marker title.
33
54
  */
34
55
  titleField;
35
56
  /**
36
- * The default marker shape for data-bound markers. Supported marker shapes are "pinTarget and "pin".
37
- *
38
- * Marker shapes are implemented as CSS classes on the marker element (`span.k-marker`). For example "pinTarget" is rendered as `k-marker-pin-target`.
57
+ * Sets the default marker shape for data-bound markers. Supported marker shapes are `pinTarget` and `pin`.
58
+ * Marker shapes are implemented as CSS classes on the marker element (`span.k-marker`). For example `pinTarget` is rendered as `k-marker-pin-target`.
39
59
  */
40
60
  shape;
41
61
  constructor(configurationService, collectionService, sanitizer) {
@@ -12,18 +12,37 @@ import * as i1 from "../common/configuration.service";
12
12
  import * as i2 from "../common/collection.service";
13
13
  import * as i3 from "@angular/platform-browser";
14
14
  /**
15
- * Defines a vector shape layer bound to GeoJSON data. [See example](slug:shape_layers_map).
15
+ * Represents the Kendo UI ShapeLayer component for Angular. Defines a vector shape layer bound to GeoJSON data.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * @Component({
20
+ * selector: 'my-app',
21
+ * template: `
22
+ * <kendo-map>
23
+ * <kendo-map-shape-layer
24
+ * [data]="geoJsonData"
25
+ * [style]="shapeStyle">
26
+ * </kendo-map-shape-layer>
27
+ * </kendo-map>
28
+ * `
29
+ * })
30
+ * export class AppComponent {
31
+ * public geoJsonData = { type: "FeatureCollection", features: [] };
32
+ * public shapeStyle = { fill: { color: "#007acc" }, stroke: { color: "#ffffff" } };
33
+ * }
34
+ * ```
16
35
  */
17
36
  export class ShapeLayerComponent extends LayerComponent {
18
37
  configurationService;
19
38
  collectionService;
20
39
  sanitizer;
21
40
  /**
22
- * The array of data items for this layer.
41
+ * Sets the array of data items for this layer.
23
42
  */
24
43
  data;
25
44
  /**
26
- * The default style for shapes.
45
+ * Sets the default style for shapes.
27
46
  */
28
47
  style;
29
48
  constructor(configurationService, collectionService, sanitizer) {
@@ -12,26 +12,44 @@ import * as i1 from "../common/configuration.service";
12
12
  import * as i2 from "../common/collection.service";
13
13
  import * as i3 from "@angular/platform-browser";
14
14
  /**
15
- * Defines a vector shape layer bound to GeoJSON data. [See example](slug:tile_layers_map).
15
+ * Represents the Kendo UI TileLayer component for Angular. Displays raster map tiles from various sources.
16
+ *
17
+ * @example
18
+ * ```typescript
19
+ * @Component({
20
+ * selector: 'my-app',
21
+ * template: `
22
+ * <kendo-map>
23
+ * <kendo-map-tile-layer
24
+ * [urlTemplate]="tileUrlTemplate"
25
+ * [subdomains]="['a', 'b', 'c']"
26
+ * [tileSize]="256">
27
+ * </kendo-map-tile-layer>
28
+ * </kendo-map>
29
+ * `
30
+ * })
31
+ * export class AppComponent {
32
+ * public tileUrlTemplate = (args: any) => `https://${args.subdomain}.tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
33
+ * }
34
+ * ```
16
35
  */
17
36
  export class TileLayerComponent extends LayerComponent {
18
37
  configurationService;
19
38
  collectionService;
20
39
  sanitizer;
21
40
  /**
22
- * The size of the image tile in pixels.
41
+ * Sets the size of the image tile in pixels.
23
42
  *
24
43
  * @default 256
25
44
  */
26
45
  tileSize;
27
46
  /**
28
- * A list of subdomains to use for loading tiles.
29
- *
30
- * Alternating between different subdomains allows more requests to be executed in parallel.
47
+ * Sets a list of subdomains to use for loading tiles.
48
+ * Alternating between different subdomains allows more requests to execute in parallel.
31
49
  */
32
50
  subdomains;
33
51
  /**
34
- * A function that returns an image URL for each tile position.
52
+ * Sets a function that returns an image URL for each tile position.
35
53
  */
36
54
  urlTemplate;
37
55
  constructor(configurationService, collectionService, sanitizer) {