setMaxRouteLengthDisplay
This option defines the maximum length (in meters) of the route to be displayed.
Parameters
length
distance in meters. If 0 or lower, the entire route is displayed.
This option defines the maximum length (in meters) of the route to be displayed.
distance in meters. If 0 or lower, the entire route is displayed.