On Aug 28, 1:58 pm, vidal <[EMAIL PROTECTED]> wrote:
> i'm having trouble with markermanager and i'm stuck.
>
> first issue: i'm getting my markers, creating a new labeledmarker,
> adding them to an array, and passing it to manager.addMarkers and then
> refreshing. now, as far as i can tell, that should do it. however, the
> markers show up only when i add an alert() before returning the array
> to the addMarkers call.
>
> with the alert (markers load):http://thismosaic.com/test/alert.php
>
> without the alert (markers don't load):http://thismosaic.com/test/no_alert.php
>
> if i don't use the markermanager and simply do addOverlay, they work
> just fine without the alert. but ideally i'd like to stick with the
> manager. i've tried to setTimeouts to see if it's a timing issue, and
> gxmlhttp but neither one fixed things up.. any help is appreciated.
>
> second issue: ie6 loads the markers painfully slow. i can't tell if
> it's because they're pngs or not but, considering i couldn't find the
> time suckage using glog, i have to imagine it's with ie6's handling of
> pngs. just wanted to verify that since i've seen that mentioned on
> here before.. and any tips to fix that up would, of course, be
> appreciated.

You don't understand the asynchronous nature of GDownloadUrl:
Part 2 Asynchronous I/O
http://econym.googlepages.com/async.htm

You need to put all the stuff that uses the returned data in the
callback function.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
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