On Nov 25, 6:12 am, uk_martin <[EMAIL PROTECTED]> wrote:
> On Nov 25, 2:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 24, 5:16 pm, Rossko <[EMAIL PROTECTED]> wrote:
> > Compare the code in the 2 pages.  In the first page the functions to
> > define those controls are defined inline after the buildMap function,
> > but since the buildMap function is executed onload, they occur first.
> > In the second page, they execute after they are needed.
>
> I'll have a look, but "looking" and "seeing" are two different
> concepts. Please be patient with me as I am not a JS coder, so am
> learing as I go here. I'll take a look when I get home from work this
> evening, I just hope that whatever it is that makes the difference
> springs out at me.
>
> More particularly, what it takes to sort the problem out would be good
> too. (and I bet it's something simple)

Move those functions ahead of the place where the classes they define
are used.  They could be physically after the buildMap function
because that function runs later (when the page onload event fires).

  -- Larry

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