@syncfusion/ej2-maps 19.4.55 → 19.4.56-105067

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 (84) hide show
  1. package/.eslintrc.json +18 -3
  2. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +72 -72
  3. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +49 -49
  4. package/CHANGELOG.md +441 -430
  5. package/README.md +73 -73
  6. package/dist/ej2-maps.umd.min.js +1 -10
  7. package/dist/ej2-maps.umd.min.js.map +1 -1
  8. package/dist/es6/ej2-maps.es2015.js +1205 -644
  9. package/dist/es6/ej2-maps.es2015.js.map +1 -1
  10. package/dist/es6/ej2-maps.es5.js +1243 -683
  11. package/dist/es6/ej2-maps.es5.js.map +1 -1
  12. package/dist/global/ej2-maps.min.js +1 -10
  13. package/dist/global/ej2-maps.min.js.map +1 -1
  14. package/dist/global/index.d.ts +0 -9
  15. package/dist/ts/maps/layers/bing-map.ts +50 -0
  16. package/dist/ts/maps/layers/bubble.ts +290 -0
  17. package/dist/ts/maps/layers/color-mapping.ts +226 -0
  18. package/dist/ts/maps/layers/data-label.ts +418 -0
  19. package/dist/ts/maps/layers/layer-panel.ts +1480 -0
  20. package/dist/ts/maps/layers/legend.ts +2236 -0
  21. package/dist/ts/maps/layers/marker.ts +453 -0
  22. package/dist/ts/maps/layers/navigation-selected-line.ts +167 -0
  23. package/dist/ts/maps/maps.ts +2886 -0
  24. package/dist/ts/maps/model/base.ts +1843 -0
  25. package/dist/ts/maps/model/constants.ts +200 -0
  26. package/dist/ts/maps/model/export-image.ts +178 -0
  27. package/dist/ts/maps/model/export-pdf.ts +170 -0
  28. package/dist/ts/maps/model/interface.ts +823 -0
  29. package/dist/ts/maps/model/print.ts +104 -0
  30. package/dist/ts/maps/model/theme.ts +554 -0
  31. package/dist/ts/maps/user-interaction/annotation.ts +127 -0
  32. package/dist/ts/maps/user-interaction/highlight.ts +233 -0
  33. package/dist/ts/maps/user-interaction/selection.ts +321 -0
  34. package/dist/ts/maps/user-interaction/tooltip.ts +387 -0
  35. package/dist/ts/maps/user-interaction/zoom.ts +1767 -0
  36. package/dist/ts/maps/utils/enum.ts +368 -0
  37. package/dist/ts/maps/utils/helper.ts +3421 -0
  38. package/helper/e2e/index.js +3 -3
  39. package/helper/e2e/maps-helper.js +13 -13
  40. package/license +9 -9
  41. package/package.json +85 -85
  42. package/src/maps/layers/bing-map.d.ts +4 -0
  43. package/src/maps/layers/bing-map.js +16 -3
  44. package/src/maps/layers/bubble.d.ts +1 -2
  45. package/src/maps/layers/bubble.js +7 -12
  46. package/src/maps/layers/data-label.d.ts +1 -4
  47. package/src/maps/layers/data-label.js +32 -35
  48. package/src/maps/layers/layer-panel.d.ts +18 -1
  49. package/src/maps/layers/layer-panel.js +226 -72
  50. package/src/maps/layers/legend.d.ts +5 -2
  51. package/src/maps/layers/legend.js +170 -61
  52. package/src/maps/layers/marker.d.ts +2 -4
  53. package/src/maps/layers/marker.js +49 -48
  54. package/src/maps/layers/navigation-selected-line.d.ts +1 -2
  55. package/src/maps/layers/navigation-selected-line.js +7 -13
  56. package/src/maps/maps-model.d.ts +259 -251
  57. package/src/maps/maps.d.ts +24 -3
  58. package/src/maps/maps.js +164 -97
  59. package/src/maps/model/base-model.d.ts +1025 -1021
  60. package/src/maps/model/base.d.ts +5 -1
  61. package/src/maps/model/base.js +24 -24
  62. package/src/maps/model/constants.d.ts +6 -0
  63. package/src/maps/model/constants.js +6 -0
  64. package/src/maps/model/export-image.d.ts +2 -4
  65. package/src/maps/model/export-image.js +34 -33
  66. package/src/maps/model/export-pdf.d.ts +4 -6
  67. package/src/maps/model/export-pdf.js +31 -32
  68. package/src/maps/model/interface.d.ts +34 -26
  69. package/src/maps/model/print.d.ts +2 -5
  70. package/src/maps/model/print.js +32 -18
  71. package/src/maps/model/theme.js +7 -4
  72. package/src/maps/user-interaction/annotation.d.ts +1 -2
  73. package/src/maps/user-interaction/annotation.js +3 -4
  74. package/src/maps/user-interaction/highlight.d.ts +1 -2
  75. package/src/maps/user-interaction/highlight.js +11 -10
  76. package/src/maps/user-interaction/selection.d.ts +1 -2
  77. package/src/maps/user-interaction/selection.js +42 -19
  78. package/src/maps/user-interaction/tooltip.d.ts +3 -5
  79. package/src/maps/user-interaction/tooltip.js +27 -14
  80. package/src/maps/user-interaction/zoom.d.ts +3 -8
  81. package/src/maps/user-interaction/zoom.js +282 -162
  82. package/src/maps/utils/enum.d.ts +5 -1
  83. package/src/maps/utils/helper.d.ts +9 -1
  84. package/src/maps/utils/helper.js +82 -33
