Use parent.tile.openstreetmap.org for the export URL
This commit is contained in:
parent
69d02c624f
commit
9793e4fb7f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class ExportController < ApplicationController
|
||||||
format = params[:mapnik_format]
|
format = params[:mapnik_format]
|
||||||
scale = params[:mapnik_scale]
|
scale = params[:mapnik_scale]
|
||||||
|
|
||||||
redirect_to "http://tile.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
|
redirect_to "http://parent.tile.openstreetmap.org/cgi-bin/export?bbox=#{bbox}&scale=#{scale}&format=#{format}"
|
||||||
|
|
||||||
elsif format == "osmarender"
|
elsif format == "osmarender"
|
||||||
#redirect to the t@h 'MapOf' service
|
#redirect to the t@h 'MapOf' service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue