package Ġn aw rot . mate us z . la us an ne fleet . data Ċ Ċ import Ġio . reactivex . Single Ċ import Ġn aw rot . mate us z . la us an ne fleet . domain . directions . Directions Response Ċ import Ġn aw rot . mate us z . la us an ne fleet . domain . map . Position Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Query ĊĊ Ċ interface ĠApi Interface Ġ{ ĊĊĠĠĠ Ġ@ GET ("/ maps / api / directions / json ") ĊĠĠĠ Ġfun Ġget Directions (@ Query (" origin ") Ġorigin : ĠPosition , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ@ Query (" destination ") Ġdestination : ĠPosition ): ĠSingle < Directions Response > Ċ Ċ }