1 <%= javascript_include_tag "edit/id" %>
3 <div id="map" class="h-100 overflow-hidden">
4 <% data = { :configured => Settings.key?(:id_application) }
5 data[:lat] = @lat if @lat
6 data[:lon] = @lon if @lon
7 data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx]
8 data[:url] = id_url(:locale => params[:locale]) %>
9 <%= tag.iframe "", :frameBorder => 0, :id => "id-embed", :class => "w-100 h-100", :allowfullscreen => "", :data => data %>