Changeset 160 for trunk/as2/lib/com/modestmaps/geo/Location.as
- Timestamp:
- 03/09/07 15:35:52 (2 years ago)
- Files:
-
- trunk/as2/lib/com/modestmaps/geo/Location.as (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/as2/lib/com/modestmaps/geo/Location.as
r57 r160 12 12 public function toString():String 13 13 { 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+')'; 15 18 } 16 19 }
