Show
Ignore:
Timestamp:
03/09/07 15:35:52 (2 years ago)
Author:
migurski
Message:

Merged API branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/as2/lib/com/modestmaps/geo/Location.as

    r57 r160  
    1212    public function toString():String 
    1313    { 
    14         return '(' + lat + ',' + lon + ')'; 
     14        var roundLat:Number = Math.round(lat * 10000) / 10000; 
     15        var roundLon:Number = Math.round(lon * 10000) / 10000; 
     16 
     17        return '('+roundLat+','+roundLon+')'; 
    1518    } 
    1619}