1) What is geofence?
According to Wikipedia, geofence (also called geo-fencing),"Geo-fenceIs a virtual perimeter for a real-world geographic area ."
A geo-fence cocould be dynamically generated-as in a radius around a store or point location. or a geo-fence can be a predefined set of boundaries, like school attendance zones or neighborhood boundaries. custom-digitized geofences are also in use.
2) what can geofence do?
Geofencing, used with child location services, can sort y parents when a child leaves a designated area.
When a child leaves the preset range, it can trigger an event, such as sending a text message or sending an email alarm.
These geo-fences when crossed by an equipped vehicle or person can trigger a warning to the user or operator via SMS or email.
3) How to Implement
A)
One way is to use a different SDK, such as the location-Labs SDK, including the Android and IOS versions:
Http://geofence.locationlabs.com/code.html
B)
One way is to implement the corresponding functions by yourself.
Ios5 has built-in support for geofencinig,
For exampleStartmonitoringforregion: desiredaccuracy:
Method of yourCllocationmanager
Object.
Android callsRequestlocationupdatesAnd other functions.
Self-implementation is not complicated.
4) References
For more geolocation-related APIs, see: 5 geolocation APIs you may not have heard