Customising The Map Look
Overview
Pathway Pro navigation engine (powering both Navmii Applications and Pathway Pro Mobile SDKs) provides a highly customisable map renderer configured by map colour schemes. It is possible to create colour schemes (for example, for day and night driving, pedestrian mode etc.) and switch them dynamically at a runtime.
Each colour scheme allows to customise:
- road colours
- road widths and road outline
- road presence at a particular zoom level
- road font style (including font outline)
- route number look
- city labels font style (per city class)
- map background colour
- polygon fill colour
- water area style
- polygons font style
- maximum zoom level for house numbers
- traffic colour and texture
- GPS position cursor image
- skybox background image
- border line style
- ferry route style
- tunnels style
- bridges style
- direction arrow style and colour
- various graphic textures (e.g. finish flag)
Most of the items above can be customised per country. E.g. road color may be different for UK and France in the same application.
Map colour schemes are stored in a style set folder and described by a ResourcesSdk2.json file which shall reside in the root of the folder containing the style set.
Getting started
If you're working on the map colour schemes in the Pathway Pro SDK repository, follow /wiki/spaces/NS/pages/3522003005 for further information.
If you're creating a custom map colour scheme as a user of the Pathway Pro SDK, proceed to the next chapter.
Map style folder structure
If you're working on the map colour schemes in the Pathway Pro SDK repository, follow /wiki/spaces/NS/pages/3522035787 for further information.
Map folder structure is flexible: none of the files, except ResourcesSdk2.json are required. Folder structure and file names are defined in ResourcesSdk2.json.
The most primitive SDK core scheme will consist of:
- at least one Fonts.col file for font aliases
- at least one MyMap.col file for Roads and polygons styling
- one MyCities.col file for City/Towns labels
- one RouteNumbers.col file for route numbers
- two zoom table files for 2D and 3D
The most primitive color scheme you will create may consist of:
- one MyStyle.json (or MyStyle.col) override file
- other required files will be inherited from the core SDK scheme
Setting up a test environment
If you're working on the map colour schemes in the Pathway Pro SDK repository, follow /wiki/spaces/NS/pages/3522134025 for information on how to set up the test environment.
If you're creating a custom map colour scheme as a user of the Pathway Pro SDK, follow this link for a detailed example of creating a small custom map colour scheme.
Explaining a map color scheme
Important
Each scheme must be added to the ResourcesSdk2.json screens.schemes array for the Pathway Pro SDK to be able to use it.
See an example of the ResourcesSdk2.json file in the end of this chapter for reference. It defines one screen object for screens up to 500 dpi and one colour scheme with id Day-Car@2x.
Below you can find description of the objects used in the ResourcesSdk2.json file.
Screen object
Defines set of color schemes (styles) for a certain DPI. Application will pick up style automatically trying to match the closest DPI range from the "screen" array. If only one screen element is available it will be used for all DPI's
Attribute Name | Type | Description | Mandatory? |
---|---|---|---|
name | string | Friendly name of the screen resolution | Yes |
maxDPI | int | Maximum screen DPI the style set will be used for | Yes |
schemes | array | List of styles (color schemes) | Yes (at least one) |
Scheme object
Defines parameters of map style. ResourcesSdk2.json has to have at least one scheme added.
Attribute Name | Type | Description | Mandatory? |
---|---|---|---|
id | string | ID which will be used in API to load the scheme | Yes |
vehicleType | enum | Type of vehicle this scheme will be load for. Use "*" to use the scheme with all vehicle types. | Yes |
isNight | array | Night or Day scheme. In case night scheme is missing in the list, day scheme will be loaded | Yes |
fontFiles | array | Defines set of fonts used for map styling. You can add one file per operating system plus one default. See "FontFile" object also. | Yes |
routeNumberPaths | array | List of paths to RouteNumber.col files defining look of Route Shields | No |
zoomTableFiles | array | List of ZoomTableFiles defining Road Rending layers. Use default one unless advised by Pathway Pro developers. See also "ZoomTableFile" object | Yes |
colorFiles | array | List of color files defining your map style. See "ColorFile" object also. In case you have more than one, files will override each other following the order they appear in configuration. | Yes |
FontFile object
Defines set of fonts used for map styling for a given Operating System
Attribute Name | Type | Description | Mandatory? |
---|---|---|---|
platform | string | Name of the OS they file used for. Use "*" for a default entry. | Yes |
path | string | Path to the font configuration file. | Yes |
ZoomTableFile object
Defines set of roads selected from map db for rendering for each zoom level for a given map projection.
Attribute Name | Type | Description | Mandatory? |
---|---|---|---|
type | enum | Either 2D or 3D | Yes |
path | string | Path to the configuration file. | Yes |
ColorFile object
Defines location of color file used for styling
Attribute Name | Type | Description | Mandatory? |
---|---|---|---|
id | string | Unique file id for the scheme | Yes |
path | string | Path to the configuration file.
| Yes |
countries | array | List of territory ID's the color file will be applied to. Use "*" for default entry | Yes |
{ "file": "Pathway Pro Map Rasteriser Config", "version": "2.0.0", "screens": [ { "name": "High DPI Screens", "maxDPI": 500, "schemes": [ { "id": "Day-Car@2x", "vehicleType": "PASSENGER_CAR", "isNight": false, "fontFiles": [ { "platform": "*", "path": "screen@2x/fonts/Default.col" }, { "platform": "ANDROID", "path": "screen@2x/fonts/Android.col" }, { "platform": "IOS", "path": "screen@2x/fonts/iOs.col" } ], "routeNumberPaths": [ "screen@2x/RouteNumbers.col" ], "zoomTableFiles": [ { "type": "2D", "path": "screen@2x/zoomTables/Default-2D.col" }, { "type": "3D", "path": "screen@2x/zoomTables/Default-3D.col" } ], "colorFiles": [ { "id": "day-2x-main", "path": "screen@2x/schemes/day/Default.col", "countries": [ "*" ] }, { "id": "day-2x-cities", "path": "shared/day/Cities.col", "countries": [ "*" ] }, { "id": "day-2x-gbr", "path": "screen@2x/schemes/day/Default-GBR.json", "countries": [ "GBR" ] }, { "id": "day-2x-closed", "path": "screen@2x/schemes/day/closed.json", "countries": [ "*" ] } ] } ] } ] }
Creating an inherited map colour scheme
It is possible to re-use an existing color scheme with overrides to create a new color scheme. A good example would be a pedestrian color scheme which is overriding GPS position cursor icon and road colours without defining every required scheme attribute.
- Use BaseSchemeID to reference base scheme.
- Define a new ID for the inherited scheme
- Add overriding .col or .json files to the corresponding blocks
{ "file": "Pathway Pro Map Rasteriser Config", "version": "2.0.0", "screens": [ { "name": "High DPI Screens", "maxDPI": 500, "schemes": [ { "id": "Day-Car@2x", "vehicleType": "PASSENGER_CAR", "isNight": false, "fontFiles": [ { "platform": "*", "path": "screen@2x/fonts/Default.col" }, { "platform": "ANDROID", "path": "screen@2x/fonts/Android.col" }, { "platform": "IOS", "path": "screen@2x/fonts/iOs.col" } ], "routeNumberPaths": [ "screen@2x/RouteNumbers.col" ], "zoomTableFiles": [ { "type": "2D", "path": "screen@2x/zoomTables/Default-2D.col" }, { "type": "3D", "path": "screen@2x/zoomTables/Default-3D.col" } ], "colorFiles": [ { "id": "day-2x-main", "path": "screen@2x/schemes/day/Default.col", "countries": [ "*" ] }, { "id": "day-2x-cities", "path": "shared/day/Cities.col", "countries": [ "*" ] }, { "id": "day-2x-gbr", "path": "screen@2x/schemes/day/Default-GBR.json", "countries": [ "GBR" ] }, { "id": "day-2x-closed", "path": "screen@2x/schemes/day/closed.json", "countries": [ "*" ] } ] } ] }, { "baseSchemeID": "Day-Car@2x", "id": "Day-Pedestrian@2x", "vehicleType": "PEDESTRIAN", "colorFiles": [ { "id": "day-2x-walking", "path": "screen@2x/schemes/day/Walking.json", "countries": [ "*" ] }, { "id": "day-2x-walking-gbr", "path": "screen@2x/schemes/day/Walking-GBR.json", "countries": [ "GBR" ] } ] } ] }
Customising map colour schemes
Fonts
You may use default font styling from SDK core scheme if you don't want to change font styles on your map
Each font configuration file contains list of font aliases which can be used in main styling files you will create for color schemes.
Fonts file format
- Each meaningful line has to start with FONT or SYSTEM_FONT tag.
- Lines starting with "//" are treated as comment lines and will be ignored.
- Empty lines are ignored
- Line values are separated by either [SPACE] or [TAB]
System Font Mapping
TAG: SYSTEM_FONT
Defines system font aliases for each locale and font type (bold, italic etc)
Attribute | Description | Example |
---|---|---|
TAG | Line identifier | SYSTEM_FONT |
Font Face | System Font Alias | Road-Font |
Locale | Specific locale this font should be used for. Possible options are:
| Cyrillic |
Italic | Font style | Yes/No |
Bold | Font Weight | Yes/No |
System Font | OS font mapping | HelveticaNeue |
//------------------------------------------------------------------------------------------------------------ // Pathway Pro Map Renderer System Font Mapping // // - FileVer: Version of the color file // - Dpi: DPI (1x, 2x, 3x) //------------------------------------------------------------------------------------------------------------ // TAG Date FileVer Dpi ColorSchemeType VehicleType //------------------------------------------------------------------------------------------------------------ VERSION 27/12/2016 2.0 2x n/a n/a //------------------------------------------------------------------------------------------------------------------------------- // Font Face Locale Bold Italic System Font //------------------------------------------------------------------------------------------------------------------------------- SYSTEM_FONT "Road-Font" default No No "HelveticaNeue" SYSTEM_FONT "Road-Font" default Yes No "HelveticaNeue-Medium" SYSTEM_FONT "Road-Font" default No Yes "HelveticaNeue-Italic" SYSTEM_FONT "Road-Font" default Yes Yes "HelveticaNeue-BoldItalic" SYSTEM_FONT "Road-Number" default No No "HelveticaNeue-CondensedBold" SYSTEM_FONT "Road-Number" default Yes No "HelveticaNeue-CondensedBold" SYSTEM_FONT "Road-Number" NearEast No No "ArialMT" SYSTEM_FONT "Road-Number" NearEast Yes No "Arial-BoldMT" SYSTEM_FONT "Road-Number" Chinese No No "STHeitiSC-Medium" SYSTEM_FONT "Road-Number" Thai No No "Thonburi" SYSTEM_FONT "Road-Number" Thai Yes No "Thonburi-Bold" SYSTEM_FONT "City-Font" default No No "AvenirNext-DemiBold" SYSTEM_FONT "City-Font" default Yes No "AvenirNext-Bold" SYSTEM_FONT "City-Font" default Yes Yes "AvenirNext-DemiBoldItalic" SYSTEM_FONT "City-Font" default No Yes "AvenirNext-Italic" // SYSTEM_FONT "City-Font" Thai No No "Thonburi" // SYSTEM_FONT "City-Font" Thai Yes No "Thonburi-Bold"
Styling Fonts mapping
TAG: FONT
Defines mapping between system aliases and styling aliases
Attribute | Description | Example |
---|---|---|
TAG | Line identifier | FONT |
Font ID | Styling Font alias (or ID) unique per OS font file | RoadFont-24; MyFontForRoads |
Font Face | System Font Alias from Default.col | Road-Font |
Font Size | Font size in pixels | 24.0 |
Border Size | Font outline (border) width in pixels | 1.0 |
Feather Size | Blurred outline size (shadow) | 0.0 |
Font Weight | 1.0 for normal, 2.0 for bold | |
Italic | Font style | Yes/No |
Feather offset | Shadow direction | {1.0, 1.0} |
//------------------------------------------------------------------------------------------------------------------------------- // Roads //------------------------------------------------------------------------------------------------------------------------------- // Font ID Font Face Font Size Border Size Feather Size Font Weight Italic Feather Offset //------------------------------------------------------------------------------------------------------------------------------- FONT RoadFont-24 "Road-Font" 24.0 1.0 0.0 1.0 No {0.0, 0.0} FONT RoadFont-22 "Road-Font" 22.0 1.0 0.0 1.0 No {0.0, 0.0} FONT RoadFont-20 "Road-Font" 20.0 1.0 0.0 1.0 No {0.0, 0.0} FONT RoadFont-18 "Road-Font" 18.0 1.0 0.0 1.0 No {0.0, 0.0} FONT RoadFont-16 "Road-Font" 16.0 1.0 0.0 1.0 No {0.0, 0.0} FONT RoadFont-14 "Road-Font" 14.0 1.0 0.0 1.0 No {0.0, 0.0} //------------------------------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------------------------------- // Areas //------------------------------------------------------------------------------------------------------------------------------- // Font ID Font Face Font Size Border Size Feather Size Font Weight Italic Feather Offset //------------------------------------------------------------------------------------------------------------------------------- FONT AreasFont "Road-Font" 12.0 0.0 0.0 0.0 Yes {0.0, 0.0} FONT LandFont "Road-Font" 10.0 0.0 0.0 0.0 No {0.0, 0.0} FONT AeroportFont "City-Font" 22.0 0.0 0.0 2.0 Yes {0.0, 0.0} FONT RiverFont "Road-Font" 12.0 0.0 0.0 0.0 Yes {0.0, 0.0} FONT RailwayFont_High "Road-Font" 14.0 1.0 0.0 0.0 Yes {0.0, 0.0} FONT RailwayFont_Low "Road-Font" 20.0 1.0 0.0 0.0 Yes {0.0, 0.0} //-------------------------------------------------------------------------------------------------------------------------------
Road styling
Road styling is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default road styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: ROAD
Defines styles and visibility of road classes at every zoom level.
Road Class Visibility
It is not recommended to change visibility of road class at zoom levels as it may affect rendering engine performance. If you decide to amend visibility you should be aware that:
- Commented line ("//") is ignored by renderer and in case road functional class presents in zoom table, road styling will be defaulted (red in debug, light grey in release).
- To actually hide (not to render) certain type of road at a particular zoom level, set its width to 0.
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | ROAD | always "ROAD" |
FC | int | Road functional class. 0 - motorways 1 - A-class roads 2 - B-class roads 3 - Major roads 4 - Major city roads 5,6 - Other roads 7 - pedestrian roads | 0-7 | |
Zoom Level | int | Map zoom level the style is for. 0 - less details (higher), 19 - more details (lower) | 0-19 | |
Color | string | Road color in ARGB format | 00E65929 | |
Border Color | string | Road outline color in ARGB format | 00B1181C | |
Label Colour | string | Road name label font color | 00000000 | |
Label Outline Colour | string | Road name outline font color | 4DFFFFFF | |
Width | double | Road width, including border | 52.0 | |
Border Width | double | Road outline width in pixels. 0 - no border. | 2.0 | |
Road Name | bool | Render road name or not | Yes/No | |
Arrow Colour | string | One-way arrow colour in ARGB format | 00FFFFFF | |
Arrow Outline Colour | string | One-way arrow outline colour in ARGB format | 00FFFFFF | obsolete? |
FontID | string | Font alias from font file (TAG: FONT) | RoadFont-24 | |
A/Alias. | bool | Use antialiasing to render road line | Yes/No | |
TextureName | string | Relative path to texture used for line rendering (e.g for pedestrian roads). Use "null" for normal rendering | ||
Route Number | enum | Defines how to render Route Number.
| TEXT, SHIELD, - |
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 0: motorways // // - FC: Functional Class // - Zoom: Map Zoom // - Color: ARGB Road color // - BorderColor: ARGB Road outline (border) // - Width: If set to 0, stops rendering road on map. Comment the line to stop reading roads of this type from the DB // - BrdrWidth: Road outline width // - RoadName: Render road name or not // - ArrCol: Oneway roads arrow color // - ArrOutlineCol: Oneway roads arrow outline color // - FontID: Font ID from fonts.col file of the color scheme // - A/Alias.: Use antialiasing for line rendering // - TextureName: Path to a texture to render road with // - RoadNumber: {"-": hide road number, "TEXT": Render road number as text, "SHLD": Render road name as shield} //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RouteNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 0 0 00E65929 00B1181C 00000000 4DFFFFFF 52.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-24 Yes null TEXT ROAD 0 1 00E65929 00B1181C 00000000 4DFFFFFF 40.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-24 Yes null TEXT ROAD 0 2 00E65929 00B1181C 00000000 4DFFFFFF 26.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-20 Yes null TEXT ROAD 0 3 00E65929 00B1181C 00000000 4DFFFFFF 16.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-20 Yes null TEXT ROAD 0 4 00E65929 00B1181C 00000000 4DFFFFFF 8.0 1.8 Yes 00FFFFFF 00FFFFFF RoadFont-16 Yes null TEXT ROAD 0 5 00E65929 00B1181C 00000000 4DFFFFFF 5.2 1.2 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 6 00E65929 00B45332 00000000 4DFFFFFF 4.6 1.2 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 7 00E65929 00B45332 00000000 00FFFFFF 3.2 1.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 8 00E65929 00B45332 00000000 00FFFFFF 2.4 0.8 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 9 00E65929 00B45332 00000000 00FFFFFF 2.2 0.8 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 10 00E65929 00B45332 00000000 00FFFFFF 1.4 0.6 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 11 00E65929 00B45332 00000000 00FFFFFF 1.4 0.5 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 0 12 00E65929 00000000 00000000 00FFFFFF 1.6 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 0 13 00E65929 00000000 00000000 00FFFFFF 1.4 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 0 14 00E65929 00000000 00000000 00FFFFFF 0.9 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - // ROAD 0 15 00000000 00000000 00000000 00FFFFFF 0.0 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD // ROAD 0 16 00000000 00000000 00000000 00FFFFFF 0.0 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD // ROAD 0 17 00000000 00000000 00000000 00FFFFFF 0.0 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD // ROAD 0 18 00000000 00000000 00000000 00FFFFFF 0.0 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD // ROAD 0 19 00000000 00000000 00000000 00FFFFFF 0.0 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 1: green, A-class //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 1 0 00F8F146 00FEB41A 00000000 4DFFFFFF 48.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-24 Yes null TEXT ROAD 1 1 00F8F146 00FEB41A 00000000 4DFFFFFF 36.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-24 Yes null TEXT ROAD 1 2 00F8F146 00FEB41A 00000000 4DFFFFFF 22.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-20 Yes null TEXT ROAD 1 3 00F8F146 00FEB41A 00000000 4DFFFFFF 14.0 2.0 Yes 00FFFFFF 00FFFFFF RoadFont-18 Yes null TEXT ROAD 1 4 00F8F146 00FEB41A 00000000 4DFFFFFF 8.0 1.8 Yes 00FFFFFF 00FFFFFF RoadFont-18 Yes null TEXT ROAD 1 5 00F8F146 00FEB41A 00000000 4DFFFFFF 5.2 1.2 Yes 00FFFFFF 00FFFFFF RoadFont-18 Yes null SHLD ROAD 1 6 00F8F146 00FEB41A 00000000 4DFFFFFF 4.4 1.2 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 7 00F8F146 00FEB41A 00000000 00FFFFFF 2.8 1.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 8 00F8F146 00FEB41A 00000000 00FFFFFF 2.4 0.8 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 9 00F8F146 00FEB41A 00000000 00FFFFFF 1.4 0.6 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 10 00F8F146 00FEB41A 00000000 00FFFFFF 1.2 0.6 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 11 00B69E1C 00000000 00000000 00FFFFFF 1.4 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 1 12 00B69E1C 00000000 00000000 00FFFFFF 1.4 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 1 13 00B69E1C 00000000 00000000 00FFFFFF 1.0 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 1 14 00B69E1C 00000000 00000000 00FFFFFF 0.6 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - // ROAD 1 15 00000000 00000000 00000000 00FFFFFF 1.6 0.5 No 00000000 00FFFFFF RoadFont-16 Yes null - // ROAD 1 16 00000000 00000000 00000000 00FFFFFF 0.7 0.3 No 00000000 00FFFFFF RoadFont-16 Yes null - // ROAD 1 17 00000000 00000000 00000000 00FFFFFF 0.7 0.3 No 00000000 00FFFFFF RoadFont-16 Yes null - // ROAD 1 18 00000000 00000000 00000000 00FFFFFF 0.7 0.3 No 00000000 00FFFFFF RoadFont-16 Yes null - // ROAD 1 19 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 00000000 00FFFFFF RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 2: B-class, orange //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 2 0 00F8F146 00FEB41A 00000000 33FFFFFF 40.0 2.0 Yes 007687DE 007687DE RoadFont-24 Yes null TEXT ROAD 2 1 00F8F146 00FEB41A 00000000 33FFFFFF 30.0 2.0 Yes 007687DE 007687DE RoadFont-24 Yes null TEXT ROAD 2 2 00F8F146 00FEB41A 00000000 33FFFFFF 22.0 2.0 Yes 007687DE 007687DE RoadFont-20 Yes null TEXT ROAD 2 3 00F8F146 00FEB41A 00000000 33FFFFFF 14.0 1.8 Yes 007687DE 007687DE RoadFont-18 Yes null TEXT ROAD 2 4 00F8F146 00FEB41A 00402905 33FFFFFF 8.0 1.6 Yes 007687DE 007687DE RoadFont-18 Yes null TEXT ROAD 2 5 00F8F146 00FEB41A 00402905 33FFFFFF 5.2 1.2 Yes 007687DE 007687DE RoadFont-18 Yes null SHLD ROAD 2 6 00F8F146 00FEB41A 00402905 33FFFFFF 4.4 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 2 7 00F8F146 00FEB41A 00402905 33FFFFFF 3.0 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 2 8 00F8F146 00FEB41A 00402905 00FFFFFF 2.4 0.8 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 2 9 00F8F146 00FEB41A 00402905 00FFFFFF 1.2 0.6 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 2 10 00F8F146 00FEB41A 00000000 00FFFFFF 0.8 0.6 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 2 11 00B69E1C 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 2 12 00B69E1C 00000000 00000000 00FFFFFF 0.8 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 13 00000000 00000000 00000000 00FFFFFF 1.2 0.5 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 14 00000000 00000000 00000000 00FFFFFF 0.9 0.5 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 15 00000000 00000000 00000000 00FFFFFF 0.9 0.5 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 16 00000000 00000000 00000000 00FFFFFF 0.7 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 17 00000000 00000000 00000000 00FFFFFF 0.7 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 18 00000000 00000000 00000000 00FFFFFF 0.7 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 2 19 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 3: Important city roads //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 3 0 00FFFFFF 00E0D19C 00000000 00FFFFFF 40.0 2.0 Yes 007687DE 007687DE RoadFont-22 Yes null TEXT ROAD 3 1 00FFFFFF 00E0D19C 00000000 00FFFFFF 30.0 2.0 Yes 007687DE 007687DE RoadFont-22 Yes null TEXT ROAD 3 2 00FFFFFF 00E0D19C 00000000 00FFFFFF 22.0 2.0 Yes 007687DE 007687DE RoadFont-18 Yes null TEXT ROAD 3 3 00FFFFFF 00E0D19C 00000000 00FFFFFF 12.0 1.6 Yes 007687DE 007687DE RoadFont-18 Yes null TEXT ROAD 3 4 00FFFFFF 00E0D19C 00000000 00FFFFFF 8.0 1.4 Yes 007687DE 007687DE RoadFont-16 Yes null TEXT ROAD 3 5 00FFFFFF 00E0D19C 00000000 00FFFFFF 4.8 1.2 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 3 6 00FFFFFF 00E0D19C 00443B2D 00FFFFFF 3.6 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 3 7 00FFFFFF 00E0D19C 00443B2D 00FFFFFF 2.8 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 3 8 00FFFFFF 00E0D19C 00000000 00FFFFFF 1.8 0.6 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 3 9 00B69E1C 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 3 10 00B69E1C 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 11 00000000 00000000 00000000 00FFFFFF 1.4 0.5 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 12 00000000 00000000 00000000 00FFFFFF 0.8 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 13 00000000 00000000 00000000 00FFFFFF 0.8 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 14 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 15 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 16 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 17 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 18 00000000 00000000 00000000 00FFFFFF 0.5 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 3 19 00000000 00000000 00000000 00FFFFFF 0.5 0.0 No 007687DE 007687DE RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 4: big city road (av. Hoche) //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 4 0 00FFFFFF 00E0D19C 00000000 00FFFFFF 36.0 1.6 Yes 007687DE 007687DE RoadFont-22 Yes null TEXT ROAD 4 1 00FFFFFF 00E0D19C 00000000 00FFFFFF 26.0 1.6 Yes 007687DE 007687DE RoadFont-20 Yes null TEXT ROAD 4 2 00FFFFFF 00E0D19C 00000000 00FFFFFF 18.0 1.4 Yes 007687DE 007687DE RoadFont-18 Yes null TEXT ROAD 4 3 00FFFFFF 00E0D19C 00000000 00FFFFFF 10.0 1.2 Yes 007687DE 007687DE RoadFont-16 Yes null TEXT ROAD 4 4 00FFFFFF 00E0D19C 00000000 00FFFFFF 6.0 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null TEXT ROAD 4 5 00FFFFFF 00E0D19C 00443B2D 00FFFFFF 4.8 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 4 6 00FFFFFF 00E0D19C 00443B2D 00FFFFFF 3.6 1.0 No 007687DE 007687DE RoadFont-14 Yes null SHLD ROAD 4 7 00FFFFFF 00E0D19C 00443B2D 00FFFFFF 1.2 0.8 No 007687DE 007687DE RoadFont-16 Yes null SHLD ROAD 4 8 00EDDAAC 00000000 00000000 00FFFFFF 0.8 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 9 00ff0000 00000000 00000000 00FFFFFF 0.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 10 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 11 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 12 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 13 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 14 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 15 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 16 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 17 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 18 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 4 19 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 5 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 5 0 00FFFFFF 00E0D19C 00000000 00FFFFFF 24.0 1.4 Yes 007687DE 007687DE RoadFont-22 Yes null - ROAD 5 1 00FFFFFF 00E0D19C 00000000 00FFFFFF 20.0 1.4 Yes 007687DE 007687DE RoadFont-20 Yes null - ROAD 5 2 00FFFFFF 00E0D19C 00000000 00FFFFFF 14.0 1.2 Yes 007687DE 007687DE RoadFont-18 Yes null - ROAD 5 3 00FFFFFF 00E0D19C 0041362E 40FFFFFF 8.0 1.2 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 5 4 00FFFFFF 00E0D19C 0041362E 80FFFFFF 4.0 1.0 Yes 007687DE 007687DE RoadFont-14 Yes null - ROAD 5 5 00FFFFFF 00E0D19C 00736E67 80FFFFFF 1.4 0.8 No 007687DE 007687DE RoadFont-14 Yes null - ROAD 5 6 00EDDAAC 00000000 00000000 00FFFFFF 0.6 0.0 no 007687DE 007687DE RoadFont-14 Yes null - ROAD 5 7 00EDDAAC 00000000 00000000 00FFFFFF 0.6 0.0 no 007687DE 007687DE RoadFont-14 Yes null - // ROAD 5 8 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 9 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 10 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 11 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 12 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 13 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 14 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 15 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 16 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 17 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 18 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 5 19 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 6 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 6 0 00FFFFFF 00E0D19C 00000000 00FFFFFF 20.0 1.4 Yes 007687DE 007687DE RoadFont-22 Yes null - ROAD 6 1 00FFFFFF 00E0D19C 00000000 00FFFFFF 10.0 1.2 Yes 007687DE 007687DE RoadFont-20 Yes null - ROAD 6 2 00FFFFFF 00E0D19C 00000000 00FFFFFF 5.0 1.2 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 6 3 00FFFFFF 00E0D19C 00443B2D 00FFFFFF 3.0 0.8 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 6 4 00EDDAAC 00000000 00443B2D 00FFFFFF 1.2 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 6 5 00EDDAAC 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 6 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 7 00000000 00000000 00000000 00FFFFFF 0.7 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 8 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 9 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 10 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 11 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 12 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 13 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 14 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 15 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 16 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 17 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 18 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 6 19 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 7 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 7 0 00F7F5F0 00B5B2AD 00443B2D 00FFFFFF 3.0 1.0 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 7 1 00F7F5F0 00B5B2AD 00443B2D 00FFFFFF 3.0 0.6 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 7 2 00F7F5F0 00B5B2AD 00443B2D 00FFFFFF 2.0 0.6 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 7 3 00F7F5F0 00B5B2AD 00443B2D 00FFFFFF 2.0 0.6 Yes 007687DE 007687DE RoadFont-16 Yes null - ROAD 7 4 00F7F5F0 00B5B2AD 003E3F3E 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 7 5 00B5B2AD 00000000 003E3F3E 00FFFFFF 0.5 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 6 00000000 00000000 00000000 00FFFFFF 0.7 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 7 00000000 00000000 00000000 00FFFFFF 0.7 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 8 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 9 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 10 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 11 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 12 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 13 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 14 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 15 00000000 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 16 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 17 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 18 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - // ROAD 7 19 00000000 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null -
Waterways, Railways, Ferry routes styling
Waterways, Railways, Ferry routes styling is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: WATERWAY, RAILWAY, FERRY_CONNECTOR,
Defines styles and visibility of features represented by a line at each zoom level.
Road Class Visibility
It is not recommended to change visibility of these features per zoom levels as it may affect rendering engine performance. If you decide to amend visibility you should be aware that:
- All zoom level are mandatory. Do not comment line for a particular zoom level.
- To actually hide (not to render) feature at a particular zoom level, set its width to 0.
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | LINE | always "LINE" |
Type | enum | Feature type identifier
| WATERWAY | |
Zoom Level | int | Map zoom level the style is for. 0 - less details (higher), 19 - more details (lower) | 0-19 | |
Color | string | Line color in ARGB format | 00E65929 | |
Border Color | string | Outline color in ARGB format | 00B1181C | |
Label Colour | string | Name label font color | 00000000 | |
Label Outline Colour | string | Name outline font color | 4DFFFFFF | |
Width | double | Line width, including border | 52.0 | |
Border Width | double | Line outline width in pixels. 0 - no outline (borderless). | 2.0 | |
Name | bool | Render name label or not | Yes/No | |
FontID | string | Font alias from font file (TAG: FONT) | RiverFont | |
A/Alias. | bool | Use antialiasing to render road line | Yes/No | |
TextureName | string | Relative path to texture used for line rendering. Use "null" for normal line rendering | "texturesPDA\railway.png" | |
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // WATERWAY //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Type Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- LINE WATERWAY 0 0098CAED 002F5CA7 0012507B 00244781 6.0 0.0 Yes 007687DE 007687DE RiverFont No null LINE WATERWAY 1 0098CAED 002F5CA7 0012507B 00244781 6.0 0.0 Yes 007687DE 007687DE RiverFont No null LINE WATERWAY 2 0098CAED 002F5CA7 0012507B 00244781 3.0 0.0 Yes 007687DE 007687DE RiverFont No null LINE WATERWAY 3 0098CAED 002F5CA7 0012507B 00244781 3.0 0.0 Yes 007687DE 007687DE RiverFont No null LINE WATERWAY 4 0098CAED 002F5CA7 0012507B 00244781 1.0 0.0 Yes 007687DE 007687DE RiverFont No null LINE WATERWAY 5 0098CAED 002F5CA7 0012507B 00244781 1.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 6 0098CAED 002F5CA7 0012507B 00244781 0.6 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 7 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 8 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 9 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 10 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 11 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 12 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 13 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 14 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 15 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 16 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 17 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 18 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE WATERWAY 19 0098CAED 002F5CA7 0012507B 00244781 0.0 0.0 No 007687DE 007687DE RiverFont No null //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // RAILWAY //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Type Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- LINE RAILWAY 0 00DFE1E5 00000000 00000000 00FFFFFF 2.0 0.0 Yes 007687DE 007687DE RailwayFont_Low No "texturesPDA\railway.png" LINE RAILWAY 1 00DFE1E5 00000000 00000000 00FFFFFF 2.0 0.0 Yes 007687DE 007687DE RailwayFont_Low No "texturesPDA\railway.png" LINE RAILWAY 2 00DFE1E5 00000000 00000000 00FFFFFF 1.0 0.0 Yes 007687DE 007687DE RailwayFont_High No "texturesPDA\railway.png" LINE RAILWAY 3 00DFE1E5 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RailwayFont_High No "texturesPDA\railway.png" LINE RAILWAY 4 00DFE1E5 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RailwayFont_High No "texturesPDA\railway2.png" LINE RAILWAY 5 00DFE1E5 00000000 00000000 00FFFFFF 1.0 0.0 No 007687DE 007687DE RailwayFont_High No "texturesPDA\railway2.png" LINE RAILWAY 6 00C7C9CD 00000000 00000000 00FFFFFF 0.4 0.0 No 007687DE 007687DE RailwayFont_High No "texturesPDA\railway2.png" LINE RAILWAY 7 00C7C9CD 00000000 00000000 00FFFFFF 0.4 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 8 00C7C9CD 00000000 00000000 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 9 00C7C9CD 00000000 00000000 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 10 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 12 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 13 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 14 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 15 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 16 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 17 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 18 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null LINE RAILWAY 19 00C7C9CD 00000000 00112465 00FFFFFF 0.0 0.0 No 007687DE 007687DE RailwayFont_High No null //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // FERRY_CONNECTOR //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Type Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- LINE FERRY_CONNECTOR 0 00599ED4 00000000 0012507B 00000000 2.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 1 00599ED4 00000000 0012507B 00000000 2.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 2 00599ED4 00000000 0012507B 00000000 2.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 3 00599ED4 00000000 0012507B 00000000 2.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 4 00599ED4 00000000 0012507B 00000000 2.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 5 00599ED4 00000000 0012507B 00000000 1.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 6 00599ED4 00000000 0012507B 00000000 1.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 7 00599ED4 00000000 0012507B 00000000 1.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 8 00599ED4 00000000 0012507B 00000000 1.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 9 00599ED4 00000000 0012507B 00000000 1.0 0.0 Yes 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 10 00599ED4 00000000 0012507B 00000000 0.5 0.0 No 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 11 00599ED4 00000000 0012507B 00000000 0.5 0.0 No 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 12 0083A3C1 00000000 0012507B 00000000 0.5 0.0 No 007687DE 007687DE RiverFont No "texturesPDA\ferry.png" LINE FERRY_CONNECTOR 13 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE FERRY_CONNECTOR 14 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE FERRY_CONNECTOR 15 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE FERRY_CONNECTOR 16 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE FERRY_CONNECTOR 17 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE FERRY_CONNECTOR 18 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null LINE FERRY_CONNECTOR 19 0083A3C1 00000000 0012507B 00000000 0.0 0.0 No 007687DE 007687DE RiverFont No null
Border Line styling
Border lines styling is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: BORDER
Defines styles and visibility of national and regional borders on map
Road Class Visibility
It is not recommended to change visibility of these features per zoom levels as it may affect rendering engine performance. If you decide to amend visibility you should be aware that:
To hide (not to render) border at a particular zoom level, put comment marks in the beginning of the line
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | LINE | always "LINE" |
Zoom Level | int | Map zoom level the style is for. 0 - less details (higher), 19 - more details (lower) | 0-19 | |
Type | enum | Border type identifier
| NATIONAL | ISOHYPSE lines are optional and depends on type of map. |
Color | string | Line color in ARGB format | 00862500 | |
Border Color | string | Outline color in ARGB format | E6B14C00 | |
Label Colour | string | Name label font color | 00FFFFFF | |
Label Outline Colour | string | Name outline font color | 00000000 | 00000000 - no outline? |
Width | double | Line width, including border | 2.0 | |
Border Width | double | Line outline width in pixels. 0 - no outline (borderless). | 5.3 | |
Name | bool | Render name label or not | Yes/No | |
FontID | string | Font alias from font file (TAG: FONT) | RoadFont-12 | |
A/Alias. | bool | Use antialiasing to render road line | Yes/No | |
TextureName | string | Relative path to texture used for line rendering. Use "null" for normal rendering | "texturesPDA\dash.png" |
//----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Country Border Lines //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Type Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth Name ArrCol ArrOutlineCol A/Alias. TextureName //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ BORDER 0 NATIONAL 00862500 E6B14C00 00FFFFFF 00000000 1.8 4.5 Yes 00000000 00000000 Yes "texturesPDA\ferry.png" BORDER 1 NATIONAL 00862500 E6B14C00 00FFFFFF 00000000 1.8 4.5 Yes 00000000 00000000 Yes "texturesPDA\ferry.png" BORDER 2 NATIONAL 00862500 E6B14C00 00FFFFFF 00000000 1.8 4.0 Yes 00000000 00000000 Yes "texturesPDA\ferry.png" BORDER 3 NATIONAL 00862500 E6B14C00 00FFFFFF 00000000 1.8 4.0 Yes 00000000 00000000 Yes "texturesPDA\ferry.png" BORDER 4 NATIONAL 00862500 E6B14C00 00FFFFFF 00000000 1.8 4.0 Yes 00000000 00000000 Yes "texturesPDA\ferry.png" BORDER 5 NATIONAL 00862500 E6B14C00 00FFFFFF 00000000 1.8 4.0 Yes 00000000 00000000 Yes "texturesPDA\ferry.png" BORDER 6 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.8 4.0 Yes 00000000 00000000 Yes null BORDER 7 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.8 4.0 Yes 00000000 00000000 Yes null BORDER 8 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.8 4.0 Yes 00000000 00000000 Yes null BORDER 9 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.6 3.4 Yes 00000000 00000000 Yes null BORDER 10 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.6 3.4 Yes 00000000 00000000 Yes null BORDER 11 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.6 3.4 Yes 00000000 00000000 Yes null BORDER 12 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.4 2.0 Yes 00000000 00000000 Yes null BORDER 13 NATIONAL 00968282 E6B14C00 00FFFFFF 00000000 0.4 2.0 Yes 00000000 00000000 Yes null BORDER 14 NATIONAL 40968282 E6B14C00 00FFFFFF 00000000 0.4 2.0 Yes 00000000 00000000 Yes null BORDER 15 NATIONAL D95c5c5c 00ffffff 00FFFFFF 00000000 1.8 0.0 Yes 00000000 00000000 Yes null BORDER 16 NATIONAL D95c5c5c 00ffffff 60FFFFFF 00000000 1.6 0.0 Yes 00000000 00000000 Yes null BORDER 17 NATIONAL D95c5c5c 00ffffff 00FFFFFF 00000000 1.4 0.0 Yes 00000000 00000000 Yes null BORDER 18 NATIONAL 00ccc9c3 855c5c5c 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null BORDER 19 NATIONAL 00ccc9c3 855c5c5c 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Regional Borders (States, Counties) //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Type Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth Name ArrCol ArrOutlineCol A/Alias. TextureName //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ BORDER 0 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 3.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 1 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 3.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 2 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 3.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 3 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 4.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 4 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 4.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 5 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 4.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 6 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 4.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 7 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 3.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 8 REGIONAL 33efefef E6B14C00 00FFFFFF 00000000 2.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 9 REGIONAL 00dddddd E6B14C00 00FFFFFF 00000000 1.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 10 REGIONAL 00333333 E6B14C00 00FFFFFF 00000000 1.0 0.0 Yes 00000000 00000000 Yes "texturesPDA\dash.png" BORDER 11 REGIONAL 00e3dad0 E6B14C00 00FFFFFF 00000000 1.0 0.0 Yes 00000000 00000000 Yes null BORDER 12 REGIONAL 00e3dad0 E6B14C00 00FFFFFF 00000000 1.0 0.0 Yes 00000000 00000000 Yes null BORDER 13 REGIONAL 00e3dad0 E6B14C00 00FFFFFF 00000000 1.0 0.0 Yes 00000000 00000000 Yes null BORDER 14 REGIONAL 00e3dad0 E6B14C00 00FFFFFF 00000000 1.0 0.0 Yes 00000000 00000000 Yes null // BORDER 15 REGIONAL D95c5c5c 00ffffff 00FFFFFF 00000000 1.8 0.0 Yes 00000000 00000000 Yes null // BORDER 16 REGIONAL D95c5c5c 00ffffff 60FFFFFF 00000000 1.6 0.0 Yes 00000000 00000000 Yes null // BORDER 17 REGIONAL D95c5c5c 00ffffff 00FFFFFF 00000000 1.4 0.0 Yes 00000000 00000000 Yes null // BORDER 18 REGIONAL 00ccc9c3 855c5c5c 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null // BORDER 19 REGIONAL 00ccc9c3 855c5c5c 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // ISOHYPSE Lines (heights) //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Type Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth Name ArrCol ArrOutlineCol A/Alias. TextureName //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ BORDER 0 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 1 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 2 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 3 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 4 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 5 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 6 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 7 ISOHYPSE 00cac7bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null BORDER 8 ISOHYPSE 00c5c5bf E6B14C00 00FFFFFF 00000000 0.8 0.0 Yes 00000000 00000000 Yes null // BORDER 9 ISOHYPSE 00c5c5bf E6B14C00 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null // BORDER 10 ISOHYPSE 00968282 E6B14C00 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null // BORDER 11 ISOHYPSE 00968282 E6B14C00 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null // BORDER 12 ISOHYPSE 00968282 E6B14C00 00FFFFFF 00000000 0.4 0.0 Yes 00000000 00000000 Yes null // BORDER 13 ISOHYPSE 00968282 E6B14C00 00FFFFFF 00000000 0.4 0.0 Yes 00000000 00000000 Yes null // BORDER 14 ISOHYPSE 40968282 E6B14C00 00FFFFFF 00000000 0.4 0.0 Yes 00000000 00000000 Yes null // BORDER 15 ISOHYPSE D95c5c5c 00ffffff 00FFFFFF 00000000 1.8 0.0 Yes 00000000 00000000 Yes null // BORDER 16 ISOHYPSE D95c5c5c 00ffffff 60FFFFFF 00000000 1.6 0.0 Yes 00000000 00000000 Yes null // BORDER 17 ISOHYPSE D95c5c5c 00ffffff 00FFFFFF 00000000 1.4 0.0 Yes 00000000 00000000 Yes null // BORDER 18 ISOHYPSE 00ccc9c3 855c5c5c 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null // BORDER 19 ISOHYPSE 00ccc9c3 855c5c5c 00FFFFFF 00000000 0.6 0.0 Yes 00000000 00000000 Yes null
Bridges and Tunnels styling
Bridges and Tunnels styling is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: BRIDGE, TUNNEL
Defines styles and visibility of tunnels and bridges on map
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | enum | Line identifier
| BRIDGE | |
FC | int | Road functional class (0-7) | ||
Lightness | double | Base road color relative lightness adjustment | ||
Saturation | double | Base road color relative saturation adjustment | ||
Border Color | string | Outline (border) color in ARGB format | D9000000 | |
Road Width Multiplier | string | Base road width will be multipiled by this value. Use "0" to keep original road width | 1.2 | |
Border Width Multiplier | string | Base road outline width will be multipiled by this value. Use "0" to keep original road outline width | 0.0 | |
Max Zoom Level | bool | Maximum zoom level bridge or tunnel is rendered at (per Road FC) | 0-7 |
//------------------------------------------------------------------------------------------------------------------------------- // Bridges // // - Lightness: Relative to the base road color // - Saturation: Relative to the base road color // - RoadWidthMult: Base road width will be multipiled by this value // - BorderWidthMult: Base road width will be multipiled by this value // - MaxZoomLevel: After this zoom modifications will not be applied and bridge/tonnel will be rendered as a normal road //------------------------------------------------------------------------------------------------------------------------------- // TAG FC Lightness Saturation BorderColor RoadWidthMult BorderWidthMult MaxZoomLevel //------------------------------------------------------------------------------------------------------------------------------- BRIDGE 0 1.0 1.0 D9000000 2.0 0.0 5 BRIDGE 1 1.0 1.0 D9000000 2.0 0.0 5 BRIDGE 2 1.0 1.0 D9000000 2.0 0.0 5 BRIDGE 3 1.0 1.0 D9000000 0.0 0.0 5 BRIDGE 4 1.0 1.0 D9000000 0.0 0.0 4 BRIDGE 5 1.0 1.0 D9000000 0.0 0.0 4 BRIDGE 6 1.0 1.0 D9000000 0.0 0.0 4 BRIDGE 7 1.0 1.0 D9000000 0.0 0.0 4 //------------------------------------------------------------------------------------------------------------------------------- // Tunnels // // - Lightness: Relative to the base road color // - Saturation: Relative to the base road color // - RoadWidthMult: Base road width will be multipiled by this value // - BorderWidthMult: Base road width will be multipiled by this value // - MaxZoomLevel: After this zoom modifications will not be applied and bridge/tonnel will be rendered as a normal road //------------------------------------------------------------------------------------------------------------------------------- // TAG FC Lightness Saturation BorderColor RoadWidthMult BorderWidthMult MaxZoomLevel //------------------------------------------------------------------------------------------------------------------------------- TUNNEL 0 1.0 0.3 D9000000 0.0 0.0 5 TUNNEL 1 1.0 0.3 D9000000 0.0 0.0 5 TUNNEL 2 1.0 0.3 D9000000 0.0 0.0 5 TUNNEL 3 1.0 0.3 D9000000 0.0 0.0 5 TUNNEL 4 1.0 0.3 D9000000 0.0 0.0 4 TUNNEL 5 1.0 0.3 D9000000 0.0 0.0 4 TUNNEL 6 1.0 0.3 D9000000 0.0 0.0 4 TUNNEL 7 1.0 0.3 D9000000 0.0 0.0 4
Ramp and Roundabout styling
Ramp styling is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: RAMP, ROUNDABOUT
Defines visibility of ramps and roundabouts on map per zoom level
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | enum | Line identifier
| RAMP | |
FC | int | Road functional class (0-7) | ||
Max Zoom Level | bool | Maximum zoom level ramp or bridge is rendered at (per Road FC) | 0-7 |
//----------------------------------------------------------------------- // Ramp rendering // // - MaxZoomLevel: Ramps will not be rendered after this zoom level //----------------------------------------------------------------------- // Tag FC MaxZoomLevel //----------------------------------------------------------------------- RAMPS 0 10 RAMPS 1 9 RAMPS 2 8 RAMPS 3 7 RAMPS 4 7 RAMPS 5 7 RAMPS 6 5 RAMPS 7 5 //------------------------------------------------------------------ // Roundabout rendering // // - MaxZoom: Roundabouts will not be rendered after this zoom level //------------------------------------------------------------------ // Tag FC MaxZoom //------------------------------------------------------------------ ROUNDABOUTS 0 10 ROUNDABOUTS 1 9 ROUNDABOUTS 2 8 ROUNDABOUTS 3 7 ROUNDABOUTS 4 7 ROUNDABOUTS 5 7 ROUNDABOUTS 6 5 ROUNDABOUTS 7 5
Map background styling
Map and tile background are defined in one of the color files you added to the "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: LAND
Defines color of map background (LAND colour) per zoom level.
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | LAND | always "LAND" |
Zoom Level | int | Map zoom level the style is for. 0 - less details (higher), 19 - more details (lower) | 0-19 | |
Color | string | Line color in ARGB format | 00862500 | |
Border Color | string | Outline color in ARGB format | E6B14C00 | |
Label Colour | string | Name label font color | 00FFFFFF | |
Label Outline Colour | string | Name outline font color | 00000000 | 00000000 - no outline? |
FontID | string | Font alias from font file (TAG: FONT) | RoadFont-12 | |
Max Zoom Level | int | Always 19 | ||
TextureName | string | Relative path to texture used for line rendering. Use "null" for normal rendering | "texturesPDA\dash.png" |
//----------------------------------------------------------------------------------------------------------------------------------------------------- // Map Backround Color (LAND) //----------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Color BorderColor LabelCol LabelOutlineCol FontID MaxZoomLevel TextureName //----------------------------------------------------------------------------------------------------------------------------------------------------- LAND 0 00FEFFCE 00E6E0D5 003B5E33 00FFFFFF AreasFont 19 null LAND 1 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 2 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 3 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 4 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 5 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 6 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 7 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 8 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 9 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 10 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 11 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 12 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 13 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 14 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 15 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 16 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 17 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 18 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null LAND 19 00FEFFCE 00F0ECE5 003B5E33 00FFFFFF AreasFont 19 null
TAG: COLOR
Defines various colors used by renderer
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | COLOR | always "COLOR" |
Name | string | Variable name
| ||
Color | string | Color in ARGB format | 006ABEF7 |
//------------------------------------------------------------------------------------------ // Various colours used by the map renderer //------------------------------------------------------------------------------------------ // TAG Name Value //------------------------------------------------------------------------------------------ COLOR MAP_BACKGROUND 006ABEF7 COLOR TILE_BACKGROUND 00FEFFCE
Areas (Polygons)
Polygon styles are defined in one of the color files you added to the "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: AREA
Defines colors of different polygon types
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | LAND | always "AREA" |
Type | int | Type of a polygon
| ||
Color | string | Polygon color in ARGB format | 00862500 | |
Border Color | string | Outline (border) color in ARGB format | E6B14C00 | |
Label Colour | string | Name label font color | 00FFFFFF | |
Label Outline Colour | string | Name outline font color | 00000000 | |
FontID | string | Font alias from font file (TAG: FONT) | AreasFont | |
Max Zoom Level | int | Maximum zoom level this type of polygon is displayed at | ||
TextureName | string | Relative path to texture used for line rendering. Use "null" for normal rendering | "texturesPDA\dash.png" |
//---------------------------------------------------------------------------------------------------------------------------------------------------------------- // Areas (Polygons) on map // // - MaxZoomLevel: Area will not be rendered after this zoom level //---------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Type Color BorderColor LabelCol LabelOutlineCol FontID MaxZoomLevel TextureName //---------------------------------------------------------------------------------------------------------------------------------------------------------------- AREA AREAWATERWAY 006ABEF7 0098CAED 0012507B 00FFFFFF AreasFont 12 null AREA LANDMARK 00efc38b 00D1D0CD 00877764 00FFFFFF LandFont 19 null AREA WOODLAND 0073D752 00CBDFAD 00678660 00FFFFFF AreasFont 19 "texturesPDA\day_wood.png" AREA PARK 0079D575 00CBDFAD 00678660 00FFFFFF AreasFont 11 "texturesPDA\day_park.png" AREA AIRPORT 00dcddb2 00DED7CA 40607284 00FFFFFF AeroportFont 19 null AREA AIRCRAFTROAD 00ececc7 00AB9E89 003B5E33 00FFFFFF AreasFont 19 null AREA CITY 00F7D642 00EBE6DC 00262626 00FFFFFF LandFont 19 null
Direction Arrow
Direction Arrow style is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: DIR_ARROW
Defines texture and shape of the direction arrow displayed on a route line
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | DIR_ARROW | always "DIR_ARROW" |
Texture name | string | |||
Tiled Area | boundary | Area of the arrow texture which will be tiled | {0,0,256,65} | |
Tail Area | boundary | Area of the arrow texture representing the tail of the arrow | {0,257,30,321} | |
Head Area | boundary | Area of the arrow texture representing the head of the arrow | {118,201,256,376} | |
Fill Color | string | Arrow fill color in ARGB format | 00ED2626 | |
Border Color | string | Arrow outline color in ARGB format | 00831515 |
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Style of direction arrows displayed on the route //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Tag TextureName TiledArea TailArea HeadArea FillColor BorderColor //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- DIR_ARROW "texturesPDA\dir_arrow.png" {0,0,256,65} {0,257,30,321} {118,201,256,376} 00ED2626 00831515
Route Line
Route Line style is defined in one of the color files you added into the colorFiles array object of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
The way the route polylines are rendered is defined with the following tags:
- ROUTE – parameters specified with this tag are used to render the active route polyline when the map camera is not tilted;
- ROUTE_3D – parameters specified with this tag are used to render the active route polyline when the map camera is tilted;
- ROUTE_ALT – parameters specified with this tag are used to render the alternative route polylines when the map camera is not tilted;
- ROUTE_ALT_3D – parameters specified with this tag are used to render the alternative route polylines when the map camera is tilted.=
Parameters which can be used to customise route polylines with the tags described above:
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | ROUTE | Always one of: ROUTE, ROUTE_3D, ROUTE_ALT, ROUTE_ALT_3D |
Zoom | int | The zoom at which the parameters are to be applied | 5 | |
HaloColor | string | The halo color of the route polyline | 00ECECEC | |
ShowHalo | bool | Flag specifying whether the halo effect should be applied | Yes/No | |
Opacity | int | The opacity of the route polyline color | 80 | The allowed range is [0;100] |
DirArrow | bool | Flag specifying whether the arrow indicating the direction on route closest to the current position on the route should be displayed over the route polyline | Yes/No | |
Color | string | The color of the route polyline | 00ECECEC | If not specified the following colour is used: 0x00800080 |
BorderColor | string | The stroke color of the route polyline | 00ECECEC | If not specified the following colour is used: 0x00121212 |
Width | double | The width of the route polyline measured in points which depends on the PPI of the screen | 14 | |
BrdrWidth | double | The width of the route polyline stroke measured in points which depends on the PPI of the screen | 2.5 |
//----------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Route line style //----------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom HaloColor ShowHalo Opacity(%) DirArrow Color BorderColor Width BrdrWidth //----------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROUTE 0 00ECECEC Yes 100 Yes 00902FC5 00121212 14 1.75 ROUTE 1 00ECECEC Yes 100 Yes 00902FC5 00121212 14 1.75 ROUTE 2 00ECECEC Yes 100 Yes 00902FC5 00121212 14 1.75 ROUTE 3 00ECECEC Yes 100 Yes 00902FC5 00121212 14 1.75 ROUTE 4 00ECECEC Yes 100 Yes 00902FC5 00121212 8 1.0 ROUTE 5 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 6 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 7 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 8 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 9 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 10 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 11 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 12 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 13 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 14 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 15 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 16 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 17 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 18 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE 19 00ECECEC Yes 100 Yes 00902FC5 00121212 6 0.75 ROUTE_3D 0 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 1 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 2 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 3 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 4 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 5 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 6 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 7 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 8 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 9 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 10 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 11 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 12 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 13 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 14 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 15 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 16 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 17 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 18 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_3D 19 00ECECEC Yes 100 Yes 00902FC5 00121212 17 2.125 ROUTE_ALT 0 00ECECEC Yes 100 Yes 00808080 00121212 14 1.75 ROUTE_ALT 1 00ECECEC Yes 100 Yes 00808080 00121212 14 1.75 ROUTE_ALT 2 00ECECEC Yes 100 Yes 00808080 00121212 14 1.75 ROUTE_ALT 3 00ECECEC Yes 100 Yes 00808080 00121212 14 1.75 ROUTE_ALT 4 00ECECEC Yes 100 Yes 00808080 00121212 8 1.0 ROUTE_ALT 5 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 6 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 7 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 8 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 9 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 10 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 11 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 12 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 13 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 14 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 15 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 16 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 17 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 18 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT 19 00ECECEC Yes 100 Yes 00808080 00121212 6 0.75 ROUTE_ALT_3D 0 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 1 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 2 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 3 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 4 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 5 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 6 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 7 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 8 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 9 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 10 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 11 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 12 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 13 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 14 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 15 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 16 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 17 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 18 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125 ROUTE_ALT_3D 19 00ECECEC Yes 100 Yes 00808080 00121212 17 2.125
TAG: TRAFFIC_ON_ROUTE
Defines colour of traffic slow-downs on route line
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | TRAFFIC_ON_ROUTE | always "TRAFFIC_ON_ROUTE" |
Flow Speed | int | Traffic flow speed percentage in comparison to full speed (0 - stationary traffic, 100 - no traffic). Route color for "no traffic" shall always be "00000000" to enable route color selection from the SDK API | 0-100 | |
Color | string | Route line color for the specified flow speed in ARGB format | 00FFEE0C |
//--------------------------------------------------------------------------------------- // Traffic displayed on the route line //--------------------------------------------------------------------------------------- // Tag Flow_Speed_(%) Color //--------------------------------------------------------------------------------------- TRAFFIC_ON_ROUTE 0 00000000 TRAFFIC_ON_ROUTE 14 00962F00 TRAFFIC_ON_ROUTE 26 00E50000 TRAFFIC_ON_ROUTE 50 00FFEE0C TRAFFIC_ON_ROUTE 99 00007F0E TRAFFIC_ON_ROUTE 100 001AE11D
Defining various image variables
Image variables are defined in one of the color files you added into the "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: IMAGE
Defines path to various textures and images used by the map renderer
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | IMAGE | always "IMAGE" |
Name | string | Variable name. See the list below. | ||
Texture Name | string | Relative path to the image | images_hd/Flag_Finish.png |
Variable | Description |
---|---|
RouteStartIcon | Image used to mark the start of a route on map |
RouteFinishIcon | Image used to mark the finish of a route on map |
RouteIntermediateStopIcon | Image used to mark an intermediate waypoint of a route on map |
PositionArrowImage | Image used to display current GPS location on map in 2D mode |
PositionArrowImage3D | Image used to display current GPS location on map in 3D mode |
PositionArrowLowZoomLevel | Image used to display current GPS location on map on low zoom levels |
PositionArrowImageNoRoute | Image used to display current GPS location when navigating |
Ground3DTexture | Image used to render for on the horizon |
SphericalSkyMap | Image used to render sky on the map view |
//-------------------------------------------------------------------------------------------------------------- // Various textures used by the map renderer //-------------------------------------------------------------------------------------------------------------- // TAG Name TextureName //-------------------------------------------------------------------------------------------------------------- IMAGE PositionArrowImage "texturesPDA/GpsPosition_HD.png" IMAGE RouteStartIcon "images_hd/Flag_Start.png" IMAGE RouteFinishIcon "images_hd/Flag_Finish.png" IMAGE RouteIntermediateStopIcon "images_hd/Flag_Yellow.png" IMAGE PositionArrowImage3D "texturesPDA/GpsPosition3D_HD.png" IMAGE PositionArrowLowZoomLevel "texturesPDA/GpsPositionLowZoomLevel_HD.png" IMAGE PinIcon "images_hd/Pin.png" TEXTURE Ground3DTexture "texturesPDA/Ground3DTexture.png" // The spherical sky map texture, or, more precisely a part of a spherical map with the top cut out, that is, only a part // of N degrees of the full 90 degree spherical map is stored as a texture to save space (as the camera never looks up, and the pole // is distorted anyway). To specify how much that part covers from the full spherical map, set the SkyMapLatRange parameter. TEXTURE SphericalSkyMap "texturesPDA/day_sky.png" //-------------------------------------------------------------------------------------------------------------- // Sky Parameters //-------------------------------------------------------------------------------------------------------------- // TAG SkyMapLonRange SkyMapLatRange //-------------------------------------------------------------------------------------------------------------- SKY_PARAM 120 20 //-------------------------------------------------------------------------------------------------------------- // SkyMapLonRange - The size of the spherical sky map in degrees measured by the longitude (the horizontal direction on the screen). // The value 180 means that the map will be tiled horizontally and will be repeated 2 times across the full 360 degree panorama. // If your sky texture is a full (upper-half) spherical panorama, set this to 360. // SkyMapLatRange - The size of the spherical sky map in degrees measured by the latitude (the horizontal direction on the screen). // The value 30 means that the texture covers 1/3 of the full spherical map vertically (1/3 of 90 degrees = 30 degrees). The upper // part of the texture is stretched to fill the complete sky dome up to the zenith. // If your sky texture is a full (upper-half) spherical panorama, set this to 90. //-------------------------------------------------------------------------------------------------------------- // Fog Parameters //-------------------------------------------------------------------------------------------------------------- // TAG FogStrength FogOnSky //-------------------------------------------------------------------------------------------------------------- FOG_PARAM 0.28 No //-------------------------------------------------------------------------------------------------------------- // FogStrength - The fog strength that defines the coefficient of the fog nonlinearity (the bigger the coefficient, the "more" fog). // FogOnSky - If true ('Yes'), the fog will be mirrored on the sky. This is for the cases when the bottom of the sky texture does not // match the fog color or ends abruptly.
Traffic congestion
Traffic congestion style is defined in one of the color files you added in "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: TRAFFIC
Defines colour of traffic congestion areas on map
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | TRAFFIC | always "TRAFFIC" |
Zoom level | int | Map zoom level 0-19 | ||
Flow Speed, % | int | Traffic flow speed percentage in comparison to full speed (0 - stationary traffic, 100 - no traffic). | 0-100 | |
Color | string | Route line color for the specified flow speed in ARGB format | 00FFEE0C | |
BorderColor | string | The color of the border around the traffic polyline | 00202020 | |
BorderWidth | double | The width of the border around the traffic polyline | 1.5 | |
WidthAsFactorOfRoadWidth | double | The width of the traffic polyline as a factor of the width of the road on which the traffic polyline is rendered 0 – absence of the traffic polyline 1 – the width of the traffic polyline equals the width of the road [0..1) – the width of the traffic polyline is less than the width of the road (1..∞] – the width of the traffic polyline is greater than the width of the road | 0.8 | |
Texture Name | string | Relative path to texture file | texturesPDA\traffic.png | |
Offset Start | int | Texture offset fo the start tip | 20 | |
Offset End | int | Texture offset fo the end tip | 20 |
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Traffic on blocked roads (traffic flow speed 0%) //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Flow_Speed_(%) Color BorderColor BorderWidth WidthAsFactorOfRoadWidth TextureName Offset_Start Offset_End //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TRAFFIC 0 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 1 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 2 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 3 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 4 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 5 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 6 0 00FFFFFF 00202020 0 1 "texturesPDA\blocked_road2.png" 20 20 TRAFFIC 7 0 00202020 00202020 0 1 null 0 0 TRAFFIC 8 0 00202020 00202020 0 1 null 0 0 TRAFFIC 9 0 00202020 00202020 0 1 null 0 0 TRAFFIC 10 0 00202020 00202020 0 1 null 0 0 TRAFFIC 11 0 00202020 00202020 0 1 null 0 0 TRAFFIC 12 0 00000000 00202020 0 1 null 0 0 TRAFFIC 13 0 00000000 00202020 0 1 null 0 0 TRAFFIC 14 0 00000000 00202020 0 1 null 0 0 TRAFFIC 15 0 00000000 00202020 0 1 null 0 0 TRAFFIC 16 0 00000000 00202020 0 1 null 0 0 TRAFFIC 17 0 00000000 00202020 0 1 null 0 0 TRAFFIC 18 0 00000000 00202020 0 1 null 0 0 TRAFFIC 19 0 00000000 00202020 0 1 null 0 0 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Traffic flow speed 0%-18% //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Flow_Speed_(%) Color BorderColor BorderWidth WidthAsFactorOfRoadWidth TextureName Offset_Start Offset_End //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TRAFFIC 0 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 1 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 2 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 3 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 4 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 5 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 6 18 00962F00 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 7 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 8 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 9 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 10 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 11 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 12 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 13 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 14 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 15 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 16 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 17 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 18 18 00962F00 00202020 0 1 null 0 0 TRAFFIC 19 18 00962F00 00202020 0 1 null 0 0 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Traffic flow speed 18%-34% //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Flow_Speed_(%) Color BorderColor BorderWidth WidthAsFactorOfRoadWidth TextureName Offset_Start Offset_End //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TRAFFIC 0 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 1 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 2 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 3 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 4 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 5 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 6 34 00E50000 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 7 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 8 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 9 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 10 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 11 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 12 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 13 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 14 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 15 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 16 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 17 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 18 34 00E50000 00202020 0 1 null 0 0 TRAFFIC 19 34 00E50000 00202020 0 1 null 0 0 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Traffic flow speed 34%-64% //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Flow_Speed_(%) Color BorderColor BorderWidth WidthAsFactorOfRoadWidth TextureName Offset_Start Offset_End //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TRAFFIC 0 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 1 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 2 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 3 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 4 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 5 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 6 64 00F5C516 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 7 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 8 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 9 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 10 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 11 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 12 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 13 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 14 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 15 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 16 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 17 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 18 64 00F5C516 00202020 0 1 null 0 0 TRAFFIC 19 64 00F5C516 00202020 0 1 null 0 0 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Traffic flow speed 64%-100% //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG Zoom Flow_Speed_(%) Color BorderColor BorderWidth WidthAsFactorOfRoadWidth TextureName Offset_Start Offset_End //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- TRAFFIC 0 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 1 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 2 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 3 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 4 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 5 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 6 100 00007F0E 00202020 0 1 "texturesPDA\traffic.png" 20 20 TRAFFIC 7 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 8 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 9 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 10 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 11 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 12 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 13 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 14 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 15 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 16 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 17 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 18 100 00007F0E 00202020 0 1 null 0 0 TRAFFIC 19 100 00007F0E 00202020 0 1 null 0 0
House numbers rendering
House numbers rendering styles are defined in one of the color files you added to the "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
TAG: HOUSE_NUMBERS
Defines maximum zoom level house numbers are displayed at. Please note that the maximum zoom level for house numbers is limited by MaxZoomLevel parameter of the LANDMARK tag.
Attribute | Description | Example | |
---|---|---|---|
TAG | string | Type of house numbers | HOUSE_NUMBERS |
MaxZoomLeveln2D | float | Maximum zoom level house numbers are displayed at. Applicable when map camera pitch angle is 0. | 6.0 |
MaxZoomLeveln3D | float | Maximum zoom level house numbers are displayed at. Applicable when map camera pitch angle is not 0. | 3.5 |
//--------------------------------------------------------------------------------------- // House numbers parameters //--------------------------------------------------------------------------------------- // Tag MaxZoomLevelIn2D MaxZoomLevelIn3D //--------------------------------------------------------------------------------------- HOUSE_NUMBERS 6.0 3.5
Place name labels
Place names label styles are defined in one of the color files you added to the "colorFiles" array of your scheme. One color file may contain different types of styling defined by "TAG" attribute of each line. Each color file may cover just a certain territory overriding default styles. Further information about style overrides is described in "Creating territory styling" section.
Usually place label styles do not depend on screen resolution, thus stored in a shared folder for day and night schemes. In SDK schemes place labels are stored in Cities.col file
TAG: CITYNAME
Defines colour of countries, cities, towns, villages, named places, region labels on map for each zoom level.
Hiding a label
Comment a line to prevent label rendering at a zoom level
Attribute | Description | Example | ||
---|---|---|---|---|
TAG | string | Line identifier | CITYNAME | always "CITYNAME" |
Zoom level | int | Map zoom level 0-19 | ||
Class | enum | City class
| ||
Font ID | string | Font alias from a font file (TAG: FONT) | ||
Color | string | Label color in ARGB format | 70000000 | |
Outline Color | string | Label outline color in ARGB format | 4DFFFFFF | |
Draw Marker | bool | To render marker (dot) next to the place name | ||
Text Transform | enum | "-" - no text transformation "U" - UPPERCASE "T" - TiltleCase "L" - lowercase |
//------------------------------------------------------------------------------------------------------------ // Pathway Pro Map Renderer Style // // - FileVer: Version of the color file // - Dpi: DPI (1x, 2x, 3x) //------------------------------------------------------------------------------------------------------------ // TAG Date FileVer Dpi ColorSchemeType VehicleType //------------------------------------------------------------------------------------------------------------ VERSION 30/09/2014 2.0 2x Day PassengerCar //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: COUNTRY_CAPITAL, Class 6-1 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 1 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 2 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 3 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 4 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 5 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF No U // CITYNAME 6 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF No U // CITYNAME 7 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF No U CITYNAME 8 COUNTRY_CAPITAL CityFont-32 70000000 4DFFFFFF No U CITYNAME 9 COUNTRY_CAPITAL CityFont-28 003e3933 4DFFFFFF Yes - CITYNAME 10 COUNTRY_CAPITAL CityFont-28 003e3933 4DFFFFFF Yes - CITYNAME 11 COUNTRY_CAPITAL CityFont-28 003e3933 4DFFFFFF Yes - CITYNAME 12 COUNTRY_CAPITAL CityFont-26 003e3933 4DFFFFFF Yes - CITYNAME 13 COUNTRY_CAPITAL CityFont-24 003e3933 4DFFFFFF Yes - CITYNAME 14 COUNTRY_CAPITAL CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 15 COUNTRY_CAPITAL CityFont-18 003e3933 4DFFFFFF Yes - // CITYNAME 16 COUNTRY_CAPITAL CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 17 COUNTRY_CAPITAL CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 18 COUNTRY_CAPITAL CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 19 COUNTRY_CAPITAL CityFont-20 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: REGION_CAPITAL, Class 6-2 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 REGION_CAPITAL CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 1 REGION_CAPITAL CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 2 REGION_CAPITAL CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 3 REGION_CAPITAL CityFont-32 70000000 4DFFFFFF No U CITYNAME 4 REGION_CAPITAL CityFont-32 70000000 4DFFFFFF No U CITYNAME 5 REGION_CAPITAL CityFont-32 70000000 4DFFFFFF No U CITYNAME 6 REGION_CAPITAL CityFont-32 70000000 4DFFFFFF No U CITYNAME 7 REGION_CAPITAL CityFont-28 70000000 4DFFFFFF Yes - CITYNAME 8 REGION_CAPITAL CityFont-24 003e3933 4DFFFFFF Yes - CITYNAME 9 REGION_CAPITAL CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 10 REGION_CAPITAL CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 11 REGION_CAPITAL CityFont-20 003e3933 4DFFFFFF Yes - CITYNAME 12 REGION_CAPITAL CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 13 REGION_CAPITAL CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 14 REGION_CAPITAL CityFont-16 333e3933 80FFFFFF Yes - // CITYNAME 15 REGION_CAPITAL CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 16 REGION_CAPITAL CityFont-18 003e3933 00FFFFFF Yes - // CITYNAME 17 REGION_CAPITAL CityFont-18 003e3933 00FFFFFF Yes - // CITYNAME 18 REGION_CAPITAL CityFont-18 003e3933 00FFFFFF Yes - // CITYNAME 19 REGION_CAPITAL CityFont-18 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 0: Country //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 1 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 2 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 3 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 4 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 5 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 6 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 7 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 8 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 9 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 10 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 11 0 CountryFont 40BDC3CB 40FFFFFF No U // CITYNAME 12 0 CountryFont 40BDC3CB 99FFFFFF No U // CITYNAME 13 0 CountryFont 40BDC3CB 99FFFFFF No U // CITYNAME 14 0 CountryFont 40BDC3CB 99FFFFFF No U CITYNAME 15 0 CityFont-14ib 3305385a CCFFFFFF No U CITYNAME 16 0 CityFont-14ib 3305385a CCFFFFFF No U CITYNAME 17 0 CityFont-12ib 3305385a CCFFFFFF No U // CITYNAME 18 0 CountryFont 40BDC3CB 99FFFFFF No U // CITYNAME 19 0 CountryFont 40BDC3CB 99FFFFFF No U //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 1: County, State //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 1 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 1 1 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 2 1 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 3 1 CityFont-32 70000000 4DFFFFFF No U // CITYNAME 4 1 CityFont-24 70000000 4DFFFFFF No U // CITYNAME 5 1 CityFont-24 70000000 4DFFFFFF No U // CITYNAME 6 1 CityFont-24 70000000 4DFFFFFF No U // CITYNAME 7 1 CityFont-22ib 80306f9e 66FFFFFF No U // CITYNAME 8 1 CityFont-22ib 80306f9e 66FFFFFF No U // CITYNAME 9 1 CityFont-22ib 80306f9e 66FFFFFF No U // CITYNAME 10 1 CityFont-22ib 80306f9e 66FFFFFF No U // CITYNAME 11 1 CityFont-22ib 80306f9e 66FFFFFF No U CITYNAME 12 1 CityFont-14ib 66306f9e CCFFFFFF No U CITYNAME 13 1 CityFont-14ib 66306f9e CCFFFFFF No U CITYNAME 14 1 CityFont-14ib 66306f9e CCFFFFFF No U // CITYNAME 15 1 CityFont-12ib 66306f9e CCFFFFFF NO U // CITYNAME 16 1 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 17 1 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 18 1 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 19 1 CityFont-20 50000000 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 2 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 1 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 2 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 3 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 4 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 5 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 6 2 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 7 2 CityFont-32 70000000 4DFFFFFF No U CITYNAME 8 2 CityFont-32 70000000 4DFFFFFF No U CITYNAME 9 2 CityFont-32 50000000 4DFFFFFF Yes T CITYNAME 10 2 CityFont-32 003e3933 00FFFFFF Yes T CITYNAME 11 2 CityFont-28 003e3933 00FFFFFF Yes T CITYNAME 12 2 CityFont-26 003e3933 00FFFFFF Yes T CITYNAME 13 2 CityFont-26 003e3933 00FFFFFF Yes T CITYNAME 14 2 CityFont-22 003e3933 00FFFFFF Yes T CITYNAME 15 2 CityFont-22 003e3933 00FFFFFF Yes T // CITYNAME 16 2 CityFont-20 003e3933 00FFFFFF Yes T // CITYNAME 17 2 CityFont-20 003e3933 00FFFFFF Yes T // CITYNAME 18 2 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 19 2 CityFont-20 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 3 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 1 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 2 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 3 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 4 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 5 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 6 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 7 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 8 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 9 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 10 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 11 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 12 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 13 3 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 14 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 15 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 16 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 17 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 18 3 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 19 3 CityFont-22 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 4 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 4 CityFont-24 003e3933 00FFFFFF Yes - // CITYNAME 1 4 CityFont-24 003e3933 00FFFFFF Yes - // CITYNAME 2 4 CityFont-24 003e3933 00FFFFFF Yes - // CITYNAME 3 4 CityFont-28 70000000 4DFFFFFF No U // CITYNAME 4 4 CityFont-28 70000000 4DFFFFFF No U CITYNAME 5 4 CityFont-28 70000000 4DFFFFFF No U CITYNAME 6 4 CityFont-28 70000000 4DFFFFFF No U CITYNAME 7 4 CityFont-28 70000000 4DFFFFFF No U CITYNAME 8 4 CityFont-24 003e3933 00FFFFFF Yes - CITYNAME 9 4 CityFont-24 003e3933 00FFFFFF Yes - CITYNAME 10 4 CityFont-24 003e3933 00FFFFFF Yes - CITYNAME 11 4 CityFont-24 003e3933 00FFFFFF Yes - CITYNAME 12 4 CityFont-24 003e3933 00FFFFFF Yes - CITYNAME 13 4 CityFont-22 003e3933 00FFFFFF Yes - CITYNAME 14 4 CityFont-20 00575654 4DFFFFFF Yes - CITYNAME 15 4 CityFont-20 00575654 00FFFFFF Yes - // CITYNAME 16 4 CityFont-20 00575654 00FFFFFF Yes - // CITYNAME 17 4 CityFont-20 00575654 00FFFFFF Yes - // CITYNAME 18 4 CityFont-20 00575654 00FFFFFF Yes - // CITYNAME 19 4 CityFont-20 00575654 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 5: Comune (municipality) //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 5 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 1 5 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 2 5 CityFont-32 70000000 4DFFFFFF Yes - // CITYNAME 3 5 CityFont-32 70000000 4DFFFFFF No U // CITYNAME 4 5 CityFont-24 70000000 4DFFFFFF No U // CITYNAME 5 5 CityFont-24 70000000 4DFFFFFF No U // CITYNAME 6 5 CityFont-24 70000000 4DFFFFFF No U CITYNAME 7 5 CityFont-22ib 80306f9e FFFFFFFF No U CITYNAME 8 5 CityFont-22ib 80306f9e FFFFFFFF No U CITYNAME 9 5 CityFont-22ib 80306f9e FFFFFFFF No U CITYNAME 10 5 CityFont-20ib 80306f9e FFFFFFFF No U CITYNAME 11 5 CityFont-14ib 80306f9e FFFFFFFF No U CITYNAME 12 5 CityFont-12ib 80306f9e FFFFFFFF No U // CITYNAME 13 5 CityFont-12ib 66306f9e ffFFFFFF No U // CITYNAME 14 5 CityFont-12ib 99306f9e FFFFFFFF No U // CITYNAME 15 5 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 16 5 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 17 5 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 18 5 CityFont-20 50000000 00FFFFFF Yes - // CITYNAME 19 5 CityFont-20 50000000 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 6 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 6 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 1 6 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 2 6 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 3 6 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 4 6 CityFont-28 70000000 4DFFFFFF No U CITYNAME 5 6 CityFont-28 70000000 4DFFFFFF No U CITYNAME 6 6 CityFont-28 70000000 4DFFFFFF No U CITYNAME 7 6 CityFont-28 70000000 4DFFFFFF No U CITYNAME 8 6 CityFont-24 003e3933 4DFFFFFF Yes - CITYNAME 9 6 CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 10 6 CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 11 6 CityFont-20 003e3933 4DFFFFFF Yes - CITYNAME 12 6 CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 13 6 CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 14 6 CityFont-16 333e3933 80FFFFFF Yes - // CITYNAME 15 6 CityFont-18 003e3933 00FFFFFF Yes - // CITYNAME 16 6 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 17 6 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 18 6 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 19 6 CityFont-18 50000000 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 7: Cities //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 7 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 1 7 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 2 7 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 3 7 CityFont-28 70000000 4DFFFFFF Yes - // CITYNAME 4 7 CityFont-28 80000000 4DFFFFFF No U CITYNAME 5 7 CityFont-26 B3000000 80FFFFFF No U CITYNAME 6 7 CityFont-26 B3000000 80FFFFFF No U CITYNAME 7 7 CityFont-24 80000000 4DFFFFFF No U CITYNAME 8 7 CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 9 7 CityFont-20 003e3933 4DFFFFFF Yes - CITYNAME 10 7 CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 11 7 CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 12 7 CityFont-16 00363532 4DFFFFFF Yes - // CITYNAME 13 7 CityFont-18 003e3933 4DFFFFFF Yes - // CITYNAME 14 7 CityFont-18 003e3933 4DFFFFFF Yes - // CITYNAME 15 7 CityFont-18 003e3933 00FFFFFF Yes - // CITYNAME 16 7 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 17 7 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 18 7 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 19 7 CityFont-18 50000000 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 8: Big Towns //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 1 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 2 8 CityFont-16 003e3933 00FFFFFF No U CITYNAME 3 8 CityFont-24 B3000000 4DFFFFFF No U CITYNAME 4 8 CityFont-24 B3000000 4DFFFFFF No U CITYNAME 5 8 CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 6 8 CityFont-20 003e3933 4DFFFFFF Yes - CITYNAME 7 8 CityFont-18 003e3933 4DFFFFFF Yes - CITYNAME 8 8 CityFont-18 333e3933 80FFFFFF Yes - CITYNAME 9 8 CityFont-18 333e3933 80FFFFFF Yes - CITYNAME 10 8 CityFont-16 333e3933 b3FFFFFF Yes - // CITYNAME 11 8 CityFont-16 003e3933 80FFFFFF Yes - // CITYNAME 12 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 13 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 14 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 15 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 16 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 17 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 18 8 CityFont-16 003e3933 00FFFFFF Yes - // CITYNAME 19 8 CityFont-16 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 9: Large city districts, London Boroughs //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 9 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 1 9 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 2 9 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 3 9 CityFont-20ib 80306f9e 4DFFFFFF No U CITYNAME 4 9 CityFont-22ib 66306f9e 66FFFFFF No U CITYNAME 5 9 CityFont-22ib 66306f9e 66FFFFFF No U CITYNAME 6 9 CityFont-22ib 4D306f9e 4DFFFFFF No U CITYNAME 7 9 CityFont-14ib 66306f9e B3FFFFFF No U // CITYNAME 8 9 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 9 9 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 10 9 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 11 9 CityFont-20 003e3933 90FFFFFF Yes - // CITYNAME 12 9 CityFont-20 003e3933 90FFFFFF Yes - // CITYNAME 13 9 CityFont-20 003e3933 90FFFFFF Yes - // CITYNAME 14 9 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 15 9 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 16 9 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 17 9 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 18 9 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 19 9 CityFont-20 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 10: Small city districts //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 10 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 1 10 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 2 10 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 3 10 CityFont-22ib 80306f9e 4DFFFFFF No U CITYNAME 4 10 CityFont-22ib 66306f9e 66FFFFFF No U CITYNAME 5 10 CityFont-20ib 66306f9e 66FFFFFF No U CITYNAME 6 10 CityFont-14ib 66306f9e B3FFFFFF No U // CITYNAME 7 10 CityFont-12ib 66306f9e B3FFFFFF No U // CITYNAME 8 10 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 9 10 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 10 10 CityFont-20 003e3933 4DFFFFFF Yes - // CITYNAME 11 10 CityFont-20 003e3933 90FFFFFF Yes - // CITYNAME 12 10 CityFont-20 003e3933 90FFFFFF Yes - // CITYNAME 13 10 CityFont-20 003e3933 90FFFFFF Yes - // CITYNAME 14 10 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 15 10 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 16 10 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 17 10 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 18 10 CityFont-20 003e3933 00FFFFFF Yes - // CITYNAME 19 10 CityFont-20 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 11 //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- // CITYNAME 0 11 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 1 11 CityFont-22 003e3933 00FFFFFF Yes - // CITYNAME 2 11 CityFont-22 70000000 4DFFFFFF Yes - CITYNAME 3 11 CityFont-22 70000000 4DFFFFFF No U CITYNAME 4 11 CityFont-22 003e3933 4DFFFFFF Yes - CITYNAME 5 11 CityFont-20 003e3933 4DFFFFFF Yes - CITYNAME 6 11 CityFont-18 50000000 4DFFFFFF Yes - // CITYNAME 7 11 CityFont-18 50000000 00FFFFFF Yes - // CITYNAME 8 11 CityFont-14 50000000 00FFFFFF Yes - // CITYNAME 9 11 CityFont-14 003e3933 00FFFFFF Yes U // CITYNAME 10 11 CityFont-14 003e3933 00FFFFFF Yes U // CITYNAME 11 11 CityFont-14 003e3933 00FFFFFF Yes U // CITYNAME 12 11 CityFont-14 003e3933 00FFFFFF Yes U // CITYNAME 13 11 CityFont-14 003e3933 00FFFFFF Yes U // CITYNAME 14 11 CityFont-14 003e3933 00FFFFFF Yes U // CITYNAME 15 11 CityFont-14 003e3933 00FFFFFF Yes - // CITYNAME 16 11 CityFont-14 003e3933 00FFFFFF Yes - // CITYNAME 17 11 CityFont-14 003e3933 00FFFFFF Yes - // CITYNAME 18 11 CityFont-14 003e3933 00FFFFFF Yes - // CITYNAME 19 11 CityFont-14 003e3933 00FFFFFF Yes - //----------------------------------------------------------------------------------------------------------------------------------------- // City Class: 12: farms and standalone buildings //----------------------------------------------------------------------------------------------------------------------------------------- // Tag Zoom Class FontID LabelColor OutlineColor DrawMarker TextTransform //----------------------------------------------------------------------------------------------------------------------------------------- CITYNAME 0 12 CityFont-16ib 30C74A1B CCFFFFFF Yes U CITYNAME 1 12 CityFont-16ib 30C74A1B CCFFFFFF Yes U CITYNAME 2 12 CityFont-16ib 30C74A1B CCFFFFFF Yes U CITYNAME 3 12 CityFont-14ib 30C74A1B CCFFFFFF Yes U CITYNAME 4 12 CityFont-12ib 50C74A1B CCFFFFFF Yes U // CITYNAME 5 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 6 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 7 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 8 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 9 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 10 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 11 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 12 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 13 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 14 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 15 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 16 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 17 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 18 12 CityFont-16 50C74A1B 00FFFFFF Yes - // CITYNAME 19 12 CityFont-16 50C74A1B 00FFFFFF Yes -
Creating a style override
It is possible to create multiple overrides for scheme color files. You can create an override for a specific territory in the same scheme or for any line if you are creating an inherited scheme. There are 2 ways of doing this:
Option 1: Overriding using a text color file (.col)
Line Signature
Every line in a text color file has its signature. To override a line on your overriding color file you need to add line with the same signature. Signature fields are marked with VIOLET COLOR in corresponding attribute table. E.g. for roads the signature will consist of TAG, FC and ZOOM.
Style override via using text color file is more flexible, supports all tags but requires lots of efforts.
Json override is used just for roads and allows to achieve quick "bulk" styling
Color files are process in the same order they appear in the scheme. It means that every line with the same signature will be overridden if it appears in files loaded for a scheme.
In the following example road colours are overridden for day mode scheme for United Kingdom.
"colorFiles": [ { "id": "day-2x-main", "path": "screen@2x/schemes/day/Default.col", "countries": [ "*" ] }, { "id": "day-2x-cities", "path": "shared/day/Cities.col", "countries": [ "*" ] }, { "id": "day-2x-gbr", "path": "screen@2x/schemes/day/Default-GBR.col", "countries": [ "GBR" ] }, { "id": "day-2x-closed", "path": "screen@2x/schemes/day/closed.json", "countries": [ "*" ] } ]
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 0 13 008096D6 00000000 00000000 00FFFFFF 1.4 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 1: green, A-class //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 1 0 007ED590 0063A872 00000000 4DFFFFFF 48.0 1.6 Yes 00FFFFFF 00FFFFFF RoadFont-24 Yes null TEXT ROAD 1 1 007ED590 0063A872 00000000 4DFFFFFF 36.0 1.6 Yes 00FFFFFF 00FFFFFF RoadFont-24 Yes null TEXT ROAD 1 2 007ED590 0063A872 00000000 4DFFFFFF 22.0 1.6 Yes 00FFFFFF 00FFFFFF RoadFont-20 Yes null TEXT ROAD 1 3 007ED590 0063A872 00000000 4DFFFFFF 14.0 1.4 Yes 00FFFFFF 00FFFFFF RoadFont-18 Yes null TEXT ROAD 1 4 007ED590 0063A872 00000000 4DFFFFFF 8.0 1.2 Yes 00FFFFFF 00FFFFFF RoadFont-18 Yes null TEXT ROAD 1 5 007ED590 0063A872 00000000 4DFFFFFF 5.2 1.0 Yes 00FFFFFF 00FFFFFF RoadFont-18 Yes null SHLD ROAD 1 6 007ED590 0063A872 00000000 4DFFFFFF 4.6 1.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 7 007ED590 0063A872 00000000 00FFFFFF 3.0 1.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 8 007ED590 0063A872 00000000 00FFFFFF 1.8 0.8 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 9 007ED590 0063A872 00000000 00FFFFFF 1.4 0.6 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 10 007ED590 0063A872 00000000 00FFFFFF 1.2 0.6 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null SHLD ROAD 1 11 007ED590 0063A872 00000000 00FFFFFF 0.8 0.5 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 1 12 006CCA7F 00000000 00000000 00FFFFFF 0.8 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 1 13 00CBCBCB 00000000 00000000 00FFFFFF 0.6 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - ROAD 1 14 00CBCBCB 00000000 00000000 00FFFFFF 0.4 0.0 No 00FFFFFF 00FFFFFF RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 2 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ROAD 2 9 00DAA86B 00000000 00000000 00FFFFFF 0.8 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 2 10 00DCBC64 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 2 11 00CBCBCB 00000000 00000000 00FFFFFF 0.6 0.0 No 007687DE 007687DE RoadFont-16 Yes null - ROAD 2 12 00000000 00000000 00000000 00FFFFFF 0.0 0.0 No 007687DE 007687DE RoadFont-16 Yes null - //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Road Functional Class 3 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // TAG FC Zoom Color BorderColor LabelCol LabelOutlineCol Width BrdrWidth RoadName ArrCol ArrOutlineCol FontID A/Alias. TextureName RoadNumber //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // ROAD 3 8 00ffffff 00D7D1C8 00000000 00FFFFFF 1.8 0.0 No 007687DE 007687DE RoadFont-16 Yes null SHLD
Option 2: Overriding road style, house numbers and images using a json color file (.json)
Sometimes it is more convenient to perform a more substantial override for a large number of attributes. In this case it is better to use .json override.
NB
Currently only the following overrides can be applied using json file:
- road style overrides;
- maximum map zoom level house numbers can be rendered at;
- images defined in col files using tag IMAGE.
NB
A path for an image override should be specified in the following format: $userRoot\\<relative_path>, where <relative_path> is the path to an image relative to the ResourcesSdk2.json file of the overridden resources.
In the following example an inherited colour scheme will contain an override for:
- default day scheme (walking.json)
- additional override for United Kingdom (Waking-GBR.json)
In json files you need to define one of more signature tags of line you what to override.
schemes: [ { "baseSchemeID": "Day-Car@2x", "id": "Day-Pedestrian@2x", "vehicleType": "PEDESTRIAN", "colorFiles": [ { "id": "day-2x-walking", "path": "screen@2x/schemes/day/Walking.json", "countries": [ "*" ] }, { "id": "day-2x-walking-gbr", "path": "screen@2x/schemes/day/Walking-GBR.json", "countries": [ "GBR" ] } ] } ]
{ "road": [ { "fc": [2], "zoom": [0,1,2,3,4,5,6,7,8,9], "color": "00FFFFFF", "borderColor": "00C1BEB8" }, { "fc": [0,1,2,3,4,5,6,7], "zoom": [1,2,3,4,5,6,7,8,9,10,11,12,13,14], "roadNumber": "-" }, { "fc": [5], "zoom": [5], "roadName": "Yes" }, { "fc": [2], "zoom": [10], "color": "00FFFFFF", "width":"1.8", "borderWidth": "0" }, { "fc": [2], "zoom": [9], "color": "00FFFFFF", "width":"2", "borderWidth": "0" }, { "fc": [3], "zoom": [9,10], "color": "00FFFFFF", "width":"0.8", "borderWidth": "0" }, { "fc": [2], "zoom": [11], "color": "00FFFFFF", "width":"1" }, { "fc": [1,2], "zoom": [12], "color": "00D5D5D5", "width":"1.2" } ], "image":[ { "name": "PositionArrowImage", "path": "$userRoot\\GpsPositionPedestrian_HD.png" }, { "name": "PositionArrowImage3D", "path": "$userRoot\\GpsPositionPedestrian_HD.png" }, { "name": "PositionArrowLowZoomLevel", "path": "$userRoot\\GpsPositionLowZoomLevel_HD.png" } ], "houseNumbers":[ { "maxZoomLevelIn2D": "0.0", "maxZoomLevelIn3D": "0.0" } ] }
{ "road": [ { "fc": [1], "zoom": [0,1,2,3,4,5,6,7,8,9,10,11], "color": "007ED590", "roadNumber": "SHLD", "borderColor": "0063A872" }, { "fc": [0,1,2,3,4,5,6,7], "zoom": [1,2,3,4,5,6,7,8,9,10,11,12,13,14], "roadNumber": "-" }, { "fc": [2], "zoom": [9], "color": "00DAA86B", "width": "0.8", "borderWidth": "0" }, { "fc": [2], "zoom": [10], "color": "00DCBC64", "width": "0.6", "borderWidth": "0" }, { "fc": [5], "zoom": [5], "color": "00f5f5f5", "width": "1.2", "roadName": "Yes" }, { "fc": [2], "zoom": [11], "color": "00FAFAFA", "width": "0.8", "borderWidth": "0" }, { "fc": [2], "zoom": [12], "width": "0" } ] }
The following attributes are currently supported in json override:
{ "road": [ { "fc": [0,1,2,3..7], "zoom": [0,1,2,3,4,5,6,7..19], "color": "00FFFF00", "roadNumber": "SHLD (text, -)", "borderColor": "", "labelColor": "", "labelOutlineColor": "", "width": "", "borderWidth": "", "roadName": "", "arrowColor": "", "arrowOutlineColor": "", "fontID": "", "antialiasing": "", "textureName": "" } ], "houseNumbers":[ { "maxZoomLevelIn2D": "<number>", "maxZoomLevelIn3D": "<number>" } ], "image":[ { "name": "<name_defined_in_col_file>", "path": "$userRoot\\<path_relative_to_the_resources_json_file>" } ] }