Author Topic: How to view selected individual routes?  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

Offline jtstill

  • Newbie
  • *
  • Posts: 6
  • Last Login:April 14, 2024, 11:33:11 am
How to view selected individual routes?
« 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!

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2744
  • Last Login:Today at 08:58:00 am
Re: How to view selected individual routes?
« Reply #1 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

Offline jtstill

  • Newbie
  • *
  • Posts: 6
  • Last Login:April 14, 2024, 11:33:11 am
Re: How to view selected individual routes?
« Reply #2 on: August 10, 2023, 08:08:08 am »
I know implementation of that would certainly be handy for me! Thanks for opening the issue!