Hot answers tagged


Have you tried clearing the browser cache (shift-reload or ctrl-F5)? That will cause the browser to re-download your js file. Since you mention "code from last year" is it possible apache is started in a different "path-to-root" than you expect?


If you got You have exceeded your request quota for this API. See message in the console and the map displays with For development purposes only overlay, that is to be expected. Since you ...


As ChrisG said in the comments, you don't need to add two different click listeners for each marker. I'm comparing your code to mine, and my click listener just uses showInfo(marker, content) -- admittedly, I need to define var content outside of the click lister's anonymous function scope, earlier in the addMarker() function, in order for this to be useful. ...

Only top voted, non community-wiki answers of a minimum length are eligible