Support passing imagery offset parameter to iD

This commit is contained in:
Bryan Housel 2016-05-04 01:27:44 -04:00
parent 935c207102
commit a6b88fe6ce

View file

@ -25,10 +25,12 @@
if (hashParams.background) {
params.background = hashParams.background;
}
if (hashParams.comment) {
params.comment = hashParams.comment;
}
if (hashParams.offset) {
params.offset = hashParams.offset;
}
<% if params[:gpx] -%>
params.gpx = '<%= trace_data_url(params[:gpx], :format => :xml) %>';