public class Instructions extends Object
Constructor and Description |
---|
Instructions() |
Modifier and Type | Method and Description |
---|---|
static Instruction |
find(InstructionList instructions,
double lat,
double lon,
double maxDistance)
This method is useful for navigation devices to find the next instruction for the specified
coordinate (e.g.
|
public static Instruction find(InstructionList instructions, double lat, double lon, double maxDistance)
instructions
- the instructions to querymaxDistance
- the maximum acceptable distance to the instruction (in meter)Copyright © 2012–2021. All rights reserved.