i am using googlemap api in my current application
, however,i am unable to set automatic initial zoom for search results,because in my api the initial zoom is fixed as:

* determines the default zoom level
* @var integer
var $zoom = 16;

so, it stays fixed for all the results,and the visitor has to scroll down or up the zoom at left to see exact location. However, in actual google maps its not the case and zoom is auto adjusted.

Has someone used googlemaps in their application and suggest me sumthing in this regard?