{"action":"closed","issue":{"url":"https://api.github.com/repos/gearsystems/DriveNav/issues/8","labels_url":"https://api.github.com/repos/gearsystems/DriveNav/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/gearsystems/DriveNav/issues/8/comments","events_url":"https://api.github.com/repos/gearsystems/DriveNav/issues/8/events","html_url":"https://github.com/gearsystems/DriveNav/issues/8","id":64972882,"number":8,"title":"Implement the Waypoints and destination routing from a Sample JSON File","user":{"login":"sudheesh001","id":4545925,"avatar_url":"https://avatars.githubusercontent.com/u/4545925?v=3","gravatar_id":"","url":"https://api.github.com/users/sudheesh001","html_url":"https://github.com/sudheesh001","followers_url":"https://api.github.com/users/sudheesh001/followers","following_url":"https://api.github.com/users/sudheesh001/following{/other_user}","gists_url":"https://api.github.com/users/sudheesh001/gists{/gist_id}","starred_url":"https://api.github.com/users/sudheesh001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudheesh001/subscriptions","organizations_url":"https://api.github.com/users/sudheesh001/orgs","repos_url":"https://api.github.com/users/sudheesh001/repos","events_url":"https://api.github.com/users/sudheesh001/events{/privacy}","received_events_url":"https://api.github.com/users/sudheesh001/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gearsystems/DriveNav/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"arjun0507","id":8675800,"avatar_url":"https://avatars.githubusercontent.com/u/8675800?v=3","gravatar_id":"","url":"https://api.github.com/users/arjun0507","html_url":"https://github.com/arjun0507","followers_url":"https://api.github.com/users/arjun0507/followers","following_url":"https://api.github.com/users/arjun0507/following{/other_user}","gists_url":"https://api.github.com/users/arjun0507/gists{/gist_id}","starred_url":"https://api.github.com/users/arjun0507/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjun0507/subscriptions","organizations_url":"https://api.github.com/users/arjun0507/orgs","repos_url":"https://api.github.com/users/arjun0507/repos","events_url":"https://api.github.com/users/arjun0507/events{/privacy}","received_events_url":"https://api.github.com/users/arjun0507/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-03-28T18:26:23Z","updated_at":"2015-04-08T06:20:18Z","closed_at":"2015-04-08T06:20:18Z","body":"The Sample JSON file acts as a sample request being sent to our API. This JSON file will be requested as an Ajax query and then the values in \r\n```js\r\nvar request = {\r\n    origin: current_pos,\r\n    destination: 'Warangal, Telangana',\r\n    waypoints:[{location: 'Spencers, Warangal'}, {location: 'Municipal Corportation, Warangal'}],\r\n    travelMode: google.maps.TravelMode.DRIVING\r\n  };\r\n```\r\nhas to be changed to\r\n```js\r\nvar request = {\r\n    origin: current_pos,\r\n    destination: destination_pos,\r\n    waypoints: waypoints_array,\r\n    travelMode: google.maps.TravelMode.DRIVING\r\n  };\r\n```\r\nwhere the variables hold the required structure of information."}}