parse for the right nearest output coordinate
This commit is contained in:
		
							parent
							
								
									8621b1890e
								
							
						
					
					
						commit
						6ae3315bb9
					
				| @ -17,7 +17,7 @@ module.exports = function () { | |||||||
|                     if (response.statusCode === 200 && response.body.length) { |                     if (response.statusCode === 200 && response.body.length) { | ||||||
|                         var json = JSON.parse(response.body); |                         var json = JSON.parse(response.body); | ||||||
| 
 | 
 | ||||||
|                         coord = json.mapped_coordinate; |                         coord = json.waypoints[0].location; | ||||||
| 
 | 
 | ||||||
|                         var got = { in: row.in, out: row.out }; |                         var got = { in: row.in, out: row.out }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user