@@ -87,7 +87,7 @@ class MapView extends React.Component {
8787 }
8888}
8989
90- var RCTMap= requireNativeComponent (' RCTMap' , MapView);
90+ var RCTMap = requireNativeComponent (' RCTMap' , MapView);
9191
9292MapView .propTypes = {
9393 /**
@@ -97,7 +97,7 @@ MapView.propTypes = {
9797 * angle is ignored and the map is always displayed as if the user
9898 * is looking straight down onto it.
9999 */
100- pitchEnabled = React .PropTypes .bool ,
100+ pitchEnabled: React .PropTypes .bool ,
101101};
102102
103103module .exports = MapView;
@@ -171,7 +171,7 @@ MapView.propTypes = {
171171 * angle is ignored and the map is always displayed as if the user
172172 * is looking straight down onto it.
173173 */
174- pitchEnabled = React .PropTypes .bool ,
174+ pitchEnabled: React .PropTypes .bool ,
175175
176176 /**
177177 * The region to be displayed by the map.
@@ -246,7 +246,7 @@ RCT_EXPORT_MODULE()
246246{
247247 MKCoordinateRegion region = mapView.region;
248248 NSDictionary * event = @{
249- @"target": [ mapView reactTag] ,
249+ @"target": mapView. reactTag,
250250 @"region": @{
251251 @"latitude": @(region.center.latitude),
252252 @"longitude": @(region.center.longitude),
0 commit comments