Change name space

This commit is contained in:
bsudekum
2015-12-14 09:30:47 -08:00
parent 78d7402b27
commit dfa8033756
2 changed files with 4 additions and 4 deletions
@@ -32,7 +32,7 @@ public class ReactNativeMapboxGLModule extends ReactContextBaseJavaModule {
@Override
public String getName() {
return "Mapbox";
return "MapboxGLManager";
}
@ReactMethod
@@ -58,7 +58,7 @@ public class ReactNativeMapboxGLModule extends ReactContextBaseJavaModule {
}
@ReactMethod
public void addAnnotation(ReadableArray value) {
public void addAnnotations(ReadableArray value) {
aPackage.getManager().setAnnotations(aPackage.getManager().getMapView(), value);
}
@@ -78,7 +78,7 @@ public class ReactNativeMapboxGLModule extends ReactContextBaseJavaModule {
}
@ReactMethod
public void setVisibleCoordinateBounds(double latSW, double lngSW,double latNE, double lngNE, float paddingTop, float paddingRight, float paddingBottom, float paddingLeft) {
public void setVisibleCoordinateBoundsAnimated(double latSW, double lngSW,double latNE, double lngNE, float paddingTop, float paddingRight, float paddingBottom, float paddingLeft) {
WritableMap info = Arguments.createMap();
info.putDouble("latSW", latSW);
info.putDouble("lngSW", lngSW);