<% if defined? ID_KEY %>
<div id="map">
- <iframe frameBorder="0" id="id-embed" class="id-embed"></iframe>
+ <iframe frameBorder="0" id="id-embed" class="id-embed" allowfullscreen></iframe>
</div>
<script>
var params = {};
}
<% if params[:gpx] -%>
- params.gpx = '<%= trace_data_url(params[:gpx]) %>';
+ params.gpx = '<%= trace_data_url(params[:gpx], :format => :xml) %>';
<% else -%>
if (hashParams.gpx) {
params.gpx = hashParams.gpx;