Click or drag to resize

GoogleMapService Methods

The GoogleMapService type exposes the following members.

Methods
  NameDescription
Public methodClone
Returns a copy of this object
(Inherited from ServiceBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCoordinates
Uses the GoogleMaps API to get the longitude and latitude for the specified address.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnWebhook
Handles an invocation of a "webhook" event for the service. You should implement this event if you want your service to handle webhooks through the standard platform webhook wiring. The raw wiring for the webhook would look like handler.ashx?req=webhook&service=sss&appkey=aaa&token=ttt where sss is the name of the service, aaa is the application key, and ttt is the authentication token. When wired up in the manner, the platform will instantiate an IAppContext object, authenticate the request based on the provided token, obtain an instance of the service from the Services collection, and invoke this method on the service. If the webhook is wired up in this manner, you must override the base implementation of this method or an exception will be thrown.
(Inherited from ServiceBase.)
Public methodReverseGeocode(Decimal, Decimal, String)
Uses the GoogleMaps API to reverse-geocode the specified latitude and longitude and returns the corresponding address information. For a particular latitude/longitude this can vary depending on the locationType specified. Examples of location types include street_address, establishment, light_rail_station, point_of_interest, transit_station as well as many others. When performing the reverse-geocode, an attempt is made to find the address for the locationType if one is specified. If none is specified, or no address is found for the that locationType, then a second attempt is made to find any address for the specified coordinates.
Public methodReverseGeocode(Double, Double, String)
Uses the GoogleMaps API to reverse-geocode the specified latitude and longitude and returns the corresponding address information. For a particular latitude/longitude this can vary depending on the locationType specified. Examples of location types include street_address, establishment, light_rail_station, point_of_interest, transit_station as well as many others. When performing the reverse-geocode, an attempt is made to find the address for the locationType if one is specified. If none is specified, or no address is found for the that locationType, then a second attempt is made to find any address for the specified coordinates.
Public methodServiceLoaded
Called when the service is loaded.
(Overrides ServiceBaseServiceLoaded.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also