Set the monitored region to be a circle.
#include <geomonitor.h>
geomonitor_error_t geomonitor_region_set_circle_shape(geomonitor_region_t region, double lat, double lon, double radius)
BlackBerry 10.2.0
A geomonitor region handle.
The latitude of the center of the region. This is a value (in degrees) in the range [-90.0, 90.0].
The longitude of the center of the region. This is a value (in degrees) in the range [-180, 180.0].
The radius of the region (in meters).
This function creates a circle with a radius of radius meters, with a centre at a specific geographical location. If the specified radius is less than the minimum or more than the maximum supported radius, then the circle is monitored using the minimum or maximum supported value correspondingly.
GEOMONITOR_OK if successful, an error from geomonitor_error_t otherwise.