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

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2085
  • Last Login:Yesterday at 10:02:20 pm
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: 255
  • Gender: Female
  • Last Login:Yesterday at 10:56:35 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: 2085
  • Last Login:Yesterday at 10:02:20 pm
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.