Excellent, this has been needed for some time, and opens up lots of possibilities.

Not tested it yet, as I am up mountains.

Just a thought, would it be possible to assign colour when adding maps to another map, so things like water paths can be shown on an overview without having to change the maps individually

Eg

map detail
Map1 -colour[100 0 0]
Map 2 -colour [0 100 0]
Map3 -colour [0 0 100]
endmap

map Flow
Map1 -colour[70 0 0]
Map 2 -colour [70 0 0]
Map3 -colour [0 0 100]
endmap

Thanks

Andrew

On 28 Mar 2016 3:38 a.m., "Olly Betts" <olly@survex.com> wrote:
On Sun, Mar 27, 2016 at 09:44:37AM +0100, Olly Betts wrote:
> On Mon, Mar 14, 2016 at 09:23:39PM +1300, Bruce wrote:
> > Colour by map works just fine, as does colour by scrap or altitude.
> >
> > In the context of your question I thought you were trying to SPECIFY
> > which colour a particular scrap (or map or altitude) would be
> > assigned.
>
> I was "commissioned" to implement the ability to specify the colour
> used for each map - patch attached.
>
> With this (surprisingly small) change you can specify the colour for
> each map, which then overrides the automatic choice when the layout
> specifies "colour map-fg [map]".  Any maps without one get the same
> automatic colour they would before.
>
> Usage example:
>
> map 2012.map -projection plan
>   colour [0 70 0]
>   # etc
> endmap

You can also specify the colour on the "map" line (which is probably
clearer):

map 2012.map -projection plan -colour [0 70 0]
  # etc
endmap

Jenny Black produced an example showing what you can do with this patch:

https://survex.com/~olly/107-plan-col-year.pdf

Cheers,
    Olly
_______________________________________________
Therion mailing list
Therion@speleo.sk
http://mailman.speleo.sk/mailman/listinfo/therion