Packagecom.mapquest
Classpublic class AutoMapCovSwitch
InheritanceAutoMapCovSwitch Inheritance AutoRouteCovSwitch Inheritance MQObject

Stores map coverage switching parameters. Add this object to a Session to enable automatic map coverage switching for the session.

See also

IntCollection


Public Properties
 PropertyDefined by
 InheritedCLASS_NAME : String = "MQObject"
[static]
MQObject
Protected Properties
 PropertyDefined by
 InheritedobjectVersion : Number = 0
Value to represent the version of this object
MQObject
 Inheritedxml : XML = null
MQObject
 Inheritedxpath : String
MQObject
Public Methods
 MethodDefined by
  
AutoMapCovSwitch(strXpath:String = "AutoMapCovSwitch")
Constructs a new AutoMapCovSwitch object.
AutoMapCovSwitch
  
getClassName():String
Returns the text name of this class.
AutoMapCovSwitch
 Inherited
Returns the m_DataVendorCodes collection.
AutoRouteCovSwitch
 Inherited
Gets the DataVendorCodeUsage for this object.
AutoRouteCovSwitch
 Inherited
getName():String
Gets the name of the Route coverage switching rules being used.
AutoRouteCovSwitch
  
Returns the version of this class.
AutoMapCovSwitch
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
  
getStyle():String
Gets the name of the style alias to be selected for the selected mapping coverage or blank for default.
AutoMapCovSwitch
  
Returns the m_ZoomLevels collection.
AutoMapCovSwitch
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
  
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
AutoMapCovSwitch
 Inherited
readExternal(input:IDataInput):void
MQObject
  
saveXml():XML
Return the XML that represents this object.
AutoMapCovSwitch
 Inherited
setDataVendorCodeUsage(lDataVendorCodeUsage:int):void
Sets the DataVendorCodeUsage for this object.
AutoRouteCovSwitch
 Inherited
setName(strName:String):void
Sets the name of the Route coverage switching rules to use.
AutoRouteCovSwitch
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
  
setStyle(strStyle:String):void
Sets the name of the style alias to be selected for the selected mapping coverage or blank for default.
AutoMapCovSwitch
 Inherited
setXpath(xpath:String):void
Sets the m_xpath object.
MQObject
 Inherited
writeExternal(output:IDataOutput):void
MQObject
Protected Methods
 MethodDefined by
 Inherited
getXML():XML
Returns the m_xmlDoc object.
MQObject
 Inherited
getXpath():String
Returns the xpath string.
MQObject
 Inherited
setXML(xml:XML):void
Sets the m_xmlDoc object.
MQObject
Constructor detail
AutoMapCovSwitch()constructor
public function AutoMapCovSwitch(strXpath:String = "AutoMapCovSwitch")

Constructs a new AutoMapCovSwitch object.

Parameters
strXpath:String (default = "AutoMapCovSwitch") — type of xPath for this class

See also

Method detail
getClassName()method
public override function getClassName():String

Returns the text name of this class.

Returns
String — The text name of this class.
getObjectVersion()method 
public override function getObjectVersion():Number

Returns the version of this class.

Returns
Number — The version of this class.
getStyle()method 
public function getStyle():String

Gets the name of the style alias to be selected for the selected mapping coverage or blank for default.

Returns
String — The value of Style
getZoomLevels()method 
public function getZoomLevels():IntCollection

Returns the m_ZoomLevels collection.

Returns
IntCollection — The m_ZoomLevels collection.
loadXml()method 
public override function loadXml(xmlPrm:XML):void

Assigns the xml that relates to this object.

Parameters
xmlPrm:XML — the xml to be assigned.
saveXml()method 
public override function saveXml():XML

Return the XML that represents this object.

Returns
XML
setStyle()method 
public function setStyle(strStyle:String):void

Sets the name of the style alias to be selected for the selected mapping coverage or blank for default.

Parameters
strStyle:String — strStyle Name of the style alias to use.