X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cebda5ffb9bc45171ddc6b4c4a25f14912fdad51..3cfb8b7d053edfba454dbcb1eff09382b5dca193:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 0ba4200a8..6b6c69798 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -4,6 +4,7 @@ <% data = { :configured => Settings.key?(:id_application) } data[:lat] = @lat if @lat data[:lon] = @lon if @lon + data[:zoom] = @zoom if @zoom data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx] data[:url] = id_url(:locale => params[:locale]) %> <%= tag.iframe "", :frameBorder => 0, :id => "id-embed", :class => "w-100 h-100", :allowfullscreen => "", :data => data %>