Location Class
Location Class
Contains the representation of a location.
Public Class Location Inherits System.Object
[C#]
public class Location : System.Object
Public Properties
Name | Description |
---|---|
Address | The address (Address object) for the location, if available. |
BestMapView | Represents a collection of the best map views (a MapViewRepresentations object) for the location. |
DataSourceName | A string representing the name of the data source (DataSource.Name property) in which the specified Entity exists. |
Entity | The geographic entity (Entity object) for the location. |
LatLong | The latitude and longitude coordinates (LatLong object) for a location or for the center point of the location if the location represents an area. |
Remarks
Any of the Location properties can be null; however, a Location object must contain a value for at least one of the following properties: Address, Entity, or LatLong.
If any of the Location properties conflict, the Entity property takes precedence. If the Entity property is null, the LatLong property takes precedence. If both the Entity and LatLong properties are null, the Address property takes precedence.
A Location object is returned by the following methods:
A Location object is passed to the following methods:
RouteServiceSoap.CalculateRoute
See Also
Address Class | MapViewRepresentations Class | Entity Class | LatLong Class