@progress/kendo-react-map 13.3.0 → 13.4.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/Map.d.ts +200 -0
- package/Map.mjs +9 -9
- package/MapContext.d.ts +22 -0
- package/MapProps.d.ts +122 -0
- package/common/events.d.ts +22 -0
- package/common/map-types.d.ts +8 -0
- package/components/BubbleLayer.d.ts +26 -0
- package/components/BubbleLayerTooltip.d.ts +25 -0
- package/components/Layers.d.ts +25 -0
- package/components/MarkerLayer.d.ts +26 -0
- package/components/MarkerLayerTooltip.d.ts +25 -0
- package/components/ShapeLayer.d.ts +26 -0
- package/components/ShapeLayerTooltip.d.ts +25 -0
- package/components/TileLayer.d.ts +19 -0
- package/components/base/CollectionConfigurationComponent.d.ts +27 -0
- package/components/base/ConfigurationComponent.d.ts +33 -0
- package/components/index.d.ts +16 -0
- package/defaults.d.ts +8 -0
- package/dist/cdn/js/kendo-react-map.js +1 -1
- package/events/base-event.d.ts +21 -0
- package/events/before-reset-event.d.ts +19 -0
- package/events/dom-event.d.ts +29 -0
- package/events/map-click-event.d.ts +27 -0
- package/events/map-event-builder.d.ts +13 -0
- package/events/map-event-builder.js +1 -1
- package/events/map-event-builder.mjs +28 -28
- package/events/marker-activate-event.d.ts +27 -0
- package/events/marker-click-event.d.ts +27 -0
- package/events/marker-created-event.d.ts +29 -0
- package/events/pan-end-event.d.ts +31 -0
- package/events/pan-event.d.ts +31 -0
- package/events/preventable-event.d.ts +25 -0
- package/events/reset-event.d.ts +21 -0
- package/events/shape-click-event.d.ts +32 -0
- package/events/shape-created-event.d.ts +36 -0
- package/events/shape-feature-created-event.d.ts +36 -0
- package/events/shape-mouse-enter-event.d.ts +35 -0
- package/events/shape-mouse-leave-event.d.ts +35 -0
- package/events/zoom-end-event.d.ts +23 -0
- package/events/zoom-start-event.d.ts +25 -0
- package/index.d.mts +9 -1017
- package/index.d.ts +9 -1017
- package/package-metadata.d.ts +12 -0
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +10 -16
- package/package.json +4 -4
- package/store/reducer.d.ts +17 -0
- package/store/store.d.ts +29 -0
- package/tooltip/BubbleTooltipContext.d.ts +29 -0
- package/tooltip/MapTooltip.d.ts +44 -0
- package/tooltip/MarkerTooltipContext.d.ts +29 -0
- package/tooltip/Popup.d.ts +37 -0
- package/tooltip/ShapeTooltipContext.d.ts +25 -0
- package/tooltip/index.d.ts +12 -0
- package/utils/index.d.ts +16 -0
package/Map.d.ts
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { default as PropTypes } from 'prop-types';
|
|
9
|
+
import { InstanceObserver, Map as KendoMap } from '@progress/kendo-charts';
|
|
10
|
+
import { MapProps } from './MapProps.js';
|
|
11
|
+
import { MapContextType } from './MapContext.js';
|
|
12
|
+
import { DomEvent } from './events/dom-event.js';
|
|
13
|
+
import { geometry } from '@progress/kendo-drawing';
|
|
14
|
+
import { Extent, Location, MapLayer } from './common/map-types.js';
|
|
15
|
+
import * as React from 'react';
|
|
16
|
+
/**
|
|
17
|
+
* Represents the [KendoReact Map component](https://www.telerik.com/kendo-react-ui/components/map).
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Supported children components are: {@link MapLayers}.
|
|
21
|
+
*/
|
|
22
|
+
export declare class Map extends React.Component<MapProps, {}> {
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
static propTypes: {
|
|
27
|
+
dir: PropTypes.Requireable<string>;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @hidden
|
|
31
|
+
*/
|
|
32
|
+
static defaultProps: {};
|
|
33
|
+
/**
|
|
34
|
+
* @hidden
|
|
35
|
+
*/
|
|
36
|
+
mapInstance: KendoMap | null;
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*/
|
|
40
|
+
get element(): HTMLDivElement;
|
|
41
|
+
protected _element: HTMLDivElement | null;
|
|
42
|
+
protected optionsStore: any;
|
|
43
|
+
protected optionsUnsubscriber: Function;
|
|
44
|
+
protected observersStore: any;
|
|
45
|
+
protected mapObserver: InstanceObserver;
|
|
46
|
+
protected childrenObserver: InstanceObserver;
|
|
47
|
+
protected contextValue: MapContextType;
|
|
48
|
+
private readonly showLicenseWatermark;
|
|
49
|
+
private readonly licenseMessage?;
|
|
50
|
+
constructor(props: MapProps);
|
|
51
|
+
private iconsType;
|
|
52
|
+
private svgIcons;
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
componentDidMount(): void;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
componentWillUnmount(): void;
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
componentDidUpdate(prevProps: MapProps): void;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
render(): any;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
getMapOptions(): any;
|
|
73
|
+
/**
|
|
74
|
+
* The marker layers instances.
|
|
75
|
+
*/
|
|
76
|
+
get layers(): MapLayer[];
|
|
77
|
+
/**
|
|
78
|
+
* Gets the extent (visible area) of the map.
|
|
79
|
+
*/
|
|
80
|
+
get extent(): Extent | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Sets the extent (visible area) of the map.
|
|
83
|
+
*/
|
|
84
|
+
set extent(extent: Extent | undefined);
|
|
85
|
+
/**
|
|
86
|
+
* Detects the size of the container and redraws the Map.
|
|
87
|
+
* Resizing is automatic unless you set the `resizeRateLimit` option to `0`.
|
|
88
|
+
*/
|
|
89
|
+
resize(): void;
|
|
90
|
+
/**
|
|
91
|
+
* Retrieves the size of the visible portion of the map.
|
|
92
|
+
*
|
|
93
|
+
* @returns The size (width and height) of the visible portion of the map.
|
|
94
|
+
*/
|
|
95
|
+
viewSize(): {
|
|
96
|
+
width: number;
|
|
97
|
+
height: number;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Returns the event coordinates relative to the map element. Offset coordinates are not synchronized to a particular location on the map.
|
|
101
|
+
*
|
|
102
|
+
* @param e The mouse event.
|
|
103
|
+
* @returns The event coordinates relative to the map element.
|
|
104
|
+
*/
|
|
105
|
+
eventOffset(e: any): geometry.Point | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* Retrieves projected (layer) coordinates that correspond to this mouse event.
|
|
108
|
+
* Layer coordinates are absolute and change only when the zoom level is changed.
|
|
109
|
+
*
|
|
110
|
+
* @param e The mouse event.
|
|
111
|
+
* @returns The projected (layer) coordinates that correspond to this event.
|
|
112
|
+
*/
|
|
113
|
+
eventToLayer(e: any): geometry.Point | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* Retrieves the geographic location that correspond to this mouse event.
|
|
116
|
+
*
|
|
117
|
+
* @param e The mouse event.
|
|
118
|
+
* @returns The geographic location that correspond to this mouse event.
|
|
119
|
+
*/
|
|
120
|
+
eventToLocation(e: any): geometry.Point | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* Retrieves relative (view) coordinates that correspond to this mouse event.
|
|
123
|
+
* Layer elements positioned on these coordinates will appear under the mouse cursor.
|
|
124
|
+
* View coordinates are no longer valid after a map reset.
|
|
125
|
+
*
|
|
126
|
+
* @param e The mouse event.
|
|
127
|
+
* @returns The relative (view) coordinates that correspond to this mouse event.
|
|
128
|
+
*/
|
|
129
|
+
eventToView(e: any): geometry.Point | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* Transforms layer (projected) coordinates to geographical location.
|
|
132
|
+
*
|
|
133
|
+
* @param point The layer (projected) coordinates. An array argument is assumed to be in x, y order.
|
|
134
|
+
* @param zoom Optional. Assumed zoom level. Defaults to the current zoom level.
|
|
135
|
+
* @returns The geographic location that corresponds to the layer coordinates.
|
|
136
|
+
*/
|
|
137
|
+
layerToLocation(point: geometry.Point | number[], zoom?: number): Location | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the layer (projected) coordinates that correspond to a geographical location.
|
|
140
|
+
*
|
|
141
|
+
* @param location The geographic location. An array argument is assumed to be in [Latitude, Longitude] order.
|
|
142
|
+
* @param zoom Optional. Assumed zoom level. Defaults to the current zoom level.
|
|
143
|
+
* @returns The layer (projected) coordinates.
|
|
144
|
+
*/
|
|
145
|
+
locationToLayer(location: Location | number[], zoom?: number): geometry.Point | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Returns the view (relative) coordinates that correspond to a geographical location.
|
|
148
|
+
*
|
|
149
|
+
* @param location The geographic location. An array argument is assumed to be in [Latitude, Longitude] order.
|
|
150
|
+
* @returns The view coordinates that correspond to a geographical location.
|
|
151
|
+
*/
|
|
152
|
+
locationToView(location: Location | number[]): geometry.Point | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* Returns the geographical location that correspond to the view (relative) coordinates.
|
|
155
|
+
*
|
|
156
|
+
* @param point The view coordinates. An array argument is assumed to be in x, y order.
|
|
157
|
+
* @param zoom Optional. Assumed zoom level. Defaults to the current zoom level.
|
|
158
|
+
* @returns The geographic location that corresponds to the view coordinates.
|
|
159
|
+
*/
|
|
160
|
+
viewToLocation(point: geometry.Point | number[], zoom?: number): Location | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Load markers in the Map. This method will clear the current markers and show the new ones.
|
|
163
|
+
*
|
|
164
|
+
* @param newMarkers An array of markers.
|
|
165
|
+
*/
|
|
166
|
+
loadMarkers(newMarkers: any[]): void;
|
|
167
|
+
/**
|
|
168
|
+
* @hidden
|
|
169
|
+
*/
|
|
170
|
+
refresh(): void;
|
|
171
|
+
/**
|
|
172
|
+
* @hidden
|
|
173
|
+
*/
|
|
174
|
+
instantiateCoreMap(): void;
|
|
175
|
+
/**
|
|
176
|
+
* @hidden
|
|
177
|
+
*/
|
|
178
|
+
trigger(name: string, e: any): boolean;
|
|
179
|
+
/**
|
|
180
|
+
* @hidden
|
|
181
|
+
*/
|
|
182
|
+
requiresHandlers(names: string[]): boolean;
|
|
183
|
+
/**
|
|
184
|
+
* @hidden
|
|
185
|
+
*/
|
|
186
|
+
triggerDomEvent<T>(name: string, e: DomEvent<T>): boolean;
|
|
187
|
+
/**
|
|
188
|
+
* @hidden
|
|
189
|
+
*/
|
|
190
|
+
onInit: (e: any) => void;
|
|
191
|
+
/**
|
|
192
|
+
* @hidden
|
|
193
|
+
*/
|
|
194
|
+
onRender: (e: any) => void;
|
|
195
|
+
/**
|
|
196
|
+
* @hidden
|
|
197
|
+
*/
|
|
198
|
+
onMapMouseLeave: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
199
|
+
private setIcons;
|
|
200
|
+
}
|
package/Map.mjs
CHANGED
|
@@ -16,16 +16,16 @@ import { MapTooltip as O } from "./tooltip/MapTooltip.mjs";
|
|
|
16
16
|
import { validatePackage as k, getLicenseMessage as w, IconsContext as S, WatermarkOverlay as D } from "@progress/kendo-react-common";
|
|
17
17
|
import { packageMetadata as u } from "./package-metadata.mjs";
|
|
18
18
|
import { toDomEvent as x } from "./events/dom-event.mjs";
|
|
19
|
-
import {
|
|
19
|
+
import { caretAltRightIcon as A, caretAltLeftIcon as P, caretAltDownIcon as E, caretAltUpIcon as U, minusIcon as C, plusIcon as R, mapMarkerIcon as z, mapMarkerTargetIcon as V } from "@progress/kendo-svg-icons";
|
|
20
20
|
const v = {
|
|
21
|
-
mapMarkerTargetIcon:
|
|
22
|
-
mapMarkerIcon:
|
|
23
|
-
plusIcon:
|
|
24
|
-
minusIcon:
|
|
25
|
-
caretAltUpIcon:
|
|
26
|
-
caretAltDownIcon:
|
|
27
|
-
caretAltLeftIcon:
|
|
28
|
-
caretAltRightIcon:
|
|
21
|
+
mapMarkerTargetIcon: V,
|
|
22
|
+
mapMarkerIcon: z,
|
|
23
|
+
plusIcon: R,
|
|
24
|
+
minusIcon: C,
|
|
25
|
+
caretAltUpIcon: U,
|
|
26
|
+
caretAltDownIcon: E,
|
|
27
|
+
caretAltLeftIcon: P,
|
|
28
|
+
caretAltRightIcon: A
|
|
29
29
|
}, I = "svg", p = class p extends a.Component {
|
|
30
30
|
constructor(e) {
|
|
31
31
|
super(e), this.mapInstance = null, this._element = null, this.optionsStore = {}, this.optionsUnsubscriber = Function.prototype, this.observersStore = {}, this.showLicenseWatermark = !1, this.iconsType = I, this.svgIcons = v, this.onInit = (t) => {
|
package/MapContext.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { Store } from './store/store.js';
|
|
9
|
+
import { InstanceObserver } from '@progress/kendo-charts';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface MapContextType {
|
|
15
|
+
optionsStore: Store;
|
|
16
|
+
observersStore: Store;
|
|
17
|
+
childrenObserver: InstanceObserver;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export declare const MapContext: React.Context<MapContextType | null>;
|
package/MapProps.d.ts
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MapOptions } from '@progress/kendo-charts';
|
|
9
|
+
import { BeforeResetEvent, MapClickEvent, MarkerActivateEvent, MarkerClickEvent, MarkerCreatedEvent, PanEndEvent, PanEvent, ResetEvent, ShapeClickEvent, ShapeCreatedEvent, ShapeFeatureCreatedEvent, ShapeMouseEnterEvent, ShapeMouseLeaveEvent, ZoomEndEvent, ZoomStartEvent } from './common/events.js';
|
|
10
|
+
import * as React from 'react';
|
|
11
|
+
/**
|
|
12
|
+
* Represents the props of the KendoReact Map component.
|
|
13
|
+
*/
|
|
14
|
+
export interface MapProps extends MapOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Represents the `dir` HTML attribute.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```jsx
|
|
20
|
+
* <Map dir="rtl" />
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
dir?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The styles that are applied to the component.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```jsx
|
|
29
|
+
* <Map style={{ height: '500px' }} />
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
/**
|
|
34
|
+
* Sets additional CSS classes to the component.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```jsx
|
|
38
|
+
* <Map className="custom-map-class" />
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
className?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
children?: any;
|
|
46
|
+
/**
|
|
47
|
+
* Fires when the Map is about to refresh. You can use the event to prevent the refresh of the Map in specific cases.
|
|
48
|
+
*/
|
|
49
|
+
onRefresh?: (mapOptions: any, mapInstance: any) => void;
|
|
50
|
+
/**
|
|
51
|
+
* Fires immediately before the map is reset. This event is typically used for cleanup by layer implementers.
|
|
52
|
+
*/
|
|
53
|
+
onBeforeReset?: (event: BeforeResetEvent) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Fires when the user clicks on the map.
|
|
56
|
+
*/
|
|
57
|
+
onMapClick?: (event: MapClickEvent) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Fires when a marker has been displayed and has a DOM element assigned.
|
|
60
|
+
*/
|
|
61
|
+
onMarkerActivate?: (event: MarkerActivateEvent) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Fires when a marker has been clicked or tapped.
|
|
64
|
+
*/
|
|
65
|
+
onMarkerClick?: (event: MarkerClickEvent) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Fires when a marker has been created and is about to be displayed.
|
|
68
|
+
*
|
|
69
|
+
* Cancelling the event prevents the marker from being shown.
|
|
70
|
+
*/
|
|
71
|
+
onMarkerCreated?: (event: MarkerCreatedEvent) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Fires after the map viewport has been moved.
|
|
74
|
+
*/
|
|
75
|
+
onPanEnd?: (event: PanEndEvent) => void;
|
|
76
|
+
/**
|
|
77
|
+
* Fires while the map viewport is being moved.
|
|
78
|
+
*/
|
|
79
|
+
onPan?: (event: PanEvent) => void;
|
|
80
|
+
/**
|
|
81
|
+
* Fires when the map is reset.
|
|
82
|
+
*
|
|
83
|
+
* This typically occurs on initial load and after a zoom/center change.
|
|
84
|
+
*/
|
|
85
|
+
onReset?: (event: ResetEvent) => void;
|
|
86
|
+
/**
|
|
87
|
+
* Fires when a shape is clicked or tapped.
|
|
88
|
+
*/
|
|
89
|
+
onShapeClick?: (event: ShapeClickEvent) => void;
|
|
90
|
+
/**
|
|
91
|
+
* Fires when a shape is created, but is not rendered yet.
|
|
92
|
+
*/
|
|
93
|
+
onShapeCreated?: (event: ShapeCreatedEvent) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Fires when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
96
|
+
*/
|
|
97
|
+
onShapeFeatureCreated?: (event: ShapeFeatureCreatedEvent) => void;
|
|
98
|
+
/**
|
|
99
|
+
* Fires when the mouse enters a shape.
|
|
100
|
+
*
|
|
101
|
+
* > This event fires reliably only for shapes that have set fill color.
|
|
102
|
+
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
103
|
+
*/
|
|
104
|
+
onShapeMouseEnter?: (event: ShapeMouseEnterEvent) => void;
|
|
105
|
+
/**
|
|
106
|
+
* Fires when the mouse leaves a shape.
|
|
107
|
+
*
|
|
108
|
+
* > This event fires reliably only for shapes that have set fill color.
|
|
109
|
+
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
110
|
+
*/
|
|
111
|
+
onShapeMouseLeave?: (event: ShapeMouseLeaveEvent) => void;
|
|
112
|
+
/**
|
|
113
|
+
* Fires when the map zoom level is about to change.
|
|
114
|
+
*
|
|
115
|
+
* Cancelling the event prevents the user action.
|
|
116
|
+
*/
|
|
117
|
+
onZoomStart?: (event: ZoomStartEvent) => void;
|
|
118
|
+
/**
|
|
119
|
+
* Fires when the map zoom level has changed.
|
|
120
|
+
*/
|
|
121
|
+
onZoomEnd?: (event: ZoomEndEvent) => void;
|
|
122
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export { BeforeResetEvent } from '../events/before-reset-event.js';
|
|
9
|
+
export { MapClickEvent } from '../events/map-click-event.js';
|
|
10
|
+
export { MarkerActivateEvent } from '../events/marker-activate-event.js';
|
|
11
|
+
export { MarkerClickEvent } from '../events/marker-click-event.js';
|
|
12
|
+
export { MarkerCreatedEvent } from '../events/marker-created-event.js';
|
|
13
|
+
export { PanEndEvent } from '../events/pan-end-event.js';
|
|
14
|
+
export { PanEvent } from '../events/pan-event.js';
|
|
15
|
+
export { ResetEvent } from '../events/reset-event.js';
|
|
16
|
+
export { ShapeClickEvent } from '../events/shape-click-event.js';
|
|
17
|
+
export { ShapeCreatedEvent } from '../events/shape-created-event.js';
|
|
18
|
+
export { ShapeFeatureCreatedEvent } from '../events/shape-feature-created-event.js';
|
|
19
|
+
export { ShapeMouseEnterEvent } from '../events/shape-mouse-enter-event.js';
|
|
20
|
+
export { ShapeMouseLeaveEvent } from '../events/shape-mouse-leave-event.js';
|
|
21
|
+
export { ZoomEndEvent } from '../events/zoom-end-event.js';
|
|
22
|
+
export { ZoomStartEvent } from '../events/zoom-start-event.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
export { type MapLayer, type MapLayerOptions, type MapMarker, type BubbleLayerSymbolArgs, type BubbleLayerSymbol, type MapControls, type MapControlsPosition, type TileUrlTemplateArgs, Location, Extent } from '@progress/kendo-charts';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BubbleLayerOptions } from '@progress/kendo-charts';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact MapBubbleLayer component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapBubbleLayerProps extends BubbleLayerOptions {
|
|
14
|
+
/**
|
|
15
|
+
* The child tooltip components.
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Represents the KendoReact MapBubbleLayer component.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Supported children components are: {@link MapBubbleLayerTooltip}.
|
|
24
|
+
*/
|
|
25
|
+
declare const MapBubbleLayer: React.FunctionComponent<MapBubbleLayerProps>;
|
|
26
|
+
export { MapBubbleLayer };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { BubbleTooltipContext } from '../tooltip/BubbleTooltipContext.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact BubbleTooltip component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapBubbleLayerTooltipProps {
|
|
14
|
+
/**
|
|
15
|
+
* The renderer for the bubble layer tooltip.
|
|
16
|
+
*
|
|
17
|
+
* @return the content of the tooltip.
|
|
18
|
+
*/
|
|
19
|
+
render?: (props: BubbleTooltipContext) => React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the KendoReact MapBubbleLayerTooltip component.
|
|
23
|
+
*/
|
|
24
|
+
declare const MapBubbleLayerTooltip: React.FunctionComponent<MapBubbleLayerTooltipProps>;
|
|
25
|
+
export { MapBubbleLayerTooltip };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
/**
|
|
10
|
+
* Represents the props of the KendoReact MapLayers component.
|
|
11
|
+
*/
|
|
12
|
+
export interface MapLayersProps {
|
|
13
|
+
/**
|
|
14
|
+
* The child layer components.
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Represents the KendoReact MapLayers component.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Supported children components are: {@link MapShapeLayer}, {@link MapBubbleLayer}, {@link MapMarkerLayer}, {@link MapTileLayer}.
|
|
23
|
+
*/
|
|
24
|
+
declare const MapLayers: React.FunctionComponent<MapLayersProps>;
|
|
25
|
+
export { MapLayers };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MarkerLayerOptions } from '@progress/kendo-charts';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact MapMarkerLayer component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapMarkerLayerProps extends MarkerLayerOptions {
|
|
14
|
+
/**
|
|
15
|
+
* The child components. Supports `MapMarkerLayerTooltip`.
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Represents the KendoReact MapMarkerLayer component.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Supported children components are: {@link MapMarkerLayerTooltip}.
|
|
24
|
+
*/
|
|
25
|
+
declare const MapMarkerLayer: React.FunctionComponent<MapMarkerLayerProps>;
|
|
26
|
+
export { MapMarkerLayer };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MarkerTooltipContext } from '../tooltip/MarkerTooltipContext.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact MapMarkerLayerTooltip component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapMarkerLayerTooltipProps {
|
|
14
|
+
/**
|
|
15
|
+
* The renderer for the marker layer tooltip.
|
|
16
|
+
*
|
|
17
|
+
* @return the content of the tooltip.
|
|
18
|
+
*/
|
|
19
|
+
render?: (props: MarkerTooltipContext) => React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the KendoReact MapMarkerLayerTooltip component.
|
|
23
|
+
*/
|
|
24
|
+
declare const MapMarkerLayerTooltip: React.FunctionComponent<MapMarkerLayerTooltipProps>;
|
|
25
|
+
export { MapMarkerLayerTooltip };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ShapeLayerOptions } from '@progress/kendo-charts';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact MapShapeLayer component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapShapeLayerProps extends ShapeLayerOptions {
|
|
14
|
+
/**
|
|
15
|
+
* The child components. Supports `MapShapeLayerTooltip`.
|
|
16
|
+
*/
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Represents the KendoReact MapShapeLayer component.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Supported children components are: {@link MapShapeLayerTooltip}.
|
|
24
|
+
*/
|
|
25
|
+
declare const MapShapeLayer: React.FunctionComponent<MapShapeLayerProps>;
|
|
26
|
+
export { MapShapeLayer };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ShapeTooltipContext } from '../tooltip/ShapeTooltipContext.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact ShapeTooltip component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapShapeLayerTooltipProps {
|
|
14
|
+
/**
|
|
15
|
+
* The renderer for the shape layer tooltip.
|
|
16
|
+
*
|
|
17
|
+
* @return the content of the tooltip.
|
|
18
|
+
*/
|
|
19
|
+
render?: (props: ShapeTooltipContext) => React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents the KendoReact MapShapeLayerTooltip component.
|
|
23
|
+
*/
|
|
24
|
+
declare const MapShapeLayerTooltip: React.FunctionComponent<MapShapeLayerTooltipProps>;
|
|
25
|
+
export { MapShapeLayerTooltip };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { TileLayerOptions } from '@progress/kendo-charts';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* Represents the props of the KendoReact MapTileLayer component.
|
|
12
|
+
*/
|
|
13
|
+
export interface MapTileLayerProps extends TileLayerOptions {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Represents the KendoReact MapTileLayer component.
|
|
17
|
+
*/
|
|
18
|
+
declare const MapTileLayer: React.FunctionComponent<MapTileLayerProps>;
|
|
19
|
+
export { MapTileLayer };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MapContext } from '../../MapContext.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface CollectionConfigurationProps {
|
|
14
|
+
_mapKey: string;
|
|
15
|
+
_parentStore?: any;
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export default class CollectionConfigurationComponent extends React.Component<CollectionConfigurationProps> {
|
|
22
|
+
static contextType: React.Context<import('../../MapContext').MapContextType | null>;
|
|
23
|
+
context: React.ContextType<typeof MapContext>;
|
|
24
|
+
get optionsStore(): import('../../store/store').Store | undefined;
|
|
25
|
+
renderChildren(child: any, index: number): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { MapContext } from '../../MapContext.js';
|
|
9
|
+
import * as React from 'react';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export interface ConfigurationComponentProps {
|
|
14
|
+
_mapKey?: string;
|
|
15
|
+
_mapCollectionIdxKey?: string;
|
|
16
|
+
_parentStore?: any;
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export default class ConfigurationComponent extends React.Component<ConfigurationComponentProps> {
|
|
23
|
+
static contextType: React.Context<import('../../MapContext').MapContextType | null>;
|
|
24
|
+
context: React.ContextType<typeof MapContext>;
|
|
25
|
+
childStore: any;
|
|
26
|
+
get optionsStore(): import('./../../store/store').Store | undefined;
|
|
27
|
+
constructor(props: any);
|
|
28
|
+
render(): any;
|
|
29
|
+
componentDidMount(): void;
|
|
30
|
+
componentDidUpdate(): void;
|
|
31
|
+
private dispatch;
|
|
32
|
+
private renderChildren;
|
|
33
|
+
}
|