Skip to content

Commit f219570

Browse files
committed
include zoom
1 parent 79c28f9 commit f219570

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/graphhopper/converter/resources/ConverterResourcePhoton.java

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public Response handle(@QueryParam("q") @DefaultValue("") String query,
3939
@QueryParam("locale") @DefaultValue("default") String locale,
4040
@QueryParam("bbox") @DefaultValue("") String bbox,
4141
@QueryParam("location_bias_scale") @DefaultValue("") String locationBiasScale,
42+
@QueryParam("zoom") @DefaultValue("16") int zoom,
4243
@QueryParam("osm_tag") List<String> osmTags,
4344
@QueryParam("reverse") @DefaultValue("false") boolean reverse,
4445
@QueryParam("point") @DefaultValue("") String point
@@ -57,6 +58,7 @@ public Response handle(@QueryParam("q") @DefaultValue("") String query,
5758
target = target.queryParam("radius", radius);
5859
} else {
5960
target = buildForwardTarget(query);
61+
target = target.queryParam("zoom", zoom);
6062
}
6163

6264
target = target.queryParam("limit", limit);

0 commit comments

Comments
 (0)