MKCircleMBS shared methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKCircleMBS class.

MKCircleMBS.circleWithCenterCoordinate(coord as CLLocationCoordinate2DMBS, radius as Double) as MKCircleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates and returns an MKCircle object using the specified coordinate and radius.
Example
dim mapview as MKMapViewMBS // your map view
dim centerCoordinate as CLLocationCoordinate2DMBS = mapview.centerCoordinate
dim radius as Integer = 300 // 300 meter

dim circle as MKCircleMBS = MKCircleMBS.circleWithCenterCoordinate(centerCoordinate, radius)
mapview.addOverlay circle

coord: The center point of the circle, specified as a latitude and longitude value.
radius: The radius of the circle, measured in meters from the center point.

See also:

Some examples using this method:

MKCircleMBS.circleWithCenterCoordinate(Latitude as Double, Longitude as Double, radius as Double) as MKCircleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates and returns an MKCircle object using the specified coordinate and radius.

Latitude and Longitude: The center point of the circle, specified as a latitude and longitude value.
radius: The radius of the circle, measured in meters from the center point.

See also:

MKCircleMBS.circleWithMapRect(mapRect as MKMapRectMBS) as MKCircleMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Creates new circle object with given rectangle.

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


💬 Ask a question or report a problem