apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

clicking marker leads to destination url #165

Closed keade closed 12 years ago

keade commented 12 years ago

Is it possible to make each marker go directly to the associated url once clicked? Currently my infowindow opens to show a link to the "show" page of each respective marker, however it would be nice to bypass the infowindow and go directly to the page.

Can this be done within the callback?

thanks!

apneadiving commented 12 years ago

This is more a stackoverflow question than an issue.

You should follow these steps: