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

Sending Dynamic data on google map with info window #381

Closed veeruwithrails closed 10 years ago

veeruwithrails commented 11 years ago

I am using rails 3.2.13 and gmaps4rails(1.5.6).

There are some listings in the left side on the page and on right side there is a google map with all listing locations.

My Requirement : when user select any listing in the HTML view need to pop up the info window of that listing on google map.

For eg : https://maps.google.pl/maps?hl=pl&q=pharmacy&ie=UTF-8

Can you please provide me any approach for this requirement ?

apneadiving commented 10 years ago

on the one side, you have markers created from the gem. on the other side, you have a list In between you have to create bindings, just js, nothing really fancy. Ask on stackoverflow and provide code samples if you want more help.