MNCalcUtils
open class MNCalcUtils
This class contains calculation functions.
-
Call this function to get the distance between location a and location b.
Declaration
Swift
public static func distance(a: MNMercator, b: MNMercator) -> DoubleParameters
aA location in the map.
bA location in the map.
Return Value
A double value represents distance between two locations.
-
Calculate current distance from the property.
Declaration
Swift
public static func distanceFrom(propertyInfo: PropertyInfo) -> DoubleParameters
propertyInfoproperty distance
Return Value
In KM.
MNCalcUtils Class Reference