C# Class Geocoder.GoogleGeocoder

Inheritance: IGeocoder
Mostrar archivo Open project: scottschluer/geocoder

Private Properties

Property Type Description
GetDirections Directions

Public Methods

Method Description
GetAddressFromLatLong ( double latitude, double longitude ) : Address
GetDirections ( Coordinate origin, Coordinate destination, TravelMode travelMode = TravelMode.Driving ) : Directions
GetDirections ( Coordinate origin, string destinationAddress, TravelMode travelMode = TravelMode.Driving ) : Directions
GetDirections ( string originAddress, Coordinate destination, TravelMode travelMode = TravelMode.Driving ) : Directions
GetDirections ( string originAddress, string destinationAddress, TravelMode travelMode = TravelMode.Driving ) : Directions
GetLatLongFromAddress ( string address ) : Coordinate
GoogleGeocoder ( ) : System

Initializes a new instance of the GoogleGeocoder class and defaults to transmission over HTTP.

GoogleGeocoder ( bool isSSL ) : System

Initializes a new instance of the GoogleGeocoder class.

Private Methods

Method Description
GetDirections ( System.Xml.Linq.XDocument doc ) : Directions

Method Details

GetAddressFromLatLong() public method

public GetAddressFromLatLong ( double latitude, double longitude ) : Address
latitude double
longitude double
return Address

GetDirections() public method

public GetDirections ( Coordinate origin, Coordinate destination, TravelMode travelMode = TravelMode.Driving ) : Directions
origin Coordinate
destination Coordinate
travelMode TravelMode
return Directions

GetDirections() public method

public GetDirections ( Coordinate origin, string destinationAddress, TravelMode travelMode = TravelMode.Driving ) : Directions
origin Coordinate
destinationAddress string
travelMode TravelMode
return Directions

GetDirections() public method

public GetDirections ( string originAddress, Coordinate destination, TravelMode travelMode = TravelMode.Driving ) : Directions
originAddress string
destination Coordinate
travelMode TravelMode
return Directions

GetDirections() public method

public GetDirections ( string originAddress, string destinationAddress, TravelMode travelMode = TravelMode.Driving ) : Directions
originAddress string
destinationAddress string
travelMode TravelMode
return Directions

GetLatLongFromAddress() public method

public GetLatLongFromAddress ( string address ) : Coordinate
address string
return Coordinate

GoogleGeocoder() public method

Initializes a new instance of the GoogleGeocoder class and defaults to transmission over HTTP.
public GoogleGeocoder ( ) : System
return System

GoogleGeocoder() public method

Initializes a new instance of the GoogleGeocoder class.
public GoogleGeocoder ( bool isSSL ) : System
isSSL bool Indicates whether to send API requests via HTTPS.
return System