Files

31 lines
673 B
Objective-C
Raw Permalink Normal View History

2016-09-22 18:03:05 +02:00
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "RCTMapboxAnnotation.h"
2017-02-07 03:06:45 -06:00
#import <React/RCTEventDispatcher.h>
#import <React/UIView+React.h>
#import <React/RCTBridge.h>
#import <React/RCTUtils.h>
2016-09-22 18:03:05 +02:00
@implementation RCTMapboxAnnotation {
}
2016-09-27 12:16:55 +02:00
-(NSString *)reuseIdentifier {
return self.id;
}
-(void)layoutSubviews {
[super layoutSubviews];
2016-09-28 09:14:42 +02:00
[self.map restoreAnnotationPosition:self.id];
2016-09-27 12:16:55 +02:00
}
2016-09-22 18:03:05 +02:00
@end