mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-31 21:11:09 +00:00
Create map after first transaction
This commit is contained in:
@@ -51,6 +51,17 @@ public class ReactNativeMapboxGLManager extends SimpleViewManager<ReactNativeMap
|
||||
return new ReactNativeMapboxGLView(context, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onAfterUpdateTransaction(ReactNativeMapboxGLView view) {
|
||||
super.onAfterUpdateTransaction(view);
|
||||
view.onAfterUpdateTransaction();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDropViewInstance(ReactNativeMapboxGLView view) {
|
||||
view.onDrop();
|
||||
}
|
||||
|
||||
// Props
|
||||
|
||||
@ReactProp(name = "initialZoomLevel")
|
||||
|
||||
Reference in New Issue
Block a user