On Jan 16, 8:42 pm, GR <[email protected]> wrote: > Hello, > What will be the query string for a map local search (near) that > should return the results in JSON format. > I tried following > URL:http://maps.google.com/maps/api/geocode/json?near=LowtherAve, > Toronto, Ontario, Canada&q=chinese restaurants&start=0 > > But it returns the { "status": "REQUEST_DENIED", "results": [ ] } > > Please help.
Please read the documentation. http://code.google.com/apis/maps/documentation/geocoding/ The geocoder is not local search. It doesn't search (near), it geocodes postal (for the most part) addresses and returns coordinates, and reverse geocodes coordinates to return postal addresses. I think you want the Places API, as I believe local search is now deprecated. http://code.google.com/apis/maps/documentation/places/ -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
