Platforms to show: All Mac Windows Linux Cross-Platform

Back to CLRegionMBS class.

CLRegionMBS.Constructor(latitude as Double, longitude as Double, radius as Double, identifier as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes a region object defining a circular area.

latitude and longitude: The center point of the region.
radius: The distance (measured in meters) from the center point that marks the boundary of the region.
identifier: A unique identifier to associate with the region object. You use this identifier to differentiate regions within your application. This value must not be "".

identifier is a description for the region that could be displayed to the user, and ideally should be chosen by the user.

On success the handle property is not zero.

CLRegionMBS.containsCoordinate(latitude as Double, longitude as Double) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a Boolean value indicating whether the region contains the specified coordinate.

latitude and longitude: The coordinate to test against the region.

Returns true if the coordinate lies within the region's boundaries or false if it does not.

CLRegionMBS.copy as CLRegionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a copy of the region object.

CLRegionMBS.identifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The identifier for the region object.
Example
dim c as new CLRegionMBS(50.413333, 7.329722, 3000, "Nickenich")
msgbox c.identifier

CLRegionMBS.latitude as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The position of the center of the region.

CLRegionMBS.longitude as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The position of the center of the region.

CLRegionMBS.radius as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreLocation MBS MacFrameworks Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The radius (measured in meters) that defines the region's outer boundary.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...