@syncfusion/ej2-maps 19.3.44 → 19.4.42

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 (40) hide show
  1. package/.eslintrc.json +1 -1
  2. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +72 -0
  3. package/.github/PULL_REQUEST_TEMPLATE/Feature.md +49 -0
  4. package/CHANGELOG.md +36 -5
  5. package/README.md +4 -4
  6. package/dist/ej2-maps.umd.min.js +2 -2
  7. package/dist/ej2-maps.umd.min.js.map +1 -1
  8. package/dist/es6/ej2-maps.es2015.js +655 -647
  9. package/dist/es6/ej2-maps.es2015.js.map +1 -1
  10. package/dist/es6/ej2-maps.es5.js +652 -645
  11. package/dist/es6/ej2-maps.es5.js.map +1 -1
  12. package/dist/global/ej2-maps.min.js +2 -2
  13. package/dist/global/ej2-maps.min.js.map +1 -1
  14. package/dist/global/index.d.ts +1 -1
  15. package/package.json +12 -12
  16. package/src/maps/layers/bubble.d.ts +6 -0
  17. package/src/maps/layers/bubble.js +10 -25
  18. package/src/maps/layers/data-label.js +6 -17
  19. package/src/maps/layers/layer-panel.d.ts +2 -1
  20. package/src/maps/layers/layer-panel.js +86 -72
  21. package/src/maps/layers/legend.js +48 -19
  22. package/src/maps/layers/marker.js +2 -24
  23. package/src/maps/maps-model.d.ts +1 -28
  24. package/src/maps/maps.d.ts +5 -38
  25. package/src/maps/maps.js +80 -102
  26. package/src/maps/model/base-model.d.ts +7 -5
  27. package/src/maps/model/base.d.ts +6 -5
  28. package/src/maps/model/base.js +5 -2
  29. package/src/maps/model/export-pdf.js +1 -1
  30. package/src/maps/model/interface.d.ts +1 -3
  31. package/src/maps/model/theme.js +116 -6
  32. package/src/maps/user-interaction/annotation.js +3 -7
  33. package/src/maps/user-interaction/highlight.js +4 -17
  34. package/src/maps/user-interaction/selection.js +10 -22
  35. package/src/maps/user-interaction/tooltip.js +61 -125
  36. package/src/maps/user-interaction/zoom.d.ts +1 -0
  37. package/src/maps/user-interaction/zoom.js +92 -110
  38. package/src/maps/utils/enum.d.ts +8 -2
  39. package/src/maps/utils/helper.d.ts +5 -3
  40. package/src/maps/utils/helper.js +136 -104
package/.eslintrc.json CHANGED
@@ -241,4 +241,4 @@
241
241
  }
242
242
  }
243
243
  ]
