googleDirectionLibrary / com.akexorcist.googledirection.request / DirectionRequest / optimizeWaypoints

optimizeWaypoints

open fun optimizeWaypoints(optimize: Boolean): DirectionRequest

Specifies whether require the optimized waypoint by reorder the waypoint in result.

Parameters

optimize - True for optimize the waypoint and false for do not.

Return
This direction request object.

Since
1.0.0