Ignore:
Timestamp:
Sep 17, 2006, 6:48:41 PM (15 years ago)
Author:
nick
Message:

Do the wgs84 convertion for the google maps page. Add tests for this too. References #89

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Utils.pm

    r870 r872  
    255255            $helmert = sub($$$) {
    256256                my ($datum,$oldlat,$oldlong) = @_;
    257                 my $datum_helper = Geo::HelmertTransform::datum($datum);
    258                 my $wgs84_helper = Geo::HelmertTransform::datum('WGS84');
     257                my $datum_helper = new Geo::HelmertTransform::Datum(Name=>$datum);
     258                my $wgs84_helper = new Geo::HelmertTransform::Datum(Name=>'WGS84');
    259259                unless($datum_helper) {
    260260                    croak("No convertion helper for datum '$datum'");
Note: See TracChangeset for help on using the changeset viewer.