Add support for the tileurl parameter to Potlatch 2
This commit is contained in:
parent
2204974420
commit
5454bf3ec9
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue