root/trunk/as2/lib/com/modestmaps/core/Marker.as

Revision 292, 0.6 kB (checked in by migurski, 1 year ago)

Added Id keywords all over the place

  • Property svn:keywords set to Id
Line 
1 /*
2  * $Id$
3  */
4
5 //import flash.geom.Point;
6 import com.modestmaps.core.Coordinate;
7 import com.modestmaps.geo.Location;
8
9 class com.modestmaps.core.Marker
10 {
11     // opaque identifier for external use
12     public var id:String;
13
14     public var coord:Coordinate;
15     public var location:Location;
16     //public var point:Point;
17
18     function Marker(id:String, coord:Coordinate, location:Location/*, point:Point*/)
19     {
20         this.id = id;
21         this.coord = coord;
22         this.location = location;
23         //this.point = point;
24     }
25    
26     public function toString():String
27     {
28         return 'Marker(' + id + ' ' + location.toString() + ')';
29     }
30 }
Note: See TracBrowser for help on using the browser.