Author Topic: new feature: HB "Intersecting/Concurrent Routes" links keep previous center/zoom  (Read 9339 times)

0 Members and 1 Guest are viewing this topic.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 30, 2024, 09:39:17 am
  • I like C++
We're introducing a new feature to the HB that should streamline browsing through routes using the "Intersecting/Concurrent Routes" feature.
For now, this is just on http://tmtest.teresco.org and my own site mirror, pending the power upgrade & downtime for the main site starting later tonight.
We plan to add it to the production site soon after.

A Highway Browser page can be centered and zoom by providing lat, lon, and zoom (must have all 3 for the feature to work) QS parameters in the URL.
Here's US201 centered on the Maine State House:
http://205.209.84.174/hb/?r=me.us201&lat=44.307188&lon=-69.781659&zoom=15
When you click on a waypoint marker and follow a link under "Intersecting/Concurrent Routes", the new route will come up at the same center & zoom as the existing view, letting you seamlessly continue browsing along your travels.

Let's say I'm looking at MA125 and have just finished grabbing waypont labels for my .list line, MA MA125 MA110_E MA28. I just surf over to MA28, and I'm looking right at the waypoint I'll need for my next .list line, MA MA28 MA125 MA62_W.
Hoping this will come in handy.

To restore the HB to its default view, or to grab a link without the lat/lon/zoom parameters, just click the "Zoom to Fit" link at top right.
« Last Edit: July 12, 2019, 04:29:45 pm by yakra »
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline compdude787

  • TM Collaborator
  • Sr. Member
  • *****
  • Posts: 298
  • Gender: Male
  • Last Login:Yesterday at 09:51:35 pm
Just tested it on your site mirror, and seems to be working great. I can definitely benefit from this in the future.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 02:06:03 pm
As I've been adding new travels over the last few days, I'm really seeing how fantastic this new feature is.  Thanks again for getting it in.