
  $(document).ready(function() {
    $("#id_place")
      .geocomplete({
        map: "#map_location",
        mapOptions: {
          zoom: 10
        },
        markerOptions: {
          draggable: true
        }
        //details: "#id_location"
      })
      .bind("geocode:result", function(event, result){
        console.log("Result: " + result.formatted_address + result.lat + ',' + result.lng);
      })
      .bind("geocode:error", function(event, status){
        console.log("ERROR: " + status);
      })
      .bind("geocode:multiple", function(event, results){
        console.log("Multiple: " + results.length + " results found");
      });
  });


@@ -214,42 +214,8 @@
   %7D%0A
-        //details: %22#id_location%22%0A
     
@@ -272,16 +272,17 @@
  result)
+ 
 %7B%0A      
@@ -287,70 +287,56 @@
     
-console.log(%22Result: %22 + result.formatted_address + result
+var coordinates = result.geometry.location
 .lat
+()
  + '
@@ -351,11 +351,74 @@
 ult.
-lng
+geometry.location.lng();%0A        $('#id_location').val(coordinates
 );%0A 

Set lat and lng values