Navigation View Customization
Available in CoPilot 10.9.0 and later
When planning trips with multiple stops, you can customize the navigation view by:
- Displaying multiple route legs on the navigation guidance views
- Displaying the routing line to subsequent stops in a different colour
These two options can be controlled by the following configuration changes within the user.cfg or product.cfg.
The following configuration allows users to increase the number of legs saved in the memory following route calculation. These legs will then be displayed on the map view when navigating to the next stop. This helps the driver visualize subsequent routes, especially the directional heading for the next stop. The recommended values for this configuration are 1-3. Retaining the route for greater than 3 stops can have a detrimental impact on the device’s memory and performance. It can also confuse the driver because routes start to intersect, making it difficult to determine current route path.
If using the above configuration to increase the number of stops displayed it is recommended to also enable this setting for changing the next route line color. In CoPilot’s standard map theme this results in the routing line to the first stop being blue and all subsequent lines will be purple as per the image shown on the right.
Enhancements to the CPIK libraries Stop builder have been made to increase the number of fields included within a Stop. It also allows for the customization of the stop including a StopID as well as a custom icon per stop.
Note: The advanced ETA fields require an additional license and are not available within the standard CoPilot license.
Users can customize each the icon for stops on a route. The icon does not need to be passed with the Stop and must be pre-loaded on the device within the Map Data files. It is recommended that .png format files are used for this but .jpg and .bmp are also supported. Images should be saved within the [Bundle ID]>CoPilot>[Region Identifier]>save folder.
Custom images are displayed at all zoom levels. (This is the same as CoPilot’s default stop icon) See below image for an example.
The imported icon’s name is used as the identifier and needs to be passed within the setIcon parameter for it to replace the CoPilot default stop icon. We recommend using a specific naming convention as this will help avoid any name clash with CoPilot default POI icons, for instance ‘[CompanyName]_[IconIdentifier]’. This should always be passed to CoPilot in lower case.
Please note, by default CoPilot will provide a white background for the Stop Icons.
Note: When adding custom icons, once the images are added to the save folder, the first time CoPilot is launched the images will be processed. Depending on the number of images and the device, a black screen may be displayed whilst this processing occurs. This will only be on the first launch once new images have been added to the save folder.
Available in CoPilot 10.9.0.1180 and later
A customizable banner can be added to the top of all navigation views. It can display your choice from a wide range of information related to the current trip. The two images below, for example, show a banner with the street address of the current destination.
The banner is hidden by default. To show the banner, the following config must be set:
"NavMessageDisplay = 1"
The default value (0) is to not show the banner. The banner can be populated with any of the following values.
|Display Information||Config Value|
|Do not display banner||0|
|Destination (Usually a Place name)||2|
|Destination street address||6|
|Destination postal code||7|
|Insight stop note (Created by the setNote(String) method in the Stopbuilder)||8|
This config can be set directly in user.cfg or product.cfg, or via CPIK libraries API using:
The possible values are the same as the values that can be set for the ChevronDisplaySetting. However, the two are independent and can have different settings.
If the option to display a custom message is set (value 10), the banner will show text that has been set using the CPIK libraries API:
This message can display up to two lines of text. The text can include a newline character or, if the text is too long, it will auto wrap onto two lines. The max message length is 255 characters. If the provided string is longer, it will be truncated to 255.
CopilotMgr.setConfigurationSetting(ConfigurationSetting.create(ConfigurationSetting.NAV_MESSAGE_DISPLAY, ConfigurationSetting.NAV_MESSAGE_DISPLAY_CUSTOM_MESSAGE)); UIMgr.setCustomNavMessageText("Custom message");
CopilotMgr.setConfigurationSetting(ConfigurationSetting.create(ConfigurationSetting.NAV_MESSAGE_DISPLAY, ConfigurationSetting.NAV_MESSAGE_DISPLAY_CUSTOM_MESSAGE)); UIMgr.setCustomNavMessageText("Line 1\nLine 2");