Author Topic: SVG Banners  (Read 19487 times)

0 Members and 1 Guest are viewing this topic.

Offline theFXexpert

  • TM Collaborator
  • Full Member
  • *****
  • Posts: 136
  • Gender: Male
  • Last Login:July 12, 2024, 01:20:07 am
Re: SVG Banners
« Reply #15 on: February 20, 2021, 01:00:06 pm »
Pull request made to add banners to showroute.php https://github.com/TravelMapping/Web/pull/635

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: SVG Banners
« Reply #16 on: February 20, 2021, 02:00:45 pm »
Pull request made to add banners to showroute.php https://github.com/TravelMapping/Web/pull/635

Just tried it out on tmstage, all looks good so it's live on the main site.  Thanks!

Offline mapcat

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1767
  • Last Login:Yesterday at 01:48:41 pm
Re: SVG Banners
« Reply #17 on: February 20, 2021, 02:53:01 pm »
Pull request made to add banners to showroute.php https://github.com/TravelMapping/Web/pull/635

Just tried it out on tmstage, all looks good so it's live on the main site.  Thanks!

These look great. The banner text (Bus, Alt, etc) below the shields in showroute is redundant now. Can the text be removed selectively from regions where the new banners have been added (since it's probably useful in other parts of the world)?
Clinched:

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: SVG Banners
« Reply #18 on: February 22, 2021, 10:22:57 am »
Should ALT be change to ALTERNATE?

First bypass I checked out was ME US1BypPor -- I think the hyphenated BY-PASS is the way it's done locally, but overall nationwide, is one-word BYPASS more common?
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline theFXexpert

  • TM Collaborator
  • Full Member
  • *****
  • Posts: 136
  • Gender: Male
  • Last Login:July 12, 2024, 01:20:07 am
Re: SVG Banners
« Reply #19 on: February 22, 2021, 12:37:58 pm »
The MUTCD allows for either ALT or ALTERNATE to be used, but I went with ALT for readability and conciseness.

I have seen the shorthand ALT in the field more in the south. Although PA tends to prefer the spelled out ALTERNATE. VA seems to use both.

The MUTCD specifies a hyphenated BY-PASS.
https://mutcd.fhwa.dot.gov/pdfs/2009r1r2/mutcd2009r2chpt2d.pdf

Offline the_spui_ninja

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 803
  • Last Login:Yesterday at 05:09:49 pm
  • THE Western SD Highway Nut
Re: SVG Banners
« Reply #20 on: February 22, 2021, 05:17:40 pm »
The MUTCD allows for either ALT or ALTERNATE to be used, but I went with ALT for readability and conciseness.
All the bannered ALT routes I've been on (the ones that weren't US XXA) were signed as US XX ALT, at least on the reassurance shields. Wyoming, however, does something weird and sticks the banner inside the shield for some reason (I don't expect anyone to code this in, I saw it when I was checking to see if ALT or ALTERNATE was more frequent in my experience and I thought it was funny).
An adventure is only an inconvenience rightly considered. An inconvenience is only an adventure wrongly considered. - G.K. Chesterton

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: SVG Banners
« Reply #21 on: May 27, 2021, 10:06:48 pm »
OK, this is weird.

lab2

noreaster

Side-by-side tabs in Firefox.
Chromium behaves the same.
Chrome displays both properly.

Both servers have the same commits checked out:
HighwayData @ 5b319bb8200c6c4f5bd6af6813b95e90a3633a92
UserData @ 88f9db2284d97df12af9ee2a6a003b48b2d162cf
...and when I save the page as an HTML file, the only diffs are in the map API keys and the order of users with underscores in their names in the dropdown menu.

yakra:Web is at e1f6abe314ce81fd6145a9b9d12e0dd48a8a5f35, synced to
TravelMapping:Web at 22111cd303de3d540a39059cd8909ca299e09b4e,
functionally the same.
Their contents (outside of .git) are the same per
for item in tm/Web/*; do diff -r $item y$item; done

Is there a missing or modified SVG or CSS or something?
I copied the files over to the server directory with a modified version of updateserver.sh, shown below:

I ran it with --shields, --fonts, and with no switches at all.
I don't think it should have missed anything.

And why does Chrome render it properly?

Any ideas?
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: SVG Banners
« Reply #22 on: May 28, 2021, 11:42:12 pm »
NOW IT LOOKS FINE AND I DIDN'T CHANGE ANYTHING
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline theFXexpert

  • TM Collaborator
  • Full Member
  • *****
  • Posts: 136
  • Gender: Male
  • Last Login:July 12, 2024, 01:20:07 am
Re: SVG Banners
« Reply #23 on: May 29, 2021, 10:56:37 am »
Maybe you had an old version of the travelmapping.css in the lab2 instance cached in Firefox/Chromium.