Class MQPan
Object
|
+--MQObject
|
+--MQMapCommand
|
+--MQPan
- class
MQPan
- extends MQMapCommand
Stores data to center the map on a given point without changing
its scale. Setting the X,Y coordinates moves the map viewport that number of
pixels left or right and up or down.
See:
Defined in mqobjects.js
|
Field Summary |
<private> MQPoint |
m_Point
Value to represent center of the map |
|
Constructor Summary |
MQPan
()
Constructs a new MQPan object.
|
|
Method Summary |
String
|
getClassName()
Returns the text name of this class.
|
int
|
getObjectVersion()
Returns the version of this class.
|
MQPoint
|
getPoint()
Returns the m_Point.
|
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object.
|
String
|
saveXml()
Build an xml string that represents this object.
|
void
|
setDeltaX(<Double> dblX)
Sets the Delta X variable, which is the number of pixels that the
map viewport is to be moved in the horizontal direction.
|
void
|
setDeltaXY(<Double> dblX, <Double> dblY)
Sets the Delta X and Delta Y variables, which are the number of
pixels that the map viewport is to be moved in the horizontal and
vertical direction respectively.
|
void
|
setDeltaY(<Double> dblY)
Sets the Delta Y variable, which is the number of pixels that the
map viewport is to be moved in the vertical direction.
|
m_Point
<private> MQPoint m_Point
Value to represent center of the map
MQPan
MQPan()
Constructs a new MQPan object.
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.
getPoint
MQPoint getPoint()
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.
setDeltaX
void setDeltaX(<Double> dblX)
Sets the Delta X variable, which is the number of pixels that the
map viewport is to be moved in the horizontal direction.
Parameters:
dblX - The number of pixels that the map viewport is to be moved in the horizontal direction. Negative indicates movement to the left, positive to the right.
setDeltaXY
void setDeltaXY(<Double> dblX, <Double> dblY)
Sets the Delta X and Delta Y variables, which are the number of
pixels that the map viewport is to be moved in the horizontal and
vertical direction respectively.
Parameters:
dblX - The number of pixels that the map viewport is to be moved in the horizontal direction. Negative indicates movement to the left, positive to the right.
dblY - The number of pixels that the map viewport is to be moved in the vertical direction. Negative indicates movement upward, positive downward.
setDeltaY
void setDeltaY(<Double> dblY)
Sets the Delta Y variable, which is the number of pixels that the
map viewport is to be moved in the vertical direction.
Parameters:
dblY - The number of pixels that the map viewport is to be moved in the vertical direction. Negative indicates movement upward, positive downward.
Documentation generated by
JSDoc on Tue Oct 16 08:04:12 2007