|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQMapState
Defines the characteristics of a map. It includes such information
as the map name, the coverage name, the latitude/longitude of the
map Center, the map scale, and the image size.
See:
| Field Summary | |
<private> MQLatLng |
m_MQLatLng
Value to represent the Center point of the map |
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQMapState
()
Constructs a new MQMapState object. |
|
| Method Summary | |
Boolean
|
equals(<MQMapState> comparator)
Compares this object to the specified object. |
MQLatLng
|
getCenter()
Returns the Center point of the map associated with this MapState object. |
String
|
getClassName()
Returns the text name of this class. |
void
|
getCoverageName()
Returns the coverage name of the map associated with this MapState object. |
= int
|
getHeightInches()
Returns the height of the generated map in inches. |
void
|
getHeightPixels(<int> dpi)
Returns the height of the generated map in pixels. |
void
|
getMapName()
Returns the map name of the map associated with this MapState object. |
Object
|
getMapScale()
Returns the scale of the map associated with this MapState object. |
int
|
getObjectVersion()
Returns the version of this class. |
= int
|
getWidthInches()
Returns the width of the generated map in inches. |
void
|
getWidthPixels(<int> dpi)
Returns the width of the generated map in pixels. |
void
|
initObject()
Initializes object. |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setCenter(<MQLatLng> latLng)
Sets the Center point of the map associated with this MapState object. |
void
|
setCoverageName(<String> strCovId)
Sets the coverage name for the map associated with this MapState object. |
void
|
setHeightInches(<Double> dHeight)
Sets the height of the generated map in inches. |
void
|
setHeightPixels(<int> iHeight, <int> dpi)
Sets the height of the generated map in pixels. |
void
|
setMapName(<String> strName)
Sets the map name of the map associated with this MapState object. |
void
|
setMapScale(<int> nNewScale)
Sets the scale of the map associated with this MapState object. |
void
|
setWidthInches(<Double> dWidth)
Sets the width of the generated map in inches. |
void
|
setWidthPixels(<int> iWidth, <int> dpi)
Sets the width of the generated map in pixels. |
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> MQLatLng m_MQLatLng
| Constructor Detail |
MQMapState()
| Method Detail |
Boolean equals(<MQMapState> comparator)
comparator - the object to compare this MapState against.
MQLatLng getCenter()
String getClassName()
void getCoverageName()
= int getHeightInches()
void getHeightPixels(<int> dpi)
dpi - int value specifying the DPI used to convert image size from inches to pixels.
void getMapName()
Object getMapScale()
int getObjectVersion()
= int getWidthInches()
void getWidthPixels(<int> dpi)
dpi - int value specifying the DPI used to convert image size from inches to pixels.
void initObject()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setCenter(<MQLatLng> latLng)
latLng - The Center point for the map associated with this MapState object.
void setCoverageName(<String> strCovId)
strCovId - The coverage name of the map associated with this MapState object.
void setHeightInches(<Double> dHeight)
dHeight - double value specifying the height of the map in inches.
void setHeightPixels(<int> iHeight, <int> dpi)
iHeight - int value specifying the height of the map in pixels.
dpi - int value specifying the DPI of the image, used to convert from inches to pixels.
void setMapName(<String> strName)
strName - The map name for the map associated with this MapState object.
void setMapScale(<int> nNewScale)
nNewScale - The new scale value for the map associated with this MapState object.
void setWidthInches(<Double> dWidth)
dWidth - double value specifying the width of the map in inches.
void setWidthPixels(<int> iWidth, <int> dpi)
iWidth - int value specifying the width of the map in pixels.
dpi - int value specifying the DPI of the image, used to convert from inches to pixels.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||