code updated to print co-ordinates in a google map