Hi, I don't really think this question needs a link to my map because I have no idea where to start, but before someone asks my map is currently on a local test server so I can't provide a link that will work. The final map will be publicly accessible and conform to the ToS.
Here is my question: 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? I want to be able to do this on map resize too. Can someone link me to a tutorial that goes over this by chance? Thanks -- 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.
