I reorganized the code base a little bit. Not sure if that's the way to everybody does it but it makes sense to me. I also added a new /api/stops endpoint that returns the stops. The map can now render different stops based on the matches attribute. I'm to lazy to add a switch for this to the html.
I reorganized the code base a little bit. Not sure if that's the way to everybody does it but it makes sense to me. I also added a new /api/stops endpoint that returns the stops. The map can now render different stops based on the matches attribute. I'm to lazy to add a switch for this to the html.
I hope you like it.
Best Regards Philipp