Skip to content

Commit cdd2d0c

Browse files
author
Langston Smith
authored
Revert "Rename references of mapIds to tileSetIds (#1022)" (#1046)
This reverts commit 072b984.
1 parent 072b984 commit cdd2d0c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

services-tilequery/src/main/java/com/mapbox/api/tilequery/MapboxTilequery.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ public abstract static class Builder {
201201
* The ID of the map being queried. If you need to composite multiple layers, the Tilequery
202202
* API endpoint can also support a comma-separated list of map IDs.
203203
*
204-
* @param tileSetIds tile set ID(s)
204+
* @param mapIds Map ID(s)
205205
* @return this builder for chaining options together
206206
* @since 3.5.0
207207
*/
208-
public abstract Builder mapIds(String tileSetIds);
208+
public abstract Builder mapIds(String mapIds);
209209

210210
/**
211211
* The longitude and latitude to be queried.

services-tilequery/src/main/java/com/mapbox/api/tilequery/TilequeryService.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public interface TilequeryService {
1919
/**
2020
* Constructs the HTTP request for the specified parameters.
2121
*
22-
* @param tileSetIds tile set ID(s)
22+
* @param mapIds Map ID(s)
2323
* @param query query point
2424
* @param accessToken Mapbox access token
2525
* @param radius distance in meters to query for features
@@ -30,9 +30,9 @@ public interface TilequeryService {
3030
* @return A retrofit Call object
3131
* @since 3.5.0
3232
*/
33-
@GET("/v4/{tileSetIds}/tilequery/{query}.json")
33+
@GET("/v4/{mapIds}/tilequery/{query}.json")
3434
Call<FeatureCollection> getCall(
35-
@Path("tileSetIds") String tileSetIds,
35+
@Path("mapIds") String mapIds,
3636
@Path("query") String query,
3737
@Query("access_token") String accessToken,
3838
@Query("radius") Integer radius,
@@ -44,7 +44,7 @@ Call<FeatureCollection> getCall(
4444
/**
4545
* Constructs the HTTP request for the specified parameters.
4646
*
47-
* @param tileSetIds tile set ID(s)
47+
* @param mapIds Map ID(s)
4848
* @param query query point
4949
* @param accessToken Mapbox access token
5050
* @param radius distance in meters to query for features
@@ -55,9 +55,9 @@ Call<FeatureCollection> getCall(
5555
* @return A retrofit Call object
5656
* @since 3.5.0
5757
*/
58-
@GET("/v4/{tileSetIds}/tilequery/{query}.json")
58+
@GET("/v4/{mapIds}/tilequery/{query}.json")
5959
Call<List<FeatureCollection>> getBatchCall(
60-
@Path("tileSetIds") String tileSetIds,
60+
@Path("mapIds") String mapIds,
6161
@Path("query") String query,
6262
@Query("access_token") String accessToken,
6363
@Query("radius") Integer radius,

0 commit comments

Comments
 (0)