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