@syncfusion/ej2-maps 30.2.4 → 31.2.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/.eslintrc.json +263 -0
- package/dist/ej2-maps.min.js +2 -2
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/global/ej2-maps.min.js +2 -2
- package/dist/global/index.d.ts +2 -2
- package/dist/ts/index.d.ts +4 -0
- package/dist/ts/index.ts +4 -0
- package/dist/ts/maps/index.d.ts +28 -0
- package/dist/ts/maps/index.ts +28 -0
- package/dist/ts/maps/layers/bing-map.d.ts +21 -0
- package/dist/ts/maps/layers/bing-map.ts +51 -0
- package/dist/ts/maps/layers/bubble.d.ts +77 -0
- package/dist/ts/maps/layers/bubble.ts +304 -0
- package/dist/ts/maps/layers/color-mapping.d.ts +36 -0
- package/dist/ts/maps/layers/color-mapping.ts +230 -0
- package/dist/ts/maps/layers/data-label.d.ts +45 -0
- package/dist/ts/maps/layers/data-label.ts +457 -0
- package/dist/ts/maps/layers/layer-panel.d.ts +144 -0
- package/dist/ts/maps/layers/layer-panel.ts +1455 -0
- package/dist/ts/maps/layers/legend.d.ts +173 -0
- package/dist/ts/maps/layers/legend.ts +2465 -0
- package/dist/ts/maps/layers/marker.d.ts +105 -0
- package/dist/ts/maps/layers/marker.ts +632 -0
- package/dist/ts/maps/layers/navigation-selected-line.d.ts +33 -0
- package/dist/ts/maps/layers/navigation-selected-line.ts +171 -0
- package/dist/ts/maps/layers/polygon.d.ts +30 -0
- package/dist/ts/maps/layers/polygon.ts +68 -0
- package/dist/ts/maps/maps-model.d.ts +409 -0
- package/dist/ts/maps/maps.d.ts +1247 -0
- package/dist/ts/maps/maps.ts +3416 -0
- package/dist/ts/maps/model/base-model.d.ts +2107 -0
- package/dist/ts/maps/model/base.d.ts +1840 -0
- package/dist/ts/maps/model/base.ts +2257 -0
- package/dist/ts/maps/model/constants.d.ts +225 -0
- package/dist/ts/maps/model/constants.ts +226 -0
- package/dist/ts/maps/model/export-image.d.ts +39 -0
- package/dist/ts/maps/model/export-image.ts +194 -0
- package/dist/ts/maps/model/export-pdf.d.ts +40 -0
- package/dist/ts/maps/model/export-pdf.ts +183 -0
- package/dist/ts/maps/model/interface.d.ts +892 -0
- package/dist/ts/maps/model/interface.ts +929 -0
- package/dist/ts/maps/model/print.d.ts +45 -0
- package/dist/ts/maps/model/print.ts +125 -0
- package/dist/ts/maps/model/theme.d.ts +98 -0
- package/dist/ts/maps/model/theme.ts +919 -0
- package/dist/ts/maps/user-interaction/annotation.d.ts +27 -0
- package/dist/ts/maps/user-interaction/annotation.ts +133 -0
- package/dist/ts/maps/user-interaction/highlight.d.ts +63 -0
- package/dist/ts/maps/user-interaction/highlight.ts +272 -0
- package/dist/ts/maps/user-interaction/selection.d.ts +85 -0
- package/dist/ts/maps/user-interaction/selection.ts +342 -0
- package/dist/ts/maps/user-interaction/tooltip.d.ts +78 -0
- package/dist/ts/maps/user-interaction/tooltip.ts +500 -0
- package/dist/ts/maps/user-interaction/zoom.d.ts +334 -0
- package/dist/ts/maps/user-interaction/zoom.ts +2523 -0
- package/dist/ts/maps/utils/enum.d.ts +328 -0
- package/dist/ts/maps/utils/enum.ts +343 -0
- package/dist/ts/maps/utils/helper.d.ts +1318 -0
- package/dist/ts/maps/utils/helper.ts +3811 -0
- package/package.json +53 -18
- package/tslint.json +111 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Maps } from '../../index';
|
|
2
|
+
import { LayerSettings, MarkerClusterData } from '../index';
|
|
3
|
+
/**
|
|
4
|
+
* Marker class
|
|
5
|
+
*/
|
|
6
|
+
export declare class Marker {
|
|
7
|
+
private maps;
|
|
8
|
+
private isMarkerExplode;
|
|
9
|
+
private markerSVGObject;
|
|
10
|
+
initialMarkerCluster: number[][][];
|
|
11
|
+
zoomedMarkerCluster: number[][][];
|
|
12
|
+
/**
|
|
13
|
+
* @private
|
|
14
|
+
*/
|
|
15
|
+
sameMarkerData: MarkerClusterData[];
|
|
16
|
+
constructor(maps: Maps);
|
|
17
|
+
/**
|
|
18
|
+
* @private
|
|
19
|
+
* @returns {Maps} - Returns the instance of the map.
|
|
20
|
+
*/
|
|
21
|
+
getMapsInstance(): Maps;
|
|
22
|
+
markerRender(maps: Maps, layerElement: Element, layerIndex: number, factor: number, type: string): void;
|
|
23
|
+
/**
|
|
24
|
+
* To find zoom level for individual layers like India, USA.
|
|
25
|
+
*
|
|
26
|
+
* @param {number} mapWidth - Specifies the width of the maps
|
|
27
|
+
* @param {number} mapHeight - Specifies the height of the maps
|
|
28
|
+
* @param {number} maxZoomFact - Specifies the maximum zoom factor
|
|
29
|
+
* @returns {number} - Returns the scale factor
|
|
30
|
+
*/
|
|
31
|
+
private calculateIndividualLayerMarkerZoomLevel;
|
|
32
|
+
/**
|
|
33
|
+
* To calculate center position and factor value dynamically.
|
|
34
|
+
*
|
|
35
|
+
* @param {LayerSettings[]} layersCollection - Specifies the layer settings instance.
|
|
36
|
+
* @returns {void}
|
|
37
|
+
* @private
|
|
38
|
+
*/
|
|
39
|
+
calculateZoomCenterPositionAndFactor(layersCollection: LayerSettings[]): void;
|
|
40
|
+
/**
|
|
41
|
+
* To check and trigger marker click event.
|
|
42
|
+
*
|
|
43
|
+
* @param {PointerEvent} e - Specifies the pointer event argument.
|
|
44
|
+
* @returns {void}
|
|
45
|
+
* @private
|
|
46
|
+
*/
|
|
47
|
+
markerClick(e: PointerEvent): void;
|
|
48
|
+
/**
|
|
49
|
+
* To check and trigger Cluster click event.
|
|
50
|
+
*
|
|
51
|
+
* @param {PointerEvent} e - Specifies the pointer event argument.
|
|
52
|
+
* @returns {void}
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
markerClusterClick(e: PointerEvent): void;
|
|
56
|
+
/**
|
|
57
|
+
* To get marker from target id.
|
|
58
|
+
*
|
|
59
|
+
* @param {string} target - Specifies the target
|
|
60
|
+
* @returns {object} - Returns the marker, data, clusterCollection, markCollection
|
|
61
|
+
*/
|
|
62
|
+
private getMarker;
|
|
63
|
+
/**
|
|
64
|
+
* To check and trigger marker move event.
|
|
65
|
+
*
|
|
66
|
+
* @param {PointerEvent} e - Specifies the pointer event argument.
|
|
67
|
+
* @returns {void}
|
|
68
|
+
* @private
|
|
69
|
+
*/
|
|
70
|
+
markerMove(e: PointerEvent): void;
|
|
71
|
+
/**
|
|
72
|
+
* To check and trigger cluster move event.
|
|
73
|
+
*
|
|
74
|
+
* @param {PointerEvent} e - Specifies the pointer event argument.
|
|
75
|
+
* @returns {void}
|
|
76
|
+
* @private
|
|
77
|
+
*/
|
|
78
|
+
markerClusterMouseMove(e: PointerEvent): void;
|
|
79
|
+
/**
|
|
80
|
+
* This method is used to return whether the clustering is enabled in any marker settings.
|
|
81
|
+
*
|
|
82
|
+
* @param {LayerSettings} layer - Specifies the layer settings
|
|
83
|
+
* @returns {boolean} - Specifies whether the clustering is enabled in any marker settings.
|
|
84
|
+
* @private
|
|
85
|
+
*/
|
|
86
|
+
allowInnerClusterSetting(layer: LayerSettings): boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @private
|
|
89
|
+
* @returns {void}
|
|
90
|
+
*/
|
|
91
|
+
initializeMarkerClusterList(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Get module name.
|
|
94
|
+
*
|
|
95
|
+
* @returns {string} - Returns the module name
|
|
96
|
+
*/
|
|
97
|
+
protected getModuleName(): string;
|
|
98
|
+
/**
|
|
99
|
+
* To destroy the layers.
|
|
100
|
+
*
|
|
101
|
+
* @returns {void}
|
|
102
|
+
* @private
|
|
103
|
+
*/
|
|
104
|
+
destroy(): void;
|
|
105
|
+
}
|