On Dec 5, 10:45 pm, easy_golfin <[email protected]> wrote:
> Thanks, I got it to work. Although, can you explain why it doesn't
> work without the style sheet that is referenced in the code?
>
> The CSS contains
>
> html { height: 100% }
> body { height: 100%; margin: 0px; padding: 0px }
>
> Without that, it doesn't seem to work.

That css allows the browser to calculate the size of the map div and
report it correctly to the API.  Without it browsers report zero size
for the div and you can't see the map.

  -- Larry


>
> On Dec 5, 2:38 pm, Chris Broadfoot <[email protected]> wrote:
>
>
>
>
>
>
>
> > ... and a live link:
>
> >http://geoapis.appspot.com/agdnZW9hcGlzchMLEgtFeGFtcGxlQ29kZRjRjAEM
>
> > On Mon, Dec 6, 2010 at 9:12 AM, Chris Broadfoot <[email protected]> wrote:
> > > Sorry about that. Try this:
>
> > >https://gist.github.com/raw/33687bbee5747d969267/directions-panel-css...
>
> > > Chris
>
> > > On Sun, Dec 5, 2010 at 7:07 PM, easy_golfin 
> > > <[email protected]>wrote:
>
> > >> The link provided says it seems to be broken... Would you happen to
> > >> have any other example?
>
> > >> On Dec 2, 1:40 am, Chris Broadfoot <[email protected]> wrote:
> > >> > Sure. Since you provide your own DOM element to contain the 
> > >> > step-by-step
> > >> > instructions, you can apply your own styling to that container.
>
> > >> > Here's a super ugly example:
> > >>http://savedbythegoog.appspot.com/retrieve_cache?unique_id=edbfc17ed5...
>
> > >> > Cheers
> > >> > Chris
>
> > >> > On Thu, Dec 2, 2010 at 6:06 PM, easy_golfin <[email protected]>
> > >> wrote:
> > >> > > The DirectionsPanel, the directions that are returned.
>
> > >> > > Like in this one:
>
> > >> > >http://code.google.com/apis/maps/documentation/javascript/examples/di.
> > >> ..
>
> > >> > > The route that is returned on the right hand side of the map once a
> > >> > > city is selected.
>
> > >> > > On Dec 1, 9:13 pm, Chris Broadfoot <[email protected]> wrote:
> > >> > > > Do you mean in the InfoWindow or the panel?
>
> > >> > > > On Thu, Dec 2, 2010 at 9:40 AM, easy_golfin <
> > >> [email protected]>
> > >> > > wrote:
> > >> > > > > Is there anyway to manipulate the font style, size, etc.. of the
> > >> > > > > directions that appear when using the Google Maps API V3? Perhaps
> > >> > > > > through javascript or CSS? I tried looking but couldn't find
> > >> anything.
>
> > >> > > > > 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]<google-maps-js-api-v3%2B
> > >> > > > >  [email protected]><google-maps-js-api-v3%2B
> > >> [email protected]><google-maps-js-api-v3%2B
> > >> > > [email protected]>
> > >> > > > > .
> > >> > > > > For more options, visit this group at
> > >> > > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> > >> > > --
> > >> > > 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]<google-maps-js-api-v3%2B
> > >> > >  [email protected]><google-maps-js-api-v3%2B
> > >> [email protected]>
> > >> > > .
> > >> > > For more options, visit this group at
> > >> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
> > >> --
> > >> 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]<google-maps-js-api-v3%2B
> > >>  [email protected]>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-maps-js-api-v3?hl=en.

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