I have the code below to draw markers to google maps.
When I move, this draws a marker to the map correctly.
If I click the marker right away it hides the mark