Skip to content

3.1.1

Choose a tag to compare

@joewdavies joewdavies released this 02 Nov 16:38
· 48 commits to master since this release
  • Fix: the selection rectangle of the hovered cell flickered since 3.1.0 when something redraws the map while the mouse is on the cell (for example a layer whose cellInfoHTML calls map.redraw()), and was missing after a scroll or a pan until the mouse moved. The map now shows the hover of the cell under the mouse at the end of each redraw, and cellInfoHTML is called once for a cell, not at each redraw. (#174)
  • Fix: every style gives the cells of the view to its legends, so legends made from the cells (sizeLegendViewScale) work with any style. They threw "values is not iterable" with CompositionStyle, TimeSeriesStyle... A ColorLegend without ticks has one tick for each 50 pixels of its width (the default was NaN).
  • Faster LabelLayer: a redraw with the names of Europe goes from about 106 ms to 11 ms.
  • Fix: gaps and shifted squares of the webGL styles when zoomed in (#86); TimeSeriesStyle compared values as texts; ShadingStyle width truncated.
  • New: CircleColorSizeWebGLStyle, RandomWalkInterpolator, stretchedBreaks, VennLegend, the donutOuterSize and viewScaleFun options, and a new default look of the tooltip, the legends and the buttons.
  • Examples and docs: a gallery page of the examples, six demos ported from gridviz 2.1.17 to version 3, a complete reference (a subchapter for each legend class).
  • Tests: npm run test:browser runs the hover, scroll and pan tests on real examples of the gallery in Chrome.
  • jsdoc is no longer installed with gridviz.

Full list: docs/changelog.md