Author Topic: color codes  (Read 45365 times)

0 Members and 1 Guest are viewing this topic.

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Today at 12:54:41 am
Re: color codes
« Reply #45 on: August 22, 2017, 12:05:54 pm »
Exactly. I picked ISR as an Asian mapview example, as it contains asim system (red;3) and isrh (lightsalmon;4).
Personally I don't mind a colour clash between these two systems - asim doesn't recognise the state of Israel and vice versa, however (as with eure and usai) continental systems don't seem to have the signage requirement - and - with the exception of a brief bit of isrf, asim in ISR is entirely concurrent with isrh.

It's similar with asiah in regions where there are tier 4 systems - pretty much unsigned in those regions, and almost entirely concurrent with the tier 4 systems.

Also asiah and asim are only really red as a default.

But, certainly, making unclinched routes of those colours more distinct is a good thing as it increases flexibility with the palette should we decide on a change.
« Last Edit: August 22, 2017, 12:12:13 pm by si404 »

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 10:13:19 am
Re: color codes
« Reply #46 on: August 24, 2017, 08:57:55 pm »
I'm going to make the color scheme I previously had on tmtest and seemingly partially had on tm the default.  I heard no objections, at least.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: color codes
« Reply #47 on: August 25, 2017, 02:54:05 am »
To clarify, it was also only partially implemented on tmtest.

colorCodes[3] = { name: "yellow", unclinched: "rgb(255,255,100)", clinched: "rgb(232,176,0)" };
->
colorCodes[3] = { name: "yellow", unclinched: "rgb(255,216,100)", clinched: "rgb(232,176,0)" };

Sounds good to me though. I think all-in-all, it's an improvement on the previous defaults.
We can still take some time to tweak the untraveled red vs. traveled lightsalmon contrast.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 10:13:19 am
Re: color codes
« Reply #48 on: August 25, 2017, 08:23:23 am »
To clarify, it was also only partially implemented on tmtest.

colorCodes[3] = { name: "yellow", unclinched: "rgb(255,255,100)", clinched: "rgb(232,176,0)" };
->
colorCodes[3] = { name: "yellow", unclinched: "rgb(255,216,100)", clinched: "rgb(232,176,0)" };

Sounds good to me though. I think all-in-all, it's an improvement on the previous defaults.
We can still take some time to tweak the untraveled red vs. traveled lightsalmon contrast.

Fixed on the main site, thanks.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: color codes
« Reply #49 on: August 25, 2017, 12:25:01 pm »
tmtest is still using (255,255,100) :)
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 10:13:19 am
Re: color codes
« Reply #50 on: August 25, 2017, 12:44:31 pm »
tmtest is still using (255,255,100) :)

Updated tmtest also now.

Offline afarina

  • Newbie
  • *
  • Posts: 7
  • Last Login:July 19, 2021, 10:18:29 am
Re: color codes
« Reply #51 on: October 11, 2017, 12:10:27 pm »
My apologies for resurrecting an idle thread, but I've only been hanging out on GitHub and not here yet. I see the talk of customizing the colors and the ability to put it directly into the web address. It makes me wonder: is there a way to embed these into a user's list file? I suppose I could see the setup to where a user customizes how their map appears with their own set of colors. It wouldn't allow for a usage across the board, perhaps, but it might be a nice step in that direction.

Cheers,
A

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 10:13:19 am
Re: color codes
« Reply #52 on: October 11, 2017, 07:59:11 pm »
My apologies for resurrecting an idle thread, but I've only been hanging out on GitHub and not here yet. I see the talk of customizing the colors and the ability to put it directly into the web address. It makes me wonder: is there a way to embed these into a user's list file? I suppose I could see the setup to where a user customizes how their map appears with their own set of colors. It wouldn't allow for a usage across the board, perhaps, but it might be a nice step in that direction.

Cheers,
A

https://github.com/TravelMapping/DataProcessing/issues/65

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:November 20, 2024, 11:21:09 am
Re: color codes
« Reply #53 on: October 21, 2018, 11:09:52 am »
I wanna highlight untraveled routes. I thought I can swap the two codes for each tier but it doesn't work (but I think it was possible in the past):

http://travelmapping.net/user/mapview.php?units=miles&sys=chea&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220) standard
http://travelmapping.net/user/mapview.php?units=miles&sys=chea&u=michih&colors=tier1:rgb(0,0,220):rgb(100,100,255) swapped

Traveled and untraveled segments are faded. What's wrong?