The line is shown, but on the wrong map. ;-)
You have a second map, (the small one), which is also called 'map',
and when you create that map, you overwrite the first object.
By the time the GDirections return, 'map' has already been
overwritten.
Try zooming out the small map all the way, till you see it.

Chnage this
 var map = new GMap2(document.getElementById("map_small"))

to some othe name, like
 var map2 = new GMap2(document.getElementById("map_small"))

--
Marcelo - http://maps.forum.nu
--





On Feb 2, 2:26 pm, Dave <[email protected]> wrote:
> Yes I have read that reference as well.  From what I understand my
> code, as posted should work, but it does not.  I am looking for help
> to specifically find my coding issue.  Can someone please help?
>
> David
>
> On Feb 1, 3:16 pm, "warden [Andrew Leach - Maps API Guru]"
>
> <[email protected]> wrote:
> > On Feb 1, 5:51 pm, Dave <[email protected]> wrote:
>
> > > I want to display direction polylines  withoutmarkersor other
> > > information...  My code, derived from a post in this group is:
>
> > If you don't want themarkers, you need to get the directions data but
> > do your own stuff with it, rather than let the API add it to the map
> > or directions panel for you. See Mike's tutorial 
> > athttp://econym.org.uk/gmap/steps.htm
>
> > Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to