Class MQRectSearchCriteria
Object
|
+--MQObject
|
+--MQSearchCriteria
|
+--MQRectSearchCriteria
- class
MQRectSearchCriteria
- extends MQSearchCriteria
Defines the criteria for a rectangle search. The rectangle to be
searched is defined by the upper left and lower right corners of
the rectangle.
See:
Defined in mqobjects.js
|
Field Summary |
<private> MQLatLng |
m_LowerRight
Value to represent the latitude/longitude of the lower right corner |
<private> MQLatLng |
m_UpperLeft
Value to represent the latitude/longitude of the upper left corner |
|
Constructor Summary |
MQRectSearchCriteria
(<MQRectLL> mqRectLL)
Constructs a new MQRectSearchCriteria object.
|
|
Method Summary |
String
|
getClassName()
Returns the text name of this class.
|
MQLatLng
|
getLowerRight()
Gets the latitude/longitude of the lower right corner
of this RectSearchCriteria object.
|
int
|
getObjectVersion()
Returns the version of this class.
|
MQLatLng
|
getUpperLeft()
Gets the latitude/longitude of the upper left corner
of this RectSearchCriteria object.
|
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object.
|
String
|
saveXml()
Build an xml string that represents this object.
|
void
|
setLowerRight(<MQLatLng> latLng)
Sets the latitude/longitude of the lower right corner
of this RectSearchCriteria object.
|
void
|
setUpperLeft(<MQLatLng> latLng)
Sets the latitude/longitude of the upper left corner
of this RectSearchCriteria object.
|
m_LowerRight
<private> MQLatLng m_LowerRight
Value to represent the latitude/longitude of the lower right corner
m_UpperLeft
<private> MQLatLng m_UpperLeft
Value to represent the latitude/longitude of the upper left corner
MQRectSearchCriteria
MQRectSearchCriteria(<MQRectLL> mqRectLL)
Constructs a new MQRectSearchCriteria object.
Parameters:
mqRectLL - An object provided by the TileMap ToolKit that is used to preset the upper left and lower right latlngs. This parameter is optional.
getClassName
String getClassName()
Returns the text name of this class.
Returns:
The text name of this class.
getLowerRight
MQLatLng getLowerRight()
Gets the latitude/longitude of the lower right corner
of this RectSearchCriteria object.
getObjectVersion
int getObjectVersion()
Returns the version of this class.
Returns:
The version of this class.
getUpperLeft
MQLatLng getUpperLeft()
Gets the latitude/longitude of the upper left corner
of this RectSearchCriteria object.
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.
setLowerRight
void setLowerRight(<MQLatLng> latLng)
Sets the latitude/longitude of the lower right corner
of this RectSearchCriteria object.
Parameters:
latLng - the MQLatLng to set m_LowerRight to.
setUpperLeft
void setUpperLeft(<MQLatLng> latLng)
Sets the latitude/longitude of the upper left corner
of this RectSearchCriteria object.
Parameters:
latLng - the MQLatLng to set m_UpperLeft to.
Documentation generated by
JSDoc on Tue Oct 16 08:04:12 2007