Try putting the following line above where you call searchControl.draw(...);
searchControl.setResultSetSize(google.search.Search.LARGE_RESULTSET); That will get you the 8 results at a time. Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On Mar 9, 2009, at 6:25 PM, eddy wrote: > > ///* > //* > //*/ > > 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 -~----------~----~----~----~------~----~------~--~---
