|
MapQuest Advantage TileMap Toolkit Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--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()
| Method Detail |
int getBestFitMargin()
MQRectLL getBestFitRect()
int getMaxZoom()
int getMinZoom()
boolean isKeepCenter()
void setBestFitMargin( <int> MARGIN )
MARGIN - Best fit margin.
void setBestFitRect( <MQRectLL> RECT )
RECT - Load a MQRectLL with the upper left and lower right boundries of the displayed map.
void setKeepCenter( <boolean> BOOL )
BOOL - Keep the center when performing a best fit.
void setMaxZoom( <int> MAXZOOM )
MAXZOOM - Maximum zoom level.
void setMinZoom( <int> MINZOOM )
MINZOOM - Minimum zoom level.
|
MapQuest Advantage TileMap Toolkit Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||