apneadiving / Google-Maps-for-Rails

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

buildMap is not defined #505

Closed faradzh closed 8 years ago

faradzh commented 8 years ago

Hello guys, I'm here to raise the issue I faced just after first implementation of gmaps4rails gem in my application. I've done the configuration according to docs and tutorial video on youtube, however smth creepy is going on when I try to customize markers and infoboxes. So, the questions is there anything changed since the version used in video tutorial so that I could bumped into this issue. The only functionality I was able to set up is typical markers distributed around the locations specified in my model and standard infoboxes. I'd really appreciate if you could guide me through customization of markers and most importantly infoboxes!

apneadiving commented 8 years ago

I dont know which tutorial you are talking about but the links on the homepage are still valid

faradzh commented 8 years ago

It appears I've figured it out myself. Currently I'm curious about another thing. Is that possible to trigger some javascript right in the infowindow? Suppose, I want to sell houses represented by markers on the map so a user has to be able to add that "house" to the shopping cart. Do you think I can fulfill it?

apneadiving commented 8 years ago

@faradzh I did this once, so I know its possible, yet I dont have the code I used, sorry

caitlinhalla commented 7 years ago

Hey, @faradzh! How did you resolve the undefined buildMap issue? Currently struggling with the same.

faradzh commented 7 years ago

Hello there, It's been pretty long since I dealt with this issue so I barely remember the exact solution. What it means is that the buildMap function is not plugged in so that to be used by the script.

On Mar 2, 2017 10:20 AM, "Caitlin" notifications@github.com wrote:

Hey, @faradzh https://github.com/faradzh! How did you resolve the undefined buildMap issue? Currently struggling with the same.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apneadiving/Google-Maps-for-Rails/issues/505#issuecomment-283552136, or mute the thread https://github.com/notifications/unsubscribe-auth/AKePK6eiRa7x9BtHM0P_MaI7qleBFu81ks5rhkN9gaJpZM4HK6uJ .