Measure the distance between two points on Google Maps and keep state using browser storage.