| Package | com.mapquest |
| Class | public class MapState |
| Inheritance | MapState MQObject |
See also
| Method | Defined by | ||
|---|---|---|---|
|
MapState()
Constructs a new MapState object.
| MapState | ||
|
Compares this object to the specified object.
| MapState | ||
|
Returns the Center point of the map associated with this MapState object.
| MapState | ||
|
getClassName():String
Returns the text name of this class.
| MapState | ||
|
getCoverageName():String
Returns the coverage name of the map associated with this MapState object.
| MapState | ||
|
getHeightInches():Number
Returns the height of the generated map in inches.
| MapState | ||
|
getHeightPixels(dpi:int = 0):int
Returns the height of the generated map in pixels.
| MapState | ||
|
getMapName():String
Returns the map name of the map associated with this MapState object.
| MapState | ||
|
getMapScale():int
Returns the scale of the map associated with this MapState object.
| MapState | ||
|
getObjectVersion():Number
Returns the version of this class.
| MapState | ||
![]() |
getProperty(path:String):String
Gets values from xml.
| MQObject | |
|
getWidthInches():Number
Returns the width of the generated map in inches.
| MapState | ||
|
getWidthPixels(dpi:int = 0):Number
Returns the width of the generated map in pixels.
| MapState | ||
|
initObject():void
Initializes object.
| MapState | ||
![]() |
Create a copy of this object.
| MQObject | |
![]() |
internalCopyXML(obj:MQObject):XML
| MQObject | |
![]() |
internalCopyXMLx(obj:MQObject):String
| MQObject | |
|
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
| MapState | ||
![]() |
readExternal(input:IDataInput):void
| MQObject | |
|
saveXml():XML
Build xml that represents this object.
| MapState | ||
|
Sets the Center point of the map associated with this MapState object.
| MapState | ||
|
setCoverageName(strCovId:String):void
Sets the coverage name for the map associated with this MapState object.
| MapState | ||
|
setHeightInches(dHeight:Number):void
Sets the height of the generated map in inches.
| MapState | ||
|
setHeightPixels(iHeight:int, dpi:int = 0):void
Sets the height of the generated map in pixels.
| MapState | ||
|
setMapName(strName:String):void
Sets the map name of the map associated with this MapState object.
| MapState | ||
|
setMapScale(nNewScale:int):void
Sets the scale of the map associated with this MapState object.
| MapState | ||
![]() |
setProperty(path:String, value:Object):String
Sets values in xml.
| MQObject | |
|
setWidthInches(dWidth:Number):void
Sets the width of the generated map in inches.
| MapState | ||
|
setWidthPixels(iWidth:int, dpi:int = 0):void
Sets the width of the generated map in pixels.
| MapState | ||
![]() |
setXpath(xpath:String):void
Sets the m_xpath object.
| MQObject | |
![]() |
writeExternal(output:IDataOutput):void
| MQObject | |
| MapState | () | constructor |
public function MapState()Constructs a new MapState object.
| equals | () | method |
public function equals(comparator:MapState):BooleanCompares this object to the specified object. The result is true if and only if the argument is not null and is a MapState object that has same attributes as this object.
Parameterscomparator:MapState — {MapState} comparator the object to compare this MapState against.
|
Boolean — true if the MapState objects are equal; false otherwise.
|
| getCenter | () | method |
public function getCenter():LatLngReturns the Center point of the map associated with this MapState object.
ReturnsLatLng —
The Center point of this MapState object.
|
| getClassName | () | method |
public override function getClassName():StringReturns the text name of this class.
ReturnsString — The text name of this class.
|
| getCoverageName | () | method |
public function getCoverageName():StringReturns the coverage name of the map associated with this MapState object.
ReturnsString — The coverage name of this MapState object.
|
| getHeightInches | () | method |
public function getHeightInches():NumberReturns the height of the generated map in inches.
ReturnsNumber — the height of the generated map in inches.
|
| getHeightPixels | () | method |
public function getHeightPixels(dpi:int = 0):intReturns the height of the generated map in pixels.
Parametersdpi:int (default = 0) — dpi int value specifying the DPI used to convert
image size from inches to pixels.
|
int |
| getMapName | () | method |
public function getMapName():StringReturns the map name of the map associated with this MapState object.
ReturnsString — The map name of the map associated with this MapState object.
|
| getMapScale | () | method |
public function getMapScale():intReturns the scale of the map associated with this MapState object.
Returnsint — The scale of this MapState object.
|
| getObjectVersion | () | method |
public override function getObjectVersion():NumberReturns the version of this class.
ReturnsNumber — The version of this class.
|
| getWidthInches | () | method |
public function getWidthInches():NumberReturns the width of the generated map in inches.
ReturnsNumber — the width of the generated map in inches.
|
| getWidthPixels | () | method |
public function getWidthPixels(dpi:int = 0):NumberReturns the width of the generated map in pixels.
Parametersdpi:int (default = 0) — dpi int value specifying the DPI used to convert
image size from inches to pixels.
|
Number — the width of the generated map in pixels.
|
| initObject | () | method |
public function initObject():voidInitializes object.
| loadXml | () | method |
public override function loadXml(xmlPrm:XML):voidAssigns the xml that relates to this object.
ParametersxmlPrm:XML — the xml to be assigned.
|
| saveXml | () | method |
public override function saveXml():XMLBuild xml that represents this object. Because this is a complex object we need to completely rebuild the xml.
ReturnsXML — The xml.
|
| setCenter | () | method |
public function setCenter(latLng:LatLng):voidSets the Center point of the map associated with this MapState object.
ParameterslatLng:LatLng — latLng The Center point for the map associated with this
MapState object.
|
| setCoverageName | () | method |
public function setCoverageName(strCovId:String):voidSets the coverage name for the map associated with this MapState object.
ParametersstrCovId:String — strCovId The coverage name of the map associated with this
MapState object.
|
| setHeightInches | () | method |
public function setHeightInches(dHeight:Number):voidSets the height of the generated map in inches.
ParametersdHeight:Number — dHeight double value specifying the height
of the map in inches.
|
| setHeightPixels | () | method |
public function setHeightPixels(iHeight:int, dpi:int = 0):voidSets the height of the generated map in pixels.
ParametersiHeight:int — iHeight int value specifying the height
of the map in pixels.
|
|
dpi:int (default = 0) — dpi int value specifying the DPI of the image, used to
convert from inches to pixels.
|
| setMapName | () | method |
public function setMapName(strName:String):voidSets the map name of the map associated with this MapState object.
ParametersstrName:String — strName The map name for the map associated with this
MapState object.
|
| setMapScale | () | method |
public function setMapScale(nNewScale:int):voidSets the scale of the map associated with this MapState object.
ParametersnNewScale:int — nNewScale The new scale value for the map associated with this
MapState object.
|
| setWidthInches | () | method |
public function setWidthInches(dWidth:Number):voidSets the width of the generated map in inches.
ParametersdWidth:Number — dWidth double value specifying the width
of the map in inches.
|
| setWidthPixels | () | method |
public function setWidthPixels(iWidth:int, dpi:int = 0):voidSets the width of the generated map in pixels.
ParametersiWidth:int — iWidth int value specifying the width of the
map in pixels.
|
|
dpi:int (default = 0) — dpi int value specifying the DPI of the image, used
to convert from inches to pixels.
|