fix for resizable Potlatch
This commit is contained in:
parent
9ff462e96c
commit
88f469eec1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue