View Full Version : How to load a Google Map with the results of a Google Bar search already shown?

06-19-2010, 06:10 AM
I have a page with a GoogleMap with a GoogleBar and I would like the GoogleBar to appear with something written in it already and to have that search executed. In other words, I would like to "write something to the GoogleBar and press Enter" automatically as soon as the map loads. How can I do this?

btw: By GoogleBar, I mean the search bar that appears on the map after using the enableGoogleBar() function (http://code.google.com/intl/en/apis/maps/documentation/javascript/v2/reference.html#GMap2.enableGoogleBar).