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

Add foursquare venues with icons to gmap #292

Closed maumercado closed 11 years ago

maumercado commented 11 years ago

Hello,

First thank you for an amazing gem... now to the problem that I have.

I have an application called ezRent you can watch it here -> https://github.com/maumercado/ezrent and what it does is show on a map any location uploaded or created by a user.

I have a location model that acts_as_gmappable and I want to be able to show foursquare venues, along with the location instance, with the foursquare venue icon.

Right now I get a list of foursquare objects (each is a venue), and then I got stuck, how do I get the venues objects on the array and show the in the location instance map.

You can see that I posted a question here http://stackoverflow.com/questions/13318482/add-foursquare-venues-plus-location-of-instance-gmaps4rails

Thank you for your help!

apneadiving commented 11 years ago

Just answered on StackOverflow :)