On Sep 6, 10:34 am, "Rus Miller" <[EMAIL PROTECTED]> wrote:
> I found that my problem was apparently that the code was being executed
> before it was all loaded and it was trying to reference a property of a
> non-existent object.  All I did was put the inline code into a function and
> then called the function.  I'm not a JS expert and I'm not sure why it works
> but it does and that's good enough for me.


It currently only works for me in IE6... (not in FF, Opera or Chrome)

> And geocodezip, not everybody is not the whiz kid you apparently are.  Your
> extra commentary is snarky and really not helpful to the cause.  If you want
> to help, cool and very much appreciated, but you don't have to be a jerk.

Sorry if you took offense.  I get tired of people asking questions
("can you suggest a fix") that have already been answered.

>
> On Fri, Sep 5, 2008 at 1:10 AM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]>wrote:
>
>
>
> > On Sep 4, 7:50 pm, Eric Riggleman <[EMAIL PROTECTED]> wrote:
> > > The original poster's problem was stated to not be Mac-only, he even
> > > stated that it was having problems on PC's as well... which would lead
> > > it to have everything to do with my problem.
>
> > > I see what you are saying, but what do you suggest as a fix?
>
> > Uh, without even looking at your map, I would have to say he is
> > suggesting two things, either of which will fix your problem:
> > 1. make the map variable global (then the asynchronous callback
> > function won't encounter an error).
> > 2. don't geocode the address every time the page loads, hard code the
> > coordinates (then it won't matter that the map variable isn't global).
>
> > > Rossko wrote:
> > > >> The map is located here:
> >http://www.denverarthritisclinic.com/locationmap.html
>
> > > > Your geocoder callback breaks at
> > > >      map.setCenter(point, 13);
> > > > probably because the map object isn't global. (geocoding is
> > > > asynchronous, and the callback will be executed after your
> > > > wagt_map_1() function is completed)
>
> > > > This doesn't seem to have anything at all to do with the original
> > > > poster's Mac-only problem.
>
> > > > Any real reason for geocoding on every page load, the clinic isn't
> > > > going to move around much, is it?
>
> > > > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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