Skip to content

Instantly share code, notes, and snippets.

@pebosi
pebosi / geo.js
Last active August 29, 2015 14:24
/*
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.