Google Maps API using Retrofit GET call
<p>I want to pass in the latitude and longitude values to the <code>location</code> attribute of the Google Maps Autocomplete API call but I have no idea how to form the GET call in Retrofit. The URL should ultimately look like this:</p>

<pre><code>https://maps.googleapis.com/maps/api/place/autocomplete/json?&amp;types=address&amp;input=user_input&amp;location=37.76999,-122.44696&amp;radius=50000&amp;key=API_KEY
</code></pre>

<p>What I currently have in my Retrofit interface:</p>

<pre><code>public interface GooglePlacesAutoCompleteAPI
{
    String BASE_URL = "https://maps.googleapis.com/maps/api/place/autocomplete/";
    String API_KEY = "mykey";  //not the actual key obviously

    //This one works fine
    @GET("json?&amp;types=(cities)&amp;key=" + API_KEY)
    Call&lt;PlacesResults&gt; getCityResults(@Query("input") String userInput);

    //This is the call that does not work
    @GET("json?&amp;types=address&amp;key=" + API_KEY)
    Call&lt;PlacesResults&gt; getStreetAddrResults(@Query("input") String userInput, 
                                             @Query("location") double latitude, double longitude,
                                             @Query("radius") String radius);
}
</code></pre>

<p>My error is: <code>java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #3) for method GooglePlacesAutoCompleteAPI.getStreetAddrResults</code></p>

<p>So how can I correctly setup the GET method for <code>getStreetAddrResults()</code>? </p>

<p>Also, are my data types correct for latitude/longitude and radius? Thanks for any help!</p>