Class MQLatLngCollection
Object
|
+--MQObject
|
+--MQObjectCollection
|
+--MQLatLngCollection
- class
MQLatLngCollection
- extends MQObjectCollection
Contains a collection of LatLng objects.
See:
Defined in mqcommon.js
|
Method Summary |
void
|
_loadCollection(xmlDoc)
hidden
|
void
|
generalize(dDeviance)
/**
|
String
|
getClassName()
Returns the text name of this class.
|
int
|
getObjectVersion()
Returns the version of this class.
|
Object
|
isEverybodyWithinDeviation( pOrigPoints, ulOrigStartPoint, ulOrigEndPoint, dMaxDeviation)
|
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object.
|
void
|
loadXmlFromNode(<XmlNode> xmlNode)
Assigns the xml that relates to this object using the create xml from node method.
|
String
|
saveXml()
Build an xml string that represents this object.
|
| Methods inherited from class MQObjectCollection |
getM_Items, getValidClassName, setValidClassName, add, getSize, get, remove, removeAll, contains, append, set, isValidObject, getM_itemXpath, setM_itemXpath, getById, removeItem, getAt
|
MQLatLngCollection
MQLatLngCollection()
Constructs a new MQLatLngCollection object. The first MQLatLng in the collection
is expected to be a latlng but the rest are assumed to be deltas from the first.
When adding the latlngs or loading from xml the user will need to make the calculations.
_loadCollection
void _loadCollection(xmlDoc)
generalize
void generalize(dDeviance)
/**
Reduce the points in the lat/lng collection. All points that deviate
from a straight line by less than dDeviance are eliminated.
getClassName
String getClassName()
Returns the text name of this class.
Returns:
The text name of this class.
getObjectVersion
int getObjectVersion()
Returns the version of this class.
Returns:
The version of this class.
isEverybodyWithinDeviation
Object isEverybodyWithinDeviation( pOrigPoints, ulOrigStartPoint, ulOrigEndPoint, dMaxDeviation)
loadXml
void loadXml(<String> strXml)
Assigns the xml that relates to this object.
Parameters:
strXml - the xml to be assigned.
loadXmlFromNode
void loadXmlFromNode(<XmlNode> xmlNode)
Assigns the xml that relates to this object using the create xml from node method.
Parameters:
xmlNode - the xml to be assigned.
saveXml
String saveXml()
Build an xml string that represents this object.
Documentation generated by
JSDoc on Tue Oct 16 08:04:28 2007