@syncfusion/ej2-maps 20.4.49 → 21.1.35
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/CHANGELOG.md +4 -20
- package/dist/ej2-maps.min.js +2 -2
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/ej2-maps.umd.min.js.map +1 -1
- package/dist/es6/ej2-maps.es2015.js +993 -236
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +1008 -236
- package/dist/es6/ej2-maps.es5.js.map +1 -1
- package/dist/global/ej2-maps.min.js +2 -2
- package/dist/global/ej2-maps.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -13
- package/src/maps/layers/bubble.d.ts +2 -0
- package/src/maps/layers/bubble.js +2 -1
- package/src/maps/layers/color-mapping.d.ts +1 -0
- package/src/maps/layers/color-mapping.js +1 -0
- package/src/maps/layers/data-label.d.ts +1 -0
- package/src/maps/layers/data-label.js +9 -4
- package/src/maps/layers/layer-panel.js +1 -0
- package/src/maps/layers/legend.d.ts +2 -0
- package/src/maps/layers/legend.js +2 -0
- package/src/maps/layers/marker.d.ts +5 -0
- package/src/maps/layers/marker.js +42 -3
- package/src/maps/layers/navigation-selected-line.d.ts +1 -0
- package/src/maps/layers/navigation-selected-line.js +1 -0
- package/src/maps/maps-model.d.ts +47 -33
- package/src/maps/maps.d.ts +144 -88
- package/src/maps/maps.js +217 -61
- package/src/maps/model/base-model.d.ts +535 -230
- package/src/maps/model/base.d.ts +540 -263
- package/src/maps/model/base.js +168 -28
- package/src/maps/model/constants.d.ts +12 -0
- package/src/maps/model/constants.js +12 -0
- package/src/maps/model/export-image.d.ts +1 -1
- package/src/maps/model/export-image.js +1 -1
- package/src/maps/model/export-pdf.d.ts +2 -2
- package/src/maps/model/export-pdf.js +2 -2
- package/src/maps/model/interface.d.ts +137 -108
- package/src/maps/model/theme.d.ts +1 -0
- package/src/maps/model/theme.js +1 -0
- package/src/maps/user-interaction/annotation.d.ts +2 -0
- package/src/maps/user-interaction/annotation.js +2 -0
- package/src/maps/user-interaction/highlight.d.ts +1 -0
- package/src/maps/user-interaction/highlight.js +1 -0
- package/src/maps/user-interaction/selection.d.ts +1 -0
- package/src/maps/user-interaction/selection.js +1 -0
- package/src/maps/user-interaction/tooltip.d.ts +16 -0
- package/src/maps/user-interaction/tooltip.js +23 -6
- package/src/maps/user-interaction/zoom.d.ts +99 -3
- package/src/maps/user-interaction/zoom.js +405 -100
- package/src/maps/utils/enum.d.ts +105 -91
- package/src/maps/utils/helper.d.ts +76 -16
- package/src/maps/utils/helper.js +122 -37
- package/.eslintrc.json +0 -259
- package/tslint.json +0 -111
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Maps, FontModel, BorderModel, LayerSettings } from '../../index';
|
|
2
|
-
import { Alignment, LayerSettingsModel } from '../index';
|
|
2
|
+
import { Alignment, LayerSettingsModel, ZoomToolbarTooltipSettingsModel } from '../index';
|
|
3
3
|
import { MarkerType, IShapeSelectedEventArgs, ITouches, IShapes, SelectionSettingsModel, IMarkerRenderingEventArgs, MarkerSettings, MarkerClusterData } from '../index';
|
|
4
4
|
import { ExportType } from '../utils/enum';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Specifies the size information of an element.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Size {
|
|
9
9
|
/**
|
|
10
|
-
* height
|
|
10
|
+
* Specifies the height of an element.
|
|
11
11
|
*/
|
|
12
12
|
height: number;
|
|
13
13
|
/**
|
|
14
|
-
* width
|
|
14
|
+
* Specifies the width of an element.
|
|
15
15
|
*/
|
|
16
16
|
width: number;
|
|
17
17
|
constructor(width: number, height: number);
|
|
@@ -30,6 +30,7 @@ export declare function stringToNumber(value: string, containerSize: number): nu
|
|
|
30
30
|
*
|
|
31
31
|
* @param {Maps} maps Specifies the maps instance
|
|
32
32
|
* @returns {void}
|
|
33
|
+
* @private
|
|
33
34
|
*/
|
|
34
35
|
export declare function calculateSize(maps: Maps): Size;
|
|
35
36
|
/**
|
|
@@ -37,6 +38,7 @@ export declare function calculateSize(maps: Maps): Size;
|
|
|
37
38
|
*
|
|
38
39
|
* @param {Maps} maps Specifies the map instance
|
|
39
40
|
* @returns {void}
|
|
41
|
+
* @private
|
|
40
42
|
*/
|
|
41
43
|
export declare function createSvg(maps: Maps): void;
|
|
42
44
|
/**
|
|
@@ -46,6 +48,7 @@ export declare function createSvg(maps: Maps): void;
|
|
|
46
48
|
* @param {number} pageY - Specifies the pageY.
|
|
47
49
|
* @param {Element} element - Specifies the element.
|
|
48
50
|
* @returns {MapLocation} - Returns the location.
|
|
51
|
+
* @private
|
|
49
52
|
*/
|
|
50
53
|
export declare function getMousePosition(pageX: number, pageY: number, element: Element): MapLocation;
|
|
51
54
|
/**
|
|
@@ -53,6 +56,7 @@ export declare function getMousePosition(pageX: number, pageY: number, element:
|
|
|
53
56
|
*
|
|
54
57
|
* @param {number} deg Specifies the degree value
|
|
55
58
|
* @returns {number} Returns the number
|
|
59
|
+
* @private
|
|
56
60
|
*/
|
|
57
61
|
export declare function degreesToRadians(deg: number): number;
|
|
58
62
|
/**
|
|
@@ -60,6 +64,7 @@ export declare function degreesToRadians(deg: number): number;
|
|
|
60
64
|
*
|
|
61
65
|
* @param {number} radian Specifies the radian value
|
|
62
66
|
* @returns {number} Returns the number
|
|
67
|
+
* @private
|
|
63
68
|
*/
|
|
64
69
|
export declare function radiansToDegrees(radian: number): number;
|
|
65
70
|
/**
|
|
@@ -71,6 +76,7 @@ export declare function radiansToDegrees(radian: number): number;
|
|
|
71
76
|
* @param {LayerSettings} layer - Specifies the layer settings.
|
|
72
77
|
* @param {Maps} mapModel - Specifies the maps.
|
|
73
78
|
* @returns {Point} - Returns the point values.
|
|
79
|
+
* @private
|
|
74
80
|
*/
|
|
75
81
|
export declare function convertGeoToPoint(latitude: number, longitude: number, factor: number, layer: LayerSettings, mapModel: Maps): Point;
|
|
76
82
|
/**
|
|
@@ -81,6 +87,7 @@ export declare function convertGeoToPoint(latitude: number, longitude: number, f
|
|
|
81
87
|
* @param {MapLocation} tileTranslatePoint Specifies the tile translate point
|
|
82
88
|
* @param {boolean} isMapCoordinates Specifies the boolean value
|
|
83
89
|
* @returns {MapLocation} Returns the location value
|
|
90
|
+
* @private
|
|
84
91
|
*/
|
|
85
92
|
export declare function convertTileLatLongToPoint(center: MapLocation, zoomLevel: number, tileTranslatePoint: MapLocation, isMapCoordinates: boolean): MapLocation;
|
|
86
93
|
/**
|
|
@@ -89,6 +96,7 @@ export declare function convertTileLatLongToPoint(center: MapLocation, zoomLevel
|
|
|
89
96
|
* @param {Maps} mapObject - Specifies the maps.
|
|
90
97
|
* @param {number} val - Specifies the value.
|
|
91
98
|
* @returns {number} - Returns the number.
|
|
99
|
+
* @private
|
|
92
100
|
*/
|
|
93
101
|
export declare function xToCoordinate(mapObject: Maps, val: number): number;
|
|
94
102
|
/**
|
|
@@ -97,6 +105,7 @@ export declare function xToCoordinate(mapObject: Maps, val: number): number;
|
|
|
97
105
|
* @param {Maps} mapObject - Specifies the maps.
|
|
98
106
|
* @param {number} val - Specifies the value.
|
|
99
107
|
* @returns {number} - Returns the number.
|
|
108
|
+
* @private
|
|
100
109
|
*/
|
|
101
110
|
export declare function yToCoordinate(mapObject: Maps, val: number): number;
|
|
102
111
|
/**
|
|
@@ -105,6 +114,7 @@ export declare function yToCoordinate(mapObject: Maps, val: number): number;
|
|
|
105
114
|
* @param {number} x - Specifies the x value.
|
|
106
115
|
* @param {number} y - Specifies the y value.
|
|
107
116
|
* @returns {Point} - Returns the point value.
|
|
117
|
+
* @private
|
|
108
118
|
*/
|
|
109
119
|
export declare function aitoff(x: number, y: number): Point;
|
|
110
120
|
/**
|
|
@@ -113,18 +123,21 @@ export declare function aitoff(x: number, y: number): Point;
|
|
|
113
123
|
* @param {number} a - Specifies the a value
|
|
114
124
|
* @param {number} b - Specifies the b value
|
|
115
125
|
* @returns {number} - Returns the number
|
|
126
|
+
* @private
|
|
116
127
|
*/
|
|
117
128
|
export declare function roundTo(a: number, b: number): number;
|
|
118
129
|
/**
|
|
119
130
|
*
|
|
120
131
|
* @param {number} x - Specifies the x value
|
|
121
132
|
* @returns {number} - Returns the number
|
|
133
|
+
* @private
|
|
122
134
|
*/
|
|
123
135
|
export declare function sinci(x: number): number;
|
|
124
136
|
/**
|
|
125
137
|
*
|
|
126
138
|
* @param {number} a - Specifies the a value
|
|
127
139
|
* @returns {number} - Returns the number
|
|
140
|
+
* @private
|
|
128
141
|
*/
|
|
129
142
|
export declare function acos(a: number): number;
|
|
130
143
|
/**
|
|
@@ -134,6 +147,7 @@ export declare function acos(a: number): number;
|
|
|
134
147
|
* @param {number} min Specifies the minimum value
|
|
135
148
|
* @param {number} max Specifies the maximum value
|
|
136
149
|
* @returns {number} Returns the value
|
|
150
|
+
* @private
|
|
137
151
|
*/
|
|
138
152
|
export declare function calculateBound(value: number, min: number, max: number): number;
|
|
139
153
|
/**
|
|
@@ -144,18 +158,19 @@ export declare function calculateBound(value: number, min: number, max: number):
|
|
|
144
158
|
* @param {string} url Specifies the url
|
|
145
159
|
* @param {boolean} isDownload Specifies whether download a file.
|
|
146
160
|
* @returns {void}
|
|
161
|
+
* @private
|
|
147
162
|
*/
|
|
148
163
|
export declare function triggerDownload(fileName: string, type: ExportType, url: string, isDownload: boolean): void;
|
|
149
164
|
/**
|
|
150
|
-
*
|
|
165
|
+
* Specifies the information of the position of the point in maps.
|
|
151
166
|
*/
|
|
152
167
|
export declare class Point {
|
|
153
168
|
/**
|
|
154
|
-
*
|
|
169
|
+
* Defines the x position in pixels.
|
|
155
170
|
*/
|
|
156
171
|
x: number;
|
|
157
172
|
/**
|
|
158
|
-
*
|
|
173
|
+
* Defines the y position in pixels.
|
|
159
174
|
*/
|
|
160
175
|
y: number;
|
|
161
176
|
constructor(x: number, y: number);
|
|
@@ -285,6 +300,7 @@ export declare class LineOption extends PathOption {
|
|
|
285
300
|
* Internal use of line
|
|
286
301
|
*
|
|
287
302
|
* @property {number} Line - Specifies the line class
|
|
303
|
+
* @private
|
|
288
304
|
*/
|
|
289
305
|
export declare class Line {
|
|
290
306
|
x1: number;
|
|
@@ -296,6 +312,7 @@ export declare class Line {
|
|
|
296
312
|
/**
|
|
297
313
|
* Internal use of map location type
|
|
298
314
|
*
|
|
315
|
+
* @private
|
|
299
316
|
*/
|
|
300
317
|
export declare class MapLocation {
|
|
301
318
|
/**
|
|
@@ -322,6 +339,7 @@ export declare class Rect {
|
|
|
322
339
|
}
|
|
323
340
|
/**
|
|
324
341
|
* Defines the pattern unit types for drawing the patterns in maps.
|
|
342
|
+
* @private
|
|
325
343
|
*/
|
|
326
344
|
export declare type patternUnits =
|
|
327
345
|
/** Specifies the user space for maps. */
|
|
@@ -332,6 +350,7 @@ export declare type patternUnits =
|
|
|
332
350
|
* Internal use for pattern creation.
|
|
333
351
|
*
|
|
334
352
|
* @property {PatternOptions} PatternOptions - Specifies the pattern option class.
|
|
353
|
+
* @private
|
|
335
354
|
*/
|
|
336
355
|
export declare class PatternOptions {
|
|
337
356
|
id: string;
|
|
@@ -372,6 +391,7 @@ export declare function convertElement(element: HTMLCollection, markerId: string
|
|
|
372
391
|
* @param {string} value - Specifies the value
|
|
373
392
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
374
393
|
* @returns {string} - Returns the string value
|
|
394
|
+
* @private
|
|
375
395
|
*/
|
|
376
396
|
export declare function formatValue(value: string, maps: Maps): string;
|
|
377
397
|
/**
|
|
@@ -381,6 +401,7 @@ export declare function formatValue(value: string, maps: Maps): string;
|
|
|
381
401
|
* @param {any} data - Specifies the data
|
|
382
402
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
383
403
|
* @returns {string} - Returns the string value
|
|
404
|
+
* @private
|
|
384
405
|
*/
|
|
385
406
|
export declare function convertStringToValue(stringTemplate: string, format: string, data: any, maps: Maps): string;
|
|
386
407
|
/**
|
|
@@ -391,6 +412,7 @@ export declare function convertStringToValue(stringTemplate: string, format: str
|
|
|
391
412
|
* @param {number} index - Specifies the index
|
|
392
413
|
* @param {Maps} mapObj - Specifies the map object
|
|
393
414
|
* @returns {HTMLElement} - Returns the html element
|
|
415
|
+
* @private
|
|
394
416
|
*/
|
|
395
417
|
export declare function convertElementFromLabel(element: Element, labelId: string, data: any, index: number, mapObj: Maps): HTMLElement;
|
|
396
418
|
/**
|
|
@@ -403,6 +425,7 @@ export declare function convertElementFromLabel(element: Element, labelId: strin
|
|
|
403
425
|
* @param {Element} markerCollection - Specifies the marker collection
|
|
404
426
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
405
427
|
* @returns {Element} - Returns the element
|
|
428
|
+
* @private
|
|
406
429
|
*/
|
|
407
430
|
export declare function drawSymbols(shape: MarkerType, imageUrl: string, location: Point, markerID: string, shapeCustom: any, markerCollection: Element, maps: Maps): Element;
|
|
408
431
|
/**
|
|
@@ -410,6 +433,7 @@ export declare function drawSymbols(shape: MarkerType, imageUrl: string, locatio
|
|
|
410
433
|
* @param {any} data - Specifies the data
|
|
411
434
|
* @param {string} value - Specifies the value
|
|
412
435
|
* @returns {any} - Returns the data
|
|
436
|
+
* @private
|
|
413
437
|
*/
|
|
414
438
|
export declare function getValueFromObject(data: any, value: string): any;
|
|
415
439
|
/**
|
|
@@ -417,6 +441,7 @@ export declare function getValueFromObject(data: any, value: string): any;
|
|
|
417
441
|
* @param {IMarkerRenderingEventArgs} eventArgs - Specifies the event arguments
|
|
418
442
|
* @param {any} data - Specifies the data
|
|
419
443
|
* @returns {IMarkerRenderingEventArgs} - Returns the arguments
|
|
444
|
+
* @private
|
|
420
445
|
*/
|
|
421
446
|
export declare function markerColorChoose(eventArgs: IMarkerRenderingEventArgs, data: any): IMarkerRenderingEventArgs;
|
|
422
447
|
/**
|
|
@@ -424,6 +449,7 @@ export declare function markerColorChoose(eventArgs: IMarkerRenderingEventArgs,
|
|
|
424
449
|
* @param {IMarkerRenderingEventArgs} eventArgs - Specifies the event arguments
|
|
425
450
|
* @param {any} data - Specifies the data
|
|
426
451
|
* @returns {IMarkerRenderingEventArgs} - Returns the arguments
|
|
452
|
+
* @private
|
|
427
453
|
*/
|
|
428
454
|
export declare function markerShapeChoose(eventArgs: IMarkerRenderingEventArgs, data: any): IMarkerRenderingEventArgs;
|
|
429
455
|
/**
|
|
@@ -437,6 +463,7 @@ export declare function markerShapeChoose(eventArgs: IMarkerRenderingEventArgs,
|
|
|
437
463
|
* @param {boolean} check - Specifies the boolean value
|
|
438
464
|
* @param {boolean} zoomCheck - Specifies the boolean value
|
|
439
465
|
* @returns {void}
|
|
466
|
+
* @private
|
|
440
467
|
*/
|
|
441
468
|
export declare function clusterTemplate(currentLayer: LayerSettings, markerTemplate: HTMLElement | Element, maps: Maps, layerIndex: number, markerCollection: Element, layerElement: Element, check: boolean, zoomCheck: boolean): void;
|
|
442
469
|
/**
|
|
@@ -445,6 +472,7 @@ export declare function clusterTemplate(currentLayer: LayerSettings, markerTempl
|
|
|
445
472
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
446
473
|
* @param {Element | HTMLElement} markerElement - Specifies the marker element
|
|
447
474
|
* @returns {void}
|
|
475
|
+
* @private
|
|
448
476
|
*/
|
|
449
477
|
export declare function mergeSeparateCluster(sameMarkerData: MarkerClusterData[], maps: Maps, markerElement: Element | HTMLElement): void;
|
|
450
478
|
/**
|
|
@@ -454,6 +482,7 @@ export declare function mergeSeparateCluster(sameMarkerData: MarkerClusterData[]
|
|
|
454
482
|
* @param {Element | HTMLElement} markerElement - Specifies the marker element
|
|
455
483
|
* @param {boolean} isDom - Specifies the boolean value
|
|
456
484
|
* @returns {void}
|
|
485
|
+
* @private
|
|
457
486
|
*/
|
|
458
487
|
export declare function clusterSeparate(sameMarkerData: MarkerClusterData[], maps: Maps, markerElement: Element | HTMLElement, isDom?: boolean): void;
|
|
459
488
|
/**
|
|
@@ -470,6 +499,7 @@ export declare function clusterSeparate(sameMarkerData: MarkerClusterData[], map
|
|
|
470
499
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
471
500
|
* @param {Element} markerCollection - Specifies the marker collection
|
|
472
501
|
* @returns {Element} - Returns the element
|
|
502
|
+
* @private
|
|
473
503
|
*/
|
|
474
504
|
export declare function marker(eventArgs: IMarkerRenderingEventArgs, markerSettings: MarkerSettings, markerData: any[], dataIndex: number, location: Point, transPoint: Point, markerID: string, offset: Point, scale: number, maps: Maps, markerCollection: Element): Element;
|
|
475
505
|
/**
|
|
@@ -486,6 +516,7 @@ export declare function marker(eventArgs: IMarkerRenderingEventArgs, markerSetti
|
|
|
486
516
|
* @param {Point} offset - Specifies the offset value
|
|
487
517
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
488
518
|
* @returns {HTMLElement} - Returns the html element
|
|
519
|
+
* @private
|
|
489
520
|
*/
|
|
490
521
|
export declare function markerTemplate(eventArgs: IMarkerRenderingEventArgs, templateFn: any, markerID: string, data: any, markerIndex: number, markerTemplate: HTMLElement, location: Point, transPoint: Point, scale: number, offset: Point, maps: Maps): HTMLElement;
|
|
491
522
|
/**
|
|
@@ -709,6 +740,7 @@ export declare function getFieldData(dataSource: any[], fields: string[]): any[]
|
|
|
709
740
|
* @param {string | string[]} propertyPath - Specifies the property path
|
|
710
741
|
* @param {LayerSettingsModel} layer - Specifies the layer settings
|
|
711
742
|
* @returns {number} - Returns the number
|
|
743
|
+
* @private
|
|
712
744
|
*/
|
|
713
745
|
export declare function checkShapeDataFields(dataSource: any[], properties: any, dataPath: string, propertyPath: string | string[], layer: LayerSettingsModel): number;
|
|
714
746
|
/**
|
|
@@ -725,6 +757,7 @@ export declare function checkPropertyPath(shapeData: string, shapePropertyPath:
|
|
|
725
757
|
* @param {number} start - Specifies the start value
|
|
726
758
|
* @param {number} end - Specifies the end value
|
|
727
759
|
* @returns {MapLocation[]} - Returns the location
|
|
760
|
+
* @private
|
|
728
761
|
*/
|
|
729
762
|
export declare function filter(points: MapLocation[], start: number, end: number): MapLocation[];
|
|
730
763
|
/**
|
|
@@ -735,6 +768,7 @@ export declare function filter(points: MapLocation[], start: number, end: number
|
|
|
735
768
|
* @param {number} minValue - Specifies the minValue
|
|
736
769
|
* @param {number} maxValue -Specifies the maxValue
|
|
737
770
|
* @returns {number} - Returns the number
|
|
771
|
+
* @private
|
|
738
772
|
*/
|
|
739
773
|
export declare function getRatioOfBubble(min: number, max: number, value: number, minValue: number, maxValue: number): number;
|
|
740
774
|
/**
|
|
@@ -744,6 +778,7 @@ export declare function getRatioOfBubble(min: number, max: number, value: number
|
|
|
744
778
|
* @param {string} type - Specifies the type
|
|
745
779
|
* @param {string} geometryType - Specified the type of the geometry
|
|
746
780
|
* @returns {any} - Specifies the object
|
|
781
|
+
* @private
|
|
747
782
|
*/
|
|
748
783
|
export declare function findMidPointOfPolygon(points: MapLocation[], type: string, geometryType?: string): any;
|
|
749
784
|
/**
|
|
@@ -772,6 +807,7 @@ export declare function textTrim(maxWidth: number, text: string, font: FontModel
|
|
|
772
807
|
* @param {Size} textSize - Specifies the text size
|
|
773
808
|
* @param {string} type - Specifies the type
|
|
774
809
|
* @returns {Point} - Returns the point values
|
|
810
|
+
* @private
|
|
775
811
|
*/
|
|
776
812
|
export declare function findPosition(location: Rect, alignment: Alignment, textSize: Size, type: string): Point;
|
|
777
813
|
/**
|
|
@@ -779,6 +815,7 @@ export declare function findPosition(location: Rect, alignment: Alignment, textS
|
|
|
779
815
|
*
|
|
780
816
|
* @param {string} id - Specifies the id
|
|
781
817
|
* @returns {void}
|
|
818
|
+
* @private
|
|
782
819
|
*/
|
|
783
820
|
export declare function removeElement(id: string): void;
|
|
784
821
|
/**
|
|
@@ -787,6 +824,7 @@ export declare function removeElement(id: string): void;
|
|
|
787
824
|
* @param {Maps} mapObject - Specifies the map object
|
|
788
825
|
* @param {LayerSettings} layer - Specifies the layer settings
|
|
789
826
|
* @returns {Point} - Returns the x and y points
|
|
827
|
+
* @private
|
|
790
828
|
*/
|
|
791
829
|
export declare function calculateCenterFromPixel(mapObject: Maps, layer: LayerSettings): Point;
|
|
792
830
|
/**
|
|
@@ -810,6 +848,7 @@ export declare function getZoomTranslate(mapObject: Maps, layer: LayerSettings,
|
|
|
810
848
|
*
|
|
811
849
|
* @param {Maps} map - Specifies the instance of the maps
|
|
812
850
|
* @returns {void}
|
|
851
|
+
* @private
|
|
813
852
|
*/
|
|
814
853
|
export declare function fixInitialScaleForTile(map: Maps): void;
|
|
815
854
|
/**
|
|
@@ -817,6 +856,7 @@ export declare function fixInitialScaleForTile(map: Maps): void;
|
|
|
817
856
|
*
|
|
818
857
|
* @param {string} id - Specifies the id
|
|
819
858
|
* @returns {Element} - Returns the element
|
|
859
|
+
* @private
|
|
820
860
|
*/
|
|
821
861
|
export declare function getElementByID(id: string): Element;
|
|
822
862
|
/**
|
|
@@ -833,6 +873,7 @@ export declare function getClientElement(id: string): ClientRect;
|
|
|
833
873
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
834
874
|
* @param {number} value - Specifies the value
|
|
835
875
|
* @returns {string} - Returns the string
|
|
876
|
+
* @private
|
|
836
877
|
*/
|
|
837
878
|
export declare function Internalize(maps: Maps, value: number): string;
|
|
838
879
|
/**
|
|
@@ -858,6 +899,7 @@ export declare function getElement(id: string): Element;
|
|
|
858
899
|
* @param {string} targetId - Specifies the target id
|
|
859
900
|
* @param {Maps} map - Specifies the instance of the maps
|
|
860
901
|
* @returns {any} - Returns the object
|
|
902
|
+
* @private
|
|
861
903
|
*/
|
|
862
904
|
export declare function getShapeData(targetId: string, map: Maps): {
|
|
863
905
|
shapeData: any;
|
|
@@ -879,6 +921,7 @@ export declare function triggerShapeEvent(targetId: string, selection: Selection
|
|
|
879
921
|
*
|
|
880
922
|
* @param {string} className - Specifies the class name
|
|
881
923
|
* @returns {HTMLCollectionOf<Element>} - Returns the collection
|
|
924
|
+
* @private
|
|
882
925
|
*/
|
|
883
926
|
export declare function getElementsByClassName(className: string): HTMLCollectionOf<Element>;
|
|
884
927
|
/**
|
|
@@ -890,6 +933,7 @@ export declare function getElementsByClassName(className: string): HTMLCollectio
|
|
|
890
933
|
* @param {string} args - Specifies the args
|
|
891
934
|
* @param {string} elementSelector - Specifies the element selector
|
|
892
935
|
* @returns {Element} - Returns the element
|
|
936
|
+
* @private
|
|
893
937
|
*/
|
|
894
938
|
export declare function querySelector(args: string, elementSelector: string): Element;
|
|
895
939
|
/**
|
|
@@ -900,6 +944,7 @@ export declare function querySelector(args: string, elementSelector: string): El
|
|
|
900
944
|
* @param {boolean} enable - Specifies the boolean value
|
|
901
945
|
* @param {Maps} map - Specifies the instance of the maps
|
|
902
946
|
* @returns {Element} - Returns the element
|
|
947
|
+
* @private
|
|
903
948
|
*/
|
|
904
949
|
export declare function getTargetElement(layerIndex: number, name: string, enable: boolean, map: Maps): Element;
|
|
905
950
|
/**
|
|
@@ -909,6 +954,7 @@ export declare function getTargetElement(layerIndex: number, name: string, enabl
|
|
|
909
954
|
* @param {string} className - Specifies the class name
|
|
910
955
|
* @param {IShapeSelectedEventArgs | any} eventArgs - Specifies the event args
|
|
911
956
|
* @returns {Element} - Returns the element
|
|
957
|
+
* @private
|
|
912
958
|
*/
|
|
913
959
|
export declare function createStyle(id: string, className: string, eventArgs: IShapeSelectedEventArgs | any): Element;
|
|
914
960
|
/**
|
|
@@ -918,6 +964,7 @@ export declare function createStyle(id: string, className: string, eventArgs: IS
|
|
|
918
964
|
* @param {string} className - Specifies the class name
|
|
919
965
|
* @param {IShapeSelectedEventArgs | any} eventArgs - Specifies the event args
|
|
920
966
|
* @returns {void}
|
|
967
|
+
* @private
|
|
921
968
|
*/
|
|
922
969
|
export declare function customizeStyle(id: string, className: string, eventArgs: IShapeSelectedEventArgs | any): void;
|
|
923
970
|
/**
|
|
@@ -929,6 +976,7 @@ export declare function customizeStyle(id: string, className: string, eventArgs:
|
|
|
929
976
|
* @param {any} shapeData - Specifies the shape data
|
|
930
977
|
* @param {any} data - Specifies the data
|
|
931
978
|
* @returns {void}
|
|
979
|
+
* @private
|
|
932
980
|
*/
|
|
933
981
|
export declare function triggerItemSelectionEvent(selectionSettings: SelectionSettingsModel, map: Maps, targetElement: Element, shapeData: any, data: any): void;
|
|
934
982
|
/**
|
|
@@ -936,6 +984,7 @@ export declare function triggerItemSelectionEvent(selectionSettings: SelectionSe
|
|
|
936
984
|
*
|
|
937
985
|
* @param {Element} element - Specifies the element
|
|
938
986
|
* @returns {void}
|
|
987
|
+
* @private
|
|
939
988
|
*/
|
|
940
989
|
export declare function removeClass(element: Element): void;
|
|
941
990
|
/**
|
|
@@ -955,6 +1004,7 @@ export declare function elementAnimate(element: Element, delay: number, duration
|
|
|
955
1004
|
/**
|
|
956
1005
|
* @param {string} id - Specifies the id
|
|
957
1006
|
* @returns {void}
|
|
1007
|
+
* @private
|
|
958
1008
|
*/
|
|
959
1009
|
export declare function timeout(id: string): void;
|
|
960
1010
|
/**
|
|
@@ -968,6 +1018,7 @@ export declare function timeout(id: string): void;
|
|
|
968
1018
|
* @param {Element} element - Specifies the element
|
|
969
1019
|
* @param {boolean} isTouch - Specifies the boolean value
|
|
970
1020
|
* @returns {void}
|
|
1021
|
+
* @private
|
|
971
1022
|
*/
|
|
972
1023
|
export declare function showTooltip(text: string, size: string, x: number, y: number, areaWidth: number, areaHeight: number, id: string, element: Element, isTouch?: boolean): void;
|
|
973
1024
|
/**
|
|
@@ -980,6 +1031,7 @@ export declare function showTooltip(text: string, size: string, x: number, y: nu
|
|
|
980
1031
|
* @param {number} areaWidth - Specifies the area width
|
|
981
1032
|
* @param {Element} element - Specifies the element
|
|
982
1033
|
* @returns {void}
|
|
1034
|
+
* @private
|
|
983
1035
|
*/
|
|
984
1036
|
export declare function wordWrap(tooltip: HTMLElement, text: string, x: number, y: number, size1: string[], width: number, areaWidth: number, element: Element): void;
|
|
985
1037
|
/**
|
|
@@ -987,11 +1039,15 @@ export declare function wordWrap(tooltip: HTMLElement, text: string, x: number,
|
|
|
987
1039
|
* @param {string} text - Specifies the text
|
|
988
1040
|
* @param {string} top - Specifies the top
|
|
989
1041
|
* @param {string} left - Specifies the left
|
|
990
|
-
* @param {
|
|
1042
|
+
* @param {ZoomToolbarTooltipSettingsModel} settings - Specifies the tooltip settings.
|
|
991
1043
|
* @returns {void}
|
|
992
1044
|
* @private
|
|
993
1045
|
*/
|
|
994
|
-
export declare function createTooltip(id: string, text: string, top: number, left: number,
|
|
1046
|
+
export declare function createTooltip(id: string, text: string, top: number, left: number, settings: ZoomToolbarTooltipSettingsModel): void;
|
|
1047
|
+
/**
|
|
1048
|
+
* @private
|
|
1049
|
+
*/
|
|
1050
|
+
export declare function getHexColor(color: string): any;
|
|
995
1051
|
/**
|
|
996
1052
|
* @param {Point} location - Specifies the location
|
|
997
1053
|
* @param {string} shape - Specifies the shape
|
|
@@ -1103,30 +1159,31 @@ export declare function zoomAnimate(element: Element, delay: number, duration: n
|
|
|
1103
1159
|
* @param {Function} process - Specifies the process
|
|
1104
1160
|
* @param {Function} end - Specifies the end
|
|
1105
1161
|
* @returns {void}
|
|
1162
|
+
* @private
|
|
1106
1163
|
*/
|
|
1107
1164
|
export declare function animate(element: Element, delay: number, duration: number, process: any, end: any): void;
|
|
1108
1165
|
/**
|
|
1109
|
-
*
|
|
1166
|
+
* Defines the options to get shape data file using Ajax request.
|
|
1110
1167
|
*/
|
|
1111
1168
|
export declare class MapAjax {
|
|
1112
1169
|
/**
|
|
1113
|
-
*
|
|
1170
|
+
* Defines the data options for the Ajax.
|
|
1114
1171
|
*/
|
|
1115
1172
|
dataOptions: string | any;
|
|
1116
1173
|
/**
|
|
1117
|
-
*
|
|
1174
|
+
* Defines type of the Ajax.
|
|
1118
1175
|
*/
|
|
1119
1176
|
type: string;
|
|
1120
1177
|
/**
|
|
1121
|
-
*
|
|
1178
|
+
* Defines whether the Ajax request is asynchronous or not.
|
|
1122
1179
|
*/
|
|
1123
1180
|
async: boolean;
|
|
1124
1181
|
/**
|
|
1125
|
-
*
|
|
1182
|
+
* Defines the type of the content in Ajax request.
|
|
1126
1183
|
*/
|
|
1127
1184
|
contentType: string;
|
|
1128
1185
|
/**
|
|
1129
|
-
*
|
|
1186
|
+
* Defines the data sent in the Ajax request.
|
|
1130
1187
|
*/
|
|
1131
1188
|
sendData: string | any;
|
|
1132
1189
|
constructor(options: string | any, type?: string, async?: boolean, contentType?: string, sendData?: string | any);
|
|
@@ -1148,6 +1205,7 @@ export declare function smoothTranslate(element: Element, delay: number, duratio
|
|
|
1148
1205
|
* @param {number} scaleFactor - Specifies the scale factor
|
|
1149
1206
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
1150
1207
|
* @returns {void}
|
|
1208
|
+
* @private
|
|
1151
1209
|
*/
|
|
1152
1210
|
export declare function compareZoomFactor(scaleFactor: number, maps: Maps): void;
|
|
1153
1211
|
/**
|
|
@@ -1161,12 +1219,14 @@ export declare function compareZoomFactor(scaleFactor: number, maps: Maps): void
|
|
|
1161
1219
|
* @param {number} mapHeight - Specifies the height of the maps
|
|
1162
1220
|
* @param {Maps} maps - Specifies the instance of the maps
|
|
1163
1221
|
* @returns {number} - Returns the scale factor
|
|
1222
|
+
* @private
|
|
1164
1223
|
*/
|
|
1165
|
-
export declare function calculateZoomLevel(minLat: number, maxLat: number, minLong: number, maxLong: number, mapWidth: number, mapHeight: number, maps: Maps): number;
|
|
1224
|
+
export declare function calculateZoomLevel(minLat: number, maxLat: number, minLong: number, maxLong: number, mapWidth: number, mapHeight: number, maps: Maps, isZoomToCoordinates: boolean): number;
|
|
1166
1225
|
/**
|
|
1167
1226
|
* Method to get the result
|
|
1168
1227
|
*
|
|
1169
1228
|
* @param {any} e - Specifies the any type value
|
|
1170
1229
|
* @returns {any} - Returns the data value
|
|
1230
|
+
* @private
|
|
1171
1231
|
*/
|
|
1172
1232
|
export declare function processResult(e: any): any;
|