Yes, you can declare your new bounds object.
var bounds = new google.maps.LatLngBounds();
Then for each marker, extend your bounds object:
bounds.extend(myLatLng);
map.fitBounds(bounds);
More Related Contents:
- Verify if a point is Land or Water in Google Maps
- Google Maps v3 – limit viewable area and zoom level
- Using Address Instead Of Longitude And Latitude With Google Maps API
- How to make cross-domain AJAX calls to Google Maps API?
- How to Display Multiple Google Maps per page with API V3
- Google maps API V3 – multiple markers on exact same spot
- Google Maps API v3: Can I setZoom after fitBounds?
- Midpoint of route in google maps
- How can I create numbered map markers in Google Maps V3?
- Maximum Lat and Long bounds for the world – Google Maps API LatLngBounds()
- Display world map with no repeats
- Inconsistent behaviour drawing a route between two points in Google Maps v3
- Country specific zoom level in Google Maps API
- polyline snap to road using google maps api v3
- Center Google Maps (V3) on browser resize (responsive)
- Is there a way to Fix a Google Maps Marker to the Center of its Map always?
- How to detect if a point is in a Circle?
- Letting users draw curved lines on a google map?
- How to trigger the onclick event of a marker on a Google Maps V3?
- remove route with google map
- Determine if point is within bounding box
- Check if a latitude and longitude is within a circle google maps
- Add CSS styled marker to google maps
- Adding simple marker clusterer to google map
- Using Longitude/Latitude as Waypoint
- Google map multiple overlay no cumulative opacity
- Google Directions Api returning 0 routes
- Google Maps API map doesn’t appear [duplicate]
- How to connect two points in Google map..?
- Change map opacity outside circle of Google Maps JavaScript API v3