On Mar 12, 6:48 am, TTA <[email protected]> wrote: > > Thanks for your help. I'm extremely sorry for the wrong code post.
This is one of the many reasons why the posting guidelines require a link to *your* page. http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/2b3f101fd509919e# http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical > I > am looking for something > likehttp://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/v3-geocoder... > . See how it is zooming and centering to a location to accommodate the > full location view. > > But I want to do it without using Geocoder. Then you need to build your own database of locations. > > var center = new google.maps.LatLng(51.548885,-0.120192 ); > map.setCenter(center); > > But what should be the zoom level for this? A point, per definition, has zero size, so any zoom level would do. There is no "correct" zoom level for a point. When you ask what should the zoom level be you're not referring to the point, but to Australia, which is bigger than a point. A point is 1D, a territory is a polygon, and that is 2D. -- Marcelo - http://maps.forum.nu -- > > Thank you > > Thanks > -TTA -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
