From a6b88fe6ce7c17bbf04826fcc7c9a0061a34c0ea Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 4 May 2016 01:27:44 -0400 Subject: [PATCH] Support passing imagery offset parameter to iD --- app/views/site/_id.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) %>'; -- 2.43.2