added undo option to remove last pin and update polyline
hooked up iPad interface