// NSString * BMKStringFromMapSize (BMKMapSize size); //[DllImport ("__Internal")] //[Verify (PlatformInvoke)] //static extern NSString BMKStringFromMapSize (BMKMapSize size); public static string BMKStringFromMapSize(BMKMapSize size) { // "{%.1f, %.1f}" return($"{{size.width:f1, {size.height:f1}}}"); }
// BOOL BMKMapSizeEqualToSize (BMKMapSize size1, BMKMapSize size2); //[DllImport ("__Internal")] //[Verify (PlatformInvoke)] //static extern bool BMKMapSizeEqualToSize (BMKMapSize size1, BMKMapSize size2); public static bool BMKMapSizeEqualToSize(BMKMapSize size1, BMKMapSize size2) { return(size1.width == size2.width && size1.height == size2.height); }