From: Bryan Housel Date: Wed, 4 May 2016 05:27:44 +0000 (-0400) Subject: Support passing imagery offset parameter to iD X-Git-Tag: live~3876 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a6b88fe6ce7c17bbf04826fcc7c9a0061a34c0ea?ds=sidebyside Support passing imagery offset parameter to iD --- diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 5e7fdd04c..ed36385bd 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -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) %>';