var oldMarker = new google.maps.Marker({ position: new google.maps.LatLng("31.95678", "177.898673"), map: map, title:"old" }); var newMarker = new google.maps.Marker({ position: new google.maps.LatLng("31.45678", "177.098673"), map: map, title:"new" });