Use searcher.setResultSetSize(google.search.Search.LARGE_RESULTSET) to get 8 results at a time.
To get more markers (i.e., up to the 32 allowed by the LocalSearch API), you can check out my blog: http://jgeerdes.blogspot.com/2008/12/how-to-get-all-results-available-from.html It's not specific to LocalSearch, but the concept is the same. Make sure to check the comments for an important bug fix. 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 Sep 22, 2009, at 12:32 PM, Wael34218 wrote: > > Hi all, > > I made a search page that display the results on map, unfortunately I > can only display 4 markers on the map .... How can I increase that > number ? > > I am wondering if I could make the number of markers unlimited (or > very large value) and display all matches for that search that has no > larger than certain distance from the center of the map (search > address). > For example I want to show all restaurants in Toronto city that is not > further than 2miles from the center of the city (or any distance > defined through LonLat coordinates). > Is it possible? if yes how? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
