Thank you very, very much for your help Geocode! I now understand and see what you were saying. I don't know what the bounds does exactly, nor understand everything completely but I am happily reading through the information on the link provided.
Thanks again for all of your help and patience. On Dec 11, 4:27 pm, "[email protected]" <[email protected]> wrote: > On Dec 11, 12:46 pm, "[email protected]" <[email protected]> > wrote: > > > On Dec 11, 12:41 pm, mtweldon <[email protected]> wrote: > > > > Sorry, I'm feeling very dumb right now, I've read that tutorial and I > > > still don't think I'm entirely getting it. Where exactly would the end > > > of the callback be for the xlm parser, > > > After your for loop that is processing the markers array ends. > > > > would I have to put the code in createMarker()? > > > No. > > http://www.geocodezip.com/map_fathomthat_org_bigmapC.html > > > > > > > You might also want to review > > this:http://gmaps-utility-library.googlecode.com/svn/trunk/markermanager/R... > > > -- Larry > > > > Also, Rossko, doesnt this make the markers for the rest of the types > > > that are not "rift" markers with the Else statement? > > > > if (type == "rift_to_elyos"){ > > > varmarker= createMarker(point, name, type); > > > gmarker.push(marker);} > > > else { > > > varmarker= createMarker(point, name, type); > > > gmarker2.push(marker);} > > > //aion_map.addOverlay(marker); > > > > On Dec 11, 3:21 pm, "[email protected]" <[email protected]> > > > wrote: > > > > > On Dec 11, 12:07 pm, mtweldon <[email protected]> wrote: > > > > > > Hmm, I'm not entirely sure how to solve this problem or what you mean > > > > > by using the asynchronous data within its callback function. Any hints > > > > > on where to begin ? > > > > > > I believe I understand that the initialize function finishes up, but > > > > > how can I get it to not skip over themarkermanagerand send in > > > > > blanks? > > > > > You don't call it in the initialize function, you call it in the > > > > callback function to GDownloadUrl (after making sure that your map > > > > variable is global). That is when the data to populate it is > > > > available. > > > > > -- Larry > > > > > > Thanks in advance for your responses. > > > > > > On Dec 11, 3:01 pm, Rossko <[email protected]> wrote: > > > > > > > > Added in the code for the custom icon to both pages and it made no > > > > > > > difference.. also added in code to split the downloading of tiles > > > > > > > over > > > > > > > 5 domains to make it faster Larry. > > > > > > > GDownloadUrl is asynchronous. When you call it, it sends the > > > > > > request > > > > > > for your XML. > > > > > > Javascript execution does not stop, and your code carries on to > > > > > > eventually add emptymarkerarrays to MarkerManager. > > > > > > Much later on, your XML data returns and the arrays are populated, > > > > > > but > > > > > > these are never added to MarkerManager because your initialize() > > > > > > function finished long ago. > > > > > > You must use asynchronous data within its callback function.- 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.
