Support passing imagery offset parameter to iD
This commit is contained in:
parent
935c207102
commit
a6b88fe6ce
1 changed files with 3 additions and 1 deletions
|
@ -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) %>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue