rilling / OSMDashboard-Winter-2024-COMP-354

OpenStreetMaps Dashboard for OpenTracks
https://f-droid.org/de/packages/de.storchp.opentracks.osmplugin/
Apache License 2.0
5 stars 10 forks source link

Prepare functions and classes that will prepare us for drawing the paths on the map #36

Closed Abdoul111 closed 6 months ago

Abdoul111 commented 7 months ago

Description:

prepare a set of functions and classes that will allow us to draw the paths on the map. In other issues, we brought the necessary data to OSM Dashboard, and here we are making the following functions ready:

  1. getFirstLocation()
  2. getLastLocation()
  3. drawLine()
  4. SegmentLine()

Expected outcome:

having the above-mentioned functions ready.

Alternative solutions:

we can try to draw the path differently using a different set of functions written in OpenTracks, but that would be so inefficient

Verification:

having the above mentioned functions written in OSM Dashboard repo

Abdoul111 commented 6 months ago

This feature have been implemented by OSM Dashboard, we used the functions and drew the lines