mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-30 12:31:11 +00:00
fixed setCenterCoordinateZoomLevel on android
This commit is contained in:
@@ -84,7 +84,7 @@ public class ReactNativeMapboxGLModule extends ReactContextBaseJavaModule {
|
||||
location.putDouble("latitude", latitude);
|
||||
location.putDouble("longitude", longitude);
|
||||
location.putDouble("zoom", zoom);
|
||||
aPackage.getManager().setCenterCoordinate(aPackage.getManager().getMapView(), location);
|
||||
aPackage.getManager().setCenterCoordinateZoomLevel(aPackage.getManager().getMapView(), location);
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
|
||||
Reference in New Issue
Block a user