CodeGEN is a very simple mechanism. It just replaces some special characters
within the text areas with distance or geographical information. As you can see
from the diagram, contents of the start and end text areas are used only once,
whereas the contents of the loop text area are used n times (n = number of route points).
In the start and end text areas the following special characters can be used:
- *numberPositions* - will be replaced by number of route points
- *totalDistance* - will be replaced by the total route distance in km
In the loop text area the following special characters can be used:
- *lat* - will be replaced by the latitude of the current loop point
- *lng* - will be replaced by the latitude of the current loop point
- *index* - will be replaced by the current loop index