Do you want to 'fit map to markers'?

https://groups.google.com/group/google-maps-js-api-v3/search?hl=en&group=google-maps-js-api-v3&q=fit+map+to+markers&qt_g=Search+this+group

Martin.


On Apr 29, 2:49 am, Yash Kothari <[email protected]> wrote:
> Hi currently i have map on a static zoom with the following code
>
>         var myOptions = {
>             zoom: 10,
>             *center: new google.maps.LatLng(51.48694,-0.132179),*
>             mapTypeControl: true,
>             mapTypeControlOptions: {style:
> google.maps.MapTypeControlStyle.DROPDOWN_MENU},
>             navigationControl: true,
>             mapTypeId: google.maps.MapTypeId.ROADMAP
>         }
>
> Map example is at this url:http://ykothari.co.uk/map/
> Just enter numerical text such as 101 in the first text box.
>
> Is it possible to zoom-in to the map dynamically, according to the markers
> drawn which are on the outermost edge of the map area?
> I'm sorry i'm not able to explain correctly.

-- 
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.

Reply via email to