Successfully adding marker to map on click