# GraffitiGeolocation
Class Inherits GraffitiWebUIControl
## About
User GPS coordinate tracking (with consent).
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| DataAvailable | (None) | (None) | Raised when new data has arrived. |
| MouseEnter | (None) | (None) | |
| MouseExit | (None) | (None) | |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
| StateChanged | (None) | (None) | Raised when the authorization status of the user's browser has changed. If the user has authorized access, the Supported property's value will be True. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| RequestLocation | (None) | (None) | Performs a single location request. |
| Start | (None) | (None) | Signals the user's browser to periodically send a location update. |
| Stop | (None) | (None) | Signals the user's browser to no longer send periodic location updates. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Active | Boolean | Nil | Will be True when the user's browser is sending periodic updates after the Start method has been called. |
| Allowed | Boolean | Nil | When False, the user has either disabled Location Services, blocked location sharing for the browser, or denied access to the page when prompted. |
| Position | GraffitiGeolocationPosition | Nil | The user's current location. |
| Supported | Boolean | Nil | When True, the user's browser both supports and has allowed access to the geolocation JavaScript API. |