Configuring route lines

When the map view is enabled, you can control the color, transparency, and width of the route lines between markers. You can configure the route lines by using the Anywhere Administration application.

About this task

To change the color, transparency, and width of the route lines, you edit the worklight.properties file in the Anywhere\MaximoAnywhere\server\conf folder. The default width is 5. The default color is blue with 50 percent transparency (7F0000FF).

The value for setting the color and transparency of the route lines is AARRGGBB. The AA value sets the level of transparency. The combined RRGGBB values set the color, where RR is red, GG is green, and BB is blue.

Procedure

  1. In the worklight.properties file, edit the si.map.directionsPathWidth property to change the width of the route lines. To change the color and transparency, edit the si.map.directionsPathColor property.
  2. Build and deploy the application.