NEWS
leaflet.minicharts 0.6.2 (2021-05-11)
NEW FEATURES
leaflet.minicharts 0.6.1
BUGFIXES
leaflet.minicharts 0.6.0 (2019-11-27)
BUGFIXES
- Fix syncGroups
- Fix flow with NULL value / nearest position
leaflet.minicharts 0.5.4 (2018-06-11)
BUGFIXES
- Fix syncGroups using leaflet 2.0.0
- Fix clear and remove methods leaflet 2.0.0
leaflet.minicharts 0.5.3 (2018-04-26)
- leaflet.minicharts take into account leaflet 2.0.0 and leaflet.flow 0.2.3
leaflet.minicharts 0.5.2 (2017-12-06)
BUGFIXES
- update file description
- Invalid maxValues (0, NA, ...)
leaflet.minicharts 0.5.1 (2017-08-17)
BUGFIXES
- updateMinicharts() was incapable of updating color palette (#19)
leaflet.minicharts 0.5.0 (2017-07-10)
NEW FEATURES
- addMinicharts() and updateMinicharts() gain a new parameter "onChange" that permits to execute some arbitrary javascript code each time a minichart is updated.
- The package now uses unit testing, code coverage and continuous integration in order to improve code quality and reliability.
BUGFIXES
- Some warnings that appeared with R 3.4 have been removed.
- Parameter "initialTime" was not working correctly in some situations.
- Parameter "fillColor" was ignored if someone tried to add a single minicharts.
leaflet.minicharts 0.4.0 (2017-06-20)
NEW FEATURES
- New function syncWith() to synchronize zoom, center and time of multiple leaflet maps.
leaflet.minicharts 0.3.1 (2017-05-30)
BUGFIXES
- addMinicharts() uses functions that are only available in package leaflet >= 1.1.0. The package now requires this version of leaflet.
leaflet.minicharts 0.3
NEW FEATURES
- Default popups are now automatically generated for charts and flows. A new function "popupArgs()" has been added to control how popups are generated.
- The size of the JSON data passed from R to javascript has been optimized. In some situations it has been divided by 10, so maps are generated quicker and when they are saved on harddrive, the resulting files are smaller.
BUGFIXES
- The default color palette was not found when leaflet.minicharts was imported in another package.
- add/updateMinicharts/Flows were crashing if layerId was a factor and some levels were missing.
- Some bugs were occuring if after an update of a map, the number of timesteps increased.
leaflet.minicharts 0.2
BREAKING CHANGES
- Argument "data" of addMinicharts() and updateMinicharts() has been renamed "chartdata" to avoid confusion with parameter "data" of function leaflet().
NEW FEATURES
- addMinicharts() now automatically adds a legend to the map by default.
- addMinicharts() has new parameters "labelMinSize" and "labelMaxSize" to control label size.
- addMinicharts() has a new parameter "time" that can be used to create an animated map that represents the evolution of one or more variables. Animations can be shared by saving the map as html or including it in a Ramrkdown document. No need to use Shiny anymore!
- New functions removeMinicharts() and clearMinicharts() to remove some or all minicharts from a map.
- It is now possible to represent flows between two points with function addFlow() and the associated functions updateFlows(), removeFlows() and clearFlows().
BUGFIXES
- addMinicharts was crashing if user tried to add a single chart to a map.