Interface GeolocationDirectionsUrlBuilder
- All Known Implementing Classes:
DefaultGeolocationDirectionsUrlBuilder
public interface GeolocationDirectionsUrlBuilder
Decides how the directions url will be created.
-
Method Summary
Modifier and TypeMethodDescriptiongetWebServiceUrl(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
Builds url for web service serving directions from start coordinates to destination coordinates.- Parameters:
baseUrl- - base address of the web servicestart-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 servicestartAddress-destinationAddress-params- additional parameters.
-