Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ public abstract static class Builder {
* The ID of the map being queried. If you need to composite multiple layers, the Tilequery
* API endpoint can also support a comma-separated list of map IDs.
*
* @param tileSetIds tile set ID(s)
* @param mapIds Map ID(s)
* @return this builder for chaining options together
* @since 3.5.0
*/
public abstract Builder mapIds(String tileSetIds);
public abstract Builder mapIds(String mapIds);

/**
* The longitude and latitude to be queried.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public interface TilequeryService {
/**
* Constructs the HTTP request for the specified parameters.
*
* @param tileSetIds tile set ID(s)
* @param mapIds Map ID(s)
* @param query query point
* @param accessToken Mapbox access token
* @param radius distance in meters to query for features
Expand All @@ -30,9 +30,9 @@ public interface TilequeryService {
* @return A retrofit Call object
* @since 3.5.0
*/
@GET("/v4/{tileSetIds}/tilequery/{query}.json")
@GET("/v4/{mapIds}/tilequery/{query}.json")
Call<FeatureCollection> getCall(
@Path("tileSetIds") String tileSetIds,
@Path("mapIds") String mapIds,
@Path("query") String query,
@Query("access_token") String accessToken,
@Query("radius") Integer radius,
Expand All @@ -44,7 +44,7 @@ Call<FeatureCollection> getCall(
/**
* Constructs the HTTP request for the specified parameters.
*
* @param tileSetIds tile set ID(s)
* @param mapIds Map ID(s)
* @param query query point
* @param accessToken Mapbox access token
* @param radius distance in meters to query for features
Expand All @@ -55,9 +55,9 @@ Call<FeatureCollection> getCall(
* @return A retrofit Call object
* @since 3.5.0
*/
@GET("/v4/{tileSetIds}/tilequery/{query}.json")
@GET("/v4/{mapIds}/tilequery/{query}.json")
Call<List<FeatureCollection>> getBatchCall(
@Path("tileSetIds") String tileSetIds,
@Path("mapIds") String mapIds,
@Path("query") String query,
@Query("access_token") String accessToken,
@Query("radius") Integer radius,
Expand Down