add direction class and changed result to contain lng lat