Google api v3 directions problem

Discussion in 'Google API' started by matei_iurea, Jan 24, 2011.

  1. #1
    Hi all
    When directions are displayed they don't stretch as wide as the
    container div. For example there are some websites on where directions
    are stretched to fit the div width. A div which has the width of let's
    say 900 pixels, in the left side there are the names of the waypoints
    (eg: street) and on the left the number of the kilometers made so far.
    One particular website is using v2 of the google api
    I'm using v3 and I want to do something similar. On the left side to
    be displayed the waypoint and on the right side the km made.
    On the v3 api the longest stretch is as big as the longest name of a
    waypoint.
    Is there any way to solve this?
     
    matei_iurea, Jan 24, 2011 IP