@progress/kendo-react-map 7.2.4-develop.3 → 7.2.4-develop.4
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.js +8 -0
- package/Map.mjs +346 -0
- package/MapContext.js +8 -0
- package/MapContext.mjs +14 -0
- package/components/BubbleLayer.js +8 -0
- package/components/BubbleLayer.mjs +22 -0
- package/components/BubbleLayerTooltip.js +8 -0
- package/components/BubbleLayerTooltip.mjs +14 -0
- package/components/Layers.js +8 -0
- package/components/Layers.mjs +18 -0
- package/components/MarkerLayer.js +8 -0
- package/components/MarkerLayer.mjs +22 -0
- package/components/MarkerLayerTooltip.js +8 -0
- package/components/MarkerLayerTooltip.mjs +14 -0
- package/components/ShapeLayer.js +8 -0
- package/components/ShapeLayer.mjs +22 -0
- package/components/ShapeLayerTooltip.js +8 -0
- package/components/ShapeLayerTooltip.mjs +14 -0
- package/components/TileLayer.js +8 -0
- package/components/TileLayer.mjs +15 -0
- package/components/base/CollectionConfigurationComponent.js +8 -0
- package/components/base/CollectionConfigurationComponent.mjs +35 -0
- package/components/base/ConfigurationComponent.js +8 -0
- package/components/base/ConfigurationComponent.mjs +47 -0
- package/dist/cdn/js/kendo-react-map.js +8 -5
- package/events/base-event.js +8 -0
- package/events/base-event.mjs +19 -0
- package/events/before-reset-event.js +8 -0
- package/events/before-reset-event.mjs +20 -0
- package/events/dom-event.js +8 -0
- package/events/dom-event.mjs +23 -0
- package/events/map-click-event.js +8 -0
- package/events/map-click-event.mjs +20 -0
- package/events/map-event-builder.js +8 -0
- package/events/map-event-builder.mjs +47 -0
- package/events/marker-activate-event.js +8 -0
- package/events/marker-activate-event.mjs +20 -0
- package/events/marker-click-event.js +8 -0
- package/events/marker-click-event.mjs +20 -0
- package/events/marker-created-event.js +8 -0
- package/events/marker-created-event.mjs +20 -0
- package/events/pan-end-event.js +8 -0
- package/events/pan-end-event.mjs +20 -0
- package/events/pan-event.js +8 -0
- package/events/pan-event.mjs +20 -0
- package/events/preventable-event.js +8 -0
- package/events/preventable-event.mjs +33 -0
- package/events/reset-event.js +8 -0
- package/events/reset-event.mjs +20 -0
- package/events/shape-click-event.js +8 -0
- package/events/shape-click-event.mjs +20 -0
- package/events/shape-created-event.js +8 -0
- package/events/shape-created-event.mjs +20 -0
- package/events/shape-feature-created-event.js +8 -0
- package/events/shape-feature-created-event.mjs +20 -0
- package/events/shape-mouse-enter-event.js +8 -0
- package/events/shape-mouse-enter-event.mjs +20 -0
- package/events/shape-mouse-leave-event.js +8 -0
- package/events/shape-mouse-leave-event.mjs +20 -0
- package/events/zoom-end-event.js +8 -0
- package/events/zoom-end-event.mjs +20 -0
- package/events/zoom-start-event.js +8 -0
- package/events/zoom-start-event.mjs +20 -0
- package/index.d.mts +951 -5
- package/index.d.ts +951 -13
- package/index.js +8 -5
- package/index.mjs +64 -801
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +3 -3
- package/store/reducer.js +8 -0
- package/store/reducer.mjs +46 -0
- package/store/store.js +8 -0
- package/store/store.mjs +19 -0
- package/tooltip/MapTooltip.js +8 -0
- package/tooltip/MapTooltip.mjs +82 -0
- package/tooltip/Popup.js +8 -0
- package/tooltip/Popup.mjs +60 -0
- package/utils/index.js +8 -0
- package/utils/index.mjs +29 -0
- package/Map.d.ts +0 -192
- package/MapContext.d.ts +0 -19
- package/MapProps.d.ts +0 -104
- package/common/events.d.ts +0 -19
- package/common/map-types.d.ts +0 -5
- package/components/BubbleLayer.d.ts +0 -14
- package/components/BubbleLayerTooltip.d.ts +0 -19
- package/components/Layers.d.ts +0 -13
- package/components/MarkerLayer.d.ts +0 -14
- package/components/MarkerLayerTooltip.d.ts +0 -19
- package/components/ShapeLayer.d.ts +0 -14
- package/components/ShapeLayerTooltip.d.ts +0 -19
- package/components/TileLayer.d.ts +0 -13
- package/components/base/CollectionConfigurationComponent.d.ts +0 -23
- package/components/base/ConfigurationComponent.d.ts +0 -28
- package/components/index.d.ts +0 -13
- package/events/base-event.d.ts +0 -18
- package/events/before-reset-event.d.ts +0 -16
- package/events/dom-event.d.ts +0 -26
- package/events/map-click-event.d.ts +0 -24
- package/events/map-event-builder.d.ts +0 -10
- package/events/marker-activate-event.d.ts +0 -24
- package/events/marker-click-event.d.ts +0 -24
- package/events/marker-created-event.d.ts +0 -26
- package/events/pan-end-event.d.ts +0 -28
- package/events/pan-event.d.ts +0 -28
- package/events/preventable-event.d.ts +0 -22
- package/events/reset-event.d.ts +0 -18
- package/events/shape-click-event.d.ts +0 -29
- package/events/shape-created-event.d.ts +0 -33
- package/events/shape-feature-created-event.d.ts +0 -33
- package/events/shape-mouse-enter-event.d.ts +0 -32
- package/events/shape-mouse-leave-event.d.ts +0 -32
- package/events/zoom-end-event.d.ts +0 -20
- package/events/zoom-start-event.d.ts +0 -22
- package/package-metadata.d.ts +0 -9
- package/store/reducer.d.ts +0 -14
- package/store/store.d.ts +0 -26
- package/tooltip/BubbleTooltipContext.d.ts +0 -26
- package/tooltip/MapTooltip.d.ts +0 -41
- package/tooltip/MarkerTooltipContext.d.ts +0 -26
- package/tooltip/Popup.d.ts +0 -33
- package/tooltip/ShapeTooltipContext.d.ts +0 -22
- package/tooltip/index.d.ts +0 -9
- package/utils/index.d.ts +0 -13
package/common/events.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package 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/common/map-types.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export { type MapLayer, type MapLayerOptions, type MapMarker, type BubbleLayerSymbolArgs, type BubbleLayerSymbol, type MapControls, type MapControlsPosition, type TileUrlTemplateArgs, Location, Extent } from '@progress/kendo-charts';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BubbleLayerOptions } from '@progress/kendo-charts';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact MapBubbleLayer component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapBubbleLayerProps extends BubbleLayerOptions {
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
declare const MapBubbleLayer: React.FunctionComponent<MapBubbleLayerProps>;
|
|
14
|
-
export { MapBubbleLayer };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { BubbleTooltipContext } from '../tooltip/BubbleTooltipContext';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact BubbleTooltip component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapBubbleLayerTooltipProps {
|
|
11
|
-
/**
|
|
12
|
-
* The renderer for the bubble layer tooltip.
|
|
13
|
-
*
|
|
14
|
-
* @return the content of the tooltip.
|
|
15
|
-
*/
|
|
16
|
-
render?: (props: BubbleTooltipContext) => React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
declare const MapBubbleLayerTooltip: React.FunctionComponent<MapBubbleLayerTooltipProps>;
|
|
19
|
-
export { MapBubbleLayerTooltip };
|
package/components/Layers.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the props of the KendoReact MapLayers component.
|
|
8
|
-
*/
|
|
9
|
-
export interface MapLayersProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
declare const MapLayers: React.FunctionComponent<MapLayersProps>;
|
|
13
|
-
export { MapLayers };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MarkerLayerOptions } from '@progress/kendo-charts';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact MapMarkerLayer component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapMarkerLayerProps extends MarkerLayerOptions {
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
declare const MapMarkerLayer: React.FunctionComponent<MapMarkerLayerProps>;
|
|
14
|
-
export { MapMarkerLayer };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { MarkerTooltipContext } from '../tooltip/MarkerTooltipContext';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact MapMarkerLayerTooltip component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapMarkerLayerTooltipProps {
|
|
11
|
-
/**
|
|
12
|
-
* The renderer for the marker layer tooltip.
|
|
13
|
-
*
|
|
14
|
-
* @return the content of the tooltip.
|
|
15
|
-
*/
|
|
16
|
-
render?: (props: MarkerTooltipContext) => React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
declare const MapMarkerLayerTooltip: React.FunctionComponent<MapMarkerLayerTooltipProps>;
|
|
19
|
-
export { MapMarkerLayerTooltip };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ShapeLayerOptions } from '@progress/kendo-charts';
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact MapShapeLayer component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapShapeLayerProps extends ShapeLayerOptions {
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
declare const MapShapeLayer: React.FunctionComponent<MapShapeLayerProps>;
|
|
14
|
-
export { MapShapeLayer };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { ShapeTooltipContext } from '../tooltip/ShapeTooltipContext';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact ShapeTooltip component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapShapeLayerTooltipProps {
|
|
11
|
-
/**
|
|
12
|
-
* The renderer for the shape layer tooltip.
|
|
13
|
-
*
|
|
14
|
-
* @return the content of the tooltip.
|
|
15
|
-
*/
|
|
16
|
-
render?: (props: ShapeTooltipContext) => React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
declare const MapShapeLayerTooltip: React.FunctionComponent<MapShapeLayerTooltipProps>;
|
|
19
|
-
export { MapShapeLayerTooltip };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TileLayerOptions } from '@progress/kendo-charts';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the KendoReact MapTileLayer component.
|
|
9
|
-
*/
|
|
10
|
-
export interface MapTileLayerProps extends TileLayerOptions {
|
|
11
|
-
}
|
|
12
|
-
declare const MapTileLayer: React.FunctionComponent<MapTileLayerProps>;
|
|
13
|
-
export { MapTileLayer };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface CollectionConfigurationProps {
|
|
10
|
-
_mapKey: string;
|
|
11
|
-
_parentStore?: any;
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
export default class CollectionConfigurationComponent extends React.Component<CollectionConfigurationProps> {
|
|
18
|
-
static contextType: React.Context<import("../../MapContext").MapContextType | null>;
|
|
19
|
-
optionsStore: any;
|
|
20
|
-
constructor(props: any, context: any);
|
|
21
|
-
renderChildren(child: any, index: number): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
22
|
-
render(): any;
|
|
23
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export interface ConfigurationComponentProps {
|
|
10
|
-
_mapKey?: string;
|
|
11
|
-
_mapCollectionIdxKey?: string;
|
|
12
|
-
_parentStore?: any;
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export default class ConfigurationComponent extends React.Component<ConfigurationComponentProps> {
|
|
19
|
-
static contextType: React.Context<import("../../MapContext").MapContextType | null>;
|
|
20
|
-
optionsStore: any;
|
|
21
|
-
childStore: any;
|
|
22
|
-
constructor(props: any, context: any);
|
|
23
|
-
render(): any;
|
|
24
|
-
componentDidMount(): void;
|
|
25
|
-
componentDidUpdate(): void;
|
|
26
|
-
private dispatch;
|
|
27
|
-
private renderChildren;
|
|
28
|
-
}
|
package/components/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayers, type MapLayersProps } from './Layers';
|
|
6
|
-
import { MapShapeLayer, type MapShapeLayerProps } from './ShapeLayer';
|
|
7
|
-
import { MapShapeLayerTooltip, type MapShapeLayerTooltipProps } from './ShapeLayerTooltip';
|
|
8
|
-
import { MapTileLayer, type MapTileLayerProps } from './TileLayer';
|
|
9
|
-
import { MapBubbleLayer, type MapBubbleLayerProps } from './BubbleLayer';
|
|
10
|
-
import { MapBubbleLayerTooltip, type MapBubbleLayerTooltipProps } from './BubbleLayerTooltip';
|
|
11
|
-
import { MapMarkerLayer, type MapMarkerLayerProps } from './MarkerLayer';
|
|
12
|
-
import { MapMarkerLayerTooltip, type MapMarkerLayerTooltipProps } from './MarkerLayerTooltip';
|
|
13
|
-
export { MapLayers, MapLayersProps, MapShapeLayer, MapShapeLayerProps, MapShapeLayerTooltip, MapShapeLayerTooltipProps, MapTileLayer, MapTileLayerProps, MapBubbleLayer, MapBubbleLayerProps, MapBubbleLayerTooltip, MapBubbleLayerTooltipProps, MapMarkerLayer, MapMarkerLayerProps, MapMarkerLayerTooltip, MapMarkerLayerTooltipProps };
|
package/events/base-event.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Map } from '../Map';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class BaseEvent {
|
|
10
|
-
/**
|
|
11
|
-
* The `Map` component that triggered the event.
|
|
12
|
-
*/
|
|
13
|
-
target: Map;
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
constructor(target: Map);
|
|
18
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapBeforeResetEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired immediately before the map is reset. This event is typically used for cleanup by layer implementers.
|
|
10
|
-
*/
|
|
11
|
-
export declare class BeforeResetEvent extends BaseEvent implements MapBeforeResetEvent {
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
constructor(_: any, target: Map);
|
|
16
|
-
}
|
package/events/dom-event.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class DomEvent<T> {
|
|
9
|
-
/**
|
|
10
|
-
* The `Map` component that triggered the event.
|
|
11
|
-
*/
|
|
12
|
-
sender: React.Component;
|
|
13
|
-
/**
|
|
14
|
-
* The syntheticEvent
|
|
15
|
-
*/
|
|
16
|
-
syntheticEvent: T;
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
constructor(sender: React.Component, e: T);
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
declare function toDomEvent<T>(sender: React.Component, e: T): DomEvent<T>;
|
|
26
|
-
export { toDomEvent };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Location, MapClickEvent as BaseMapClickEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired when the user clicks on the map.
|
|
10
|
-
*/
|
|
11
|
-
export declare class MapClickEvent extends BaseEvent implements BaseMapClickEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The location of the clicked point.
|
|
14
|
-
*/
|
|
15
|
-
location: Location;
|
|
16
|
-
/**
|
|
17
|
-
* The source DOM event instance
|
|
18
|
-
*/
|
|
19
|
-
originalEvent: any;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(e: BaseMapClickEvent, target: Map);
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Map } from '../Map';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
declare function create(name: string, args: any, sender: Map): any;
|
|
10
|
-
export { create };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapMarker, MapMarkerActivateEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired when a marker has been displayed and has a DOM element assigned.
|
|
10
|
-
*/
|
|
11
|
-
export declare class MarkerActivateEvent extends BaseEvent implements MapMarkerActivateEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The marker instance.
|
|
14
|
-
*/
|
|
15
|
-
marker: MapMarker;
|
|
16
|
-
/**
|
|
17
|
-
* The marker layer instance.
|
|
18
|
-
*/
|
|
19
|
-
layer: MapLayer;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(e: MapMarkerActivateEvent, target: Map);
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapMarker, MapMarkerClickEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired when a marker has been clicked or tapped.
|
|
10
|
-
*/
|
|
11
|
-
export declare class MarkerClickEvent extends BaseEvent implements MapMarkerClickEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The marker instance.
|
|
14
|
-
*/
|
|
15
|
-
marker: MapMarker;
|
|
16
|
-
/**
|
|
17
|
-
* The marker layer instance.
|
|
18
|
-
*/
|
|
19
|
-
layer: MapLayer;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(e: MapMarkerClickEvent, target: Map);
|
|
24
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapMarker, MapMarkerCreatedEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { PreventableEvent } from './preventable-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired when a marker has been created and is about to be displayed.
|
|
10
|
-
*
|
|
11
|
-
* Cancelling the event will prevent the marker from being shown.
|
|
12
|
-
*/
|
|
13
|
-
export declare class MarkerCreatedEvent extends PreventableEvent implements MapMarkerCreatedEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The marker instance.
|
|
16
|
-
*/
|
|
17
|
-
marker: MapMarker;
|
|
18
|
-
/**
|
|
19
|
-
* The marker layer instance.
|
|
20
|
-
*/
|
|
21
|
-
layer: MapLayer;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
constructor(e: MapMarkerCreatedEvent, target: Map);
|
|
26
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Location, MapPanEndEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fires after the map viewport has been moved.
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanEndEvent extends BaseEvent implements MapPanEndEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The map origin (top left or NW corner).
|
|
14
|
-
*/
|
|
15
|
-
origin: Location;
|
|
16
|
-
/**
|
|
17
|
-
* The current map center.
|
|
18
|
-
*/
|
|
19
|
-
center: Location;
|
|
20
|
-
/**
|
|
21
|
-
* The source DOM event instance
|
|
22
|
-
*/
|
|
23
|
-
originalEvent: any;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
constructor(e: MapPanEndEvent, target: Map);
|
|
28
|
-
}
|
package/events/pan-event.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Location, MapPanEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired while the map viewport is being moved.
|
|
10
|
-
*/
|
|
11
|
-
export declare class PanEvent extends BaseEvent implements MapPanEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The map origin (top left or NW corner).
|
|
14
|
-
*/
|
|
15
|
-
origin: Location;
|
|
16
|
-
/**
|
|
17
|
-
* The current map center.
|
|
18
|
-
*/
|
|
19
|
-
center: Location;
|
|
20
|
-
/**
|
|
21
|
-
* The source DOM event instance
|
|
22
|
-
*/
|
|
23
|
-
originalEvent: any;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
constructor(e: MapPanEvent, target: Map);
|
|
28
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { BaseEvent } from './base-event';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class PreventableEvent extends BaseEvent {
|
|
10
|
-
private prevented;
|
|
11
|
-
/**
|
|
12
|
-
* Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.
|
|
13
|
-
*/
|
|
14
|
-
preventDefault(): void;
|
|
15
|
-
/**
|
|
16
|
-
* Returns `true` if the event was prevented by any of its subscribers.
|
|
17
|
-
*
|
|
18
|
-
* @returns `true` if the default action was prevented.
|
|
19
|
-
* Otherwise, returns `false`.
|
|
20
|
-
*/
|
|
21
|
-
isDefaultPrevented(): boolean;
|
|
22
|
-
}
|
package/events/reset-event.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapResetEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Map } from '../Map';
|
|
7
|
-
import { BaseEvent } from './base-event';
|
|
8
|
-
/**
|
|
9
|
-
* Fired when the map is reset.
|
|
10
|
-
*
|
|
11
|
-
* This typically occurs on initial load and after a zoom/center change.
|
|
12
|
-
*/
|
|
13
|
-
export declare class ResetEvent extends BaseEvent implements MapResetEvent {
|
|
14
|
-
/**
|
|
15
|
-
* @hidden
|
|
16
|
-
*/
|
|
17
|
-
constructor(_: any, target: Map);
|
|
18
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeClickEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Element } from '@progress/kendo-drawing';
|
|
7
|
-
import { Map } from '../Map';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Fired when a shape is clicked or tapped.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ShapeClickEvent extends BaseEvent implements MapShapeClickEvent {
|
|
13
|
-
/**
|
|
14
|
-
* The shape layer instance.
|
|
15
|
-
*/
|
|
16
|
-
layer: MapLayer;
|
|
17
|
-
/**
|
|
18
|
-
* The shape instance.
|
|
19
|
-
*/
|
|
20
|
-
shape: Element;
|
|
21
|
-
/**
|
|
22
|
-
* The source DOM event instance
|
|
23
|
-
*/
|
|
24
|
-
originalEvent: any;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
constructor(e: MapShapeClickEvent, target: Map);
|
|
29
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeCreatedEvent, Location } from '@progress/kendo-charts';
|
|
6
|
-
import { Element } from '@progress/kendo-drawing';
|
|
7
|
-
import { Map } from '../Map';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Fired when a shape is created, but is not rendered yet.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ShapeCreatedEvent extends BaseEvent implements MapShapeCreatedEvent {
|
|
13
|
-
/**
|
|
14
|
-
* The shape layer instance.
|
|
15
|
-
*/
|
|
16
|
-
layer: MapLayer;
|
|
17
|
-
/**
|
|
18
|
-
* The shape instance.
|
|
19
|
-
*/
|
|
20
|
-
shape: Element;
|
|
21
|
-
/**
|
|
22
|
-
* The original data item for this Shape.
|
|
23
|
-
*/
|
|
24
|
-
dataItem: any;
|
|
25
|
-
/**
|
|
26
|
-
* The shape location
|
|
27
|
-
*/
|
|
28
|
-
location: Location;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
constructor(e: any, target: Map);
|
|
33
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeFeatureCreatedEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Group } from '@progress/kendo-drawing';
|
|
7
|
-
import { Map } from '../Map';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ShapeFeatureCreatedEvent extends BaseEvent implements MapShapeFeatureCreatedEvent {
|
|
13
|
-
/**
|
|
14
|
-
* The original data item for this Feature. Members include `geometries` and `properties`.
|
|
15
|
-
*/
|
|
16
|
-
dataItem: any;
|
|
17
|
-
/**
|
|
18
|
-
* The shape layer instance.
|
|
19
|
-
*/
|
|
20
|
-
layer: MapLayer;
|
|
21
|
-
/**
|
|
22
|
-
* The group containing feature shape instances.
|
|
23
|
-
*/
|
|
24
|
-
group: Group;
|
|
25
|
-
/**
|
|
26
|
-
* A reference to the `dataItem.properties` object.
|
|
27
|
-
*/
|
|
28
|
-
properties: any;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
constructor(e: MapShapeFeatureCreatedEvent, target: Map);
|
|
33
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { MapLayer, MapShapeMouseEnterEvent } from '@progress/kendo-charts';
|
|
6
|
-
import { Element } from '@progress/kendo-drawing';
|
|
7
|
-
import { Map } from '../Map';
|
|
8
|
-
import { BaseEvent } from './base-event';
|
|
9
|
-
/**
|
|
10
|
-
* Fired when the mouse enters a shape.
|
|
11
|
-
*
|
|
12
|
-
* > This event will fire reliably only for shapes that have set fill color.
|
|
13
|
-
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
14
|
-
*/
|
|
15
|
-
export declare class ShapeMouseEnterEvent extends BaseEvent implements MapShapeMouseEnterEvent {
|
|
16
|
-
/**
|
|
17
|
-
* The shape layer instance.
|
|
18
|
-
*/
|
|
19
|
-
layer: MapLayer;
|
|
20
|
-
/**
|
|
21
|
-
* The shape instance.
|
|
22
|
-
*/
|
|
23
|
-
shape: Element;
|
|
24
|
-
/**
|
|
25
|
-
* The source DOM event instance
|
|
26
|
-
*/
|
|
27
|
-
originalEvent: any;
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
constructor(e: MapShapeMouseEnterEvent, target: Map);
|
|
32
|
-
}
|