Class MMProjection

Object
   |
   +--MMProjection
Direct Known Subclasses:
MMMercatorProjection

class MMProjection



Defined in MultimapOpenAPI


Constructor Summary
MMProjection ( )
            An abstract class, the methods of which should be overridden to be used by an MMMapType.
 
Method Summary
 void checkTileRange( <MMPoint> tile, <integer> zoom_factor, tilesize )
           Checks whether the given tile coordinates are valid for the projection.
 MMPoint fromLatLonToPixel( <MMLatLon> pos, <integer> zoom_factor )
           Returns map coordinates in pixels for a point with the given coordinates, at the specified zoom factor.
 MMLatLon fromPixelToLatLon( <MMPoint> pixel, <integer> zoom_factor, unbounded )
           Returns map coordinates in lat/lon for a point with the given coordinates in pixels, at the specified zoom factor.
 MMPoint getAxisMultiplier()
           Custom map tiles are numbered from 0,0 in the top left with numbers increasing to the right and downwards.
 void getWrapWidth( <integer> zoom_factor )
           Returns the number of pixels after which the map repeats itself because it has wrapped around the earth.

Constructor Detail

MMProjection

MMProjection( )

Method Detail

checkTileRange

void checkTileRange( <MMPoint> tile, <integer> zoom_factor, tilesize )

fromLatLonToPixel

MMPoint fromLatLonToPixel( <MMLatLon> pos, <integer> zoom_factor )

fromPixelToLatLon

MMLatLon fromPixelToLatLon( <MMPoint> pixel, <integer> zoom_factor, unbounded )

getAxisMultiplier

MMPoint getAxisMultiplier()

getWrapWidth

void getWrapWidth( <integer> zoom_factor )


Documentation generated by JSDoc on Tue Feb 26 16:25:19 2008