Typically developers are color stupid (myself included). I’ve seen some really really ugly maps. I’ve created some really really ugly maps. With Mapguide 6.5 in particular – I gave up on trying to create visually appealing maps. The 255 colors, in the ranges defined I just could not do it.
With Mapguide Enterprise – I may have found a solution. Recently I created a themed layer for municipalities. There were twenty five municipalities in a single spatial table. Each municipality had a unique code. In an effort to bang these off quickly I added the twenty five municipalities and the filter condition. Next I entered the twenty five legend labels.
Here is the developer friendly method I came up with creating a somewhat visually appealing color range. In the first condition I set first set the transparency to 50%. The transparency affects the resulting color. Select the color combo and choose "More Colors". This should bring up the custom color dialog. First, select one of the "Custom Color" boxes and set the Hue to 0. Next I created a color I wanted to use as my starting shade.
At this point, I saved the color using the "Add to Custom Colors" button. Your form should look something like this:
Click OK a couple of times and your first condition should be set. Next I selected my next condition, and clicked the color combo again choosing "More Colors" once again. This time, select the saved custom color and it should reset the form with the previously saved shade. At this point I incremented the Hue by 20 to 20. Click ok a couple of times and repeat. I was not re-saving my shade, though I suppose that might have made sense. Each time you repeat this process increase the hue by 20 until you hit the max of 239.
If needed, and you do hit the max hue start the process over starting with another complimentary base shade with a hue of 0. Using a hue increment of 40 might have resulted in more distinct colorations and may be a good idea.
I think it turned out OK, but then again as I stated earlier – I’m color stupid.