All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added debounce for addData method so that only the last call is processed
- Added watcher for options and refresh the chart once it changes
- Store a reference to the control added to the map and removes/re-add before refreshing the component based on options or data changes
Refactored, improved in-code documentation and added internal responsiveness and and close event.
- data watcher
- changing the 'data' prop now rebuilds the graph without removing and adding the whole leaflet control by calling addData() of the L.control.heightgraph instance
- 'geoJson' parser
- supports LineStrings, LineString-Features and FeatureCollections of LineStrings
- geoJson examples
- second normal example
- colorMappings to adjust example colors and legend text
- dependencies -> updated to latest
- repository links (again)
- repository links
Initial Version of the vue2-leaflet-height-graph plugin