created function to add map markers on click event