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

SOS *** undefined method gmaps #566

Closed developer1031 closed 3 years ago

developer1031 commented 4 years ago

First of all, thank you very much for this great gem. I'm getting stuck on this problem several days but i can't find it any more... The problem is, I'm going to show my kml file using this gem. I paste this code to my view but...it doesn't work...

<%= gmaps( :kml => {:data => '[{ url: "http://www.searcharoo.net/SearchKml/newyork.kml"}, { url: "http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml", options: {clickable: false } }]' } ) %>

どうぞ、宜しくお願いします。