mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
11 lines
508 B
Objective-C
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
|