/// <summary> /// Projects the given coordinates on the referenced line and returns the edge. /// </summary> public static long ProjectOn(this ReferencedLine line, RouterDb routerDb, float latitude, float longitude) { var offsetInMeter = float.MaxValue; return(line.ProjectOn(routerDb, latitude, longitude, out offsetInMeter)); }