added a class to handle long press(e.g. add marker)