Releases: Raruto/leaflet-elevation
Releases · Raruto/leaflet-elevation
2.5.0
What's Changed
- Update dependency: @tmcw/togeojson from v5.6.0 to v5.6.2 (fixes black hotline bug when
z = 0
) by @flo-schn in #261 - Add new handler:
src/handlers/lineargradient.js
by @Raruto in #257 - Ensure setting labels rotation after each
elechart_updated
event (ref:src/handlers/labels.js
) by @hupe13 in #260
New Contributors
- @flo-schn made their first contribution in #261
Full Changelog: v2.4.0...v2.5.0
2.4.0
What's Changed
- Update dependencies by @Raruto in #249
- Fix undefined
track_info
data within"eledata_loaded"
event by @Raruto in #253 - Add new handler:
src/handlers/runner.js
by @Raruto in #254 - Add new handler:
src/handlers/labels.js
by @Raruto in #252 - Add support for geojson tracks in
L.GpxGroup
library by @Raruto in #228 - Replace native
structuredClone
with customcloneDeep
function by @Raruto in #256
Full Changelog: v2.3.0...v2.4.0
2.3.0
What's Changed
- Handle
distance: false
not showing none of the other chart profiles by @Raruto in #199 - Fix:
imperial: true
does not convert elevation from meters to feet by @hupe13 in #198 - Fix: hotline tracks all displayed on the same map by @hupe13 in #202
- Prepend default
__btnIcon
with currentScript url by @Raruto in #214 - Allow to translate small legend item switcher by @Raruto in #220
- Fix angulation of distance markers's arrows when
preferCanvas: false
by @makenshikuro in #207 - Fix #208 (min speed = 0) by @Raruto in #219
- Add leaflet-edgescale integration by @Raruto in #246
- Prevent shallow copy of default options (multiple charts) by @Raruto in #240
New Contributors
- @Raruto made their first contribution in #199
- @makenshikuro made their first contribution in #207
Full Changelog: v2.2.4...v2.3.0
2.2.0
- fix wrong logic for
iAvg()
function (not calculating the arithmetic mean) - fix wrong heart rate max/min value
- fix loading of multiple maps in same page
- add
spec
folder and uvu package (fast and lightweight testing suite) - add
spec/utils.test.js
- add
npm run test
implementation - fix broken loading of chart handlers for
false
option values (eg.time: false
) - make use of the
handlers: []
option instead to set inclusion / exclusion rules for all the dynamically imported modules - add running pace sample (
src/handlers/pace.js
)
2.1.0
- group dynamically imported JS modules inside a new dedicated folder
src/components
- add complete support to
MultiLineString
features (fixed also L.DistanceMarkers bug) - dynamic recalculation of all chart margins in order to handle custom added axes (see
src/handlers
for samples) - add a small legend switcher at the bottom right of the chart (loop active profiles on legend click)
- further reduction of the css file and improved fullpage examples
- fix broken download link
- add native "leaflet-hotline" integration
- chain some promises (eg.
_initMapIntegrations
) to improve code readability and ensure the correct order of execution - remove "leaflet-i18n" from the generated bundle and upgrade "leaflet-ui" to v0.5.4 (which currently provides the i18n plugin)
2.0.0
- add direction arrows + canvas support to "leaflet-distance-markers.js"
- add a testing "leaflet-ruler.js" library inside the libs folder
- remove babel, update rollup and make use of css var() in base themes
- update @tmcw/togeojson to 4.6.0
- dynamic import() for non critical js code (code splitting)
- heart rate and cadence example
- add custom chart handlers in order to use any other custom attributes (gpx extensions)
- general code cleanup (remove some legacy methods, events and options)
1.9.0
- add initial support to MultiLineString data and multi-track gpx files (trk > trkseg + trkseg)
- add zooming support to time axis
- removed _.GeoJSONLoader utility function and consolidated most notable parts of code inside the L.Control.Elevation class
- removed _.deepMerge utility function in favor of built-in L.setOptions
- removed all the other GPX related utility functions
- fix multiple lazy loading of required dependencies (d3.js, leaflet-almostover, leaflet-distance-markers)
1.8.0
- resolve issues with chart markers not being removed after calling the clear function
- resolve alignment issues with iOS devices
- completely remove L.GPX dependency inside the L.GpxGroup class (gpx examples)
- additional translations and waypoint options
- new option to make timestamps also available inside the chart tooltip
- add a temporary fix to leaflet-i18n to allow empty translations
- removed some really old legacy stuff (overall code refactoring)
1.7.0
- update almost all examples to current release
- add new option to automatically parse custom waypoints (<sym> tags)
- add new options to automatically handle almostOver and distanceMarkers integration
- add a simple Garmin TCX example
- native integration for rotated maps (leaflet-rotate)
- add new option to switch canvas renderer (it is recommended to use preferCanvas on large tracks)
- replace "png" assets with static "svg" files
- delegate low level d3.js components code to application controller