We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42d4ed7 commit 1b87317Copy full SHA for 1b87317
app/views/site/_id.html.erb
@@ -4,6 +4,7 @@
4
<% data = { :configured => Settings.key?(:id_application) }
5
data[:lat] = @lat if @lat
6
data[:lon] = @lon if @lon
7
+ data[:zoom] = @zoom if @zoom
8
data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx]
9
data[:url] = id_url(:locale => params[:locale]) %>
10
<%= tag.iframe "", :frameBorder => 0, :id => "id-embed", :class => "w-100 h-100", :allowfullscreen => "", :data => data %>
0 commit comments