@syncfusion/ej2-maps 20.3.56 → 20.4.40

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.
Files changed (48) hide show
  1. package/.eslintrc.json +16 -1
  2. package/CHANGELOG.md +11 -1
  3. package/README.md +65 -51
  4. package/dist/ej2-maps.min.js +2 -2
  5. package/dist/ej2-maps.umd.min.js +2 -2
  6. package/dist/ej2-maps.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-maps.es2015.js +961 -730
  8. package/dist/es6/ej2-maps.es2015.js.map +1 -1
  9. package/dist/es6/ej2-maps.es5.js +947 -720
  10. package/dist/es6/ej2-maps.es5.js.map +1 -1
  11. package/dist/global/ej2-maps.min.js +2 -2
  12. package/dist/global/ej2-maps.min.js.map +1 -1
  13. package/dist/global/index.d.ts +1 -1
  14. package/package.json +34 -21
  15. package/src/maps/layers/bing-map.d.ts +1 -0
  16. package/src/maps/layers/bing-map.js +1 -0
  17. package/src/maps/layers/bubble.d.ts +4 -0
  18. package/src/maps/layers/bubble.js +7 -3
  19. package/src/maps/layers/color-mapping.d.ts +5 -0
  20. package/src/maps/layers/color-mapping.js +5 -3
  21. package/src/maps/layers/data-label.d.ts +0 -1
  22. package/src/maps/layers/data-label.js +5 -12
  23. package/src/maps/layers/layer-panel.d.ts +7 -7
  24. package/src/maps/layers/layer-panel.js +98 -53
  25. package/src/maps/layers/legend.js +63 -26
  26. package/src/maps/layers/marker.d.ts +13 -0
  27. package/src/maps/layers/marker.js +124 -107
  28. package/src/maps/layers/navigation-selected-line.d.ts +5 -0
  29. package/src/maps/layers/navigation-selected-line.js +111 -104
  30. package/src/maps/maps-model.d.ts +1 -1
  31. package/src/maps/maps.d.ts +17 -0
  32. package/src/maps/maps.js +448 -364
  33. package/src/maps/model/base.js +1 -1
  34. package/src/maps/model/export-image.d.ts +4 -3
  35. package/src/maps/model/export-image.js +7 -6
  36. package/src/maps/model/export-pdf.d.ts +6 -6
  37. package/src/maps/model/export-pdf.js +8 -7
  38. package/src/maps/model/interface.d.ts +2 -2
  39. package/src/maps/model/print.d.ts +4 -2
  40. package/src/maps/model/print.js +6 -3
  41. package/src/maps/user-interaction/annotation.js +0 -2
  42. package/src/maps/user-interaction/highlight.js +4 -3
  43. package/src/maps/user-interaction/selection.js +4 -2
  44. package/src/maps/user-interaction/tooltip.js +5 -5
  45. package/src/maps/user-interaction/zoom.d.ts +5 -0
  46. package/src/maps/user-interaction/zoom.js +9 -8
  47. package/src/maps/utils/helper.d.ts +2 -0
  48. package/src/maps/utils/helper.js +37 -30
@@ -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;
@@ -831,11 +833,13 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
831
833
  * This method is used to perform the operations when a click operation is performed on maps.
832
834
  *
833
835
  * @param {PointerEvent} e - Specifies the pointer event on maps.
836
+ * @returns {void}
834
837
  */
835
838
  mapsOnClick(e: PointerEvent): void;
836
839
  private clickHandler;
837
840
  private triggerShapeSelection;
838
841
  private getClickLocation;
842
+ private removeTileMap;
839
843
  /**
840
844
  * This method is used to perform operations when mouse click on maps.
841
845
  *
@@ -861,6 +865,7 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
861
865
  * This method is used to perform operations when performing the double click operation on maps.
862
866
  *
863
867
  * @param {PointerEvent} e - Specifies the pointer event.
868
+ * @returns {void}
864
869
  */
865
870
  mapsOnDoubleClick(e: PointerEvent): void;
866
871
  /**
@@ -898,12 +903,14 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
898
903
  *
899
904
  * @param {PanDirection} direction - Specifies the direction in which the panning is performed.
900
905
  * @param {PointerEvent | TouchEvent} mouseLocation - Specifies the location of the mouse pointer in maps.
906
+ * @returns {void}
901
907
  */
902
908
  panByDirection(direction: PanDirection, mouseLocation?: PointerEvent | TouchEvent): void;
903
909
  /**
904
910
  * This method is used to add the layers dynamically to the maps.
905
911
  *
906
912
  * @param {Object} layer - Specifies the layer for the maps.
913
+ * @returns {void}
907
914
  */
908
915
  addLayer(layer: Object): void;
909
916
  /**
@@ -963,6 +970,8 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
963
970
  private setLocaleConstants;
964
971
  /**
965
972
  * This method disposes the maps component.
973
+ *
974
+ * @returns {void}
966
975
  */
967
976
  destroy(): void;
968
977
  /**
@@ -996,18 +1005,26 @@ export declare class Maps extends Component<HTMLElement> implements INotifyPrope
996
1005
  requiredModules(): ModuleDeclaration[];
997
1006
  /**
998
1007
  * To find marker visibility
1008
+ *
1009
+ * @returns {boolean} - Returns whether the markers are visible or not.
999
1010
  */
1000
1011
  private isMarkersVisible;
1001
1012
  /**
1002
1013
  * To find DataLabel visibility
1014
+ *
1015
+ * @returns {boolean} - Returns whether the data labels are visible or not.
1003
1016
  */
1004
1017
  private isDataLabelVisible;
1005
1018
  /**
1006
1019
  * To find navigation line visibility
1020
+ *
1021
+ * @returns {boolean} - Returns whether the navigation lines are visible or not.
1007
1022
  */
1008
1023
  private isNavigationVisible;
1009
1024
  /**
1010
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.
1011
1028
  * @private
1012
1029
  */
1013
1030
  getExtraPosition(): Point;