I dont know CF very well, but it looks like you are appending a number to the end of the marker variable you pass to the addListener call.
Your snippet hints that you need to see: http://econym.org.uk/gmap/basic1.htm and the Potential Pitfalls. On Wed, Oct 29, 2008 at 3:30 PM, LaSalamandra <[EMAIL PROTECTED]> wrote: > > This is the code that create problems. Do you see any problem in it ? > > var marker = new GMarker(new GPoint(longitudine,latitudine), icon); > map.addOverlay(marker); > > var html = " ... HTML CODE INSIDE ... "; > GEvent.addListener(marker#i#, "click", function() > { > marker.openInfoWindowHtml(html); > }); > > On 29 Ott, 16:24, LaSalamandra <[EMAIL PROTECTED]> wrote: >> On 29 Ott, 16:03, "warden [Andrew Leach - Maps API Guru]" >> >> <[EMAIL PROTECTED]> wrote: >> > On Oct 29, 2:57 pm, LaSalamandra <[EMAIL PROTECTED]> wrote: >> > > working with FF is a symptom that the code is good >> >> > No. In this case Firefox is too lenient and IE has it right. >> > That particular page uses v=2, so it's not related to changes to v=2.x >> >> But the timing of the error seems to be a hint that something changed. >> I guess it could be some obsolete code used in v=1, but I'm not being >> able to get it ... >> >> > I think I would comment that 440k or 760k is a bit large for the >> > source of a web page. I got both of those sizes when trying the >> > search. Perhaps your server is simply giving up. >> >> Ah ... I don't think so ... it a robust cluster. >> >> Anyway, the size of the page depend of the keyword = Rome. It found a >> lot of B&Bs in Rome and the page become quite long. >> >> Now I tried to look for a city that surely doesn't exists: XXXXX >> >> http://www.bed-and-breakfast.it/cerca_geo.cfm?zoom=10&q=xxxxx >> >> And I didn't get any error ... so I think I isolated the code that >> create problems ... that should be that where I show the icons ... >> I'll check very carefully. >> >> Thank you > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---