Titanium Appcelerator Quickie: StackMob API Module Part Two - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

  AND 

In Part Two of the Stackmob Appcelerator blog posting, we are going to quickly show how to use the module to make geospatial queries. We will also include the introduction of a login method that was added to the client along with the exposing of the headers property as a parameter to be passed into the client API

Geospatial Queries

To keep things simple, I will be updating the objects that were used in part one of this blog post. See this ( Titanium Appcelerator Quickie: StackMob API Module Part One ) You can see in the image below, the new location field that was added to the user object. This location field has a lat lon field that will be used for the geospatial queries. Now lets add some location specific information to your object, set the values for lat lon for searching Here is a gist that has some sample data that was used for this posting