Skip to content

Version 1.1.0

Compare
Choose a tag to compare
@neveldo neveldo released this 31 Aug 19:23
· 471 commits to master since this release

ChangeLog

New features

  • 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
  • Panning is now allowed through touch event (it can be disabled through the option map.zoom.touch)
  • Zooming is now allowed through pinch touch event (it can also be disabled through the option map.zoom.touch)
  • In addition to 'circle', 'square' and 'image' plotted point types, the new 'svg' type allows to add SVG paths on the map
  • Links can now be updated through the 'update' event : they can be edited or deleted and new links can be added to the map
  • New legend.exclusive option allows the user to activate only one item from the legend at a time
  • New ‘clicked’ option in order to initialize the legend item in the 'clicked' state on the map load
  • Added hook 'beforeInit' hook that is called right after the initialization of the areas
  • New map.tooltip.target option allows to specify a container where to append the tooltip div
  • The new option 'cssClass' allows to set additional CSS class(es) the tooltip for a specific area or a plotted point
  • Added events afterZoom and ‘afterPanning’

Bugfixes & other

  • Upgraded Raphael.js dependency to v2.1.4
  • Fixed horizontal legend display with squares
  • Fixed tooltip position