I have different restaurant makers on maps.
When I click one marker, it is supposed to show restaurant name and
address after fetching from server at run time.

Currently I am doing this...
restaurant#{restaurant.id}marker.openInfoWindowHtml(\"#{restaurant.name}\");

It is a problem when there are so many restaurants in map.

How can I fetch at runtime?

Thanks.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to