function(results, status) { if (status == google.maps.GeocoderStatus.OK) { methods.addMarker(marker); } }