How to create a marker as a link to url in Google map,

Being the definition of newbie in Google maps, and javascript also, I'm trying to get a marker as a link to a url, a script was found at ( It works ok except it doesn't create links.
Please, Gurus and Experts, could you take a look at the script and see what I have done wrong.
Lennart EricsonAmateurAsked:
Who is Participating?
change your JavaScript from
window.location.href = this[i].url;

Open in new window

window.location.href = this.url;

Open in new window

Lennart EricsonAmateurAuthor Commented:
Marvellous! Thanks!
// lericson
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.