Yeah thats right. I too get that javascript error , but not always. I can't figure out why the error errupts when I am accessing the xml file(indexmarkers.xml) on the same domain !
However, I will stick to your advice of relative addressing. Also, you are very correct in detecting the map mechanism.I am assigning the first 8 markers to appear at zoom level 1 and above, the first 15 markers to appear at zoom level 2 and above, the first 20 markers to appear at zoom level 3 and above, and so on. However, since you had marked it as inefficient(which I too agree), can you provide me with a better alternative ? also, what do you mean by "viewport." ? As of now, the zoomin-zoomout effect works perfect, but there is another issue which I want to implement. When I drag across the map, the markers should get plotted accordingly on the visible screen only.Say for eg, if I start to drag the map from USA to South America, the markers from USA will get cleared up, and the markers(if any) will get plotted on South America, as it is currently happening on tripwolf.com. Can this issue be achieved within the current code scope? I know, there are a lot of questions for u, but u r the best person in this regard. Thanks much On Mon, Dec 8, 2008 at 7:44 PM, warden [Andrew Leach - Maps API Guru] < [EMAIL PROTECTED]> wrote: > > On Dec 8, 2:05 pm, "warden [Andrew Leach - Maps API Guru]" > <[EMAIL PROTECTED]> wrote: > > > I'm getting a cross-domain error when looking atwww.gtbeta.netand > > attempting to downloadhttp://gtbeta.net/indexmarkers.xml-- either > > set window.domain, or use relative addressing and download "/ > > indexmarkers.xml". Currently nothing will appear because of that. > > Looking at http://gtbeta.net, it appears to work exactly as expected. > > Andrew > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
