Leaflet plugin that allows to add elevation profiles using d3js
z = 0
) by @flo-schn in https://github.com/Raruto/leaflet-elevation/pull/261
src/handlers/lineargradient.js
by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/257
elechart_updated
event (ref: src/handlers/labels.js
) by @hupe13 in https://github.com/Raruto/leaflet-elevation/pull/260
Full Changelog: https://github.com/Raruto/leaflet-elevation/compare/v2.4.0...v2.5.0
track_info
data within "eledata_loaded"
event by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/253
src/handlers/runner.js
by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/254
src/handlers/labels.js
by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/252
L.GpxGroup
library by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/228
structuredClone
with custom cloneDeep
function by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/256
Full Changelog: https://github.com/Raruto/leaflet-elevation/compare/v2.3.0...v2.4.0
distance: false
not showing none of the other chart profiles by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/199
imperial: true
does not convert elevation from meters to feet by @hupe13 in https://github.com/Raruto/leaflet-elevation/pull/198
__btnIcon
with currentScript url by @Raruto in https://github.com/Raruto/leaflet-elevation/pull/214
preferCanvas: false
by @makenshikuro in https://github.com/Raruto/leaflet-elevation/pull/207
Full Changelog: https://github.com/Raruto/leaflet-elevation/compare/v2.2.4...v2.3.0
iAvg()
function (not calculating the arithmetic mean)spec
folder and uvu package (fast and lightweight testing suite)spec/utils.test.js
npm run test
implementationfalse
option values (eg. time: false
)handlers: []
option instead to set inclusion / exclusion rules for all the dynamically imported modulessrc/handlers/pace.js
)src/components
MultiLineString
features (fixed also L.DistanceMarkers bug)src/handlers
for samples)_initMapIntegrations
) to improve code readability and ensure the correct order of execution