MGeolocation
MGeolocation lets your application watch device’s GPS sensor activity, so you can define a reaction to location changes.
Functions
These are JavaScript functions you can call when you use this component in a screen.
Note: Replace ComponentName with the actual name of the component, that is, the value of its Name property. For example: MGeolocation1.
- ComponentNameActivate
- Activates ComponentName. By default, it is called as soon as the screen is ready, but it can be useful in combination with ComponentNameDeactivate.
- ComponentNameDeactivate
- Deactivates ComponentName.
Help Resources
Video Tutorials
- Location-Based Development with HTML5 Builder.
- 2:45 — Usage of MGeolocation and MMap in a client mobile application.
See Also
- Geolocation at PhoneGap API Documentation.
- Geolocation (HTML implementation).