Results 129 comments of Raruto

@hupe13 and here is a more readable solution than https://github.com/Raruto/leaflet-elevation/issues/211#issuecomment-1442421078 A lot depends on the type of data you're showing (text lengths, waypoints density, chart height, ...), also for this...

Here are a few lines useful to achieve this: ```js if (data.indexOf("

Hi @CoppensD, If you some have time to investigate as explained in there #241 (and there #253) otherwise just think differently, eg: ```js _waitFor(() => undefined !== controlElevation?.track_info?.distance).then(() => console.log(controlElevation.track_info));...

> I also noticed that my `_start` and `_end` are set to 0 for both `lat` and `lng`. As I have already pointed out in other issues, this is most...

Hi @haldo98, did you search among the closed issues? eg: [I found this](https://github.com/Raruto/leaflet-elevation/issues/73) 👋 Raruto

@haldo98 ```js var routes = L.gpxGroup(tracks, { elevation: true, legend: true, legend_options: { position: "topright", collapsed: true, sortLayers: true, //

If you're looking for help show a complete example, otherwise it's just ellipsis.. and words.. > For more info: > > - [L.Control.Layers~sortLayers](https://leafletjs.com/reference#control-layers-sortlayers) > - [L.Control.Layers~sortFunction](https://leafletjs.com/reference#control-layers-sortfunction) I showed you two...

> the order is not alphabetical and always different They are probably sorted by their `leaflet_id`, because the layers control also considers the svg/html as part of the name: https://github.com/Raruto/leaflet-elevation/blob/bd9316bd1b7e7784b3bf3d812960eaa808ad94d6/libs/leaflet-gpxgroup.js#L221...

Hi @hupe13, > if I toggle all chart legend filter off, the polyline is black. [Example](https://leafext.de/en/elevation/truefalse/?testing=legend). It should be the intended behavior (somehow related to: https://github.com/Raruto/leaflet-elevation/issues/235). > If I comment...

@hupe13 umph, some additional code explanation would help (it's somewhat a cryptic condition). Also, if you feel you have the time: 👉 [gifcap.dev](https://gifcap.dev) (just to show the before/after to others)....