MapQuest Advantage TileMap Toolkit Reference Documentation

Class MQMapInit

Object
   |
   +--MQMapInit

class MQMapInit

Defined in utils.js


Constructor Summary
MQMapInit ()
           
 
Method Summary
 int getBestFitMargin()
           Returns the margin around the best fit Rect.
 MQRectLL getBestFitRect()
           Returns the RECT used for a best fit.
 int getMaxZoom()
           Returns the maximum zoom level entered in for a best fit.
 int getMinZoom()
           Returns the minimum zoom level entered in for a best fit.
 boolean isKeepCenter()
           Returns the keep center option when calling a best fit.
 void setBestFitMargin( <int> MARGIN )
           Set the margin to include for a best fit.
 void setBestFitRect( <MQRectLL> RECT )
           Set the upper left and lower right boundries of the displayed map.
 void setKeepCenter( <boolean> BOOL )
           Set the keep center option when calling a best fit.
 void setMaxZoom( <int> MAXZOOM )
           Set the maximum zoom level allowed for a best fit.
 void setMinZoom( <int> MINZOOM )
           Set the minimum zoom level allowed for a best fit.

Constructor Detail

MQMapInit

MQMapInit()

Method Detail

getBestFitMargin

int getBestFitMargin()

getBestFitRect

MQRectLL getBestFitRect()

getMaxZoom

int getMaxZoom()

getMinZoom

int getMinZoom()

isKeepCenter

boolean isKeepCenter()

setBestFitMargin

void setBestFitMargin( <int> MARGIN )

setBestFitRect

void setBestFitRect( <MQRectLL> RECT )

setKeepCenter

void setKeepCenter( <boolean> BOOL )

setMaxZoom

void setMaxZoom( <int> MAXZOOM )

setMinZoom

void setMinZoom( <int> MINZOOM )

MapQuest Advantage TileMap Toolkit Reference Documentation

Documentation generated by JSDoc on Tue Oct 16 08:04:28 2007