244
- }
244
+ }
@@ -0,0 +1,72 @@
1
+ # Bug description
2
+
3
+ Clearly and concisely describe the problem or feature (this cannot be empty).
4
+
5
+ ## Root cause
6
+
7
+ Briefly describe the root cause and analysis of the problem.
8
+ If there is an internal discussion on the forum, provide the link.
9
+
10
+ ## Reason for not identifying earlier
11
+
12
+ Find how it was missed in our earlier testing and development and by whom it was missed. This will help prevent similar mistakes in the future.
13
+
14
+ ### Reason
15
+
16
+ Provide reason for missing.
17
+
18
+ ### Action taken:
19
+
20
+ Provide the action plan taken to avoid this issue further. Also, mention if we addressed any other area in the same product based on this learning.
21
+
22
+ ### Related Area for missing test case:
23
+
24
+ Unit test case / E2E test case / Manual testing
25
+
26
+ ## Is it a breaking issue?
27
+
28
+ If it is a breaking issue, provide the commit detail which caused this break.
29
+
30
+ ## Solution description
31
+
32
+ Describe your code changes in detail for reviewers.
33
+
34
+ ### Cause:
35
+
36
+ Technical explanation for cause.
37
+
38
+ ### Fix:
39
+
40
+ Technical explanation for your fix.
41
+
42
+ ## Output screenshots
43
+
44
+ Post the output screenshots if an UI is affected or added due to this bug.
45
+
46
+ ### Before issue fix output image:
47
+
48
+ Provide issue image before fix.
49
+
50
+ ### After issue fix output image:
51
+
52
+ Provide issue fixed image with your fix.
53
+
54
+ ## Areas affected and ensured
55
+
56
+ List the areas affected by your code changes.
57
+
58
+ ## Additional checklist
59
+
60
+ - [ ] Did you run the automation against your fix? <b> Yes | No Your Explanation </b>
61
+
62
+ - [ ] Is there any API name change? <b> Yes | No Your Explanation </b>
63
+
64
+ - [ ] Is there any existing behavior change of other features due to this code change? <b> Yes | No Your Explanation </b>
65
+
66
+ - [ ] Did you record this case in the unit test or UI test? <b> Yes | No Your Explanation </b>
67
+
68
+ - [ ] Did you added issue fix comment? <b> Yes | No Your Explanation </b>
69
+
70
+ - [ ] Did you tested this issue fix for all browsers? <b> [ ] Chrome [ ] Firefox [ ] Edge [ ] Internet Explorer </b>
71
+
72
+ - [ ] Does it have any known issues? <b> Yes | No Your Explanation </b>
@@ -0,0 +1,49 @@
1
+ # Feature description
2
+
3
+ Clearly and concisely describe the problem/feature (this cannot be empty)
4
+
5
+ ## Analysis / Design
6
+
7
+ If there is an external design, link to it project documentation area
8
+ If there is an internal discussion on the Forum, provide the link.
9
+
10
+ ## Solution Description
11
+
12
+ Describe your code changes in detail for reviewers
13
+
14
+ ## Output screenshots
15
+
16
+ Post the output screenshots if an UI is affected or added due to this feature.
17
+
18
+ ## Areas affected and ensured
19
+
20
+ List out the areas are affected by your code changes.
21
+
22
+ ## Test cases
23
+
24
+ Provide the unit testing written file details to understand the use cases considered in this implementation.
25
+ If there is no TDD (if it’s not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
26
+ Provide the test cases Excel file alone if the feature cannot be automated in any case.
27
+
28
+ ## Test bed sample location
29
+
30
+ Provide the test bed sample location where code reviewers can review the new feature’s behaviors. It can be from NPMCI, staging site, local server, etc.
31
+
32
+ ## Additional checklist
33
+
34
+ - [ ] Did you run the automation against your feature? <b> Yes | No Your Explanation </b>
35
+
36
+ - [ ] Is there any API name change? <b> Yes | No Your Explanation </b>
37
+
38
+ - [ ] Is there any existing behavior change of other features due to this code change? <b> Yes | No Your Explanation </b>
39
+
40
+ - [ ] Did you record this case in the unit test or UI test? <b> Yes | No Your Explanation </b>
41
+
42
+ - [ ] Did you add comment for your new code (Method / Class / API / Interface / Event)? <b> Yes | No Your Explanation </b>
43
+
44
+ - [ ] Did you configured third party config your feature? <b> Yes | No Your Explanation </b>
45
+
46
+ - [ ] Did you tested this feature with all browsers? <b> [ ] Chrome [ ] Firefox [ ] Edge [ ] Internet Explorer </b>
47
+
48
+
49
+
package/CHANGELOG.md CHANGED
@@ -10,11 +10,42 @@
10
10
 
11
11
  ### Maps
12
12
 
13
+ #### New Features
14
+
15
+ - When the `type` property of `legendSettings` property is set to "Markers", the `useMarkerShapes` property is exposed in the `legendSettings` to render the legend item shapes the same as the marker shapes.
16
+
17
+ #### Bug Fixes
18
+
19
+ - `#SF-360297` - The position of the marker template will now be proper when the float CSS style is set as "right" in the parent element of the Maps control.
20
+
21
+ ## 19.4.38 (2021-12-17)
22
+
23
+ ### Maps
24
+
25
+ #### New Features
26
+
27
+ - GeoJSON maps with "LineString" geometry type is now supported in the Maps control.
28
+ - When the `animationDuration` property is set, the zooming of map service providers such as OSM, Bing, and others is now smoother.
29
+
30
+ #### Bug Fixes
31
+
32
+ - `#F163990` - When the `imageUrlValuePath` property is set as the source image for the markers, image type markers will render properly.
33
+
34
+ ## 19.3.46 (2021-10-19)
35
+
36
+ ### Maps
37
+
38
+ #### Bug Fixes
39
+
40
+ - Script error will not be thrown when a shape is selected without binding the data source to the Maps.
41
+
42
+ ## 19.3.44 (2021-10-05)
43
+
44
+ ### Maps
45
+
13
46
  #### Bug Fixes
14
47
 
15
- - `#I339811` - The zoom factor set by the `zoomToCoordinates` method is now correct.
16
- - `#I338403` - When the navigation lines are rendered outside the map area, the marker templates will now be rendered properly.
17
- - `#I339617` - The color and toggle visibility will now work properly when the legend is rendered for markers.
48
+ - `#I342201` - When the `projectionType` is set to `Equirectangular`, data labels will now render correctly.
18
49
 
19
50
  ## 19.1.59 (2021-05-04)
20
51
 
@@ -290,7 +321,7 @@
290
321
 
291
322
  #### Bug Fixes
292
323
 
293
- - Now map is rendering properly in universal applications.
324
+ - Now map is rendering properly in universal applications
294
325
  - Now panning works properly without freezing
295
326
 
296
327
  ## 16.3.22 (2018-09-25)
@@ -364,4 +395,4 @@ The Maps control is used to visualize the geographical data. It is used to repre
364
395
  - **Data Labels** - Supports data label to provide additional information about the shapes.
365
396
  - **Navigation Lines** - Lines can be rendered between various points in map.
366
397
  - **Annotations** - Supports placing any HTML element on desired location in the map.
367
- - **User interaction** - Supports interactive features like zooming, panning, tooltip, highlight, selection and interactive legend.
398
+ - **User interaction** - Supports interactive features like zooming, panning, tooltip, highlight, selection and interactive legend.
package/README.md CHANGED
@@ -8,7 +8,7 @@ The Maps component is used to visualize the geographical data and represent the
8
8
 
9
9
  ## Setup
10
10
 
11
- To install Maps and its dependent packages, use the following command
11
+ To install Maps and its dependent packages, use the following command.
12
12
 
13
13
  ```sh
14
14
  npm install @syncfusion/ej2-maps
@@ -60,7 +60,7 @@ Product support is available for through following mediums.
60
60
 
61
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
62
  * New [GitHub issues](https://github.com/syncfusion/ej2-javascript-ui-controls/issues).
63
- * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
63
+ * Ask your query in Stack Overflow with tag `syncfusion`, `ej2`
64
64
 
65
65
  ## License
66
66
 
@@ -68,6 +68,6 @@ Check the license detail [here](https://github.com/syncfusion/ej2-javascript-ui-
68
68
 
69
69
  ## Changelog
70
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).
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
72
 
73
- © Copyright 2019 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
73
+ © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.