1. save last location for processing duplate points
2. compute distance between two points
2. add graphics overlay for draw line