Class RouteMatrixQuery

java.lang.Object
com.azure.maps.route.models.RouteMatrixQuery

public final class RouteMatrixQuery extends Object
An object with a matrix of coordinates.
  • Constructor Details

    • RouteMatrixQuery

      public RouteMatrixQuery()
      Creates a new instance of 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

      public RouteMatrixQuery setOrigins(com.azure.core.models.GeoPointCollection origins)
      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

      public RouteMatrixQuery setDestinations(com.azure.core.models.GeoPointCollection destinations)
      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.