The StackMob Platform will cease operation on Sunday May 11th, 2014. We are no longer accepting new customers.
Generating table of contents...

StackMob Geolocation

StackMob's Geolocation module integrates with your StackMob datastore to give you the ability to save and query geolocation data. It introduces a new geopoint field type to your Schema field options.

You are currently limited to one geopoint field per schema. (Of course, you aren't limited by the number of schemas you have in your app, however.)

Let's add a geopoint to your schema and then use it from the SDKs.

Setup

Go to Manage Schemas and click Edit link on one of the schemas that you would like to add a GeoLocation field.

Click Add Field button and in this example, we will name our GeoPoint field as location.

Click Add Field, then Save Schema, and you're set!

Saving and Querying Geolocation data

Read about how StackMob's mobile SDKs save and query geolocation data.

You can only have one geopoint field per schema.