I have a problem with Graphhopper (ver. 0.6) method find() inside InstructionList class.
public Instruction find(double lat, double lon, double maxDistance )
It returns me next instruction even when a distance (between current location and next turn) is much longer than I specify in maxDistance. But it should return null. How does exactly it works?
EDIT: Here is sample map (dots are instruction's points; coordinates are returned by getPoints(); each color for another instruction)
At point 1. using find() method I get instruction two (turn right onto Rosenweg), even if maxDistance is very small, for example 5m.
After turning right (point 2.) I get immediately instruction 3 name and at 3. point I get finish. Is it normal?