Skip to content

Commit

Permalink
include zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
karussell committed Jul 17, 2024
1 parent 79c28f9 commit f219570
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public Response handle(@QueryParam("q") @DefaultValue("") String query,
@QueryParam("locale") @DefaultValue("default") String locale,
@QueryParam("bbox") @DefaultValue("") String bbox,
@QueryParam("location_bias_scale") @DefaultValue("") String locationBiasScale,
@QueryParam("zoom") @DefaultValue("16") int zoom,
@QueryParam("osm_tag") List<String> osmTags,
@QueryParam("reverse") @DefaultValue("false") boolean reverse,
@QueryParam("point") @DefaultValue("") String point
Expand All @@ -57,6 +58,7 @@ public Response handle(@QueryParam("q") @DefaultValue("") String query,
target = target.queryParam("radius", radius);
} else {
target = buildForwardTarget(query);
target = target.queryParam("zoom", zoom);
}

target = target.queryParam("limit", limit);
Expand Down

0 comments on commit f219570

Please sign in to comment.