Interface GeolocationDirectionsUrlBuilder

All Known Implementing Classes:
DefaultGeolocationDirectionsUrlBuilder

public interface GeolocationDirectionsUrlBuilder
Decides how the directions url will be created.
  • Method Summary

    Modifier and Type
    Method
    Description
    getWebServiceUrl(String baseUrl, AddressData startAddress, AddressData destinationAddress, Map params)
    Builds url for web service serving directions from start address to destination address.
    getWebServiceUrl(String baseUrl, GPS start, GPS destination, Map params)
    Builds url for web service serving directions from start coordinates to destination coordinates.
  • Method Details

    • getWebServiceUrl

      String getWebServiceUrl(String baseUrl, GPS start, GPS destination, Map params)
      Builds url for web service serving directions from start coordinates to destination coordinates.
      Parameters:
      baseUrl - - base address of the web service
      start -
      destination -
      params - additional parameters.
    • getWebServiceUrl

      String getWebServiceUrl(String baseUrl, AddressData startAddress, AddressData destinationAddress, Map params)
      Builds url for web service serving directions from start address to destination address.
      Parameters:
      baseUrl - - base address of the web service
      startAddress -
      destinationAddress -
      params - additional parameters.