Package com.azure.maps.route.models
Class RouteMatrixQuery
java.lang.Object
com.azure.maps.route.models.RouteMatrixQuery
An object with a matrix of coordinates.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.models.GeoPointCollection
Get the destinations property: A valid `GeoJSON MultiPoint` geometry type.com.azure.core.models.GeoPointCollection
Get the origins property: A valid `GeoJSON MultiPoint` geometry type.setDestinations
(com.azure.core.models.GeoPointCollection destinations) Set the destinations property: A valid `GeoJSON MultiPoint` geometry type.setOrigins
(com.azure.core.models.GeoPointCollection origins) Set the origins property: A valid `GeoJSON MultiPoint` geometry type.
-
Constructor Details
-
RouteMatrixQuery
public RouteMatrixQuery()
-
-
Method Details
-
getOrigins
public com.azure.core.models.GeoPointCollection getOrigins()Get the origins property: A valid `GeoJSON MultiPoint` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.3) for details.- Returns:
- the origins value.
-
setOrigins
Set the origins property: A valid `GeoJSON MultiPoint` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.3) for details.- Parameters:
origins
- the origins value to set.- Returns:
- the RouteMatrixQuery object itself.
-
getDestinations
public com.azure.core.models.GeoPointCollection getDestinations()Get the destinations property: A valid `GeoJSON MultiPoint` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.3) for details.- Returns:
- the destinations value.
-
setDestinations
Set the destinations property: A valid `GeoJSON MultiPoint` geometry type. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946#section-3.1.3) for details.- Parameters:
destinations
- the destinations value to set.- Returns:
- the RouteMatrixQuery object itself.
-