C# Class GoogleMaps.LocationServices.GoogleLocationService

Inheritance: ILocationService
Afficher le fichier Open project: sethwebster/GoogleMaps.LocationServices Class Usage Examples

Private Properties

Свойство Type Description
ParseUS double

Méthodes publiques

Méthode Description
GetAddressFromLatLang ( double latitude, double longitude ) : GoogleMaps.LocationServices.AddressData

Translates a Latitude / Longitude into an address using Google Maps api

GetDirections ( GoogleMaps.LocationServices.AddressData originAddress, GoogleMaps.LocationServices.AddressData destinationAddress ) : GoogleMaps.LocationServices.Directions

Gets the directions.

GetDirections ( double latitude, double longitude ) : GoogleMaps.LocationServices.Directions

Gets the directions.

GetLatLongFromAddress ( GoogleMaps.LocationServices.AddressData address ) : GoogleMaps.LocationServices.MapPoint

Gets the latitude and longitude that belongs to an address.

GetLatLongFromAddress ( string address ) : GoogleMaps.LocationServices.MapPoint

Gets the latitude and longitude that belongs to an address.

GetRegionFromLatLong ( double latitude, double longitude ) : GoogleMaps.LocationServices.Region

Translates a Latitude / Longitude into a Region (state) using Google Maps api

GoogleLocationService ( ) : System

Initializes a new instance of the GoogleLocationService class. Default calling the API over regular HTTP (not HTTPS).

GoogleLocationService ( bool useHttps ) : System

Initializes a new instance of the GoogleLocationService class.

Private Methods

Méthode Description
ParseUS ( string value ) : double

Method Details

GetAddressFromLatLang() public méthode

Translates a Latitude / Longitude into an address using Google Maps api
public GetAddressFromLatLang ( double latitude, double longitude ) : GoogleMaps.LocationServices.AddressData
latitude double
longitude double
Résultat GoogleMaps.LocationServices.AddressData

GetDirections() public méthode

Gets the directions.
public GetDirections ( GoogleMaps.LocationServices.AddressData originAddress, GoogleMaps.LocationServices.AddressData destinationAddress ) : GoogleMaps.LocationServices.Directions
originAddress GoogleMaps.LocationServices.AddressData From address.
destinationAddress GoogleMaps.LocationServices.AddressData To address.
Résultat GoogleMaps.LocationServices.Directions

GetDirections() public méthode

Gets the directions.
public GetDirections ( double latitude, double longitude ) : GoogleMaps.LocationServices.Directions
latitude double The latitude.
longitude double The longitude.
Résultat GoogleMaps.LocationServices.Directions

GetLatLongFromAddress() public méthode

Gets the latitude and longitude that belongs to an address.
public GetLatLongFromAddress ( GoogleMaps.LocationServices.AddressData address ) : GoogleMaps.LocationServices.MapPoint
address GoogleMaps.LocationServices.AddressData The address.
Résultat GoogleMaps.LocationServices.MapPoint

GetLatLongFromAddress() public méthode

Gets the latitude and longitude that belongs to an address.
public GetLatLongFromAddress ( string address ) : GoogleMaps.LocationServices.MapPoint
address string The address.
Résultat GoogleMaps.LocationServices.MapPoint

GetRegionFromLatLong() public méthode

Translates a Latitude / Longitude into a Region (state) using Google Maps api
public GetRegionFromLatLong ( double latitude, double longitude ) : GoogleMaps.LocationServices.Region
latitude double
longitude double
Résultat GoogleMaps.LocationServices.Region

GoogleLocationService() public méthode

Initializes a new instance of the GoogleLocationService class. Default calling the API over regular HTTP (not HTTPS).
public GoogleLocationService ( ) : System
Résultat System

GoogleLocationService() public méthode

Initializes a new instance of the GoogleLocationService class.
public GoogleLocationService ( bool useHttps ) : System
useHttps bool Indicates whether to call the Google API over HTTPS or not.
Résultat System