Welcome, Guest. Please login or register.

Login with username, password and session length
Forums Search:  


Author Topic: FontStyle= for lines in .TYP file  (Read 1270 times)

kreych

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
    • View Profile
FontStyle= for lines in .TYP file
« on: December 20, 2017, 02:42:35 PM »
Hi, folks,

First a little background since this is my first post. I'm a noob at making Garmin maps. A couple weeks ago I worked my way through the fantastic tutorial and got a usable product, even though I ignored some error messages along the way, messed up a couple things, and will do some things differently next time.

I realized that I could meet about 75% of my objectives if I made an overlay out of some GPX tracks, so I've been playing with that (the iterations go a lot faster than for a whole map!).

My main problem is the labels for the tracks/trails. The names are arbitrary and don't mean a whole lot so I don't wan them to display. I thought that FontStyle=NoLabel in my .TYP file should do that but I can't get it to take any effect, even trying out the other values. I'm looking at the map in BaseCamp and on an eTrex 20.

Here's the file in its entirety minus some comments I removed for brevity:

[_id]
FID=4907
ProductCode=1
CodePage=1252
[end]

;for Polygons
[_drawOrder]
;Type=0x032,1
;Type=0x10101,2
[end]

[_polygon]
;Type=0x02
;String1=0x04,Residential
;String2=0x01,Résidentiel
;String3=0x03,Bebouwde kom
;ExtendedLabels=Y
;FontStyle=NoLabel
;Xpm="0 0 2 0"
;"! c #DCDCDC"
;"  c none"
[end]

[_line]
Type=0x16
; options to style the line
FontStyle=NoLabel
;can be one of NoLabel, SmallFont, NormalFont, LargeFont.
LineWidth=3
Xpm="0 0 1 0"
"a  c #008000"
BorderWidth=0
UseOrientation=Y
[end]

[_point]
;Type=0x52
; options to style the POI
[end]

Has anybody gotten FontStyle= to work? Is there some other way to get rid of the labels?

TIA,
Mike

popej

  • Expert Advisor
  • *****
  • Posts: 329
  • Karma: 30
    • View Profile
Re: FontStyle= for lines in .TYP file
« Reply #1 on: December 20, 2017, 02:51:04 PM »
I think there should be 2 lines, like:

ExtendedLabels=Y
FontStyle=NoLabel

Try to use some TYP editor, I recommend TypViewr:
https://sites.google.com/site/sherco40/

kreych

  • Jr. Member
  • **
  • Posts: 4
  • Karma: 0
    • View Profile
Re: FontStyle= for lines in .TYP file
« Reply #2 on: December 20, 2017, 06:56:45 PM »
Thanks very much for recommending TYPViewer, popei!

Apparently MapsetToolkit/cgpsmapper was not compiling the file properly. With TYPViewer I was able to make the needed changes very easily.

Mike

Geepz

  • Jr. Member
  • **
  • Posts: 7
  • Karma: 0
    • View Profile
Re: FontStyle= for lines in .TYP file
« Reply #3 on: March 04, 2018, 08:02:29 PM »
thanks for this

 

anything