ViewByBoundingRectangle Class
ViewByBoundingRectangle Class
Contains the latitude and longitude coordinates that define a map view based on a minimum bounding rectangle. Derived from the abstract MapView class.
Public Class ViewByBoundingRectangle Inherits MapView
[C#]
public class ViewByBoundingRectangle : MapView
Public Properties
Name | Description |
---|---|
BoundingRectangle | The latitude and longitude coordinates (LatLongRectangle object) that represent the southwest and northeast corners of a minimum bounding rectangle. |
Remarks
On input, the ViewByBoundingRectangle class is used with the MapSpecification.Views property, which is passed to the RenderServiceSoap.GetMap method.
On output, the ViewByBoundingRectangle class is used in the MapViewRepresentations.ViewByBoundingRectangle property:
Returned from the RenderServiceSoap.GetBestMapView method.
Used in the MapImage.View property returned by the RenderServiceSoap.GetMap method.
Used in the Direction.View, RouteItinerary.View, and Segment.View properties returned by the CalculateRoute and CalculateSimpleRoute methods of the RouteServiceSoap class.
Used in the Location.BestMapView property returned by the FindServiceSoap.GetLocationInfo method.
Used in the Location.BestMapView property, which is used in the FindResult.FoundLocation property returned by the Find and FindAddress methods of the FindServiceSoap class.
Used in the Location.BestMapView property, which is used in the Waypoint.CalculatedLocation property returned by the CalculateRoute and CalculateSimpleRoute methods of the RouteServiceSoap class.
For information about map views, including the relationship between map views and map image size, see Working with Map Views.
See Also
MapView Class | MapImage.View Property | Direction.View Property | Segment.View Property | FindResult.FoundLocation Property