navAvoidAreaCreate (Function) |
Top Previous Next |
This function will create or modify an avoidance area on the navigation device. Avoidance areas are areas that the routing will avoid and can e.g. be used to avoid road construction that is not reported by the traffic service. The area is a rectangle defined by two diagonal corners.
Input: id : INT Unique ID to identify this area.
enable : BOOL (default TRUE) Determines if the area is enabled by default.
name : STRING The name of the area. Must be unique. Max. 48 characters.
lat_min : DINT The latitude of the first corner.
lon_min : DINT The longitude of the first corner.
lat_max : DINT The latitude of the second corner.
lon_max : DINT The longitude of the second corner.
Returns: INT
Declaration: FUNCTION navAvoidAreaCreate : INT;
Example: INCLUDE rtcu.inc |