Main Page | Namespace List | Class Hierarchy | Class List | Class Members

MQClientInterface::BestFitLL Class Reference

Inheritance diagram for MQClientInterface::BestFitLL:

MQClientInterface::MapCommand MQClientInterface::MQObject List of all members.

Public Member Functions

 BestFitLL ()
override void Init ()
override bool Equals (System.Object obj)
bool Equals (BestFitLL otherObject)
override int GetHashCode ()

Static Public Member Functions

static bool operator== (BestFitLL obj1, BestFitLL obj2)
static bool operator!= (BestFitLL obj1, BestFitLL obj2)

Properties

override System.String ClassName
override int ClassID
virtual LatLngCollection LatLngs
virtual double ScaleAdjustmentFactor
virtual bool KeepCenter
virtual bool SnapToZoomLevel

Detailed Description

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 also:
LatLngCollection


Constructor & Destructor Documentation

MQClientInterface::BestFitLL::BestFitLL  )  [inline]
 

Default Constructor.


Member Function Documentation

bool MQClientInterface::BestFitLL::Equals BestFitLL  otherObject  )  [inline]
 

Equals(type)

Parameters:
otherObject the object to compare this BestFitLL against.
Returns:
true if the BestFitLL objects are equal; false otherwise.

override bool MQClientInterface::BestFitLL::Equals System.Object  obj  )  [inline]
 

Equals(object)

Parameters:
obj the object to compare this BestFitLL against.
Returns:
true if the BestFitLL objects are equal; false otherwise.

Reimplemented from MQClientInterface::MQObject.

override int MQClientInterface::BestFitLL::GetHashCode  )  [inline]
 

Returns a hash code for this BestFitLL.

Returns:
a hash code value for this BestFitLL.

Reimplemented from MQClientInterface::MQObject.

override void MQClientInterface::BestFitLL::Init  )  [inline, virtual]
 

Initializes a BestFitLL object.

Reimplemented from MQClientInterface::MapCommand.

static bool MQClientInterface::BestFitLL::operator!= BestFitLL  obj1,
BestFitLL  obj2
[inline, static]
 

Inequality operator

Parameters:
obj1 BestFitLL 1 to compare
obj2 BestFitLL 2 to compare

static bool MQClientInterface::BestFitLL::operator== BestFitLL  obj1,
BestFitLL  obj2
[inline, static]
 

Equality operator

Parameters:
obj1 BestFitLL 1 to compare
obj2 BestFitLL 2 to compare


Property Documentation

override int MQClientInterface::BestFitLL::ClassID [get]
 

Class ID property

Reimplemented from MQClientInterface::MQObject.

override System.String MQClientInterface::BestFitLL::ClassName [get]
 

Class Name property

Reimplemented from MQClientInterface::MQObject.

virtual bool MQClientInterface::BestFitLL::KeepCenter [get, set]
 

KeepCenter property. Used to adjust the scale and center of the map. If KeepCenter is true BestFitLL will use the map center pt. specified by the mapstate object and only adjust the scale. If KeepCenter is false(default) the BestFitLL will adjust the map center point as well as the scale.

virtual LatLngCollection MQClientInterface::BestFitLL::LatLngs [get, set]
 

LatLng collection property.

virtual double MQClientInterface::BestFitLL::ScaleAdjustmentFactor [get, set]
 

ScaleAdjustmentFactor property. Used to increase the bounding rectangle enclosing the points to ensure their optimal visibility.

virtual bool MQClientInterface::BestFitLL::SnapToZoomLevel [get, set]
 

SnapToZoomLevel property. If SnapToZoomLevel is true, BestFitLL will use a scale from the ZoomLevels property in the AutoMapCovSwitch object. If AutoMapCovSwitch is not in use this property has no affect. If SnapToZoomLevel is false(default), BestFitLL will adjust scale to the best scale that encompasses the area/features selected.


The documentation for this class was generated from the following file:
Generated on Wed Oct 10 22:12:30 2007 for MapQuest Advantage .NET(C#) API Reference by  doxygen 1.4.1