mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
fab5ec617d
- [ReactNative] Make tests run on TravisCI | Alex Kotliarskyi - [Relay] Update Relay + ES6 class containers | Christoph Pojer - [React Native] Add RCTAdSupport.xcodeproj | Alexsander Akers - [ReactNative][Android] Fix after a new React version was downstreamed | Philipp von Weitershausen - [React Native] Add preliminary animation API | Alex Akers - [ReactKit] Create test for OSS ReactKit | Alex Kotliarskyi - [React Native][Device ID][wip] implement most basic js access | Alex Akers - [ReactNative] OSS Picker | Spencer Ahrens - [ReactNative] Fix typo in RCTUIManager | Tadeu Zagallo - [ReactNative] Fix GeoLocation files letter case | Tadeu Zagallo - Unified the method signature for addUIBlock: to further simplify porting ViewManagers | Nick Lockwood - [ReactNative] Oss GeoMap | Tadeu Zagallo - [ReactNative] OSS CameraRoll | Tadeu Zagallo - [ReactNative] allowLossyConversion on NSString->NSData conversion | Andrew Rasmussen - [React Native][RFC] Print __DEV__ value on app start | Alex Kotliarskyi
25 lines
719 B
Objective-C
25 lines
719 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import <MapKit/MapKit.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
extern const CLLocationDegrees RCTMapDefaultSpan;
|
|
extern const NSTimeInterval RCTMapRegionChangeObserveInterval;
|
|
extern const CGFloat RCTMapZoomBoundBuffer;
|
|
|
|
@class RCTEventDispatcher;
|
|
|
|
@interface RCTMap: MKMapView
|
|
|
|
@property (nonatomic, assign) BOOL followUserLocation;
|
|
@property (nonatomic, copy) NSDictionary *JSONRegion;
|
|
@property (nonatomic, assign) CGFloat minDelta;
|
|
@property (nonatomic, assign) CGFloat maxDelta;
|
|
@property (nonatomic, assign) UIEdgeInsets legalLabelInsets;
|
|
@property (nonatomic, strong) NSTimer *regionChangeObserveTimer;
|
|
|
|
@end
|
|
|
|
#define FLUSH_NAN(value) \
|
|
(isnan(value) ? 0 : value)
|