Google Maps – Add Local Search

Pre-populating a map with various embedded markers provides users with some context regarding what can be found around a region.

However, what if the user wanted to search for a specific location, or category of location, such as “book store?” You can provide users with the ability to perform a localized search by embedding the GoogleBar.

http://googlegeodevelopers.blogspot.com/2009/03/changes-to-googlebar.html
Adding the GoogleBar to your map is very easy. It takes just one line of code:

map.enableGoogleBar();

Leave a Reply

Your email address will not be published. Required fields are marked *

*