Now that the Google Local Search API has been deprecated, is there a functional equivalent of google.maps.LocalSearch()
in the Google Maps JavaScript Places Library? Specifically, I have a map on my website and within the map I placed a LocalSearch text-edit box with the following line:
a_map.addControl(new google.maps.LocalSearch(),
new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20)));
The user could then enter search text and a list of hits would appear above the text-edit box. How can I achieve the same result (or close) with the new Places library?
Thanks.
I think you're looking for Places API Autocomplete. Here's a nice live demo.