I don't know what near means in this context, there is loads of documentation on the "local search API" if you search google for it.
I know that "locSearch.request.rsz = 'small' " determins the size of the result set, but I think there are many other parameters to set. hope you find what you need. On Sep 10, 12:29 pm, GR <[email protected]> wrote: > Thanks A LOT Paul. Its working now with flash. I have connected Flext > library with flash and its working now for HTTPSrvice class. > > I have one more question. What is the value of "near" in google map > local search API? Is it configurable? If yes, then how to assign it a > value like 10 km, 20 km etc... > > On Sep 8, 4:35 pm, pclinx <[email protected]> wrote: > > > > > The same method cat be used in Flex or Flash > > > private function doLocalSearch():void { > > var locSearch:HTTPService = new HTTPService(); > > > locSearch.url = 'http://ajax.googleapis.com/ajax/services/search/ > > local'; > > locSearch.request.v = '1.0'; > > locSearch.request.q = 'pizza near mountain view'; > > locSearch.request.rsz = 'small' > > locSearch.resultFormat = 'text'; > > locSearch.addEventListener(ResultEvent.RESULT, onServerResponse); > > locSearch.send(); > > } > > > Paul > > > On Sep 8, 10:49 am, GR <[email protected]> wrote: > > > > Is there any Google Map Local Search API for Flash Desktop Application > > > (exe) ? I have seen one example for Flex, that is using AJAX api. But > > > is there any API which can be used by Flash exe directly to get the > > > local search XML or JSON?- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-maps-api-for-flash?hl=en.
