This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Place this file in your /lib directory. | |
Require geo in calling module like var geo = require("geo"); Then call geo.init() at the start of your app. | |
To get current location, place a fireEvent at the start of your app and anywhere else location needs updating like this: | |
Ti.App.addEventListener('resume', function() { | |
Ti.App.fireEvent('getCurrentPosition'); | |
}); | |
@author Michael Stelly, et al. |