googleDirectionLibrary / com.akexorcist.googledirection.request / DirectionDestinationRequest

DirectionDestinationRequest

open class DirectionDestinationRequest

The class for assign the waypoints and destination position.

Since
1.0.0

Constructors

<init>

DirectionDestinationRequest(apiKey: String, origin: LatLng)

Functions

and

open fun and(waypoint: LatLng): DirectionDestinationRequest

Assign the waypoint position of the request

open fun and(waypointList: MutableList<LatLng>): DirectionDestinationRequest

Assign the waypoint position of the request as a list.

to

open fun to(destination: LatLng): DirectionRequest

Assign the destination position of the request.