Class ViaPoint

com.yandex.mapkit.transport.bicycle

java.lang.Object ⇽ ViaPoint

public class ViaPoint

Via points (throughpoints) are key points on the route geometry that the route passes through.

Via points are taken from the request.

Constructors

ViaPoint()

Use constructor with parameters in your code.

ViaPoint(@NonNull PolylinePosition position)

Methods

String getNativeName()
synchronized PolylinePosition getPosition()

Via point position on the route geometry.

void serialize(Archive archive)

Constructor Detail

ViaPoint

public ViaPoint ()

Use constructor with parameters in your code.

This one is for serialization only!

ViaPoint

public ViaPoint (@NonNull PolylinePosition position)

Method Detail

getNativeName

public static String getNativeName ()

getPosition

public synchronized PolylinePosition getPosition ()

Via point position on the route geometry.

serialize

public void serialize (Archive archive)