@progress/kendo-react-map 6.1.1 → 7.0.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/{dist/es/Map.d.ts → Map.d.ts} +4 -1
- package/{dist/npm/MapContext.d.ts → MapContext.d.ts} +4 -0
- package/{dist/es/MapProps.d.ts → MapProps.d.ts} +4 -0
- package/{dist/es/common → common}/events.d.ts +4 -0
- package/common/map-types.d.ts +5 -0
- package/{dist/es/components → components}/BubbleLayer.d.ts +4 -0
- package/{dist/es/components → components}/BubbleLayerTooltip.d.ts +4 -0
- package/components/Layers.d.ts +13 -0
- package/{dist/es/components → components}/MarkerLayer.d.ts +4 -0
- package/{dist/es/components → components}/MarkerLayerTooltip.d.ts +4 -0
- package/{dist/npm/components → components}/ShapeLayer.d.ts +4 -0
- package/{dist/npm/components → components}/ShapeLayerTooltip.d.ts +4 -0
- package/components/TileLayer.d.ts +13 -0
- package/{dist/npm/components → components}/base/CollectionConfigurationComponent.d.ts +4 -0
- package/{dist/es/components → components}/base/ConfigurationComponent.d.ts +4 -0
- package/components/index.d.ts +13 -0
- package/dist/cdn/js/kendo-react-map.js +5 -1
- package/events/base-event.d.ts +18 -0
- package/{dist/npm/events → events}/before-reset-event.d.ts +4 -0
- package/{dist/npm/events → events}/dom-event.d.ts +4 -1
- package/{dist/npm/events → events}/map-click-event.d.ts +4 -0
- package/events/map-event-builder.d.ts +10 -0
- package/{dist/npm/events → events}/marker-activate-event.d.ts +4 -0
- package/{dist/npm/events → events}/marker-click-event.d.ts +4 -0
- package/{dist/npm/events → events}/marker-created-event.d.ts +4 -0
- package/{dist/es/events → events}/pan-end-event.d.ts +4 -0
- package/{dist/es/events → events}/pan-event.d.ts +4 -0
- package/{dist/es/events → events}/preventable-event.d.ts +4 -0
- package/{dist/es/events → events}/reset-event.d.ts +4 -0
- package/{dist/npm/events → events}/shape-click-event.d.ts +4 -0
- package/{dist/npm/events → events}/shape-created-event.d.ts +4 -0
- package/{dist/es/events → events}/shape-feature-created-event.d.ts +4 -0
- package/{dist/es/events → events}/shape-mouse-enter-event.d.ts +4 -0
- package/{dist/npm/events → events}/shape-mouse-leave-event.d.ts +4 -0
- package/{dist/es/events → events}/zoom-end-event.d.ts +4 -0
- package/{dist/npm/events → events}/zoom-start-event.d.ts +4 -0
- package/index.d.ts +13 -0
- package/index.js +5 -0
- package/index.mjs +803 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +29 -40
- package/store/reducer.d.ts +14 -0
- package/{dist/npm/store → store}/store.d.ts +4 -0
- package/{dist/npm/tooltip → tooltip}/BubbleTooltipContext.d.ts +5 -1
- package/{dist/npm/tooltip → tooltip}/MapTooltip.d.ts +6 -2
- package/{dist/npm/tooltip → tooltip}/MarkerTooltipContext.d.ts +5 -1
- package/{dist/es/tooltip → tooltip}/Popup.d.ts +5 -1
- package/tooltip/ShapeTooltipContext.d.ts +22 -0
- package/tooltip/index.d.ts +9 -0
- package/utils/index.d.ts +13 -0
- package/about.md +0 -3
- package/dist/es/Map.js +0 -469
- package/dist/es/MapContext.d.ts +0 -15
- package/dist/es/MapContext.js +0 -6
- package/dist/es/MapProps.js +0 -1
- package/dist/es/common/events.js +0 -16
- package/dist/es/common/map-types.d.ts +0 -1
- package/dist/es/common/map-types.js +0 -2
- package/dist/es/components/BubbleLayer.js +0 -25
- package/dist/es/components/BubbleLayerTooltip.js +0 -17
- package/dist/es/components/Layers.d.ts +0 -9
- package/dist/es/components/Layers.js +0 -21
- package/dist/es/components/MarkerLayer.js +0 -25
- package/dist/es/components/MarkerLayerTooltip.js +0 -17
- package/dist/es/components/ShapeLayer.d.ts +0 -10
- package/dist/es/components/ShapeLayer.js +0 -25
- package/dist/es/components/ShapeLayerTooltip.d.ts +0 -15
- package/dist/es/components/ShapeLayerTooltip.js +0 -17
- package/dist/es/components/TileLayer.d.ts +0 -9
- package/dist/es/components/TileLayer.js +0 -18
- package/dist/es/components/base/CollectionConfigurationComponent.d.ts +0 -19
- package/dist/es/components/base/CollectionConfigurationComponent.js +0 -63
- package/dist/es/components/base/ConfigurationComponent.js +0 -86
- package/dist/es/components/main.d.ts +0 -9
- package/dist/es/components/main.js +0 -9
- package/dist/es/defaults.d.ts +0 -1
- package/dist/es/defaults.js +0 -15
- package/dist/es/events/base-event.d.ts +0 -14
- package/dist/es/events/base-event.js +0 -13
- package/dist/es/events/before-reset-event.d.ts +0 -12
- package/dist/es/events/before-reset-event.js +0 -30
- package/dist/es/events/dom-event.d.ts +0 -23
- package/dist/es/events/dom-event.js +0 -21
- package/dist/es/events/map-click-event.d.ts +0 -20
- package/dist/es/events/map-click-event.js +0 -33
- package/dist/es/events/map-event-builder.d.ts +0 -6
- package/dist/es/events/map-event-builder.js +0 -27
- package/dist/es/events/marker-activate-event.d.ts +0 -20
- package/dist/es/events/marker-activate-event.js +0 -33
- package/dist/es/events/marker-click-event.d.ts +0 -20
- package/dist/es/events/marker-click-event.js +0 -33
- package/dist/es/events/marker-created-event.d.ts +0 -22
- package/dist/es/events/marker-created-event.js +0 -35
- package/dist/es/events/pan-end-event.js +0 -34
- package/dist/es/events/pan-event.js +0 -34
- package/dist/es/events/preventable-event.js +0 -46
- package/dist/es/events/reset-event.js +0 -32
- package/dist/es/events/shape-click-event.d.ts +0 -25
- package/dist/es/events/shape-click-event.js +0 -34
- package/dist/es/events/shape-created-event.d.ts +0 -29
- package/dist/es/events/shape-created-event.js +0 -38
- package/dist/es/events/shape-feature-created-event.js +0 -35
- package/dist/es/events/shape-mouse-enter-event.js +0 -37
- package/dist/es/events/shape-mouse-leave-event.d.ts +0 -28
- package/dist/es/events/shape-mouse-leave-event.js +0 -37
- package/dist/es/events/zoom-end-event.js +0 -32
- package/dist/es/events/zoom-start-event.d.ts +0 -18
- package/dist/es/events/zoom-start-event.js +0 -34
- package/dist/es/main.d.ts +0 -9
- package/dist/es/main.js +0 -8
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/store/reducer.d.ts +0 -10
- package/dist/es/store/reducer.js +0 -84
- package/dist/es/store/store.d.ts +0 -22
- package/dist/es/store/store.js +0 -22
- package/dist/es/tooltip/BubbleTooltipContext.d.ts +0 -22
- package/dist/es/tooltip/BubbleTooltipContext.js +0 -1
- package/dist/es/tooltip/MapTooltip.d.ts +0 -37
- package/dist/es/tooltip/MapTooltip.js +0 -123
- package/dist/es/tooltip/MarkerTooltipContext.d.ts +0 -22
- package/dist/es/tooltip/MarkerTooltipContext.js +0 -1
- package/dist/es/tooltip/Popup.js +0 -76
- package/dist/es/tooltip/ShapeTooltipContext.d.ts +0 -18
- package/dist/es/tooltip/ShapeTooltipContext.js +0 -1
- package/dist/es/tooltip/main.d.ts +0 -5
- package/dist/es/tooltip/main.js +0 -2
- package/dist/es/utils/main.d.ts +0 -10
- package/dist/es/utils/main.js +0 -28
- package/dist/npm/Map.d.ts +0 -189
- package/dist/npm/Map.js +0 -472
- package/dist/npm/MapContext.js +0 -9
- package/dist/npm/MapProps.d.ts +0 -100
- package/dist/npm/MapProps.js +0 -2
- package/dist/npm/common/events.d.ts +0 -15
- package/dist/npm/common/events.js +0 -34
- package/dist/npm/common/map-types.d.ts +0 -1
- package/dist/npm/common/map-types.js +0 -7
- package/dist/npm/components/BubbleLayer.d.ts +0 -10
- package/dist/npm/components/BubbleLayer.js +0 -28
- package/dist/npm/components/BubbleLayerTooltip.d.ts +0 -15
- package/dist/npm/components/BubbleLayerTooltip.js +0 -20
- package/dist/npm/components/Layers.d.ts +0 -9
- package/dist/npm/components/Layers.js +0 -24
- package/dist/npm/components/MarkerLayer.d.ts +0 -10
- package/dist/npm/components/MarkerLayer.js +0 -28
- package/dist/npm/components/MarkerLayerTooltip.d.ts +0 -15
- package/dist/npm/components/MarkerLayerTooltip.js +0 -20
- package/dist/npm/components/ShapeLayer.js +0 -28
- package/dist/npm/components/ShapeLayerTooltip.js +0 -20
- package/dist/npm/components/TileLayer.d.ts +0 -9
- package/dist/npm/components/TileLayer.js +0 -21
- package/dist/npm/components/base/CollectionConfigurationComponent.js +0 -65
- package/dist/npm/components/base/ConfigurationComponent.d.ts +0 -24
- package/dist/npm/components/base/ConfigurationComponent.js +0 -88
- package/dist/npm/components/main.d.ts +0 -9
- package/dist/npm/components/main.js +0 -19
- package/dist/npm/defaults.d.ts +0 -1
- package/dist/npm/defaults.js +0 -17
- package/dist/npm/events/base-event.d.ts +0 -14
- package/dist/npm/events/base-event.js +0 -16
- package/dist/npm/events/before-reset-event.js +0 -33
- package/dist/npm/events/dom-event.js +0 -24
- package/dist/npm/events/map-click-event.js +0 -36
- package/dist/npm/events/map-event-builder.d.ts +0 -6
- package/dist/npm/events/map-event-builder.js +0 -30
- package/dist/npm/events/marker-activate-event.js +0 -36
- package/dist/npm/events/marker-click-event.js +0 -36
- package/dist/npm/events/marker-created-event.js +0 -38
- package/dist/npm/events/pan-end-event.d.ts +0 -24
- package/dist/npm/events/pan-end-event.js +0 -37
- package/dist/npm/events/pan-event.d.ts +0 -24
- package/dist/npm/events/pan-event.js +0 -37
- package/dist/npm/events/preventable-event.d.ts +0 -18
- package/dist/npm/events/preventable-event.js +0 -49
- package/dist/npm/events/reset-event.d.ts +0 -14
- package/dist/npm/events/reset-event.js +0 -35
- package/dist/npm/events/shape-click-event.js +0 -37
- package/dist/npm/events/shape-created-event.js +0 -41
- package/dist/npm/events/shape-feature-created-event.d.ts +0 -29
- package/dist/npm/events/shape-feature-created-event.js +0 -38
- package/dist/npm/events/shape-mouse-enter-event.d.ts +0 -28
- package/dist/npm/events/shape-mouse-enter-event.js +0 -40
- package/dist/npm/events/shape-mouse-leave-event.js +0 -40
- package/dist/npm/events/zoom-end-event.d.ts +0 -16
- package/dist/npm/events/zoom-end-event.js +0 -35
- package/dist/npm/events/zoom-start-event.js +0 -37
- package/dist/npm/main.d.ts +0 -9
- package/dist/npm/main.js +0 -27
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/store/reducer.d.ts +0 -10
- package/dist/npm/store/reducer.js +0 -88
- package/dist/npm/store/store.js +0 -24
- package/dist/npm/tooltip/BubbleTooltipContext.js +0 -2
- package/dist/npm/tooltip/MapTooltip.js +0 -126
- package/dist/npm/tooltip/MarkerTooltipContext.js +0 -2
- package/dist/npm/tooltip/Popup.d.ts +0 -29
- package/dist/npm/tooltip/Popup.js +0 -79
- package/dist/npm/tooltip/ShapeTooltipContext.d.ts +0 -18
- package/dist/npm/tooltip/ShapeTooltipContext.js +0 -2
- package/dist/npm/tooltip/main.d.ts +0 -5
- package/dist/npm/tooltip/main.js +0 -5
- package/dist/npm/utils/main.d.ts +0 -10
- package/dist/npm/utils/main.js +0 -32
- package/dist/systemjs/kendo-react-map.js +0 -1
- package/e2e-next/basic.tests.ts +0 -24
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.create = void 0;
|
|
4
|
-
var events_1 = require("../common/events");
|
|
5
|
-
var EVENT_MAP = {
|
|
6
|
-
beforeReset: events_1.BeforeResetEvent,
|
|
7
|
-
mapClick: events_1.MapClickEvent,
|
|
8
|
-
markerActivate: events_1.MarkerActivateEvent,
|
|
9
|
-
markerClick: events_1.MarkerClickEvent,
|
|
10
|
-
markerCreated: events_1.MarkerCreatedEvent,
|
|
11
|
-
panEnd: events_1.PanEndEvent,
|
|
12
|
-
pan: events_1.PanEvent,
|
|
13
|
-
reset: events_1.ResetEvent,
|
|
14
|
-
shapeClick: events_1.ShapeClickEvent,
|
|
15
|
-
shapeCreated: events_1.ShapeCreatedEvent,
|
|
16
|
-
shapeFeatureCreated: events_1.ShapeFeatureCreatedEvent,
|
|
17
|
-
shapeMouseEnter: events_1.ShapeMouseEnterEvent,
|
|
18
|
-
shapeMouseLeave: events_1.ShapeMouseLeaveEvent,
|
|
19
|
-
zoomEnd: events_1.ZoomEndEvent,
|
|
20
|
-
zoomStart: events_1.ZoomStartEvent
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
function create(name, args, sender) {
|
|
26
|
-
if (EVENT_MAP[name]) {
|
|
27
|
-
return new EVENT_MAP[name](args, sender);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.create = create;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.MarkerActivateEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when a marker has been displayed and has a DOM element assigned.
|
|
22
|
-
*/
|
|
23
|
-
var MarkerActivateEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(MarkerActivateEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function MarkerActivateEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.marker = e.marker;
|
|
31
|
-
_this.layer = e.layer;
|
|
32
|
-
return _this;
|
|
33
|
-
}
|
|
34
|
-
return MarkerActivateEvent;
|
|
35
|
-
}(base_event_1.BaseEvent));
|
|
36
|
-
exports.MarkerActivateEvent = MarkerActivateEvent;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.MarkerClickEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when a marker has been clicked or tapped.
|
|
22
|
-
*/
|
|
23
|
-
var MarkerClickEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(MarkerClickEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function MarkerClickEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.marker = e.marker;
|
|
31
|
-
_this.layer = e.layer;
|
|
32
|
-
return _this;
|
|
33
|
-
}
|
|
34
|
-
return MarkerClickEvent;
|
|
35
|
-
}(base_event_1.BaseEvent));
|
|
36
|
-
exports.MarkerClickEvent = MarkerClickEvent;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.MarkerCreatedEvent = void 0;
|
|
19
|
-
var preventable_event_1 = require("./preventable-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when a marker has been created and is about to be displayed.
|
|
22
|
-
*
|
|
23
|
-
* Cancelling the event will prevent the marker from being shown.
|
|
24
|
-
*/
|
|
25
|
-
var MarkerCreatedEvent = /** @class */ (function (_super) {
|
|
26
|
-
__extends(MarkerCreatedEvent, _super);
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
function MarkerCreatedEvent(e, target) {
|
|
31
|
-
var _this = _super.call(this, target) || this;
|
|
32
|
-
_this.marker = e.marker;
|
|
33
|
-
_this.layer = e.layer;
|
|
34
|
-
return _this;
|
|
35
|
-
}
|
|
36
|
-
return MarkerCreatedEvent;
|
|
37
|
-
}(preventable_event_1.PreventableEvent));
|
|
38
|
-
exports.MarkerCreatedEvent = MarkerCreatedEvent;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Location, MapPanEndEvent } from '@progress/kendo-charts';
|
|
2
|
-
import { Map } from '../Map';
|
|
3
|
-
import { BaseEvent } from './base-event';
|
|
4
|
-
/**
|
|
5
|
-
* Fires after the map viewport has been moved.
|
|
6
|
-
*/
|
|
7
|
-
export declare class PanEndEvent extends BaseEvent implements MapPanEndEvent {
|
|
8
|
-
/**
|
|
9
|
-
* The map origin (top left or NW corner).
|
|
10
|
-
*/
|
|
11
|
-
origin: Location;
|
|
12
|
-
/**
|
|
13
|
-
* The current map center.
|
|
14
|
-
*/
|
|
15
|
-
center: Location;
|
|
16
|
-
/**
|
|
17
|
-
* The source DOM event instance
|
|
18
|
-
*/
|
|
19
|
-
originalEvent: any;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(e: MapPanEndEvent, target: Map);
|
|
24
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.PanEndEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fires after the map viewport has been moved.
|
|
22
|
-
*/
|
|
23
|
-
var PanEndEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(PanEndEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function PanEndEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.origin = e.origin;
|
|
31
|
-
_this.center = e.center;
|
|
32
|
-
_this.originalEvent = e.originalEvent;
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
return PanEndEvent;
|
|
36
|
-
}(base_event_1.BaseEvent));
|
|
37
|
-
exports.PanEndEvent = PanEndEvent;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Location, MapPanEvent } from '@progress/kendo-charts';
|
|
2
|
-
import { Map } from '../Map';
|
|
3
|
-
import { BaseEvent } from './base-event';
|
|
4
|
-
/**
|
|
5
|
-
* Fired while the map viewport is being moved.
|
|
6
|
-
*/
|
|
7
|
-
export declare class PanEvent extends BaseEvent implements MapPanEvent {
|
|
8
|
-
/**
|
|
9
|
-
* The map origin (top left or NW corner).
|
|
10
|
-
*/
|
|
11
|
-
origin: Location;
|
|
12
|
-
/**
|
|
13
|
-
* The current map center.
|
|
14
|
-
*/
|
|
15
|
-
center: Location;
|
|
16
|
-
/**
|
|
17
|
-
* The source DOM event instance
|
|
18
|
-
*/
|
|
19
|
-
originalEvent: any;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(e: MapPanEvent, target: Map);
|
|
24
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.PanEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired while the map viewport is being moved.
|
|
22
|
-
*/
|
|
23
|
-
var PanEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(PanEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function PanEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.origin = e.origin;
|
|
31
|
-
_this.center = e.center;
|
|
32
|
-
_this.originalEvent = e.originalEvent;
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
return PanEvent;
|
|
36
|
-
}(base_event_1.BaseEvent));
|
|
37
|
-
exports.PanEvent = PanEvent;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BaseEvent } from './base-event';
|
|
2
|
-
/**
|
|
3
|
-
* @hidden
|
|
4
|
-
*/
|
|
5
|
-
export declare abstract class PreventableEvent extends BaseEvent {
|
|
6
|
-
private prevented;
|
|
7
|
-
/**
|
|
8
|
-
* Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.
|
|
9
|
-
*/
|
|
10
|
-
preventDefault(): void;
|
|
11
|
-
/**
|
|
12
|
-
* Returns `true` if the event was prevented by any of its subscribers.
|
|
13
|
-
*
|
|
14
|
-
* @returns `true` if the default action was prevented.
|
|
15
|
-
* Otherwise, returns `false`.
|
|
16
|
-
*/
|
|
17
|
-
isDefaultPrevented(): boolean;
|
|
18
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.PreventableEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
var PreventableEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(PreventableEvent, _super);
|
|
25
|
-
function PreventableEvent() {
|
|
26
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27
|
-
_this.prevented = false;
|
|
28
|
-
return _this;
|
|
29
|
-
}
|
|
30
|
-
/* eslint-disable max-len */
|
|
31
|
-
/**
|
|
32
|
-
* Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.
|
|
33
|
-
*/
|
|
34
|
-
PreventableEvent.prototype.preventDefault = function () {
|
|
35
|
-
this.prevented = true;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Returns `true` if the event was prevented by any of its subscribers.
|
|
39
|
-
*
|
|
40
|
-
* @returns `true` if the default action was prevented.
|
|
41
|
-
* Otherwise, returns `false`.
|
|
42
|
-
*/
|
|
43
|
-
PreventableEvent.prototype.isDefaultPrevented = function () {
|
|
44
|
-
return this.prevented;
|
|
45
|
-
};
|
|
46
|
-
return PreventableEvent;
|
|
47
|
-
}(base_event_1.BaseEvent));
|
|
48
|
-
exports.PreventableEvent = PreventableEvent;
|
|
49
|
-
// tslint:enable:max-line-length
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MapResetEvent } from '@progress/kendo-charts';
|
|
2
|
-
import { Map } from '../Map';
|
|
3
|
-
import { BaseEvent } from './base-event';
|
|
4
|
-
/**
|
|
5
|
-
* Fired when the map is reset.
|
|
6
|
-
*
|
|
7
|
-
* This typically occurs on initial load and after a zoom/center change.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ResetEvent extends BaseEvent implements MapResetEvent {
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
constructor(_: any, target: Map);
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ResetEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when the map is reset.
|
|
22
|
-
*
|
|
23
|
-
* This typically occurs on initial load and after a zoom/center change.
|
|
24
|
-
*/
|
|
25
|
-
var ResetEvent = /** @class */ (function (_super) {
|
|
26
|
-
__extends(ResetEvent, _super);
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
function ResetEvent(_, target) {
|
|
31
|
-
return _super.call(this, target) || this;
|
|
32
|
-
}
|
|
33
|
-
return ResetEvent;
|
|
34
|
-
}(base_event_1.BaseEvent));
|
|
35
|
-
exports.ResetEvent = ResetEvent;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ShapeClickEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when a shape is clicked or tapped.
|
|
22
|
-
*/
|
|
23
|
-
var ShapeClickEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(ShapeClickEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function ShapeClickEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.layer = e.layer;
|
|
31
|
-
_this.shape = e.shape;
|
|
32
|
-
_this.originalEvent = e.originalEvent;
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
return ShapeClickEvent;
|
|
36
|
-
}(base_event_1.BaseEvent));
|
|
37
|
-
exports.ShapeClickEvent = ShapeClickEvent;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ShapeCreatedEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when a shape is created, but is not rendered yet.
|
|
22
|
-
*/
|
|
23
|
-
var ShapeCreatedEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(ShapeCreatedEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function ShapeCreatedEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.layer = e.layer;
|
|
31
|
-
_this.shape = e.shape;
|
|
32
|
-
_this.location = null;
|
|
33
|
-
if (e.shape) {
|
|
34
|
-
_this.dataItem = e.shape.dataItem;
|
|
35
|
-
_this.location = e.shape.location;
|
|
36
|
-
}
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
return ShapeCreatedEvent;
|
|
40
|
-
}(base_event_1.BaseEvent));
|
|
41
|
-
exports.ShapeCreatedEvent = ShapeCreatedEvent;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { MapLayer, MapShapeFeatureCreatedEvent } from '@progress/kendo-charts';
|
|
2
|
-
import { Group } from '@progress/kendo-drawing';
|
|
3
|
-
import { Map } from '../Map';
|
|
4
|
-
import { BaseEvent } from './base-event';
|
|
5
|
-
/**
|
|
6
|
-
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
7
|
-
*/
|
|
8
|
-
export declare class ShapeFeatureCreatedEvent extends BaseEvent implements MapShapeFeatureCreatedEvent {
|
|
9
|
-
/**
|
|
10
|
-
* The original data item for this Feature. Members include `geometries` and `properties`.
|
|
11
|
-
*/
|
|
12
|
-
dataItem: any;
|
|
13
|
-
/**
|
|
14
|
-
* The shape layer instance.
|
|
15
|
-
*/
|
|
16
|
-
layer: MapLayer;
|
|
17
|
-
/**
|
|
18
|
-
* The group containing feature shape instances.
|
|
19
|
-
*/
|
|
20
|
-
group: Group;
|
|
21
|
-
/**
|
|
22
|
-
* A reference to the `dataItem.properties` object.
|
|
23
|
-
*/
|
|
24
|
-
properties: any;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
constructor(e: MapShapeFeatureCreatedEvent, target: Map);
|
|
29
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ShapeFeatureCreatedEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when a [GeoJSON Feature](https://geojson.org/geojson-spec.html#feature-objects) is created on a shape layer.
|
|
22
|
-
*/
|
|
23
|
-
var ShapeFeatureCreatedEvent = /** @class */ (function (_super) {
|
|
24
|
-
__extends(ShapeFeatureCreatedEvent, _super);
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
function ShapeFeatureCreatedEvent(e, target) {
|
|
29
|
-
var _this = _super.call(this, target) || this;
|
|
30
|
-
_this.dataItem = e.dataItem;
|
|
31
|
-
_this.layer = e.layer;
|
|
32
|
-
_this.group = e.group;
|
|
33
|
-
_this.properties = e.properties;
|
|
34
|
-
return _this;
|
|
35
|
-
}
|
|
36
|
-
return ShapeFeatureCreatedEvent;
|
|
37
|
-
}(base_event_1.BaseEvent));
|
|
38
|
-
exports.ShapeFeatureCreatedEvent = ShapeFeatureCreatedEvent;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { MapLayer, MapShapeMouseEnterEvent } from '@progress/kendo-charts';
|
|
2
|
-
import { Element } from '@progress/kendo-drawing';
|
|
3
|
-
import { Map } from '../Map';
|
|
4
|
-
import { BaseEvent } from './base-event';
|
|
5
|
-
/**
|
|
6
|
-
* Fired when the mouse enters a shape.
|
|
7
|
-
*
|
|
8
|
-
* > This event will fire reliably only for shapes that have set fill color.
|
|
9
|
-
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
10
|
-
*/
|
|
11
|
-
export declare class ShapeMouseEnterEvent extends BaseEvent implements MapShapeMouseEnterEvent {
|
|
12
|
-
/**
|
|
13
|
-
* The shape layer instance.
|
|
14
|
-
*/
|
|
15
|
-
layer: MapLayer;
|
|
16
|
-
/**
|
|
17
|
-
* The shape instance.
|
|
18
|
-
*/
|
|
19
|
-
shape: Element;
|
|
20
|
-
/**
|
|
21
|
-
* The source DOM event instance
|
|
22
|
-
*/
|
|
23
|
-
originalEvent: any;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
constructor(e: MapShapeMouseEnterEvent, target: Map);
|
|
28
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ShapeMouseEnterEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when the mouse enters a shape.
|
|
22
|
-
*
|
|
23
|
-
* > This event will fire reliably only for shapes that have set fill color.
|
|
24
|
-
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
25
|
-
*/
|
|
26
|
-
var ShapeMouseEnterEvent = /** @class */ (function (_super) {
|
|
27
|
-
__extends(ShapeMouseEnterEvent, _super);
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
function ShapeMouseEnterEvent(e, target) {
|
|
32
|
-
var _this = _super.call(this, target) || this;
|
|
33
|
-
_this.layer = e.layer;
|
|
34
|
-
_this.shape = e.shape;
|
|
35
|
-
_this.originalEvent = e.originalEvent;
|
|
36
|
-
return _this;
|
|
37
|
-
}
|
|
38
|
-
return ShapeMouseEnterEvent;
|
|
39
|
-
}(base_event_1.BaseEvent));
|
|
40
|
-
exports.ShapeMouseEnterEvent = ShapeMouseEnterEvent;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ShapeMouseLeaveEvent = void 0;
|
|
19
|
-
var base_event_1 = require("./base-event");
|
|
20
|
-
/**
|
|
21
|
-
* Fired when the mouse leaves a shape.
|
|
22
|
-
*
|
|
23
|
-
* > This event will fire reliably only for shapes that have set fill color.
|
|
24
|
-
* > The opacity can still be set to 0 so the shapes appear to have no fill.
|
|
25
|
-
*/
|
|
26
|
-
var ShapeMouseLeaveEvent = /** @class */ (function (_super) {
|
|
27
|
-
__extends(ShapeMouseLeaveEvent, _super);
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
function ShapeMouseLeaveEvent(e, target) {
|
|
32
|
-
var _this = _super.call(this, target) || this;
|
|
33
|
-
_this.layer = e.layer;
|
|
34
|
-
_this.shape = e.shape;
|
|
35
|
-
_this.originalEvent = e.originalEvent;
|
|
36
|
-
return _this;
|
|
37
|
-
}
|
|
38
|
-
return ShapeMouseLeaveEvent;
|
|
39
|
-
}(base_event_1.BaseEvent));
|
|
40
|
-
exports.ShapeMouseLeaveEvent = ShapeMouseLeaveEvent;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MapZoomEndEvent } from '@progress/kendo-charts';
|
|
2
|
-
import { Map } from '../Map';
|
|
3
|
-
import { BaseEvent } from './base-event';
|
|
4
|
-
/**
|
|
5
|
-
* Fired when the map zoom level has changed.
|
|
6
|
-
*/
|
|
7
|
-
export declare class ZoomEndEvent extends BaseEvent implements MapZoomEndEvent {
|
|
8
|
-
/**
|
|
9
|
-
* The source DOM event instance
|
|
10
|
-
*/
|
|
11
|
-
originalEvent: any;
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
constructor(e: MapZoomEndEvent, target: Map);
|
|
16
|
-
}
|