Author Topic: Overlay map color schemes  (Read 8726 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2451
  • Last Login:Today at 08:18:59 am
Re: Overlay map color schemes
« Reply #60 on: January 17, 2021, 11:33:02 am »
So I just noticed an issue: whenever I try to specify a TM color in Mapview, it comes out instead as black.  CSS colors and RGB values work OK, but not TM colors.  Oddly enough, your sample "bad-looking combination" link works fine, so I'm not sure what's going on.

Anyone else seeing similar problems?  Might be worth force-reloading to make sure tmjsfuncs.js is a fresh copy.

Offline vdeane

  • Sr. Member
  • ****
  • Posts: 341
  • Gender: Female
  • Last Login:Yesterday at 09:06:10 pm
    • New York State Roads
Re: Overlay map color schemes
« Reply #61 on: January 17, 2021, 07:13:31 pm »
Looking at the orange and purple implemented, they're close to existing colors, so I imagine those would be more for user customization or as alternates for the existing magenta and yellow.

So I just noticed an issue: whenever I try to specify a TM color in Mapview, it comes out instead as black.  CSS colors and RGB values work OK, but not TM colors.  Oddly enough, your sample "bad-looking combination" link works fine, so I'm not sure what's going on.

Anyone else seeing similar problems?  Might be worth force-reloading to make sure tmjsfuncs.js is a fresh copy.
I figured out what happened: TM colors should only be specified once, not separately for clinched and unclinched as other colors are.
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2451
  • Last Login:Today at 08:18:59 am
Re: Overlay map color schemes
« Reply #62 on: January 17, 2021, 07:27:44 pm »
Looking at the orange and purple implemented, they're close to existing colors, so I imagine those would be more for user customization or as alternates for the existing magenta and yellow.

That's a good point. Maybe they should both be darker versions to distinguish better from the existing magenta and yellow.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2451
  • Last Login:Today at 08:18:59 am
Re: Overlay map color schemes
« Reply #63 on: June 03, 2022, 08:21:41 am »
A comment by nezinscot in another thread about colorblindness reminded me of this discussion.  While we already have the ability for users to specify QS parameters to replace the colors to their own liking, it's not especially easy to use and I bet almost no one does.  I would like to add support for multiple, well thought out color schemes that could easily be selected by users via QS parameters and saved in cookies or by some other TBD mechanism.  Of course, this requires some work on the web front end to support it, but also requires some effort to come up with a collection of good color schemes.  Anyone interested in taking this on?