@@ -87,7 +87,7 @@ class MapView extends React.Component {
87
87
}
88
88
}
89
89
90
- var RCTMap= requireNativeComponent (' RCTMap' , MapView);
90
+ var RCTMap = requireNativeComponent (' RCTMap' , MapView);
91
91
92
92
MapView .propTypes = {
93
93
/**
@@ -97,7 +97,7 @@ MapView.propTypes = {
97
97
* angle is ignored and the map is always displayed as if the user
98
98
* is looking straight down onto it.
99
99
*/
100
- pitchEnabled = React .PropTypes .bool ,
100
+ pitchEnabled: React .PropTypes .bool ,
101
101
};
102
102
103
103
module .exports = MapView;
@@ -171,7 +171,7 @@ MapView.propTypes = {
171
171
* angle is ignored and the map is always displayed as if the user
172
172
* is looking straight down onto it.
173
173
*/
174
- pitchEnabled = React .PropTypes .bool ,
174
+ pitchEnabled: React .PropTypes .bool ,
175
175
176
176
/**
177
177
* The region to be displayed by the map.
@@ -246,7 +246,7 @@ RCT_EXPORT_MODULE()
246
246
{
247
247
MKCoordinateRegion region = mapView.region;
248
248
NSDictionary * event = @{
249
- @"target": [ mapView reactTag] ,
249
+ @"target": mapView. reactTag,
250
250
@"region": @{
251
251
@"latitude": @(region.center.latitude),
252
252
@"longitude": @(region.center.longitude),
0 commit comments