We are running into this as well - I find that not specifying an icon
helps fix this - not a great workaround but enough to continue with
our development.
i.e. try changing
new GMarker(parkingPointClosest,{title:mapinfo[0],icon:icons
["Parking"]});
to
new GMarker(parkingPointClosest,{title:mapinfo[0]});-Unmesh. On Aug 25, 9:07 pm, Ken <[email protected]> wrote: > Hi all, > > Within the last week or so, openInfoWindowHtml stopped working for us, > and despite some significant time trying to fix it, it still does not > work. Advice is sought! > > Here's the error message, which appears to be in the Google JavaScript > file: > Error: c is undefined > Source File:http://maps.gstatic.com/intl/en_us/mapfiles/164e/maps2.api/main.js > Line: 179 > > Our site:http://www.cornell.edu/maps/interactive.cfm > > How to see the problem: Check the option for virtual tour nodes, click > on one of the camera icons (try one on Beebe Lake to avoid clicking a > building). > > Here's our JavaScript:http://www.cornell.edu/maps/cu-maps.js > > We have tried specifying version 2, 2.x, 2.s, and 3 but the results > remain the same, although the error messages differ slightly (the > variable name changes). > > The problem code line is this: > GEvent.addListener(markersTour[ID], "click", function() {markersTour > [ID].openInfoWindowHtml(btext);}); > > If we change the function to a simple alert it works. If we change the > btext variable to contain simple HTML, it still breaks. If we change > the event from click to mouseover it still breaks. > > This used to work just as written. Any ideas on why working code > suddenly broke, or suggestions to work around the problem? > > -Ken --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
