Fixed
Status Update
Comments
d....@gtempaccount.com <d....@gtempaccount.com> #2
Can you track these events by assigning event listeners on the map container? For
example:
google.maps.event.addDomListener('map_canvas', 'mousemove', function(e) {
// code here
});
Granted, it'll take a bit more code on your end to determine whether the mouse is
within map container boundaries, but this seems like a feature you can add yourself.
example:
google.maps.event.addDomListener('map_canvas', 'mousemove', function(e) {
// code here
});
Granted, it'll take a bit more code on your end to determine whether the mouse is
within map container boundaries, but this seems like a feature you can add yourself.
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