Travel Mapping

Web Design Discussion => General Web Design Discussion => Topic started by: yakra on July 12, 2019, 02:32:25 pm

Title: new feature: HB "Intersecting/Concurrent Routes" links keep previous center/zoom
Post by: yakra on July 12, 2019, 02:32:25 pm
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 (http://205.209.84.174/), pending the power upgrade & downtime for the main site (http://forum.travelmapping.net/index.php?topic=3060) 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 (http://205.209.84.174/hb/?r=ma.ma125&lat=42.611412&lon=-71.118021&zoom=13) and have just finished grabbing waypont labels for my .list line, MA MA125 MA110_E MA28. I just surf over to MA28 (http://205.209.84.174/hb/?r=ma.ma028&lat=42.611412&lon=-71.118021&zoom=13), 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.
Title: Re: new feature: HB "Intersecting/Concurrent Routes" links keep previous center/zoom
Post by: compdude787 on July 13, 2019, 09:17:50 pm
Just tested it on your site mirror, and seems to be working great. I can definitely benefit from this in the future.
Title: Re: new feature: HB "Intersecting/Concurrent Routes" links keep previous center/zoom
Post by: Jim on July 22, 2019, 09:19:47 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.