Wednesday, March 26, 2014

Geofences Implemented

Good news, just got the Geofences API working in the application!

The Geofence API allows me to create a circular region around a LatLong point, with any radius size I want. The purpose of these objects to note when the user enters and exits the geofence, sending notifications when they do based on what type of movement it is. This will allow me to note when the user enters a region where they have a directional change, and changes their instruction  to the next one when they leave the fence.  Since the users location is not as exact as one would like, the best way to help them stay on their route is to use a combination of the previous code and these Geofence objecs.

The application now creates regions with a radius of 12.5 meters around each turning/directional point in the route, allowing the transition of instructions to be more fluid/exact. Initial tests proved to show good data/results, but more testing will need to be done to help make it more exact.

No comments:

Post a Comment