You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+43-40
Original file line number
Diff line number
Diff line change
@@ -3,67 +3,70 @@ Change log for jQuery-Mapael
3
3
4
4
## 2.0.0 - Not released yet
5
5
6
-
- Bugfix : Fixed updateElem() function for SVG elements (bbox object undefined) ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/b374f196956c70e0f2868c2ab1d8b965e864016f))
7
-
- Feature : Added new minLevel option ([billyrennekamp](https://github.com/neveldo/jQuery-Mapael/commit/0f8b4e8f5a1c3cf4508d438cdc487835a9ac2046))
8
-
- Bugfix : Fixed the flicker on mouseover between text and area ([billyrennekamp](https://github.com/neveldo/jQuery-Mapael/commit/826a340631b9459630205b684b31594e7c829875))
6
+
- Feature : Add tooltip.offset.left and tooltip.offset.top options to set a custom offset between the cursor and the tooltip ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/e01e1aae53854ee61946658adbe489e1202bd4ab))
7
+
- Bugfix : Prevent from updating unneeded areas, plots and links in the 'update' event ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/e9195136dad543036884578a51fc346863e92042))
8
+
- Feature : Allow transformations on SVG plotted points ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/cadd617e9a4ebd9b319a261849850027fbbb5670))
9
+
- Bugfix : Fix updateElem() function for SVG elements (bbox object undefined) ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/b374f196956c70e0f2868c2ab1d8b965e864016f))
10
+
- Feature : Add new minLevel option ([billyrennekamp](https://github.com/neveldo/jQuery-Mapael/commit/0f8b4e8f5a1c3cf4508d438cdc487835a9ac2046))
11
+
- Bugfix : Fix the flicker on mouseover between text and area ([billyrennekamp](https://github.com/neveldo/jQuery-Mapael/commit/826a340631b9459630205b684b31594e7c829875))
9
12
- Feature : margin option now accept an object in order to fine tune x and y offset of text position ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/06a4a0f49bdf44916ecf4f0f1846322611c07508))
10
13
- Bugfix : initElem : setHover only if attrsHover set ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/4a8d1e015d7d502d5ab45589306a470dc9b05602))
11
14
- Feature : Allow zoom trigger with no level set ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/02f04ac2cdcfd8f78e2723edcc33694d2a85139d))
12
15
- Feature : Relative zoom for onZoom ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/b17da7e75446c60cb31a258a8c8e3d74c2573eb5))
13
-
- Misc : Added Mercator and Miller world map ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/e1657c047fbab109591ec80aa880d61ccfcbf411))
16
+
- Misc : Add Mercator and Miller world map ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/e1657c047fbab109591ec80aa880d61ccfcbf411))
14
17
- Feature : Legends are redrawn on resize ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/37e98a7dca5d17ce92cb2b6555bca7ffd5f9884c))
- Feature : Added checkForRaphaelBBoxBug() function in order to check for a known bug from Raphael.js when creating a paper in an hidden container ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/e5d32cdbaf91a5b22ce582de54fc0112903f1ddc))
17
-
- Feature : Added 'showElementsInRange' event to filter the elements to show on the map depending on values intervals ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/a634d2d731a070b0369f4d7cd55109c05c8ac579))
- Feature : Add checkForRaphaelBBoxBug() function in order to check for a known bug from Raphael.js when creating a paper in an hidden container ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/e5d32cdbaf91a5b22ce582de54fc0112903f1ddc))
20
+
- Feature : Add 'showElementsInRange' event to filter the elements to show on the map depending on values intervals ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/a634d2d731a070b0369f4d7cd55109c05c8ac579))
- Refactoring : Refactored internal structure of the plugin (Indigo744)
20
-
- Misc : Added many new code examples (Indigo744)
21
-
- Misc : Added unit tests (Indigo744)
22
-
- Refactoring : New update event signature ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/3ad903b8e38bcc7dd5e3d368f07c1d379a0e19d4))
23
-
- Bugfix : Fixed leaking when removing plots/links ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/2c9aa9bdbec554286c3f69d8b194bac3a23b5602))
23
+
- Misc : Add many new code examples (Indigo744)
24
+
- Misc : Add unit tests (Indigo744)
25
+
- Refactoring : Provide new update event signature ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/3ad903b8e38bcc7dd5e3d368f07c1d379a0e19d4))
26
+
- Bugfix : Fix leaking when removing plots/links ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/2c9aa9bdbec554286c3f69d8b194bac3a23b5602))
24
27
- Feature : tooltip.content accept function ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/489cad8f93fc1d328a6e76d5d0fd824af6eec00d))
25
28
- Bugfix : handleClickOnLegendElem take into account other legends ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/23419ccbc522b497831478a2f827819460e1b6fd))
26
29
- Bugfix : Set default size when no size is set on slices ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/2f4fa5c6dddacf52cb1308ae261e94239791fceb))
27
-
- Bugfix : Fixed target for zoom related events 'mousewheel', 'touchstart' and 'touchmove' ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/b3f8ab04ed76c13aa0c3dc97dff582e612ebb503))
30
+
- Bugfix : Fix target for zoom related events 'mousewheel', 'touchstart' and 'touchmove' ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/b3f8ab04ed76c13aa0c3dc97dff582e612ebb503))
28
31
- Feature : Delete all plots/links in 'update' event ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/822a1caa322c5c0e422447e204b7624c5e3e1885))
29
32
- Refactoring : Set legend slice max value inclusive ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/68f95555858bfc9e3afcea96d95d00c3d573e34b))
30
33
- Bugfix : hide/show elements only on current map ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/dc1994c0c92e14e6a1356dfb514b051acbdc7067))
31
34
- Feature : Allow to update legend in the update event ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/191149446d0fe3cb34910ef44e430ed960b6b08e))
32
-
- Feature : Added AMD and CommonJS compatibility to mapael and mapel maps ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/56f941f5ce03254a4cb65963860a9868a6813da9))
33
-
- Feature : Added animDuration option to 'zoom' event and set it to 0 by default for initial zoom ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/bbcecae471e31c1b37aa62d7ed83842550837ae6))
- Feature : Added tooltip.overflow.right and tooltip.overflow.bottom options to allow tooltip overflow from the container ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/476fbbad7a23f622bc49e80f6be47413f585cf31))
36
-
- Bugfix : Fixed raphael.safari() call with laster version of Raphael.js ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/f458ea8af781a57d6d3b77e1dd6b52bbfb8332ed))
37
-
- Bugfix : Fixed legend display when no title is defined ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/3d8200706548a9bbd0710d3dd6829d767c7d2ffc))
38
-
- Refactoring : Tooltip position is computed as absolute instead of fixed ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/7907701a46ae7a270d68a7f6ac9c9be96d95f8df))
- Bugfix : Fixed current zoomX and zommY values set in container’ data. ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/438858423f5eb816124d9171806030f6be1261a7))
35
+
- Feature : Add AMD and CommonJS compatibility to mapael and mapel maps ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/56f941f5ce03254a4cb65963860a9868a6813da9))
36
+
- Feature : Add animDuration option to 'zoom' event and set it to 0 by default for initial zoom ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/bbcecae471e31c1b37aa62d7ed83842550837ae6))
- Feature : Add tooltip.overflow.right and tooltip.overflow.bottom options to allow tooltip overflow from the container ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/476fbbad7a23f622bc49e80f6be47413f585cf31))
39
+
- Bugfix : Fix raphael.safari() call with laster version of Raphael.js ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/f458ea8af781a57d6d3b77e1dd6b52bbfb8332ed))
40
+
- Bugfix : Fix legend display when no title is defined ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/3d8200706548a9bbd0710d3dd6829d767c7d2ffc))
41
+
- Refactoring : Tooltip position is computed as absolute instead of Fix ([Indigo744](https://github.com/neveldo/jQuery-Mapael/commit/7907701a46ae7a270d68a7f6ac9c9be96d95f8df))
- Bugfix : Fix current zoomX and zommY values set in container’ data. ([neveldo](https://github.com/neveldo/jQuery-Mapael/commit/438858423f5eb816124d9171806030f6be1261a7))
42
45
43
46
## 1.1.0 - 31 August 2015
44
47
Minor version release.
45
48
46
49
### New features
47
-
-Added support for animated zoom through the new option map.zoom.animDuration (200 by default, set to 0 in order to disable it). The option map.zoom.animEasing allows to set the easing function to animate the zoom action
50
+
-Add support for animated zoom through the new option map.zoom.animDuration (200 by default, set to 0 in order to disable it). The option map.zoom.animEasing allows to set the easing function to animate the zoom action
48
51
- Panning is now allowed through touch event (it can be disabled through the option map.zoom.touch)
49
52
- Zooming is now allowed through pinch touch event (it can also be disabled through the option map.zoom.touch)
50
53
- In addition to 'circle', 'square' and 'image' plotted point types, the new 'svg' type allows to add SVG paths on the map
51
-
- Links can now be updated through the 'update' event : they can be edited or deleted and new links can be added to the map
54
+
- Links can now be updated through the 'update' event : they can be edited or deleted and new links can be Add to the map
52
55
- New legend.exclusive option allows the user to activate only one item from the legend at a time
53
56
- New ‘clicked’ option in order to initialize the legend item in the 'clicked' state on the map load
54
-
-Added hook 'beforeInit' hook that is called right after the initialization of the areas
57
+
-Add hook 'beforeInit' hook that is called right after the initialization of the areas
55
58
- New map.tooltip.target option allows to specify a container where to append the tooltip div
56
59
- The new option 'cssClass' allows to set additional CSS class(es) the tooltip for a specific area or a plotted point
57
-
-Added events afterZoom and ‘afterPanning’
60
+
-Add events afterZoom and ‘afterPanning’
58
61
59
62
### Bugfixes & other
60
-
-Upgraded Raphael.js dependency to v2.1.4
61
-
-Fixed horizontal legend display with squares
62
-
-Fixed tooltip position
63
+
-Upgrade Raphael.js dependency to v2.1.4
64
+
-Fix horizontal legend display with squares
65
+
-Fix tooltip position
63
66
64
67
## 1.0.1 - 17 May 2015
65
68
Bugfix version release.
66
-
-Fixed undeclared variable in drawLegend function. IE >10 wasn't able to display the map legend.
69
+
-Fix undeclared variable in drawLegend function. IE >10 wasn't able to display the map legend.
67
70
68
71
## 1.0.0 - 4 January 2015
69
72
Major version release with breaking change.
@@ -87,30 +90,30 @@ Here are the changes that are not compatible with the 0.7.1:
87
90
88
91
## 0.7.1 - 23 January 2014
89
92
Bugfix version release:
90
-
-Fixed legend colorisation with zero values in slices definition
93
+
-Fix legend colorisation with zero values in slices definition
91
94
- Don't animate areas and plots in the legend on mouse hover
92
-
- afterUpdate call : fixed undefined opt
95
+
- afterUpdate call : Fix undefined opt
93
96
94
97
## 0.7.0 - 17 November 2013
95
98
### Improvements
96
-
-Improved zooming feature. You can now trigger a 'zoom' event on the container (required parameter : level, optional parameters : x, y in order to zoom on a specific area). The current zoom level is now stored as data. Example of use : http://jsfiddle.net/neveldo/RahvT/
97
-
-Added two new hooks in order to allow custom processing on map initialization and map update ('update' event) : afterInit and afterUpdate. Here is an example with the afterInit() hook : http://jsfiddle.net/neveldo/8Ke69/
98
-
-Added labelAttrsHover option for the plots and areas legend that allows to customize the attributes of the labels in the legend on mouse hover.
99
+
-Improve zooming feature. You can now trigger a 'zoom' event on the container (required parameter : level, optional parameters : x, y in order to zoom on a specific area). The current zoom level is now stored as data. Example of use : http://jsfiddle.net/neveldo/RahvT/
100
+
-Add two new hooks in order to allow custom processing on map initialization and map update ('update' event) : afterInit and afterUpdate. Here is an example with the afterInit() hook : http://jsfiddle.net/neveldo/8Ke69/
101
+
-Add labelAttrsHover option for the plots and areas legend that allows to customize the attributes of the labels in the legend on mouse hover.
99
102
- prevent the tooltip to overflow from the container
100
103
- 'update' event' now allows to update attrsHover for plots and area (bugfix)
101
104
102
105
## 0.6.0 - **29 September 2013**
103
106
104
107
### Improvements
105
-
-Added missing Michigan state on the USA map
108
+
-Add missing Michigan state on the USA map
106
109
- New map of France with equirectangular projection for better cities location
107
-
-Upgraded to version 2.1.2 of Raphael.js
110
+
-Upgrade to version 2.1.2 of Raphael.js
108
111
- Truely hide the elements when user clicks on the legend and hideElems.OnClick.opacity is set to 0
109
112
- Squares and circles in the legend take account the scale of the map in order to draw them at the same scale
110
-
- Newattribute 'data-id' added to plots and areas's nodes
113
+
- Newattribute 'data-id' Add to plots and areas's nodes
111
114
- New option 'display' that allows to display or hide a specific element from the legend
112
-
-Improved event handling (with the new option 'eventHandlers'). You can now attach handlers to all events from jQuery.
113
-
-Improved 'update' event that now allows to add or delete plot from the map, update text attributes (content, position, ...) and the contents of the tooltips
115
+
-Improve event handling (with the new option 'eventHandlers'). You can now attach handlers to all events from jQuery.
116
+
-Improve 'update' event that now allows to add or delete plot from the map, update text attributes (content, position, ...) and the contents of the tooltips
114
117
- New option text.margin that allows to customize the margin between the plot and its associated label
0 commit comments