I've have google directions running, but beneath the directions i want
a map that shows a zoomin of the end point, including the direction
overlay on the map. I have the second directions map up, but i can't
figure out how to zoom in to the end point after the map is loaded.

Is this possible and how?

<script>
    directionsDisplayDetail = new google.maps.DirectionsRenderer();

    map2 = new
google.maps.Map(document.getElementById("map_canvas_detail"),
myOptions);
    directionsDisplayDetail.setMap(map2);

    var request = {
        origin:start,
        destination:end,
        travelMode: google.maps.DirectionsTravelMode.DRIVING
    };

    directionsService.route(request, function(response, status) {

        directionsDisplayDetail.setDirections(response);

    }
</script>

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