fix for resizable Potlatch

This commit is contained in:
Richard Fairhurst 2008-02-03 16:11:24 +00:00
parent 9ff462e96c
commit 88f469eec1

View file

@ -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)