<%= javascript_include_tag "edit/id" %>
<div id="map">
- <% data = { :key => Settings.id_key }
+ <% data = { :configured => Settings.key?(:id_application) }
data[:lat] = @lat if @lat
data[:lon] = @lon if @lon
data[:gpx] = trace_data_url(params[:gpx], :format => :xml) if params[:gpx]