Implemented click function on google maps