Leaflet Elevation Versions Save

Leaflet plugin that allows to add elevation profiles using d3js

v2.5.0

10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/Raruto/leaflet-elevation/compare/v2.4.0...v2.5.0

v2.4.0

1 year ago

What's Changed

Full Changelog: https://github.com/Raruto/leaflet-elevation/compare/v2.3.0...v2.4.0

v2.3.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/Raruto/leaflet-elevation/compare/v2.2.4...v2.3.0

v2.2.0

2 years ago
  • 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)

v2.1.0

2 years ago
  • 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)

v2.0.0

2 years ago
  • 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)

v1.9.0

2 years ago
  • 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)

v1.8.0

2 years ago
  • 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)

v1.7.0

2 years ago
  • 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

1.3.0

3 years ago
  • add vertical ruler filter