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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      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.