@syncfusion/ej2-maps 20.3.49 → 20.4.38
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 +16 -1
- package/CHANGELOG.md +19 -0
- package/README.md +65 -51
- 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 +1030 -781
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +1017 -772
- 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 +34 -21
- package/src/maps/layers/bing-map.d.ts +1 -0
- package/src/maps/layers/bing-map.js +1 -0
- package/src/maps/layers/bubble.d.ts +4 -0
- package/src/maps/layers/bubble.js +7 -3
- package/src/maps/layers/color-mapping.d.ts +5 -0
- package/src/maps/layers/color-mapping.js +5 -3
- package/src/maps/layers/data-label.d.ts +0 -1
- package/src/maps/layers/data-label.js +13 -14
- package/src/maps/layers/layer-panel.d.ts +7 -7
- package/src/maps/layers/layer-panel.js +119 -72
- package/src/maps/layers/legend.js +30 -25
- package/src/maps/layers/marker.d.ts +13 -0
- package/src/maps/layers/marker.js +133 -115
- package/src/maps/layers/navigation-selected-line.d.ts +5 -0
- package/src/maps/layers/navigation-selected-line.js +70 -65
- package/src/maps/maps-model.d.ts +1 -1
- package/src/maps/maps.d.ts +19 -0
- package/src/maps/maps.js +469 -382
- package/src/maps/model/base.js +2 -2
- package/src/maps/model/export-image.d.ts +4 -3
- package/src/maps/model/export-image.js +7 -6
- package/src/maps/model/export-pdf.d.ts +6 -6
- package/src/maps/model/export-pdf.js +8 -7
- package/src/maps/model/interface.d.ts +2 -2
- package/src/maps/model/print.d.ts +4 -2
- package/src/maps/model/print.js +6 -3
- package/src/maps/user-interaction/annotation.js +2 -3
- package/src/maps/user-interaction/highlight.js +37 -13
- package/src/maps/user-interaction/selection.js +4 -2
- package/src/maps/user-interaction/tooltip.js +8 -8
- package/src/maps/user-interaction/zoom.d.ts +5 -0
- package/src/maps/user-interaction/zoom.js +39 -29
- package/src/maps/utils/helper.d.ts +2 -0
- package/src/maps/utils/helper.js +58 -45
package/src/maps/maps.d.ts
CHANGED
|
@@ -548,6 +548,8 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
548
548
|
/** @private */
|
|
549
549
|
defaultState: boolean;
|
|
550
550
|
/** @private */
|
|
551
|
+
currentTiles: HTMLElement;
|
|
552
|
+
/** @private */
|
|
551
553
|
markerCenterLatitude: number;
|
|
552
554
|
/** @private */
|
|
553
555
|
markerCenterLongitude: number;
|
|
@@ -582,6 +584,8 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
582
584
|
/** @private */
|
|
583
585
|
tileZoomLevel: number;
|
|
584
586
|
/** @private */
|
|
587
|
+
isZoomByPosition: boolean;
|
|
588
|
+
/** @private */
|
|
585
589
|
tileZoomScale: number;
|
|
586
590
|
/** @private */
|
|
587
591
|
staticMapZoom: number;
|
|
@@ -829,11 +833,13 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
829
833
|
* This method is used to perform the operations when a click operation is performed on maps.
|
|
830
834
|
*
|
|
831
835
|
* @param {PointerEvent} e - Specifies the pointer event on maps.
|
|
836
|
+
* @returns {void}
|
|
832
837
|
*/
|
|
833
838
|
mapsOnClick(e: PointerEvent): void;
|
|
834
839
|
private clickHandler;
|
|
835
840
|
private triggerShapeSelection;
|
|
836
841
|
private getClickLocation;
|
|
842
|
+
private removeTileMap;
|
|
837
843
|
/**
|
|
838
844
|
* This method is used to perform operations when mouse click on maps.
|
|
839
845
|
*
|
|
@@ -859,6 +865,7 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
859
865
|
* This method is used to perform operations when performing the double click operation on maps.
|
|
860
866
|
*
|
|
861
867
|
* @param {PointerEvent} e - Specifies the pointer event.
|
|
868
|
+
* @returns {void}
|
|
862
869
|
*/
|
|
863
870
|
mapsOnDoubleClick(e: PointerEvent): void;
|
|
864
871
|
/**
|
|
@@ -896,12 +903,14 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
896
903
|
*
|
|
897
904
|
* @param {PanDirection} direction - Specifies the direction in which the panning is performed.
|
|
898
905
|
* @param {PointerEvent | TouchEvent} mouseLocation - Specifies the location of the mouse pointer in maps.
|
|
906
|
+
* @returns {void}
|
|
899
907
|
*/
|
|
900
908
|
panByDirection(direction: PanDirection, mouseLocation?: PointerEvent | TouchEvent): void;
|
|
901
909
|
/**
|
|
902
910
|
* This method is used to add the layers dynamically to the maps.
|
|
903
911
|
*
|
|
904
912
|
* @param {Object} layer - Specifies the layer for the maps.
|
|
913
|
+
* @returns {void}
|
|
905
914
|
*/
|
|
906
915
|
addLayer(layer: Object): void;
|
|
907
916
|
/**
|
|
@@ -961,6 +970,8 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
961
970
|
private setLocaleConstants;
|
|
962
971
|
/**
|
|
963
972
|
* This method disposes the maps component.
|
|
973
|
+
*
|
|
974
|
+
* @returns {void}
|
|
964
975
|
*/
|
|
965
976
|
destroy(): void;
|
|
966
977
|
/**
|
|
@@ -994,18 +1005,26 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
|
|
|
994
1005
|
requiredModules(): ModuleDeclaration[];
|
|
995
1006
|
/**
|
|
996
1007
|
* To find marker visibility
|
|
1008
|
+
*
|
|
1009
|
+
* @returns {boolean} - Returns whether the markers are visible or not.
|
|
997
1010
|
*/
|
|
998
1011
|
private isMarkersVisible;
|
|
999
1012
|
/**
|
|
1000
1013
|
* To find DataLabel visibility
|
|
1014
|
+
*
|
|
1015
|
+
* @returns {boolean} - Returns whether the data labels are visible or not.
|
|
1001
1016
|
*/
|
|
1002
1017
|
private isDataLabelVisible;
|
|
1003
1018
|
/**
|
|
1004
1019
|
* To find navigation line visibility
|
|
1020
|
+
*
|
|
1021
|
+
* @returns {boolean} - Returns whether the navigation lines are visible or not.
|
|
1005
1022
|
*/
|
|
1006
1023
|
private isNavigationVisible;
|
|
1007
1024
|
/**
|
|
1008
1025
|
* To find space between the secondary element and svg element.
|
|
1026
|
+
*
|
|
1027
|
+
* @returns {Point} - Returns the left and top value of the secondary element of Maps.
|
|
1009
1028
|
* @private
|
|
1010
1029
|
*/
|
|
1011
1030
|
getExtraPosition(): Point;
|