diff --git a/android/example.js b/android/example.js index a2b1f55..1313fdd 100644 --- a/android/example.js +++ b/android/example.js @@ -98,7 +98,7 @@ var MapExample = React.createClass({ direction={10} ref={mapRef} onRegionChange={this.onRegionChange} - rotationEnabled={true} + rotateEnabled={true} scrollEnabled={true} style={styles.map} showsUserLocation={true} diff --git a/android/src/main/java/com/mapbox/reactnativemapboxgl/ReactNativeMapboxGLManager.java b/android/src/main/java/com/mapbox/reactnativemapboxgl/ReactNativeMapboxGLManager.java index 13747fd..13051d9 100644 --- a/android/src/main/java/com/mapbox/reactnativemapboxgl/ReactNativeMapboxGLManager.java +++ b/android/src/main/java/com/mapbox/reactnativemapboxgl/ReactNativeMapboxGLManager.java @@ -53,7 +53,7 @@ public class ReactNativeMapboxGLManager extends SimpleViewManager { public static final String PROP_DIRECTION = "direction"; public static final String PROP_ONREGIONCHANGE = "onRegionChange"; public static final String PROP_ONUSER_LOCATION_CHANGE = "onUserLocationChange"; - public static final String PROP_ROTATION_ENABLED = "rotationEnabled"; + public static final String PROP_ROTATION_ENABLED = "rotateEnabled"; public static final String PROP_SCROLL_ENABLED = "scrollEnabled"; public static final String PROP_USER_LOCATON = "showsUserLocation"; public static final String PROP_STYLE_URL = "styleUrl"; diff --git a/index.android.js b/index.android.js index 09179c3..0d7df12 100644 --- a/index.android.js +++ b/index.android.js @@ -61,7 +61,7 @@ var ReactMapView = requireNativeComponent('RCTMapbox', { centerCoordinateZoom: React.PropTypes.shape(), debugActive: React.PropTypes.bool, direction: React.PropTypes.number, - rotationEnabled: React.PropTypes.bool, + rotateEnabled: React.PropTypes.bool, scrollEnabled: React.PropTypes.bool, showsUserLocation: React.PropTypes.bool, styleUrl: React.PropTypes.string, @@ -95,7 +95,7 @@ var ReactMapView = requireNativeComponent('RCTMapbox', { }, debugActive: false, direction: 0, - rotationEnabled: true, + rotateEnabled: true, scrollEnabled: true, showsUserLocation: false, styleUrl: NativeModules.MapboxGLManager.mapStyles.streets, diff --git a/index.ios.js b/index.ios.js index f694b3b..fd3bf3f 100644 --- a/index.ios.js +++ b/index.ios.js @@ -128,7 +128,7 @@ var MapView = React.createClass({ }, debugActive: false, direction: 0, - rotationEnabled: true, + rotateEnabled: true, scrollEnabled: true, showsUserLocation: false, styleUrl: this.Mixin.mapStyles.streets,