Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LocalSearch with Google Maps V3... but LocalSearch is deprecated?

I have a map on my website that I want to tie to a search box to search for local business listings around a given point. With Google Maps V2, this was as simple as adding the LocalSearch component, which overlayed a box that the user could type in (eg, "pizza"), and it would return all the local business listings around that point.

However, I just found this notice that Google has deprecated the LocalSearch API and will be retiring it over the course of the next few years. How can I have the functionality described above with Google Maps V3 and... what? Google Places API? Custom Search API?

Any help would be appreciated; I haven't been able to find any examples in the wild of this being done WITHOUT LocalSearch...

Google retires LocalSearch: http://googlecode.blogspot.com/2010/11/introducing-google-apis-console-and-our.html

like image 562
neezer Avatar asked Nov 25 '22 17:11

neezer


1 Answers

Places API:

http://code.google.com/apis/maps/documentation/places/

Sign up for the developer preview.

like image 105
Chris Broadfoot Avatar answered Dec 10 '22 07:12

Chris Broadfoot