added click event for general map