projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff462e
)
fix for resizable Potlatch
author
Richard Fairhurst
<richard@systemed.net>
Sun, 3 Feb 2008 16:11:24 +0000
(16:11 +0000)
committer
Richard Fairhurst
<richard@systemed.net>
Sun, 3 Feb 2008 16:11:24 +0000
(16:11 +0000)
app/controllers/swf_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/swf_controller.rb
b/app/controllers/swf_controller.rb
index 47f692b08a9b327bcb36b9a660bca6207a7841c3..54f8382eaf1f125d38e2c5ae7cf4278f56a42d0b 100644
(file)
--- a/
app/controllers/swf_controller.rb
+++ b/
app/controllers/swf_controller.rb
@@
-187,11
+187,11
@@
class SwfController < ApplicationController
# (this is duplicated from amf_controller, should probably share)
def lat2coord(a,basey,masterscale)
- -(lat2y(a)-basey)*masterscale
+250
+ -(lat2y(a)-basey)*masterscale
end
def long2coord(a,baselong,masterscale)
- (a-baselong)*masterscale
+350
+ (a-baselong)*masterscale
end
def lat2y(a)