diff --git a/src/main/java/com/graphhopper/converter/resources/ConverterResourcePhoton.java b/src/main/java/com/graphhopper/converter/resources/ConverterResourcePhoton.java index 16e36c0..eba707a 100644 --- a/src/main/java/com/graphhopper/converter/resources/ConverterResourcePhoton.java +++ b/src/main/java/com/graphhopper/converter/resources/ConverterResourcePhoton.java @@ -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 osmTags, @QueryParam("reverse") @DefaultValue("false") boolean reverse, @QueryParam("point") @DefaultValue("") String point @@ -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);