By setting up a geofence (an area on the map), you can be alerted when the tracker enters/exits the geofence area.
Read moreCan you create your own geofence?
Create and add geofences. Your app needs to create and add geofences using the location API’s builder class for creating Geofence objects, and the convenience class for adding them .
Read moreHow do you set up a geofence?
Setting Up a Geofence
Read more