Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: Making labels invisible  (Read 3362 times)

glendeni

  • Mapper
  • ***
  • Posts: 80
  • Karma: 0
    • View Profile
Making labels invisible
« on: August 06, 2012, 08: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.)

Boyd

  • Expert Advisor
  • *****
  • Posts: 3849
  • Karma: 43
    • View Profile
Re: Making labels invisible
« Reply #1 on: August 06, 2012, 09: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.  :)

glendeni

  • Mapper
  • ***
  • Posts: 80
  • Karma: 0
    • View Profile
Re: Making labels invisible
« Reply #2 on: August 06, 2012, 11:08:30 AM »
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.

SmugWimp

  • Mapper
  • ***
  • Posts: 54
  • Karma: 4
    • View Profile
    • SmugWimp's Site
Re: Making labels invisible
« Reply #3 on: August 08, 2012, 07: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
In a nutshell, I get claustrophobic.

glendeni

  • Mapper
  • ***
  • Posts: 80
  • Karma: 0
    • View Profile
Re: Making labels invisible
« Reply #4 on: August 08, 2012, 07: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.

SmugWimp

  • Mapper
  • ***
  • Posts: 54
  • Karma: 4
    • View Profile
    • SmugWimp's Site
Re: Making labels invisible
« Reply #5 on: August 08, 2012, 08:43:21 PM »
TypWix = TypWiz. My bad.

Cheers!

-- Smug
In a nutshell, I get claustrophobic.

 

anything