|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQMapCommand
|
+--MQBestFitLL
Calculates the best scale and center point of a map for the given
collection Lat/Lngs. Adding a BestFitLL object to the Session
adjusts the MapState object so that the map optimally displays all
Lat/Lngs in the LatLngCollection set in the BestFitLL object.
See:
| Field Summary | |
<private> MQLatLngCollection |
m_LatLng
Value to represent LatLng Collection |
| Fields inherited from class MQMapCommand |
m_Col
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQBestFitLL
()
Constructs a new MQBestFitLL object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
boolean
|
getKeepCenter()
Gets the KeepCenter flag |
MQLatLngCollection
|
getLatLngs()
Returns the m_LatLng collection. |
int
|
getObjectVersion()
Returns the version of this class. |
Double
|
getScaleAdjustmentFactor()
Returns the ScaleAdjustmentFactor of this object. |
boolean
|
getSnapToZoomLevel()
Gets the SnapToZoomLevel flag |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setKeepCenter(<Boolean> bFlag)
Sets the KeepCenter flag. |
void
|
setLatLngs(<MQLatLngCollection> col)
Sets the m_LatLng collection. |
void
|
setScaleAdjustmentFactor(<Double> val)
Sets the ScaleAdjustmentFactor of this object. |
void
|
setSnapToZoomLevel(<Boolean> bFlag)
Sets the SnapToZoomLevel flag. |
| Methods inherited from class MQMapCommand |
getFeatureSpecifiers, setFeatureSpecifiers
|
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> MQLatLngCollection m_LatLng
| Constructor Detail |
MQBestFitLL()
| Method Detail |
String getClassName()
boolean getKeepCenter()
MQLatLngCollection getLatLngs()
int getObjectVersion()
Double getScaleAdjustmentFactor()
boolean getSnapToZoomLevel()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setKeepCenter(<Boolean> bFlag)
bFlag - The KeepCenter flag
void setLatLngs(<MQLatLngCollection> col)
col - The collection to set m_LatLng to.
void setScaleAdjustmentFactor(<Double> val)
val - The new ScaleAdjustmentFactor of this object.
void setSnapToZoomLevel(<Boolean> bFlag)
bFlag - The SnapToZoomLevel flag
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||