Repository navigation
3.1.1
- 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
cellInfoHTMLcallsmap.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, andcellInfoHTMLis 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" withCompositionStyle,TimeSeriesStyle... AColorLegendwithouttickshas one tick for each 50 pixels of its width (the default wasNaN). - 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);
TimeSeriesStylecompared values as texts;ShadingStylewidth truncated. - New:
CircleColorSizeWebGLStyle,RandomWalkInterpolator,stretchedBreaks,VennLegend, thedonutOuterSizeandviewScaleFunoptions, 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:browserruns the hover, scroll and pan tests on real examples of the gallery in Chrome. jsdocis no longer installed with gridviz.
Full list: docs/changelog.md