Thanks Marcelo!

Its working now. I placed the polyline code inside function load. Just
one more question, I want to add another couple of polylines does each
line have to have a another name or do I just add them below the
existing polyline code?


On Jul 27, 6:50 pm, Marcelo <[email protected]> wrote:
> That's because it executes too early.
> Either move the polyline code inside funtion load(), or wrap the
> polyline code in another function and call that function from within
> function load().
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Jul 27, 7:45 pm, Geoff <[email protected]> wrote:
>
>
>
> > Thanks Marcelo,
> > I have added var map; outside the load function but I can still only
> > see pairs of markers no a line and FF still reports the same error.
>
> > On Jul 27, 5:19 pm, Marcelo <[email protected]> wrote:
>
> > > Look at the Firefox error console!
> > > Your var map needs to be global.
>
> > > --
> > > Marcelo -http://maps.forum.nu
> > > --
>
> > > On Jul 27, 5:58 pm, Geoff <[email protected]> wrote:
>
> > > > Hi
> > > > I have used the Interactive Gpolyline Creator and installed the code
> > > > on my website. The map still works ok but I can't see the Gpolyline.
> > > > The website page is:
>
> > > >http://www.freshfordsomerset.co.uk/freshford_preferred_route_map.htm
>
> > > > The website is a Frontpage 2002 web but I am using Notepad++ as I have
> > > > had problems recently. I am running WinXP Pro SP3 with IE8. I have
> > > > tried IE7 and FF3. I have not been able to find a simple example of
> > > > what the code should look like.
>
> > > > Geoff- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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