$.ajax({ type: "POST", url: "data.php", data: {par_1: place.geometry.location.lat(), par_2: place.geometry.location.lng()} });