I cannot figure out how to implement the search box in my google maps. I have it where the user can pick some stuff from a form and it loads the markers on the map. Now I want to add where they can type in the city and state using the google search box, like on maps.google.com. Can this be done with API v. 3?
Share
There is no complete “widget” in Google maps for this task. But it is easy to accomplish it. In HTML you can have a text field and a button “Search”. (Instead you can handle the Enter key in the text field).
In Javascript you instantiate and use a Geocoder: