Class RequestPoint

com.yandex.mapkit.driving

java.lang.Object ⇽ RequestPoint

public class RequestPoint

There are two types of request points.

A waypoint is a destination. Use it when you plan to stop there. Via points correct the route to make it pass through all viapoints. Waypoints are guaranteed to be between sections in the resulting DrivingRoute. Via points are embedded into sections.

For each request point, you can provide a list of arrival points (for example, if the request point is a building, you can provide a list of entrances to that building). If there is at least one arrival point, then the router will choose one of them and use it for routing. The point member will be used only as a suggestion. Otherwise, the point itself will be used for routing.

Constructors

RequestPoint()

Use constructor with parameters in your code.

RequestPoint(Point point, List< Point > arrivalPoints, RequestPointType type)
RequestPoint()

Use constructor with parameters in your code.

RequestPoint(Point point, List< Point > arrivalPoints, RequestPointType type)

Methods

synchronized List< Point > getArrivalPoints()
String getNativeName()
synchronized Point getPoint()
synchronized RequestPointType getType()
void serialize(Archive archive)
synchronized List< Point > getArrivalPoints()
String getNativeName()
synchronized Point getPoint()
synchronized RequestPointType getType()
void serialize(Archive archive)

Constructor Detail

RequestPoint

public RequestPoint ()

Use constructor with parameters in your code.

This one is for serialization only!

RequestPoint

public RequestPoint (Point point, List< Point > arrivalPoints, RequestPointType type)

Method Detail

getArrivalPoints

public synchronized List< Point > getArrivalPoints ()

getNativeName

public static String getNativeName ()

getPoint

public synchronized Point getPoint ()

getType

public synchronized RequestPointType getType ()

serialize

public void serialize (Archive archive)