GPSFileDepot Forums

General Category => Map Making Support => Topic started by: glendeni on August 06, 2012, 09:40:33 AM

Title: Making labels invisible
Post by: glendeni on August 06, 2012, 09:40:33 AM
I've spent a frustrating day trying to make some icon labels invisible using a TYP file before finally stumbling on a solution, so am posting my result here so that others will hopefully not have to go through the same experience (googling "TYP hidden labels" did not produce anything helpful to me).

Why did it take so long?  I went through many, many tests, all needing to going through creation of a MapSource installtion, including

() using the "on line" TYP editor - after checking "extended labels", changing the icon and font color DID work, but changing the "Font Style" was NOT having any effect

() using TypWiz3
I input
  ExtendedLabels=Y
  FontStyle=NoLabel (invisible)
but later tried re-inputting the TYP file created and found that TypWix had substituted "Default" for its FontStyle without any notice to me!  It took quite awhile for me to discover that the value I thought I was specifying was not actually being used!
(I also tried variants such as just "Nolabel" with the same results.)

() altering the .mp file's  "Lblcoding" values

The solution?  Like the proverbial millions of monkeys typing to accidentally create a line of Shakespeare, I found that when using the on-line TYP editor if, with "extended labels" checked, I changed "Custom Colors" from its default "no custom colors" to "custom day color" then the text DID become invisible. (The custom day color actually specified could apparently have any value.)
Title: Re: Making labels invisible
Post by: Boyd on August 06, 2012, 10:11:28 AM
Glad that it worked, but something strange is going on there. The things that didn't work for you have worked for me as well as others around here.

It's a puzzle.  :)
Title: Re: Making labels invisible
Post by: glendeni on August 06, 2012, 12:08:30 PM
Well of course there's the question of different versions.  With the on-line TYP editor I don't think you know when things change.  All I can report is how things worked yesterday for me.  Can't say how it's worked in the past or how it might in the future.
Title: Re: Making labels invisible
Post by: SmugWimp on August 08, 2012, 08:25:57 PM
Have you ever tried TypWiz?

http://www.pinns.co.uk/osm/index.html

I only ask because I find it much easier and faster than online. And now TypWiz 3 can compile the typ file without using cgpsmapper...

Cheers!

-- Smug
Title: Re: Making labels invisible
Post by: glendeni on August 08, 2012, 08:35:14 PM
If you  _read_ my original post, you will find that much of my wasted time was spent trying to use TypWiz3, finally discovering that the parameters it actually put into the TYP file differed from the ones I was specifying.
Title: Re: Making labels invisible
Post by: SmugWimp on August 08, 2012, 09:43:21 PM
TypWix = TypWiz. My bad.

Cheers!

-- Smug