> How do I create a bounds object for directions so I can autofit (using > map.fitBounds(bounds)) the map to the directions? Is there an easier > way to make my map fit the directions than doing it that way?
The renderer pretty much does it by itself http://code.google.com/apis/maps/documentation/javascript/examples/directions-simple.html unless you tell it not to http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions -- 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.
