Class MMMercatorProjection

Object
   |
   +--MMProjection
         |
         +--MMMercatorProjection

class MMMercatorProjection
extends MMProjection

Defined in MultimapOpenAPI


Constructor Summary
MMMercatorProjection ( <integer> zoom_factors, type )
            Constructor for MMMercatorProjection, should be over-ridden.
 
Method Summary
 Object checkTileRange( <MMPoint> tile, <integer> zoom_factor, <integer> tile_size )
           Checks whether the given tile coordinates are valid for the projection.
 MMPoint fromLatLonToMeters( latlon )
           Converts lat/lon to Mercator Eastings/Northings.
 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 fromMetersToLatLon( meters )
           Converts Mercator eastings/northings to lon/lat.
 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.
 Object getWrapWidth( <integer> zoom_factor )
           Returns the number of pixels after which the map repeats itself because it has wrapped around the earth.
 
Methods inherited from class MMProjection
getAxisMultiplier
 

Constructor Detail

MMMercatorProjection

MMMercatorProjection( <integer> zoom_factors, type )

Method Detail

checkTileRange

Object checkTileRange( <MMPoint> tile, <integer> zoom_factor, <integer> tile_size )

fromLatLonToMeters

MMPoint fromLatLonToMeters( latlon )

fromLatLonToPixel

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

fromMetersToLatLon

MMLatLon fromMetersToLatLon( meters )

fromPixelToLatLon

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

getWrapWidth

Object getWrapWidth( <integer> zoom_factor )


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