Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Needs more info comment that > 10 days [ID: 963198]
Comment such as: SPAM, non-actionable [ID: 963127]
Resolved actionable follow-up comments [ID: 963027]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
demonstration page if at all possible, or attach code.
1. The inline code for "Using Closures in Event Listeners" at this page:
is incorrect.
2. The line:
marker.set_title(i+1);
causes a JavaScript error when I cut'n'paste this code.
3. The example runs fine:
This is because the faulty line has been corrected:
var j = i + 1;
marker.set_title(j.toString());
What version of the API are you using?
(In the JS API, you can tell this by checking the value of G_API_VERSION.)
--> G_API_VERSION isn't returning anything for me.
What operating system and browser are you using?
--> Windows XP
--> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1. 9. 1. 2)
Gecko/20090729 Firefox/3. 5. 2