Location Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Contains the altitude and coordinate values of a location on the map.

Syntax

public class Location
Public Class Location

Constructor

Name

Description

Location

Initializes a new instance of a Location object.

Public Properties

Name

Description

Altitude

Reserved for future use.

Latitude

A double specifying the latitude of a single point on the globe. Optional. The default value is 0.

Longitude 

A double specifying the longitude of a single point on the globe. Optional. The default value is 0.

Remarks

The GeocodeLocation Class and the UserLocation Class inherit from the Location class.

See Also

Circle.Center Property
ImageryMetadataOptions.Location Property
ItineraryItem.Location Property
MapUriRequest.Center Property
Polygon.Vertices Property
Pushpin.Location Property
Rectangle Class
ReverseGeocodeRequest.Location Property
RouteLeg Class
RoutePath.Points Property
Waypoint.Location Property