Class MQZoomTo
Object
|
+--MQObject
|
+--MQMapCommand
|
+--MQZoomTo
- class
MQZoomTo
- extends MQMapCommand
Stores data to zoom out one level and center the map on a given
point. Setting the X,Y coordinates to the invalid Point results in a zoom
without changing the Center point.
See:
Defined in mqobjects.js
|
Field Summary |
<private> MQPoint |
m_Center
Value to represent center of the map |
|
Constructor Summary |
MQZoomTo
()
Constructs a new MQZoomTo object.
|
|
Method Summary |
MQPoint
|
getCenter()
Returns the m_Center.
|
String
|
getClassName()
Returns the text name of this class.
|
int
|
getObjectVersion()
Returns the version of this class.
|
Long
|
getZoomLevel()
Get zoom level index from the AutoMapCovswitch object ZoomLevels property.
|
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object.
|
String
|
saveXml()
Build an xml string that represents this object.
|
void
|
setCenter(<MQPoint> pt)
Sets the m_Center.
|
void
|
setZoomLevel(<Long> val)
Set zoom level index from the AutoMapCovswitch object ZoomLevels property.
|
m_Center
<private> MQPoint m_Center
Value to represent center of the map
MQZoomTo
MQZoomTo()
Constructs a new MQZoomTo object.
getCenter
MQPoint getCenter()
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.
getZoomLevel
Long getZoomLevel()
Get zoom level index from the AutoMapCovswitch object ZoomLevels property.
Has no affect when not using map data selector.
loadXml
void loadXml(<String> strXml)
Assigns the xml that relates to this object.
Parameters:
strXml - the xml to be assigned.
saveXml
String saveXml()
Build an xml string that represents this object.
setCenter
void setCenter(<MQPoint> pt)
Parameters:
pt - The point to set m_Center to.
setZoomLevel
void setZoomLevel(<Long> val)
Set zoom level index from the AutoMapCovswitch object ZoomLevels property.
Has no affect when not using map data selector.
Parameters:
val - The zoom level index.
Documentation generated by
JSDoc on Tue Oct 16 08:04:12 2007