Skip to content
apneadiving edited this page Aug 30, 2011 · 1 revision

How to display kml:

To display kml, simply pass the url containing your data with the required options if needed. Options are listed in the google maps documentation.

<%= 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 } }]' } ) %>
Clone this wiki locally