Travel Mapping

User Discussions => Other Discussion => Topic started by: jtstill on August 09, 2023, 03:32:26 pm

Title: How to view selected individual routes?
Post by: jtstill on August 09, 2023, 03:32:26 pm
Fell free to close this once answered, since it's a pretty basic question, but how can I view two individual routes at once?

I can see two regions simultaneously: https://travelmapping.net/user/mapview.php?units=miles&u=jtstill&rg=pa,md

Or two route systems: https://travelmapping.net/user/mapview.php?units=miles&u=jtstill&sys=usai,usaib

And I see how to view a single route: https://travelmapping.net/user/mapview.php?units=miles&u=jtstill&rte=I-80

But if I wanted to look at, say, [rte I-80 and rte I-81] in the same map, or even [sys=usai and rg=pa], I can't quite figure out how to do so. a comma between the two routes (rte=I-80,I-70) doesn't seem to work like it does for regions/systems. Is it possible? Thanks!
Title: Re: How to view selected individual routes?
Post by: Jim on August 09, 2023, 05:05:13 pm
The current implementation of mapview can only handle one of those at a time.  rg and sys take comma-separated lists optionally, but rte does not.

There's no reason that they couldn't be combined or rte expanded to take comma-separated lists other than it's never been coded up.

I've put the idea into a GitHub Issue: https://github.com/TravelMapping/Web/issues/757
Title: Re: How to view selected individual routes?
Post by: jtstill on August 10, 2023, 08:08:08 am
I know implementation of that would certainly be handy for me! Thanks for opening the issue!