root/trunk/as2/lib/com/modestmaps/mapproviders/IMapProvider.as

Revision 292, 1.1 kB (checked in by migurski, 2 years ago)

Added Id keywords all over the place

  • Property svn:keywords set to Id
Line 
1 /**
2  * @author darren
3  * $Id$
4  */
5 import com.modestmaps.core.Coordinate;
6 import com.modestmaps.geo.Location;
7  
8 interface com.modestmaps.mapproviders.IMapProvider
9 {
10         public function paint(clip:MovieClip, coord:Coordinate):Void;
11    
12    /*
13     * Return projected and transformed coordinate for a location.
14     */
15     public function locationCoordinate(location:Location):Coordinate;
16    
17    /*
18     * Return untransformed and unprojected location for a coordinate.
19     */
20     public function coordinateLocation(coordinate:Coordinate):Location;
21
22    /*
23     * Get top left outer-zoom limit and bottom right inner-zoom limits,
24     * as Coordinates in a two element array.
25     */
26     public function outerLimits():/*Coordinate*/Array;
27
28    /*
29     * A string which describes the projection and transformation of a map provider.
30     */
31     public function geometry():String;
32    
33     public function toString():String;
34    
35    /*
36     * Munge coordinate for purposes of image selection and marker containment.
37     * E.g., useful for cylindical projections with infinite horizontal scroll.
38     */
39     public function sourceCoordinate(coord:Coordinate):Coordinate;
40 }
Note: See TracBrowser for help on using the browser.