@progress/kendo-angular-map 21.4.1 → 22.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/collection-item.component.d.ts +1 -1
- package/common/collection.component.d.ts +1 -1
- package/common/settings.component.d.ts +1 -1
- package/events/base-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-map.mjs +80 -80
- package/map/layer.component.d.ts +1 -1
- package/package.json +11 -19
- package/schematics/ngAdd/index.js +1 -1
- package/tooltip/base-tooltip.d.ts +1 -1
- package/esm2022/common/collection-item.component.mjs +0 -64
- package/esm2022/common/collection.component.mjs +0 -66
- package/esm2022/common/collection.service.mjs +0 -37
- package/esm2022/common/configuration.service.mjs +0 -62
- package/esm2022/common/copy-changes.mjs +0 -21
- package/esm2022/common/has-parent.mjs +0 -14
- package/esm2022/common/map-instance-observer.mjs +0 -21
- package/esm2022/common/settings.component.mjs +0 -61
- package/esm2022/common/to-simple-changes.mjs +0 -18
- package/esm2022/directives.mjs +0 -28
- package/esm2022/events/base-event.mjs +0 -26
- package/esm2022/events/before-reset-event.mjs +0 -17
- package/esm2022/events/instance-event.service.mjs +0 -32
- package/esm2022/events/map-click-event.mjs +0 -27
- package/esm2022/events/marker-activate-event.mjs +0 -27
- package/esm2022/events/marker-click-event.mjs +0 -27
- package/esm2022/events/marker-created-event.mjs +0 -29
- package/esm2022/events/pan-end-event.mjs +0 -32
- package/esm2022/events/pan-event.mjs +0 -32
- package/esm2022/events/preventable-event.mjs +0 -36
- package/esm2022/events/reset-event.mjs +0 -19
- package/esm2022/events/shape-click-event.mjs +0 -32
- package/esm2022/events/shape-created-event.mjs +0 -37
- package/esm2022/events/shape-feature-created-event.mjs +0 -37
- package/esm2022/events/shape-mouse-enter-event.mjs +0 -35
- package/esm2022/events/shape-mouse-leave-event.mjs +0 -35
- package/esm2022/events/zoom-end-event.mjs +0 -22
- package/esm2022/events/zoom-start-event.mjs +0 -23
- package/esm2022/events.mjs +0 -19
- package/esm2022/index.mjs +0 -17
- package/esm2022/map/bubble-layer.component.mjs +0 -126
- package/esm2022/map/layer/tooltip.component.mjs +0 -39
- package/esm2022/map/layer.component.mjs +0 -89
- package/esm2022/map/layers.component.mjs +0 -57
- package/esm2022/map/marker-layer.component.mjs +0 -102
- package/esm2022/map/shape-layer.component.mjs +0 -85
- package/esm2022/map/tile-layer.component.mjs +0 -91
- package/esm2022/map.component.mjs +0 -694
- package/esm2022/map.module.mjs +0 -55
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-map.mjs +0 -8
- package/esm2022/tooltip/base-tooltip.mjs +0 -102
- package/esm2022/tooltip/body-factory.mjs +0 -14
- package/esm2022/tooltip/bubble-tooltip-template.directive.mjs +0 -55
- package/esm2022/tooltip/bubble-tooltip.component.mjs +0 -68
- package/esm2022/tooltip/marker-tooltip-template.directive.mjs +0 -54
- package/esm2022/tooltip/marker-tooltip.component.mjs +0 -68
- package/esm2022/tooltip/popup-settings.interface.mjs +0 -5
- package/esm2022/tooltip/shape-tooltip-template.directive.mjs +0 -54
- package/esm2022/tooltip/shape-tooltip.component.mjs +0 -68
- package/esm2022/tooltip/tooltip-popup.component.mjs +0 -120
- package/esm2022/tooltip/tooltip-template.service.mjs +0 -27
- package/esm2022/tooltip.mjs +0 -11
|
@@ -1,36 +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 { Directive } from '@angular/core';
|
|
6
|
-
import { BaseEvent } from './base-event';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class PreventableEvent extends BaseEvent {
|
|
12
|
-
prevented = false;
|
|
13
|
-
/**
|
|
14
|
-
* Prevents the default action for a specified event.
|
|
15
|
-
* In this way, the source component suppresses
|
|
16
|
-
* the built-in behavior that follows the event.
|
|
17
|
-
*/
|
|
18
|
-
preventDefault() {
|
|
19
|
-
this.prevented = true;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Returns `true` if the event was prevented
|
|
23
|
-
* by any of its subscribers.
|
|
24
|
-
*
|
|
25
|
-
* @returns `true` if the default action was prevented.
|
|
26
|
-
* Otherwise, returns `false`.
|
|
27
|
-
*/
|
|
28
|
-
isDefaultPrevented() {
|
|
29
|
-
return this.prevented;
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PreventableEvent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: PreventableEvent, usesInheritance: true, ngImport: i0 });
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PreventableEvent, decorators: [{
|
|
35
|
-
type: Directive
|
|
36
|
-
}] });
|
|
@@ -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
|
-
import { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `reset` event.
|
|
8
|
-
* Fires when the map resets.
|
|
9
|
-
*
|
|
10
|
-
* This typically occurs on initial load and after a zoom/center change.
|
|
11
|
-
*/
|
|
12
|
-
export class ResetEvent extends BaseEvent {
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
constructor(_, sender) {
|
|
17
|
-
super(sender);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,32 +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 { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `shapeClick` event.
|
|
8
|
-
* Fires when a shape is clicked or tapped.
|
|
9
|
-
*/
|
|
10
|
-
export class ShapeClickEvent extends BaseEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The shape layer instance.
|
|
13
|
-
*/
|
|
14
|
-
layer;
|
|
15
|
-
/**
|
|
16
|
-
* The shape instance.
|
|
17
|
-
*/
|
|
18
|
-
shape;
|
|
19
|
-
/**
|
|
20
|
-
* The source DOM event instance.
|
|
21
|
-
*/
|
|
22
|
-
originalEvent;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
constructor(e, sender) {
|
|
27
|
-
super(sender);
|
|
28
|
-
this.layer = e.layer;
|
|
29
|
-
this.shape = e.shape;
|
|
30
|
-
this.originalEvent = e.originalEvent;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,37 +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 { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `shapeCreated` event.
|
|
8
|
-
* Fires when a shape is created, but is not rendered yet.
|
|
9
|
-
*/
|
|
10
|
-
export class ShapeCreatedEvent extends BaseEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The shape layer instance.
|
|
13
|
-
*/
|
|
14
|
-
layer;
|
|
15
|
-
/**
|
|
16
|
-
* The shape instance.
|
|
17
|
-
*/
|
|
18
|
-
shape;
|
|
19
|
-
/**
|
|
20
|
-
* The original data item for this Shape.
|
|
21
|
-
*/
|
|
22
|
-
dataItem;
|
|
23
|
-
/**
|
|
24
|
-
* The shape location.
|
|
25
|
-
*/
|
|
26
|
-
location;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
constructor(e, sender) {
|
|
31
|
-
super(sender);
|
|
32
|
-
this.layer = e.layer;
|
|
33
|
-
this.shape = e.shape;
|
|
34
|
-
this.dataItem = e.shape.dataItem;
|
|
35
|
-
this.location = e.shape.location;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,37 +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 { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
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.
|
|
9
|
-
*/
|
|
10
|
-
export class ShapeFeatureCreatedEvent extends BaseEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The original data item for this Feature. Includes `geometries` and `properties` members.
|
|
13
|
-
*/
|
|
14
|
-
dataItem;
|
|
15
|
-
/**
|
|
16
|
-
* The shape layer instance.
|
|
17
|
-
*/
|
|
18
|
-
layer;
|
|
19
|
-
/**
|
|
20
|
-
* The group that contains feature shape instances.
|
|
21
|
-
*/
|
|
22
|
-
group;
|
|
23
|
-
/**
|
|
24
|
-
* A reference to the `dataItem.properties` object.
|
|
25
|
-
*/
|
|
26
|
-
properties;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
constructor(e, sender) {
|
|
31
|
-
super(sender);
|
|
32
|
-
this.dataItem = e.dataItem;
|
|
33
|
-
this.layer = e.layer;
|
|
34
|
-
this.group = e.group;
|
|
35
|
-
this.properties = e.properties;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,35 +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 { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `shapeMouseEnter` event.
|
|
8
|
-
* Fires when the mouse enters a shape.
|
|
9
|
-
*
|
|
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.
|
|
12
|
-
*/
|
|
13
|
-
export class ShapeMouseEnterEvent extends BaseEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The shape layer instance.
|
|
16
|
-
*/
|
|
17
|
-
layer;
|
|
18
|
-
/**
|
|
19
|
-
* The shape instance.
|
|
20
|
-
*/
|
|
21
|
-
shape;
|
|
22
|
-
/**
|
|
23
|
-
* The source DOM event instance.
|
|
24
|
-
*/
|
|
25
|
-
originalEvent;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
constructor(e, sender) {
|
|
30
|
-
super(sender);
|
|
31
|
-
this.layer = e.layer;
|
|
32
|
-
this.shape = e.shape;
|
|
33
|
-
this.originalEvent = e.originalEvent;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,35 +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 { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `shapeMouseLeave` event.
|
|
8
|
-
* Fires when the mouse leaves a shape.
|
|
9
|
-
*
|
|
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.
|
|
12
|
-
*/
|
|
13
|
-
export class ShapeMouseLeaveEvent extends BaseEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The shape layer instance.
|
|
16
|
-
*/
|
|
17
|
-
layer;
|
|
18
|
-
/**
|
|
19
|
-
* The shape instance.
|
|
20
|
-
*/
|
|
21
|
-
shape;
|
|
22
|
-
/**
|
|
23
|
-
* The source DOM event instance.
|
|
24
|
-
*/
|
|
25
|
-
originalEvent;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
constructor(e, sender) {
|
|
30
|
-
super(sender);
|
|
31
|
-
this.layer = e.layer;
|
|
32
|
-
this.shape = e.shape;
|
|
33
|
-
this.originalEvent = e.originalEvent;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -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 { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for the `zoomEnd` event.
|
|
8
|
-
* Fires when the map zoom level changes.
|
|
9
|
-
*/
|
|
10
|
-
export class ZoomEndEvent extends BaseEvent {
|
|
11
|
-
/**
|
|
12
|
-
* The source DOM event instance.
|
|
13
|
-
*/
|
|
14
|
-
originalEvent;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
constructor(e, sender) {
|
|
19
|
-
super(sender);
|
|
20
|
-
this.originalEvent = e.originalEvent;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,23 +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 { PreventableEvent } from './preventable-event';
|
|
6
|
-
/**
|
|
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
|
-
*/
|
|
11
|
-
export class ZoomStartEvent extends PreventableEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The source DOM event instance.
|
|
14
|
-
*/
|
|
15
|
-
originalEvent;
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
constructor(e, sender) {
|
|
20
|
-
super(sender);
|
|
21
|
-
this.originalEvent = e.originalEvent;
|
|
22
|
-
}
|
|
23
|
-
}
|
package/esm2022/events.mjs
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';
|
package/esm2022/index.mjs
DELETED
|
@@ -1,17 +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 { 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 { Location, Extent } from '@progress/kendo-charts';
|
|
17
|
-
export * from './directives';
|
|
@@ -1,126 +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 { ChangeDetectionStrategy, Component, forwardRef, Input } from '@angular/core';
|
|
6
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
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
|
-
import * as i1 from "../common/configuration.service";
|
|
12
|
-
import * as i2 from "../common/collection.service";
|
|
13
|
-
import * as i3 from "@angular/platform-browser";
|
|
14
|
-
/**
|
|
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
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @remarks
|
|
41
|
-
* Supported children components are: {@link BubbleTooltipComponent}.
|
|
42
|
-
*/
|
|
43
|
-
export class BubbleLayerComponent extends LayerComponent {
|
|
44
|
-
configurationService;
|
|
45
|
-
collectionService;
|
|
46
|
-
sanitizer;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the array of data items for this layer.
|
|
49
|
-
*/
|
|
50
|
-
data;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the data item field which contains the symbol location.
|
|
53
|
-
* The field should be an array with two numbers — latitude and longitude in decimal degrees.
|
|
54
|
-
*/
|
|
55
|
-
locationField;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the value field for the symbols used to determine their relative size.
|
|
58
|
-
* The data item field should be a number.
|
|
59
|
-
*/
|
|
60
|
-
valueField;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the symbol to use for bubble layers.
|
|
63
|
-
*/
|
|
64
|
-
symbol;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the default style for symbols.
|
|
67
|
-
*/
|
|
68
|
-
style;
|
|
69
|
-
/**
|
|
70
|
-
* Sets the maximum symbol size for bubble layer symbols.
|
|
71
|
-
*
|
|
72
|
-
* @default 100
|
|
73
|
-
*/
|
|
74
|
-
maxSize;
|
|
75
|
-
/**
|
|
76
|
-
* Sets the minimum symbol size for bubble layer symbols.
|
|
77
|
-
* Setting a non-zero value will distort the symbol area to value ratio.
|
|
78
|
-
*
|
|
79
|
-
* @default 0
|
|
80
|
-
*/
|
|
81
|
-
minSize;
|
|
82
|
-
constructor(configurationService, collectionService, sanitizer) {
|
|
83
|
-
super('bubble', configurationService, collectionService, sanitizer);
|
|
84
|
-
this.configurationService = configurationService;
|
|
85
|
-
this.collectionService = collectionService;
|
|
86
|
-
this.sanitizer = sanitizer;
|
|
87
|
-
}
|
|
88
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BubbleLayerComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
89
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [
|
|
90
|
-
ConfigurationService,
|
|
91
|
-
{
|
|
92
|
-
provide: LayerComponent,
|
|
93
|
-
useExisting: forwardRef(() => BubbleLayerComponent)
|
|
94
|
-
}
|
|
95
|
-
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
96
|
-
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BubbleLayerComponent, decorators: [{
|
|
98
|
-
type: Component,
|
|
99
|
-
args: [{
|
|
100
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
101
|
-
providers: [
|
|
102
|
-
ConfigurationService,
|
|
103
|
-
{
|
|
104
|
-
provide: LayerComponent,
|
|
105
|
-
useExisting: forwardRef(() => BubbleLayerComponent)
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
selector: 'kendo-map-bubble-layer',
|
|
109
|
-
template: '',
|
|
110
|
-
standalone: true
|
|
111
|
-
}]
|
|
112
|
-
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i2.CollectionService }, { type: i3.DomSanitizer }], propDecorators: { data: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], locationField: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], valueField: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], symbol: [{
|
|
119
|
-
type: Input
|
|
120
|
-
}], style: [{
|
|
121
|
-
type: Input
|
|
122
|
-
}], maxSize: [{
|
|
123
|
-
type: Input
|
|
124
|
-
}], minSize: [{
|
|
125
|
-
type: Input
|
|
126
|
-
}] } });
|
|
@@ -1,39 +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 { ChangeDetectionStrategy, Component, ContentChild, 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
|
-
import * as i1 from "../../common/configuration.service";
|
|
10
|
-
/**
|
|
11
|
-
* The configuration options of the Map layer tooltip.
|
|
12
|
-
*
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export class LayerTooltipComponent extends SettingsComponent {
|
|
16
|
-
configurationService;
|
|
17
|
-
layerTooltipTemplate;
|
|
18
|
-
constructor(configurationService) {
|
|
19
|
-
super('tooltip', configurationService);
|
|
20
|
-
this.configurationService = configurationService;
|
|
21
|
-
}
|
|
22
|
-
get layerTooltipTemplateRef() {
|
|
23
|
-
return this.layerTooltipTemplate;
|
|
24
|
-
}
|
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LayerTooltipComponent, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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 });
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LayerTooltipComponent, decorators: [{
|
|
29
|
-
type: Component,
|
|
30
|
-
args: [{
|
|
31
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
-
selector: 'kendo-map-layer-tooltip',
|
|
33
|
-
template: '',
|
|
34
|
-
standalone: true
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: () => [{ type: i1.ConfigurationService }], propDecorators: { layerTooltipTemplate: [{
|
|
37
|
-
type: ContentChild,
|
|
38
|
-
args: [TemplateRef, { static: false }]
|
|
39
|
-
}] } });
|
|
@@ -1,89 +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 { ContentChild, Directive, Input, SecurityContext } from '@angular/core';
|
|
6
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
7
|
-
import { CollectionItemComponent } from '../common/collection-item.component';
|
|
8
|
-
import { CollectionService } from '../common/collection.service';
|
|
9
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
10
|
-
import { LayerTooltipComponent } from './layer/tooltip.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "../common/configuration.service";
|
|
13
|
-
import * as i2 from "../common/collection.service";
|
|
14
|
-
import * as i3 from "@angular/platform-browser";
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export class LayerComponent extends CollectionItemComponent {
|
|
19
|
-
type;
|
|
20
|
-
configurationService;
|
|
21
|
-
collectionService;
|
|
22
|
-
sanitizer;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
attribution;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
extent;
|
|
31
|
-
/**
|
|
32
|
-
* @hidden
|
|
33
|
-
*/
|
|
34
|
-
maxZoom;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
minZoom;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
opacity;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
zIndex;
|
|
47
|
-
layerTooltip;
|
|
48
|
-
constructor(type, configurationService, collectionService, sanitizer) {
|
|
49
|
-
super(configurationService, collectionService);
|
|
50
|
-
this.type = type;
|
|
51
|
-
this.configurationService = configurationService;
|
|
52
|
-
this.collectionService = collectionService;
|
|
53
|
-
this.sanitizer = sanitizer;
|
|
54
|
-
}
|
|
55
|
-
ngOnChanges(changes) {
|
|
56
|
-
const store = this.configurationService.store;
|
|
57
|
-
store.type = this.type;
|
|
58
|
-
const attrChange = changes['attribution'];
|
|
59
|
-
if (attrChange && this.sanitizer) {
|
|
60
|
-
attrChange.currentValue = this.sanitizer.sanitize(SecurityContext.HTML, attrChange.currentValue);
|
|
61
|
-
}
|
|
62
|
-
super.ngOnChanges(changes);
|
|
63
|
-
}
|
|
64
|
-
get layerTooltipTemplateRef() {
|
|
65
|
-
if (this.layerTooltip) {
|
|
66
|
-
return this.layerTooltip.layerTooltipTemplateRef;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LayerComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
70
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LayerComponent, inputs: { attribution: "attribution", extent: "extent", maxZoom: "maxZoom", minZoom: "minZoom", opacity: "opacity", zIndex: "zIndex" }, queries: [{ propertyName: "layerTooltip", first: true, predicate: LayerTooltipComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
71
|
-
}
|
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LayerComponent, decorators: [{
|
|
73
|
-
type: Directive
|
|
74
|
-
}], ctorParameters: () => [{ type: undefined }, { type: i1.ConfigurationService }, { type: i2.CollectionService }, { type: i3.DomSanitizer }], propDecorators: { attribution: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], extent: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], maxZoom: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], minZoom: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], opacity: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], zIndex: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], layerTooltip: [{
|
|
87
|
-
type: ContentChild,
|
|
88
|
-
args: [LayerTooltipComponent, { static: false }]
|
|
89
|
-
}] } });
|
|
@@ -1,57 +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 { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
6
|
-
import { CollectionComponent } from '../common/collection.component';
|
|
7
|
-
import { CollectionService } from '../common/collection.service';
|
|
8
|
-
import { ConfigurationService } from '../common/configuration.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "../common/configuration.service";
|
|
11
|
-
import * as i2 from "../common/collection.service";
|
|
12
|
-
/**
|
|
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
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Supported children components are: {@link TileLayerComponent}, {@link ShapeLayerComponent}, {@link BubbleLayerComponent}, {@link MarkerLayerComponent}.
|
|
36
|
-
*/
|
|
37
|
-
export class LayersComponent extends CollectionComponent {
|
|
38
|
-
configurationService;
|
|
39
|
-
collectionService;
|
|
40
|
-
constructor(configurationService, collectionService) {
|
|
41
|
-
super('layers', configurationService, collectionService);
|
|
42
|
-
this.configurationService = configurationService;
|
|
43
|
-
this.collectionService = collectionService;
|
|
44
|
-
}
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LayersComponent, deps: [{ token: i1.ConfigurationService }, { token: i2.CollectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: LayersComponent, isStandalone: true, selector: "kendo-map-layers", providers: [CollectionService], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
-
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LayersComponent, decorators: [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{
|
|
51
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
52
|
-
providers: [CollectionService],
|
|
53
|
-
selector: 'kendo-map-layers',
|
|
54
|
-
template: '',
|
|
55
|
-
standalone: true
|
|
56
|
-
}]
|
|
57
|
-
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i2.CollectionService }] });
|