@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.
- package/fesm2022/progress-kendo-angular-map.mjs +78 -78
- package/index.d.ts +1506 -13
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
- package/schematics/ngAdd/index.js +1 -1
- package/common/collection-item.component.d.ts +0 -40
- package/common/collection.component.d.ts +0 -27
- package/common/collection.service.d.ts +0 -32
- package/common/configuration.service.d.ts +0 -32
- package/common/copy-changes.d.ts +0 -11
- package/common/has-parent.d.ts +0 -8
- package/common/map-instance-observer.d.ts +0 -12
- package/common/settings.component.d.ts +0 -37
- package/common/to-simple-changes.d.ts +0 -11
- package/directives.d.ts +0 -15
- package/events/base-event.d.ts +0 -21
- package/events/before-reset-event.d.ts +0 -17
- package/events/instance-event.service.d.ts +0 -11
- package/events/map-click-event.d.ts +0 -25
- package/events/marker-activate-event.d.ts +0 -25
- package/events/marker-click-event.d.ts +0 -25
- package/events/marker-created-event.d.ts +0 -27
- package/events/pan-end-event.d.ts +0 -29
- package/events/pan-event.d.ts +0 -29
- package/events/preventable-event.d.ts +0 -28
- package/events/reset-event.d.ts +0 -19
- package/events/shape-click-event.d.ts +0 -30
- package/events/shape-created-event.d.ts +0 -34
- package/events/shape-feature-created-event.d.ts +0 -34
- package/events/shape-mouse-enter-event.d.ts +0 -33
- package/events/shape-mouse-leave-event.d.ts +0 -33
- package/events/zoom-end-event.d.ts +0 -21
- package/events/zoom-start-event.d.ts +0 -22
- package/events.d.ts +0 -19
- package/map/bubble-layer.component.d.ts +0 -83
- package/map/layer/tooltip.component.d.ts +0 -21
- package/map/layer.component.d.ts +0 -53
- package/map/layers.component.d.ts +0 -40
- package/map/marker-layer.component.d.ts +0 -64
- package/map/shape-layer.component.d.ts +0 -52
- package/map/tile-layer.component.d.ts +0 -55
- package/map.component.d.ts +0 -372
- package/map.module.d.ts +0 -42
- package/package-metadata.d.ts +0 -9
- package/tooltip/base-tooltip.d.ts +0 -31
- package/tooltip/body-factory.d.ts +0 -9
- package/tooltip/bubble-tooltip-template.directive.d.ts +0 -44
- package/tooltip/bubble-tooltip.component.d.ts +0 -47
- package/tooltip/marker-tooltip-template.directive.d.ts +0 -43
- package/tooltip/marker-tooltip.component.d.ts +0 -47
- package/tooltip/popup-settings.interface.d.ts +0 -18
- package/tooltip/shape-tooltip-template.directive.d.ts +0 -43
- package/tooltip/shape-tooltip.component.d.ts +0 -47
- package/tooltip/tooltip-popup.component.d.ts +0 -34
- package/tooltip/tooltip-template.service.d.ts +0 -16
- package/tooltip.d.ts +0 -11
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeFeatureCreatedEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Group } from '@progress/kendo-drawing';
|
|
7
|
-
import { MapComponent } from '../map.component';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Arguments for the `shapeFeatureCreated` event.
|
|
11
|
-
* Fires when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ShapeFeatureCreatedEvent extends BaseEvent implements MapShapeFeatureCreatedEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The original data item for this Feature. Includes `geometries` and `properties` members.
|
|
16
|
-
*/
|
|
17
|
-
dataItem: any;
|
|
18
|
-
/**
|
|
19
|
-
* The shape layer instance.
|
|
20
|
-
*/
|
|
21
|
-
layer: MapLayer;
|
|
22
|
-
/**
|
|
23
|
-
* The group that contains feature shape instances.
|
|
24
|
-
*/
|
|
25
|
-
group: Group;
|
|
26
|
-
/**
|
|
27
|
-
* A reference to the `dataItem.properties` object.
|
|
28
|
-
*/
|
|
29
|
-
properties: any;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
constructor(e: MapShapeFeatureCreatedEvent, sender: MapComponent);
|
|
34
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeMouseEnterEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Element } from '@progress/kendo-drawing';
|
|
7
|
-
import { MapComponent } from '../map.component';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Arguments for the `shapeMouseEnter` event.
|
|
11
|
-
* Fires when the mouse enters a shape.
|
|
12
|
-
*
|
|
13
|
-
* > This event fires reliably only for shapes that have a set fill color.
|
|
14
|
-
* > You can still set the opacity to 0 so the shapes appear to have no fill.
|
|
15
|
-
*/
|
|
16
|
-
export declare class ShapeMouseEnterEvent extends BaseEvent implements MapShapeMouseEnterEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The shape layer instance.
|
|
19
|
-
*/
|
|
20
|
-
layer: MapLayer;
|
|
21
|
-
/**
|
|
22
|
-
* The shape instance.
|
|
23
|
-
*/
|
|
24
|
-
shape: Element;
|
|
25
|
-
/**
|
|
26
|
-
* The source DOM event instance.
|
|
27
|
-
*/
|
|
28
|
-
originalEvent: any;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
constructor(e: MapShapeMouseEnterEvent, sender: MapComponent);
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeMouseLeaveEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Element } from '@progress/kendo-drawing';
|
|
7
|
-
import { MapComponent } from '../map.component';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Arguments for the `shapeMouseLeave` event.
|
|
11
|
-
* Fires when the mouse leaves a shape.
|
|
12
|
-
*
|
|
13
|
-
* > This event fires reliably only for shapes that have a set fill color.
|
|
14
|
-
* > You can still set the opacity to 0 so the shapes appear to have no fill.
|
|
15
|
-
*/
|
|
16
|
-
export declare class ShapeMouseLeaveEvent extends BaseEvent implements MapShapeMouseLeaveEvent {
|
|
17
|
-
/**
|
|
18
|
-
* The shape layer instance.
|
|
19
|
-
*/
|
|
20
|
-
layer: MapLayer;
|
|
21
|
-
/**
|
|
22
|
-
* The shape instance.
|
|
23
|
-
*/
|
|
24
|
-
shape: Element;
|
|
25
|
-
/**
|
|
26
|
-
* The source DOM event instance.
|
|
27
|
-
*/
|
|
28
|
-
originalEvent: any;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
constructor(e: MapShapeMouseLeaveEvent, sender: MapComponent);
|
|
33
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapZoomEndEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { MapComponent } from '../map.component';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Arguments for the `zoomEnd` event.
|
|
10
|
-
* Fires when the map zoom level changes.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ZoomEndEvent extends BaseEvent implements MapZoomEndEvent {
|
|
13
|
-
/**
|
|
14
|
-
* The source DOM event instance.
|
|
15
|
-
*/
|
|
16
|
-
originalEvent: any;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
constructor(e: MapZoomEndEvent, sender: MapComponent);
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapZoomStartEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { MapComponent } from '../map.component';
|
|
7
|
-
import { PreventableEvent } from './preventable-event';
|
|
8
|
-
/**
|
|
9
|
-
* Arguments for the `zoomStart` event.
|
|
10
|
-
* Fires when the map zoom level is about to change.
|
|
11
|
-
* Cancel the event to prevent the user action.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ZoomStartEvent extends PreventableEvent implements MapZoomStartEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The source DOM event instance.
|
|
16
|
-
*/
|
|
17
|
-
originalEvent: any;
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
constructor(e: MapZoomStartEvent, sender: MapComponent);
|
|
22
|
-
}
|
package/events.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export { BeforeResetEvent } from './events/before-reset-event';
|
|
6
|
-
export { MapClickEvent } from './events/map-click-event';
|
|
7
|
-
export { MarkerActivateEvent } from './events/marker-activate-event';
|
|
8
|
-
export { MarkerClickEvent } from './events/marker-click-event';
|
|
9
|
-
export { MarkerCreatedEvent } from './events/marker-created-event';
|
|
10
|
-
export { PanEndEvent } from './events/pan-end-event';
|
|
11
|
-
export { PanEvent } from './events/pan-event';
|
|
12
|
-
export { ResetEvent } from './events/reset-event';
|
|
13
|
-
export { ShapeClickEvent } from './events/shape-click-event';
|
|
14
|
-
export { ShapeCreatedEvent } from './events/shape-created-event';
|
|
15
|
-
export { ShapeFeatureCreatedEvent } from './events/shape-feature-created-event';
|
|
16
|
-
export { ShapeMouseEnterEvent } from './events/shape-mouse-enter-event';
|
|
17
|
-
export { ShapeMouseLeaveEvent } from './events/shape-mouse-leave-event';
|
|
18
|
-
export { ZoomEndEvent } from './events/zoom-end-event';
|
|
19
|
-
export { ZoomStartEvent } from './events/zoom-start-event';
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { BubbleLayerOptions, BubbleLayerSymbol } from '@progress/kendo-charts';
|
|
7
|
-
import { ShapeOptions } from '@progress/kendo-drawing';
|
|
8
|
-
import { CollectionService } from '../common/collection.service';
|
|
9
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
10
|
-
import { LayerComponent } from './layer.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Kendo UI BubbleLayer component for Angular. Displays data as bubbles on vector shape layers for bubble maps.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```typescript
|
|
17
|
-
* @Component({
|
|
18
|
-
* selector: 'my-app',
|
|
19
|
-
* template: `
|
|
20
|
-
* <kendo-map>
|
|
21
|
-
* <kendo-map-bubble-layer
|
|
22
|
-
* [data]="bubbleData"
|
|
23
|
-
* locationField="location"
|
|
24
|
-
* valueField="population"
|
|
25
|
-
* [maxSize]="50"
|
|
26
|
-
* [minSize]="10">
|
|
27
|
-
* </kendo-map-bubble-layer>
|
|
28
|
-
* </kendo-map>
|
|
29
|
-
* `
|
|
30
|
-
* })
|
|
31
|
-
* export class AppComponent {
|
|
32
|
-
* public bubbleData = [
|
|
33
|
-
* { location: [40.7128, -74.0060], population: 8000000 }
|
|
34
|
-
* ];
|
|
35
|
-
* }
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @remarks
|
|
39
|
-
* Supported children components are: {@link BubbleTooltipComponent}.
|
|
40
|
-
*/
|
|
41
|
-
export declare class BubbleLayerComponent extends LayerComponent implements BubbleLayerOptions {
|
|
42
|
-
protected configurationService: ConfigurationService;
|
|
43
|
-
protected collectionService: CollectionService;
|
|
44
|
-
protected sanitizer: DomSanitizer;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the array of data items for this layer.
|
|
47
|
-
*/
|
|
48
|
-
data?: any[];
|
|
49
|
-
/**
|
|
50
|
-
* Sets the data item field which contains the symbol location.
|
|
51
|
-
* The field should be an array with two numbers — latitude and longitude in decimal degrees.
|
|
52
|
-
*/
|
|
53
|
-
locationField?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Sets the value field for the symbols used to determine their relative size.
|
|
56
|
-
* The data item field should be a number.
|
|
57
|
-
*/
|
|
58
|
-
valueField?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the symbol to use for bubble layers.
|
|
61
|
-
*/
|
|
62
|
-
symbol?: BubbleLayerSymbol;
|
|
63
|
-
/**
|
|
64
|
-
* Sets the default style for symbols.
|
|
65
|
-
*/
|
|
66
|
-
style?: ShapeOptions;
|
|
67
|
-
/**
|
|
68
|
-
* Sets the maximum symbol size for bubble layer symbols.
|
|
69
|
-
*
|
|
70
|
-
* @default 100
|
|
71
|
-
*/
|
|
72
|
-
maxSize?: number;
|
|
73
|
-
/**
|
|
74
|
-
* Sets the minimum symbol size for bubble layer symbols.
|
|
75
|
-
* Setting a non-zero value will distort the symbol area to value ratio.
|
|
76
|
-
*
|
|
77
|
-
* @default 0
|
|
78
|
-
*/
|
|
79
|
-
minSize?: number;
|
|
80
|
-
constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleLayerComponent, never>;
|
|
82
|
-
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>;
|
|
83
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import { ConfigurationService } from '../../common/configuration.service';
|
|
7
|
-
import { SettingsComponent } from '../../common/settings.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* The configuration options of the Map layer tooltip.
|
|
11
|
-
*
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export declare class LayerTooltipComponent extends SettingsComponent {
|
|
15
|
-
configurationService: ConfigurationService;
|
|
16
|
-
layerTooltipTemplate: TemplateRef<any>;
|
|
17
|
-
constructor(configurationService: ConfigurationService);
|
|
18
|
-
get layerTooltipTemplateRef(): TemplateRef<any>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayerTooltipComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayerTooltipComponent, "kendo-map-layer-tooltip", never, {}, {}, ["layerTooltipTemplate"], never, true, never>;
|
|
21
|
-
}
|
package/map/layer.component.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { SimpleChange, TemplateRef } from '@angular/core';
|
|
6
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
|
-
import { Extent, MapLayerType } from '@progress/kendo-charts';
|
|
8
|
-
import { CollectionItemComponent } from '../common/collection-item.component';
|
|
9
|
-
import { CollectionService } from '../common/collection.service';
|
|
10
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
11
|
-
import { LayerTooltipComponent } from './layer/tooltip.component';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class LayerComponent extends CollectionItemComponent {
|
|
17
|
-
protected type: MapLayerType;
|
|
18
|
-
protected configurationService: ConfigurationService;
|
|
19
|
-
protected collectionService: CollectionService;
|
|
20
|
-
protected sanitizer: DomSanitizer;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
attribution: string;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
extent?: Extent | [[number, number], [number, number]];
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
maxZoom?: number;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
minZoom?: number;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
opacity?: number;
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
zIndex: number;
|
|
45
|
-
layerTooltip: LayerTooltipComponent;
|
|
46
|
-
constructor(type: MapLayerType, configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
|
|
47
|
-
ngOnChanges(changes: {
|
|
48
|
-
[propertyName: string]: SimpleChange;
|
|
49
|
-
}): void;
|
|
50
|
-
get layerTooltipTemplateRef(): TemplateRef<any>;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayerComponent, never>;
|
|
52
|
-
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>;
|
|
53
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { CollectionComponent } from '../common/collection.component';
|
|
6
|
-
import { CollectionService } from '../common/collection.service';
|
|
7
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Represents the Kendo UI Layers component for Angular. Contains a collection of one or more map layers.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```typescript
|
|
14
|
-
* @Component({
|
|
15
|
-
* selector: 'my-app',
|
|
16
|
-
* template: `
|
|
17
|
-
* <kendo-map>
|
|
18
|
-
* <kendo-map-layers>
|
|
19
|
-
* <kendo-map-tile-layer [urlTemplate]="tileUrl"></kendo-map-tile-layer>
|
|
20
|
-
* <kendo-map-shape-layer [data]="shapeData"></kendo-map-shape-layer>
|
|
21
|
-
* </kendo-map-layers>
|
|
22
|
-
* </kendo-map>
|
|
23
|
-
* `
|
|
24
|
-
* })
|
|
25
|
-
* export class AppComponent {
|
|
26
|
-
* public tileUrl = (args: any) => `https://tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
|
|
27
|
-
* public shapeData = [];
|
|
28
|
-
* }
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* @remarks
|
|
32
|
-
* Supported children components are: {@link TileLayerComponent}, {@link ShapeLayerComponent}, {@link BubbleLayerComponent}, {@link MarkerLayerComponent}.
|
|
33
|
-
*/
|
|
34
|
-
export declare class LayersComponent extends CollectionComponent {
|
|
35
|
-
protected configurationService: ConfigurationService;
|
|
36
|
-
protected collectionService: CollectionService;
|
|
37
|
-
constructor(configurationService: ConfigurationService, collectionService: CollectionService);
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayersComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayersComponent, "kendo-map-layers", never, {}, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { MarkerLayerOptions } from '@progress/kendo-charts';
|
|
7
|
-
import { CollectionService } from '../common/collection.service';
|
|
8
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
9
|
-
import { LayerComponent } from './layer.component';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the Kendo UI MarkerLayer component for Angular. Displays data as markers on vector shape layers for marker maps.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* @Component({
|
|
17
|
-
* selector: 'my-app',
|
|
18
|
-
* template: `
|
|
19
|
-
* <kendo-map>
|
|
20
|
-
* <kendo-map-marker-layer
|
|
21
|
-
* [data]="markerData"
|
|
22
|
-
* locationField="location"
|
|
23
|
-
* titleField="title"
|
|
24
|
-
* shape="pin">
|
|
25
|
-
* </kendo-map-marker-layer>
|
|
26
|
-
* </kendo-map>
|
|
27
|
-
* `
|
|
28
|
-
* })
|
|
29
|
-
* export class AppComponent {
|
|
30
|
-
* public markerData = [
|
|
31
|
-
* { location: [40.7128, -74.0060], title: "New York" }
|
|
32
|
-
* ];
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @remarks
|
|
37
|
-
* Supported children components are: {@link MarkerTooltipComponent}.
|
|
38
|
-
*/
|
|
39
|
-
export declare class MarkerLayerComponent extends LayerComponent implements MarkerLayerOptions {
|
|
40
|
-
protected configurationService: ConfigurationService;
|
|
41
|
-
protected collectionService: CollectionService;
|
|
42
|
-
protected sanitizer: DomSanitizer;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the array of data items for this layer.
|
|
45
|
-
*/
|
|
46
|
-
data?: any[];
|
|
47
|
-
/**
|
|
48
|
-
* Sets the data item field which contains the marker location.
|
|
49
|
-
* The field should be an array with two numbers — latitude and longitude in decimal degrees.
|
|
50
|
-
*/
|
|
51
|
-
locationField?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the data item field which contains the marker title.
|
|
54
|
-
*/
|
|
55
|
-
titleField?: string;
|
|
56
|
-
/**
|
|
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`.
|
|
59
|
-
*/
|
|
60
|
-
shape?: string | 'pinTarget' | 'pin';
|
|
61
|
-
constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MarkerLayerComponent, never>;
|
|
63
|
-
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>;
|
|
64
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { ShapeLayerOptions } from '@progress/kendo-charts';
|
|
7
|
-
import { ShapeOptions } from '@progress/kendo-drawing';
|
|
8
|
-
import { CollectionService } from '../common/collection.service';
|
|
9
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
10
|
-
import { LayerComponent } from './layer.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
/**
|
|
13
|
-
* Represents the Kendo UI ShapeLayer component for Angular. Defines a vector shape layer bound to GeoJSON data.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```typescript
|
|
17
|
-
* @Component({
|
|
18
|
-
* selector: 'my-app',
|
|
19
|
-
* template: `
|
|
20
|
-
* <kendo-map>
|
|
21
|
-
* <kendo-map-shape-layer
|
|
22
|
-
* [data]="geoJsonData"
|
|
23
|
-
* [style]="shapeStyle">
|
|
24
|
-
* </kendo-map-shape-layer>
|
|
25
|
-
* </kendo-map>
|
|
26
|
-
* `
|
|
27
|
-
* })
|
|
28
|
-
* export class AppComponent {
|
|
29
|
-
* public geoJsonData = { type: "FeatureCollection", features: [] };
|
|
30
|
-
* public shapeStyle = { fill: { color: "#007acc" }, stroke: { color: "#ffffff" } };
|
|
31
|
-
* }
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Supported children components are: {@link ShapeTooltipComponent}.
|
|
36
|
-
*/
|
|
37
|
-
export declare class ShapeLayerComponent extends LayerComponent implements ShapeLayerOptions {
|
|
38
|
-
protected configurationService: ConfigurationService;
|
|
39
|
-
protected collectionService: CollectionService;
|
|
40
|
-
protected sanitizer: DomSanitizer;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the array of data items for this layer.
|
|
43
|
-
*/
|
|
44
|
-
data?: any;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the default style for shapes.
|
|
47
|
-
*/
|
|
48
|
-
style?: ShapeOptions;
|
|
49
|
-
constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShapeLayerComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShapeLayerComponent, "kendo-map-shape-layer", never, { "data": { "alias": "data"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
|
-
import { TileLayerOptions, TileUrlTemplateArgs } from '@progress/kendo-charts';
|
|
7
|
-
import { CollectionService } from '../common/collection.service';
|
|
8
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
9
|
-
import { LayerComponent } from './layer.component';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Represents the Kendo UI TileLayer component for Angular. Displays raster map tiles from various sources.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```typescript
|
|
16
|
-
* @Component({
|
|
17
|
-
* selector: 'my-app',
|
|
18
|
-
* template: `
|
|
19
|
-
* <kendo-map>
|
|
20
|
-
* <kendo-map-tile-layer
|
|
21
|
-
* [urlTemplate]="tileUrlTemplate"
|
|
22
|
-
* [subdomains]="['a', 'b', 'c']"
|
|
23
|
-
* [tileSize]="256">
|
|
24
|
-
* </kendo-map-tile-layer>
|
|
25
|
-
* </kendo-map>
|
|
26
|
-
* `
|
|
27
|
-
* })
|
|
28
|
-
* export class AppComponent {
|
|
29
|
-
* public tileUrlTemplate = (args: any) => `https://${args.subdomain}.tile.openstreetmap.org/${args.z}/${args.x}/${args.y}.png`;
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare class TileLayerComponent extends LayerComponent implements TileLayerOptions {
|
|
34
|
-
protected configurationService: ConfigurationService;
|
|
35
|
-
protected collectionService: CollectionService;
|
|
36
|
-
protected sanitizer: DomSanitizer;
|
|
37
|
-
/**
|
|
38
|
-
* Sets the size of the image tile in pixels.
|
|
39
|
-
*
|
|
40
|
-
* @default 256
|
|
41
|
-
*/
|
|
42
|
-
tileSize: number;
|
|
43
|
-
/**
|
|
44
|
-
* Sets a list of subdomains to use for loading tiles.
|
|
45
|
-
* Alternating between different subdomains allows more requests to execute in parallel.
|
|
46
|
-
*/
|
|
47
|
-
subdomains: string[];
|
|
48
|
-
/**
|
|
49
|
-
* Sets a function that returns an image URL for each tile position.
|
|
50
|
-
*/
|
|
51
|
-
urlTemplate: (args: TileUrlTemplateArgs) => string;
|
|
52
|
-
constructor(configurationService: ConfigurationService, collectionService: CollectionService, sanitizer: DomSanitizer);
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TileLayerComponent, never>;
|
|
54
|
-
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>;
|
|
55
|
-
}
|