Provides services for converting between coordinates to addresses and vice versa. Requests are sent in the background over the internet connection. The Complete event is raised when data is available or if the request has failed. Note that you should not send more than a single request at a time.
Initializes the object and sets the sub that will handle the Complete event.
IsInitializedAsBoolean
Tests whether this object was initialized.
ResolveAddress (AddressAsString)
Resolves the given string address. The complete event will be raised. If the operation succeeded then there will be one or more Placemark objects in the list.
ResolveCoordinate (LatAsDouble, LngAsDouble)
Resolves the given coordinate (specified as latitude / longitude). The Complete event will be raised. If the operation succeeded then there will be exactly one Placemark object in the list.
TagAsObject
Gets or sets the Tag object. This is a placeholder for any object you like to tie to this object.
LocationChanged (Location1 As Location) AuthorizationStatusChanged (Status As int) LocationError HeadingChanged (MagneticHeading As Double, TrueHeading As Double) AllowCalibration As Boolean
Location services are disabled or the user denied access for this application.
AUTHORIZATION_NOT_DETERMINEDAsInt [read only]
Authorization status was not yet set.
AUTHORIZATION_RESTRICTEDAsInt [read only]
Application is not authorized and user is restricted from changing its state (parental control for example).
AuthorizationStatusAsInt [read only]
Gets the current authorization status. It will be one of the three AUTHORIZATION constants or IsAuthorized will be true.
Initialize (EventNameAsString)
Initializes the object. The AuthorizationStatusChanged will be raised with the current status.
IsAuthorizedAsBoolean [read only]
Returns true if your app is authorized to access the location services.
LocationServicesEnabledAsBoolean [read only]
Returns true if location services are enabled.
Start (MinimumDistanceAsDouble)
Starts listening for the LocationChanged event. If the authorization status is not yet determined then the user will be asked to approve it. If location services are disabled then the user will be asked to enable location services. The LocationChanged event will be raised with the last known location after this call and then when the location changes. MinimumDistance - The minimum distance measured in meters, that will cause the LocationChanged event to fire. Pass 0 to receive all updates.