From 5454bf3ec93c65c991e0e17b15c0480a1587d9fb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 14 Dec 2010 21:19:08 +0000 Subject: [PATCH] Add support for the tileurl parameter to Potlatch 2 --- app/views/site/_potlatch2.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/site/_potlatch2.html.erb b/app/views/site/_potlatch2.html.erb index e27164fa8..4305e07b9 100644 --- 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"); -- 2.43.2