From: Tom Hughes Date: Tue, 14 Dec 2010 21:19:08 +0000 (+0000) Subject: Add support for the tileurl parameter to Potlatch 2 X-Git-Tag: live~6279^2^2~43 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5454bf3ec93c65c991e0e17b15c0480a1587d9fb?ds=sidebyside Add support for the tileurl parameter to Potlatch 2 --- 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");