<div dir="ltr">Hello,<br>I create an app using graphhopper and I'd like to have the next Instruction .<br>In instructionList.java class I find : <br> /**<br>     * This method is useful for navigation devices to find the next instruction for the specified<br>     * coordinate (e.g. the current position).<br>     * <p><br>     * @param maxDistance the maximum acceptable distance to the instruction (in meter)<br>     * @return the next Instruction or null if too far away.<br>     */<br>    public Instruction find( double lat, double lon, double maxDistance )<br><br>and I use this method in my app .. My code :<br>.<br>.<br>.<br> protected void onPostExecute( GHResponse resp )<br>                {<br>                    if (!resp.hasErrors())<br>                    {<br>                       <br>                        log("from:" + fromLat + "," + fromLon + " to:" + toLat + ","<br>                                + toLon + " found path with distance:" + resp.getDistance()<br>                                / 1000f + ", nodes:" + resp.getPoints().getSize() + ", time:"<br>                                + time + " " + resp.getDebugInfo());<br>                        logUser("the route is " + (int) (resp.getDistance() / 100) / 10f<br>                                + "km long, time:" + resp.getTime() / 60000f + "min, debug:" + time<br>                        + " Instructions "+resp.getInstructions().find(current_Lat,current_Long,20));<br><br>...}<br>the problem is resp.getInstructions().find(lat_double,lng_double,20)) return NULL ... Why? I don't understand<br>Thank You.. <br></div>