> Each time google maps centers on the last route of the > directionsRenderer. Is it possible to center the map on a specific > spot afterwards?
You could take a different approach, centre it first and prevent the directionsRenderer changing it by using the preserveViewport option http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsRendererOptions > I've tried this with the center_changed event, but > for some reason I get stuck in an infinite loop. Yup, if you change the centre you get a center_changed event ... > My map has different types of streets, which I want to color > accordingly. I guess using the DirectionsRenderer is the best way to > do this? I doubt it, you will probably quickly use up your quota -- 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.
