add click endpoint and startpoint on MapActivity