///*
//*
//*/

google.load('search', '1.9');

function OnLoad() {
  // Create a search control
  var searchControl = new google.search.SearchControl();
  searchControl.setResultSetSize("LARGE")
  // Add in a full set of searchers
  var localSearch = new google.search.LocalSearch();
  searchControl.addSearcher(localSearch);


  //google.search.LocalSearch.TYPE_BLENDED_RESULT
  // Set the Local Search center point
localSearch.setCenterPoint("32.8933,-117.2016");
  //localSearch.setCenterPoint("San Diego, CA");
  // tell the searcher to draw itself and tell it where to attach
  searchControl.draw(document.getElementById("content"));
  searchControl.setNoResultsString("eddy_error")

}

google.setOnLoadCallback(OnLoad);


i am new to ajax api,
can someone tell me what i am doing wron and y i am not getting all
results

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to