Closed brigghius closed 1 year ago
@Raruto can u help me?
As I understand it, each track must be in one file. Geojson should be fine. And you must provide the starting points. But I don't know angular.
As I understand it, each track must be in one file. Geojson should be fine. And you must provide the starting points. But I don't know angular.
exactly. To load the traces as an array of objects and not as an array of strings pointing to files, I had to put the library locally and modify it like this:
Is it possible to dynamically load a new point on a track?
@brigghius it should look something like the following https://github.com/Raruto/leaflet-elevation/pull/228, please test more thoroughly than me (eg. the geojson name) and then let me know if we need to make any changes.
Have a nice day, Raruto
@brigghius it should look something like the following #228, please test more thoroughly than me (eg. the geojson name) and then let me know if we need to make any changes.
Have a nice day, Raruto
thanks, now works fine. I had bypassed the check on the object, but the solution is excellent.
Your environment
hi, I'm developing a multi track map and I'm using the example here because it's very nice and does what I want.
To load the tracks we use an array of strings pointing to files. How can I make it work on an object present in my ts file?
thanks