I am facing a problem in Google map. In my application I have to display any location, entered in the search-box.I am able to show the area in map.But always displayed with only the specific zoom level that I set as default.
But I want to show the location with proper one.
For Ex: in Google map if we are searching for New York (a large area )its come in the center ,and screen will capture the whole its area with good zoom-level. but if we search Washington(a smaller area) then also screen displays only that area in center. This time zoom is different from the earlier.
Now how to set the zoom level depending upon the area of the place dynamically.
Please help me .