package/README.md CHANGED
@@ -1,73 +1,73 @@
1
- # ej2-maps
2
-
3
- The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options.
4
-
5
- ![Maps](https://ej2.syncfusion.com/products/images/maps/readme.gif)
6
-
7
- > Maps is part of Syncfusion Essential JS 2 commercial program. License is available in two models Community and Paid. Please refer the license file for more information. License can be obtained by registering at [https://www.syncfusion.com/downloads/essential-js2](https://www.syncfusion.com/downloads/essential-js2?utm_source=npm&utm_campaign=maps)
8
-
9
- ## Setup
10
-
11
- To install Maps and its dependent packages, use the following command.
12
-
13
- ```sh
14
- npm install @syncfusion/ej2-maps
15
- ```
16
-
17
- ## Resources
18
-
19
- * [Getting Started](https://ej2.syncfusion.com/documentation/maps/getting-started.html?lang=typescript)
20
- * [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/default.html)
21
- * [Product Page](https://www.syncfusion.com/products/javascript/maps)
22
-
23
- ## Supported Frameworks
24
-
25
- Maps component is also offered in following list of frameworks.
26
-
27
- 1. [Angular](https://www.npmjs.com/package/@syncfusion/ej2-ng-maps?utm_source=npm&utm_campaign=maps)
28
- 2. [React](https://www.npmjs.com/package/@syncfusion/ej2-react-maps?utm_source=npm&utm_campaign=maps)
29
- 3. [Vue.js](https://www.npmjs.com/package/@syncfusion/ej2-vue-maps?utm_source=npm&utm_campaign=maps)
30
- 4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com/Maps/Default#/material)
31
- 5. [ASP.NET MVC](https://aspnetmvc.syncfusion.com/Maps/Default#/material)
32
- 6. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript/maps)
33
-
34
- ## Use case samples
35
-
36
- * Heat map ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/heatmap.html))
37
- * Flight routes ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/curvedlines.html))
38
- * Bus seat booking ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/seatSelection.html))
39
-
40
- ## Key Features
41
-
42
- * [**Data sources**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/default.html) - Binds the maps component with an array of JSON objects or DataManager.
43
- * [**Projection**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/default.html) - Maps can be rendered in eight types of projections.
44
- * [**Drill-down**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/drilldown.html) - Provides drill-down option to have a closer look at the lower level of a hierarchy.
45
- * [**Marker**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/layout.html) - Provides marker support to mark a specific place of interest in the map.
46
- * [**Data label**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/label.html) - Provides additional information about the shapes.
47
- * [**Bubble**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/customization.html) - Represents the underlying data values of the shapes.
48
- * [**Navigation line**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/customization.html) - Denotes the path between two locations.
49
- * [**Color mapping**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/label.html) - Applies colors to the shapes based on various conditions. Maps supports two types of color mapping: range color mapping and equal color mapping.
50
- * [**Legend**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/election.html) - Denotes the color mapping categories.
51
- * [**Annotation**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/customization.html) - Uses any custom HTML element as annotation and place it anywhere on the maps.
52
- * [**Selection and Highlight**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/selection.html) - Supports selecting or highlighting the shapes to bring center of attraction.
53
- * [**Zooming and Panning**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/selection.html) - Allows to zoom in, out, and pan the map to show in-depth information.
54
- * [**Tooltip**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/tooltip.html) - Provides additonal information about the shapes on mouse hover.
55
- * [**Print and Export**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/print.html) - Provides options to print and export the rendered maps for future use.
56
-
57
- ## Support
58
-
59
- Product support is available for through following mediums.
60
-
61
- * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=maps) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=maps).
62
- * New [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues).
63
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`
64
-
65
- ## License
66
-
67
- Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_campaign=maps).
68
-
69
- ## Changelog
70
-
71
- Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/maps/CHANGELOG.md?utm_source=npm&utm_campaign=maps)
72
-
73
- © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
1
+ # ej2-maps
2
+
3
+ The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options.
4
+
5
+ ![Maps](https://ej2.syncfusion.com/products/images/maps/readme.gif)
6
+
7
+ > Maps is part of Syncfusion Essential JS 2 commercial program. License is available in two models Community and Paid. Please refer the license file for more information. License can be obtained by registering at [https://www.syncfusion.com/downloads/essential-js2](https://www.syncfusion.com/downloads/essential-js2?utm_source=npm&utm_campaign=maps)
8
+
9
+ ## Setup
10
+
11
+ To install Maps and its dependent packages, use the following command.
12
+
13
+ ```sh
14
+ npm install @syncfusion/ej2-maps
15
+ ```
16
+
17
+ ## Resources
18
+
19
+ * [Getting Started](https://ej2.syncfusion.com/documentation/maps/getting-started.html?lang=typescript)
20
+ * [View Online Demos](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/default.html)
21
+ * [Product Page](https://www.syncfusion.com/products/javascript/maps)
22
+
23
+ ## Supported Frameworks
24
+
25
+ Maps component is also offered in following list of frameworks.
26
+
27
+ 1. [Angular](https://www.npmjs.com/package/@syncfusion/ej2-ng-maps?utm_source=npm&utm_campaign=maps)
28
+ 2. [React](https://www.npmjs.com/package/@syncfusion/ej2-react-maps?utm_source=npm&utm_campaign=maps)
29
+ 3. [Vue.js](https://www.npmjs.com/package/@syncfusion/ej2-vue-maps?utm_source=npm&utm_campaign=maps)
30
+ 4. [ASP.NET Core](https://aspdotnetcore.syncfusion.com/Maps/Default#/material)
31
+ 5. [ASP.NET MVC](https://aspnetmvc.syncfusion.com/Maps/Default#/material)
32
+ 6. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript/maps)
33
+
34
+ ## Use case samples
35
+
36
+ * Heat map ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/heatmap.html))
37
+ * Flight routes ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/curvedlines.html))
38
+ * Bus seat booking ([Live Demo](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/seatSelection.html))
39
+
40
+ ## Key Features
41
+
42
+ * [**Data sources**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/default.html) - Binds the maps component with an array of JSON objects or DataManager.
43
+ * [**Projection**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/default.html) - Maps can be rendered in eight types of projections.
44
+ * [**Drill-down**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/drilldown.html) - Provides drill-down option to have a closer look at the lower level of a hierarchy.
45
+ * [**Marker**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/layout.html) - Provides marker support to mark a specific place of interest in the map.
46
+ * [**Data label**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/label.html) - Provides additional information about the shapes.
47
+ * [**Bubble**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/customization.html) - Represents the underlying data values of the shapes.
48
+ * [**Navigation line**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/customization.html) - Denotes the path between two locations.
49
+ * [**Color mapping**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/label.html) - Applies colors to the shapes based on various conditions. Maps supports two types of color mapping: range color mapping and equal color mapping.
50
+ * [**Legend**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/election.html) - Denotes the color mapping categories.
51
+ * [**Annotation**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/customization.html) - Uses any custom HTML element as annotation and place it anywhere on the maps.
52
+ * [**Selection and Highlight**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/selection.html) - Supports selecting or highlighting the shapes to bring center of attraction.
53
+ * [**Zooming and Panning**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/selection.html) - Allows to zoom in, out, and pan the map to show in-depth information.
54
+ * [**Tooltip**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/tooltip.html) - Provides additonal information about the shapes on mouse hover.
55
+ * [**Print and Export**](https://ej2.syncfusion.com/demos/?utm_source=npm&utm_campaign=maps#/material/maps/print.html) - Provides options to print and export the rendered maps for future use.
56
+
57
+ ## Support
58
+
59
+ Product support is available for through following mediums.
60
+
61
+ * Creating incident in Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents?utm_source=npm&utm_campaign=maps) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2?utm_source=npm&utm_campaign=maps).
62
+ * New [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues).
63
+ * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`
64
+
65
+ ## License
66
+
67
+ Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/license?utm_source=npm&utm_campaign=maps).
68
+
69
+ ## Changelog
70
+
71
+ Check the changelog [here](https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/maps/CHANGELOG.md?utm_source=npm&utm_campaign=maps)
72
+
73
+ © Copyright 2019 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.