projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2204974
)
Add support for the tileurl parameter to Potlatch 2
author
Tom Hughes
<tom@compton.nu>
Tue, 14 Dec 2010 21:19:08 +0000
(21:19 +0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 15 Dec 2010 23:59:07 +0000
(23:59 +0000)
app/views/site/_potlatch2.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/_potlatch2.html.erb
b/app/views/site/_potlatch2.html.erb
index e27164fa8ee8e54302233bcbf6d59d7a3935c56d..4305e07b9f549f6b5a05c48fa60381a8cb82cb44 100644
(file)
--- a/
app/views/site/_potlatch2.html.erb
+++ b/
app/views/site/_potlatch2.html.erb
@@
-27,6
+27,9
@@
<% if params['gpx'] %>
fo.addVariable('gpx' ,'<%= h(params['gpx']) %>');
<% end %>
+ <% if params['tileurl'] %>
+ fo.addVariable('tileurl' ,'<%= h(params['tileurl']) %>');
+ <% end %>
fo.addVariable("zoom",zoom);
fo.addVariable("api","<%= request.protocol + request.host_with_port %>/api/<%= API_VERSION %>/");
fo.addVariable("policy","<%= request.protocol + request.host_with_port %>/api/crossdomain.xml");