Platforms to show: All Mac Windows Linux Cross-Platform

Back to MKMapPointMBS class.

MKMapPointMBS.Coordinate(point as MKMapPointMBS) as CLLocationCoordinate2DMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Converts point in map to coordinate.

MKMapPointMBS.MapPointsPerMeterAtLatitude(Latitude as Double) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the number of map points that represent one meter at the given latitude.

The number of map points per meter increases as the latitude approaches the poles.

MKMapPointMBS.MetersBetweenMapPoints(point1 as MKMapPointMBS, point2 as MKMapPointMBS) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the number of meters between two map points.

This distance reflects the actual distance between the two points on the surface of the globe, taking into account the curvature of the Earth.

MKMapPointMBS.MetersPerMapPointAtLatitude(Latitude as Double) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the distance spanned by one map point at the specified latitude.
Example
MsgBox str(MKMapPointMBS.MetersPerMapPointAtLatitude(50.0))

latitude: The latitude for which to return the value.

Returns the distance (in meters) spanned by a single map point.

The distance between map points decreases as the latitude approaches the poles. This relationship parallels the relationship between longitudinal coordinates at different latitudes.

MKMapPointMBS.Point(coordinate as CLLocationCoordinate2DMBS) as MKMapPointMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method MapKit MBS MacFrameworks Plugin 19.0 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Converts coordinate in point in map.

See also:

MKMapPointMBS.Point(x as double = 0, y as double = 0) as MKMapPointMBS

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

See also:

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


The biggest plugin in space...