diff options
author | Sarah Hoffmann <lonvia@denofr.de> | 2014-05-20 23:41:04 +0200 |
---|---|---|
committer | Sarah Hoffmann <lonvia@denofr.de> | 2014-05-20 23:41:04 +0200 |
commit | a8384fff7a6ea9810a1007b789ccbd557ca8bbc0 (patch) | |
tree | 959b2b46a3238ca19db4d620da838e6bf3d5de94 /web/lib | |
parent | 94f13611fe804f16ee3c8956b0d23fbe4d05bf4e (diff) | |
download | taginfo-a8384fff7a6ea9810a1007b789ccbd557ca8bbc0.tar taginfo-a8384fff7a6ea9810a1007b789ccbd557ca8bbc0.tar.gz |
add config options for base map attribution and separate scale factor for compare maps
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/ui/compare.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/ui/compare.rb b/web/lib/ui/compare.rb index 4c08741..d2f372a 100644 --- a/web/lib/ui/compare.rb +++ b/web/lib/ui/compare.rb @@ -63,8 +63,8 @@ class Taginfo < Sinatra::Base end end - @img_width = TaginfoConfig.get('geodistribution.width') - @img_height = TaginfoConfig.get('geodistribution.height') + @img_width = (TaginfoConfig.get('geodistribution.width')*TaginfoConfig.get('geodistribution.scale_compare_image')).to_i + @img_height = (TaginfoConfig.get('geodistribution.height')*TaginfoConfig.get('geodistribution.scale_compare_image')).to_i javascript "#{ r18n.locale.code }/compare" erb :compare |