logo separator

[mkgmap-dev] how to add shield in the map

From Clinton Gladstone clinton.gladstone at googlemail.com on Wed Jul 22 11:55:22 BST 2009

On Wed, Jul 22, 2009 at 12:30 PM, maning
sambale<emmanuel.sambale at gmail.com> wrote:

> Probably discussed earlier, how do I add highway shields in the map?

You need to add highway-symbol prefixes to your lines style file. Example:

highway=motorway {name '${ref|highway-symbol:hbox} ${name}' |
'${ref|highway-symbol:hbox}' | '${name|highway-symbol:hbox}'

>From the source code, these are the possible values for highway shields:

		"interstate" // US Interstate
		"shield" // US Highway shield
		"round" // US Highway round
		"hbox" // box with horizontal bands
		"box"; // Square box
		"oval" // box with rounded end

The US symbols display only numeric values (e.g., "1", "401", etc).
The others are alphanumeric (e.g. "A5").

Hope this helps.

Cheers.



More information about the mkgmap-dev mailing list