Swiftgram/Telegram/Watch/Extension/TGLocationUtils.h
2020-02-19 18:44:10 +04:00

11 lines
508 B
Objective-C

#import <CoreLocation/CoreLocation.h>
#import <CoreGraphics/CoreGraphics.h>
@interface TGLocationUtils : NSObject
+ (CLLocationDegrees)adjustGMapLatitude:(CLLocationDegrees)latitude withPixelOffset:(NSInteger)offset zoom:(NSInteger)zoom;
+ (CLLocationDegrees)adjustGMapLongitude:(CLLocationDegrees)longitude withPixelOffset:(NSInteger)offset zoom:(NSInteger)zoom;
+ (CLLocationCoordinate2D)adjustGMapCoordinate:(CLLocationCoordinate2D)coordinate withPixelOffset:(CGPoint)offset zoom:(NSInteger)zoom;
@end