Creating Google Maps marker resets map to default zoom and coordinates

Try to keep the coordinates and zoom level before the addition of markers and restore them after adding markers.

2 Likes