HanashiDev / Haltestellenmonitor-v3

GNU General Public License v3.0
1 stars 0 forks source link

Display Trip on map #28

Open DragonCat4012 opened 9 months ago

DragonCat4012 commented 9 months ago

Option to display selected Trip on the map

t0mbrn commented 9 months ago

Wouldn't that require a recreation of the trip in mapkit in order to get a realistic route path instead of straight lines between the stops? Or are the route waypoints available somewhere on VVO servers? :)

DragonCat4012 commented 9 months ago

i havent workled with maps, so idk but ig so? havent looked into it

t0mbrn commented 9 months ago

Afaik we currently only know the locations of stops. So you could draw lines between those in the map. But if you want to accurately recreate the route you will have to let MapKit give you directions which you can paint. However those directions would have to be filtered by mode of transport, date/time and line name and separated for every part (new one for every Umstieg). (So you get the directions for the line you want) That's at least what I could find after swiftly browsing through MapKit Documentation.

DragonCat4012 commented 8 months ago

Ig Even just marking the stops on the map and showing your current Location would help Users that aren't familiar with the surroundings. Maybe drawing dotted lines or gray lines in between the stop to show the route inaccurately could provide enough useful information.

Especially for longer walking distance es between stops this could help

t0mbrn commented 8 months ago

Ig Even just marking the stops on the map and showing your current Location would help Users that aren't familiar with the surroundings. Maybe drawing dotted lines or gray lines in between the stop to show the route inaccurately could provide enough useful information.

Especially for longer walking distance es between stops this could help

is this something you're planning on implementing yourself soon?

DragonCat4012 commented 8 months ago

not directly. as i said i havent worked wiht mapkit and it was just a suggestion to think about. i might look into it when i have the time for it