MapQuest Advantage JavaScript API Reference Documentation

Class MQPolygonFeature

Object
   |
   +--MQObject
         |
         +--MQFeature
               |
               +--MQPointFeature
                     |
                     +--MQPolygonFeature
Direct Known Subclasses:
MQLineFeature

class MQPolygonFeature
extends MQPointFeature



See:

Defined in mqobjects.js


Field Summary
<private>  MQLatLngCollection m_LatLngs
          Value to represent the MQLatLngCollection
<private>  MQPointCollection m_Points
          Value to represent the MQPointCollection
   
Fields inherited from class MQPointFeature
m_CenterLatLng, m_CenterPoint
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQPolygonFeature ()
            Constructs a new MQPolygonFeature object.
 
Method Summary
 String getClassName()
           Returns the text name of this class.
 MQLatLngCollection getLatLngs()
           Returns the m_LatLngs object.
 int getObjectVersion()
           Returns the version of this class.
 MQPointCollection getPoints()
           Returns the m_Points object.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setLatLngs(<MQLatLngCollection> latLngs)
           Sets the m_LatLngs object.
 void setPoints(<MQPointCollection> pts)
           Sets the m_Points object.
 
Methods inherited from class MQPointFeature
loadXmlFromNode, getCenterLatLng, setCenterLatLng, getCenterPoint, setCenterPoint
   
Methods inherited from class MQFeature
getDistance, setDistance, getName, setName, getSourceLayerName, setSourceLayerName, getKey, setKey, setGEFID, getGEFID, setDT, getDT
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_LatLngs

<private> MQLatLngCollection m_LatLngs

m_Points

<private> MQPointCollection m_Points

Constructor Detail

MQPolygonFeature

MQPolygonFeature()

Method Detail

getClassName

String getClassName()

getLatLngs

MQLatLngCollection getLatLngs()

getObjectVersion

int getObjectVersion()

getPoints

MQPointCollection getPoints()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setLatLngs

void setLatLngs(<MQLatLngCollection> latLngs)

setPoints

void setPoints(<MQPointCollection> pts)

MapQuest Advantage JavaScript API Reference Documentation

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