Package com.azure.maps.route.models
Class RouteLeg
java.lang.Object
com.azure.maps.route.models.RouteLeg
A description of a part of a route, comprised of a list of points. Each additional waypoint provided in the request
will result in an additional leg in the returned route.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<com.azure.core.models.GeoPosition>
Returns a list ofGeoPosition
coordinates.Get the summary property: Summary object for route section.
-
Constructor Details
-
RouteLeg
public RouteLeg()
-
-
Method Details
-
getSummary
Get the summary property: Summary object for route section.- Returns:
- the summary value.
-
getPoints
Returns a list ofGeoPosition
coordinates.- Returns:
- a list of
GeoPosition
coordinates.
-