Adding Google Map to Rails 2

Here is what I did to add Google Map to my website. I follow the following tutorial.

A few people were having trouble getting the map to display. I commented on that web page, but for some reason, the code is not being displayed. Here is one thing I did to get the map display on my website:

Change <%= @map.to_htm %> to <%= @map.to_html %>!

Hope that helps…

Posted in Tech. Tags: . Leave a Comment »
Follow

Get every new post delivered to your Inbox.