MapQuest Advantage JavaScript API Reference Documentation

Class MQSymbolPrimitive

Object
   |
   +--MQObject
         |
         +--MQPrimitive
               |
               +--MQSymbolPrimitive

class MQSymbolPrimitive
extends MQPrimitive


Describes a SymbolPrimitive to be placed on a map. The SymbolPrimitive is initially located by an X/Y coordinate. The coordinate is converted into a latitude/longitude point so the SymbolPrimitive can be placed in the same geographical location after the map is manipulated.
See:

Defined in mqobjects.js


Field Summary
<private>  MQLatLng m_ll
          Value to represent the latitude/longitude of the center of the map
<private>  MQPoint m_pt
          Value to represent the x/y of the center of the map
<private>  MQSymbolType m_SymbolType
          Value to for symbol type
   
Fields inherited from class MQPrimitive
m_DrawTrigger, m_CoordinateType
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQSymbolPrimitive ()
            Constructs a new MQSymbolPrimitive object.
 
Method Summary
 MQLatLng getCenterLatLng()
           Gets the latitude/longitude of the center of the map
 MQPoint getCenterPoint()
           Gets the x/y of the center of the map
 String getClassName()
           Returns the text name of this class.
 int getObjectVersion()
           Returns the version of this class.
 String getSymbolName()
           Returns the value representing the symbolName of this object.
 MQSymbolType getSymbolType()
           Gets the m_SymbolType
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setCenterLatLng(<MQLatLng> latLng)
           Sets the latitude/longitude of the center of the map
 void setCenterPoint(<MQPoint> point)
           Sets the x/y of the center of the map
 void setSymbolName(<String> symbolName)
           Sets the value representing the symbolName of this object.
 void setSymbolType(<MQSymbolType> obj)
           Sets the m_SymbolType
 
Methods inherited from class MQPrimitive
getDrawTrigger, setDrawTrigger, getCoordinateType, setCoordinateType, setKey, getKey, setOpacity, getOpacity
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_ll

<private> MQLatLng m_ll

m_pt

<private> MQPoint m_pt

m_SymbolType

<private> MQSymbolType m_SymbolType

Constructor Detail

MQSymbolPrimitive

MQSymbolPrimitive()

Method Detail

getCenterLatLng

MQLatLng getCenterLatLng()

getCenterPoint

MQPoint getCenterPoint()

getClassName

String getClassName()

getObjectVersion

int getObjectVersion()

getSymbolName

String getSymbolName()

getSymbolType

MQSymbolType getSymbolType()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setCenterLatLng

void setCenterLatLng(<MQLatLng> latLng)

setCenterPoint

void setCenterPoint(<MQPoint> point)

setSymbolName

void setSymbolName(<String> symbolName)

setSymbolType

void setSymbolType(<MQSymbolType> obj)

MapQuest Advantage JavaScript API Reference Documentation

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